Genbase
ApiLlm_gateway

OpenAI Compatible Model List

GET
/gateway/models

Authorization

AuthorizationRequiredBearer <token>

Module-specific API Key (Bearer token format, starting with 'mk_') for accessing the LLM Gateway (/gateway).

In: header

curl -X GET "http://localhost:8000/gateway/models" \
  -H "Authorization: Bearer <token>"

Successful Response

{
  "object": "list",
  "data": [
    {
      "id": "string",
      "object": "model",
      "created": 0,
      "owned_by": "string"
    }
  ]
}