{
  "opencollection": "1.0.0",
  "info": {
    "name": "Portkey Analytics > Graphs Integrations API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-portkey-api-key",
      "value": "{{x-portkey-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Integrations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Integrations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.ai/v1/integrations",
            "params": [
              {
                "name": "current_page",
                "value": "",
                "type": "query",
                "description": "Current page, defaults to 0"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Page size, default to 100"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "query",
                "description": "Filter integrations accessible by a specific workspace. When using workspace API keys, this value will be enforced based on the API key details"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "For type=workspace, the API will only return Workpace-Scoped integrations. For type=organisation, the API will only return Global (organisation level) integrations. For type=all, both types of integrations will be returned."
              }
            ]
          },
          "docs": "List All Integrations"
        },
        {
          "info": {
            "name": "Create a Integration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.portkey.ai/v1/integrations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Integration"
        },
        {
          "info": {
            "name": "Get a Integration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.ai/v1/integrations/:slug",
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a Integration"
        },
        {
          "info": {
            "name": "Update a Integration",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.portkey.ai/v1/integrations/:slug",
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a Integration"
        },
        {
          "info": {
            "name": "Delete a Integration",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.portkey.ai/v1/integrations/:slug",
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a Integration"
        }
      ]
    }
  ],
  "bundled": true
}