AI Gateway
List AI Gateway models
Changed onAlias: also available at /api/v2/aibridge/models for backward compatibility.
get/api/v2/ai-gateway/models
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v2/ai-gateway/models
- AuthAPI key in header Coder-Session-Token
Query parameters
qstring
Search query in the format key:value. Available keys are: model. A bare term searches by model prefix.
modelstring
Literal model identifier prefix. Cannot be combined with q.
Response
OK
string[] required
Changes
- info
added the new optional
queryrequest parametermodel - info
added the new optional
queryrequest parameterq
- info
- info
api operation id
list-ai-bridge-modelsremoved and replaced withlist-ai-gateway-models
- info