Skip to main content
PUT
/
ai-models
/
:id
/
enable

Endpoint

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

Headers

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

Route Parameters

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

Request Body

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

Response (200)

{
  "status": "OK",
  "data": {"true"}
}

Error Codes

500 — Server Error

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

400 — Client Error

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