Skip to main content
GET
/
ai-models
/
:id
/
version-control
/
:versionId

Endpoint

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

Headers

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

Route Parameters

  • id — Model ID (e.g., MODEL_67890)
  • versionId — Version ID (e.g., v1.0.1)

Request Body

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

Response (200)

{
"status": "OK",
"data": {
  "id": "MODEL_67890",
  "snapshot": {
    "name": "GPT-4 Orkeia",
    "sectors": ["engineering", "support"],
    "description": "Advanced reasoning model",
    "enabled": true,
    "provider": "openai",
    "model": "gpt-4-0613"
  },
  "versionId": "v1.0.1",
  "createdAt": "2025-08-22T19:10:00.000Z"
	}
}

Error Codes

500 — Server Error

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

400 — Client Error

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