Skip to main content
GET
/
ai-models
/
:id

Endpoint

GET https://gateway.orkeia.ai/ai-models/{id}

Headers

Requires header authorization: <your_token>.
authorization:  <your_token>
Content-Type: application/json

Route Parameters

  • id — Model ID (e.g., MODEL_12345)

Request Body

{
  "environment": {
    "company": "acme-inc",
    "sector": "support"
  }
}

Response (200)

If there is an apikey, it is masked for your privacy and security (e.g., sk-ABCD****-****).
{
"status": "ok", 
"data": {
  "id": "MODEL_12345",
  "name": "GPT-4 Orkeia",
  "sectors": ["engineering", "support"],
  "description": "Advanced reasoning model",
  "enabled": true,
  "provider": "openai",
  "model": "gpt-4-0613",
  "apikey": "sk-ABCD****-****"
}

Error Codes

500 — Server Error

{
  "status": "ERROR",
  "code": "server/error",
  "data": null
}

400 — Client Error

{
  "status": "ERROR",
  "code": "client/error",
  "data": null
}