MorphogenDocs
API

Models

GET /v1/models: the list of models available to the key.

GET/v1/models

Returns the models you can call with this key. If the key has a list of models, only they are in the response. Take model names from this response: the catalog changes. The format is compatible with OpenAI Models.

Headers

HeaderValue
AuthorizationBearer <key>. Required. x-api-key: <key> is accepted instead

The request has no body and no parameters.

Request example

curl https://api.morphogen.ru/v1/models \
  -H "Authorization: Bearer $MORPHOGEN_API_KEY"

Response example

{
  "object": "list",
  "data": [
    { "id": "claude-sonnet-5", "object": "model", "owned_by": "agregator" },
    { "id": "gpt-6-luna", "object": "model", "owned_by": "agregator" },
    { "id": "bge-m3", "object": "model", "owned_by": "agregator" },
    { "id": "flux-2-klein", "object": "model", "owned_by": "agregator" }
  ]
}

The example shows four models from the catalog. Model categories and the endpoints they work on: Models.

Errors

401invalid_api_keyThe key is missing, invalid, revoked or expired.
503service_unavailableThe catalog is temporarily unavailable. Retry the request.

Other codes: Errors.

On this page