v1

latestOpenAPI 3.0.3MIT2026-07-1721316.3 KB
Configuration

Get Model Configuration

Returns general configuration and capabilities for a specific model.

Configuration Fields

FieldDescription
paramsParameter limits and defaults
type.primaryModel type (chat, text, embedding, etc.)
type.supportedSupported features (tools, image, etc.)
messages.optionsSupported message roles
get/model-configs/general/{provider}/{model}

Path parameters

providerstring required
Example:openai

Provider identifier (e.g., openai, anthropic, google)

modelstring required
Example:gpt-4o

Model identifier

Response

Model configuration

removeParamsstring[]

Parameters to remove for this model

disablePlaygroundboolean

If true, model is not available in Portkey playground

isDefaultboolean

If true, this is the default model for the provider