🚀 Introducing Agent Gateway — governance, observability, and control for your AI agents.  Register for live webinar ↗
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
}
}
}
}
]
}Retrieves all model access for a specific integration with their configuration and pricing details.
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
}
}
}
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?