{
  "info": {
    "name": "PromptLayer — mcp.ai",
    "description": "REST API for the PromptLayer MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/promptlayer",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "promptlayer_get_prompt_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/prompt/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "prompt",
            "template"
          ]
        },
        "description": "Retrieve a prompt template version, release label, messages, model metadata, snippets, and optionally provider-ready kwargs without executing it.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"label\": \"\",\n  \"version\": 0,\n  \"identifier\": \"\",\n  \"resolve_snippets\": false,\n  \"include_llm_kwargs\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_get_registered_tool",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/registered/tool",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "registered",
            "tool"
          ]
        },
        "description": "Retrieve a PromptLayer registered tool definition by ID or name at a selected version or release label without test execution.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"label\": \"\",\n  \"version\": \"\",\n  \"identifier\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_get_request_log",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/request/log",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "request",
            "log"
          ]
        },
        "description": "Retrieve one PromptLayer request log with its recorded input, output, timing, usage, metadata, tags, and scores.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"request_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_get_skill_collection",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/skill/collection",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "skill",
            "collection"
          ]
        },
        "description": "Retrieve a PromptLayer skill collection and its files as JSON at a selected version or release label.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"label\": \"\",\n  \"version\": 0,\n  \"identifier\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_get_table",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/table",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "table"
          ]
        },
        "description": "Retrieve one PromptLayer Table's metadata and per-sheet row counts by UUID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"table_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_get_workflow",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/workflow",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "workflow"
          ]
        },
        "description": "Retrieve a PromptLayer workflow definition by ID or name at a specific version or release label without running it.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"label\": \"\",\n  \"version\": 0,\n  \"workflow_id_or_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_list_folder_entities",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/folder/entities",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "folder",
            "entities"
          ]
        },
        "description": "Browse or search PromptLayer folders and registry entities in the API-key workspace, optionally recursively and with metadata.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tags\": \"\",\n  \"flatten\": false,\n  \"sort_by\": \"\",\n  \"folder_id\": 0,\n  \"sort_order\": \"\",\n  \"external_id\": \"\",\n  \"filter_types\": \"\",\n  \"search_query\": \"\",\n  \"external_source\": \"\",\n  \"created_by_email\": \"\",\n  \"include_metadata\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_list_prompt_templates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/prompt/templates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "prompt",
            "templates"
          ]
        },
        "description": "Search and page through PromptLayer prompt templates and snippets without executing a model.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"tags\": \"\",\n  \"label\": \"\",\n  \"status\": \"\",\n  \"sort_by\": \"\",\n  \"per_page\": 0,\n  \"is_snippet\": false,\n  \"sort_order\": \"\",\n  \"external_id\": \"\",\n  \"next_cursor\": \"\",\n  \"created_after\": \"\",\n  \"updated_after\": \"\",\n  \"created_before\": \"\",\n  \"updated_before\": \"\",\n  \"external_source\": \"\",\n  \"created_by_email\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_list_registered_tools",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/registered/tools",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "registered",
            "tools"
          ]
        },
        "description": "List and filter tools defined in PromptLayer's tool registry without executing them.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"sort_by\": \"\",\n  \"sort_order\": \"\",\n  \"external_id\": \"\",\n  \"created_after\": \"\",\n  \"updated_after\": \"\",\n  \"created_before\": \"\",\n  \"updated_before\": \"\",\n  \"external_source\": \"\",\n  \"created_by_email\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_list_skill_collections",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/skill/collections",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "skill",
            "collections"
          ]
        },
        "description": "List and filter PromptLayer skill collections available in the API-key workspace.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"sort_by\": \"\",\n  \"sort_order\": \"\",\n  \"external_id\": \"\",\n  \"created_after\": \"\",\n  \"updated_after\": \"\",\n  \"created_before\": \"\",\n  \"updated_before\": \"\",\n  \"external_source\": \"\",\n  \"created_by_email\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_list_table_columns",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/table/columns",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "table",
            "columns"
          ]
        },
        "description": "List one page of user and optionally system columns for a PromptLayer Table sheet.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"sheet_id\": \"\",\n  \"table_id\": \"\",\n  \"next_cursor\": \"\",\n  \"include_system_columns\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_list_table_rows",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/table/rows",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "table",
            "rows"
          ]
        },
        "description": "Read one page of rows and cells from a PromptLayer Table sheet, with optional schema and execution aggregates.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"order\": \"\",\n  \"sheet_id\": \"\",\n  \"table_id\": \"\",\n  \"next_cursor\": \"\",\n  \"include_columns\": false,\n  \"include_row_count\": false,\n  \"include_system_columns\": false,\n  \"include_execution_metadata_aggregates\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_list_table_sheets",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/table/sheets",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "table",
            "sheets"
          ]
        },
        "description": "List one page of sheets in a PromptLayer Table, optionally filtering by referenced prompt.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"order\": \"\",\n  \"table_id\": \"\",\n  \"prompt_id\": 0,\n  \"next_cursor\": \"\",\n  \"prompt_label_id\": 0,\n  \"prompt_version_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_list_tables",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/tables",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "tables"
          ]
        },
        "description": "Search and page through PromptLayer Tables by folder, name, or referenced prompt.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"limit\": 0,\n  \"order\": \"\",\n  \"folder_id\": 0,\n  \"prompt_id\": 0,\n  \"next_cursor\": \"\",\n  \"prompt_label_id\": 0,\n  \"prompt_version_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_list_workflows",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/workflows",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "workflows"
          ]
        },
        "description": "Search and page through PromptLayer workflows without running them.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"sort_by\": \"\",\n  \"per_page\": 0,\n  \"sort_order\": \"\",\n  \"external_id\": \"\",\n  \"next_cursor\": \"\",\n  \"created_after\": \"\",\n  \"updated_after\": \"\",\n  \"created_before\": \"\",\n  \"updated_before\": \"\",\n  \"external_source\": \"\",\n  \"created_by_email\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "promptlayer_search_request_logs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/search/request/logs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "search",
            "request",
            "logs"
          ]
        },
        "description": "Search PromptLayer request logs by text or structured filters and return one rate-limited page sorted by operational fields.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"query\": \"\",\n  \"sort_by\": \"\",\n  \"per_page\": 0,\n  \"sort_order\": \"\",\n  \"next_cursor\": \"\",\n  \"filter_group\": {},\n  \"include_prompt_name\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}