AI Gateway

List AI Gateway models

Changed on

Alias: 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
  • Auth
    API 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