GET
/
integrations
/
{slug}
/
models
List integration models
curl --request GET \
  --url https://api.portkey.ai/v1/integrations/{slug}/models \
  --header 'x-portkey-api-key: <api-key>'
{
  "total": 123,
  "models": [
    {
      "slug": "<string>",
      "name": "<string>",
      "enabled": true,
      "is_custom": true,
      "is_finetune": true,
      "base_model_slug": "<string>",
      "pricing_config": {
        "type": "static",
        "pay_as_you_go": {
          "request_token": {
            "price": 123
          },
          "response_token": {
            "price": 123
          }
        }
      }
    }
  ]
}

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

slug
string
required

Response

200 - application/json

List of integration models

The response is of type object.