{
  "opencollection": "1.0.0",
  "info": {
    "name": "Portkey AI Gateway Analytics Prompts API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-portkey-api-key",
      "value": "{{x-portkey-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Prompts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Execute a saved prompt template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.portkey.ai/v1/prompts/completions"
          },
          "docs": "Execute a saved prompt template"
        },
        {
          "info": {
            "name": "Render a prompt template with variables",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.portkey.ai/v1/prompts/render"
          },
          "docs": "Render a prompt template with variables"
        },
        {
          "info": {
            "name": "List prompts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.ai/v1/prompts"
          },
          "docs": "List prompts"
        },
        {
          "info": {
            "name": "Create a prompt",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.portkey.ai/v1/prompts"
          },
          "docs": "Create a prompt"
        },
        {
          "info": {
            "name": "List prompt collections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.ai/v1/prompts/collections"
          },
          "docs": "List prompt collections"
        },
        {
          "info": {
            "name": "List prompt labels",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.ai/v1/prompts/labels"
          },
          "docs": "List prompt labels"
        },
        {
          "info": {
            "name": "List reusable prompt partials",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.ai/v1/prompts/partials"
          },
          "docs": "List reusable prompt partials"
        }
      ]
    }
  ],
  "bundled": true
}