> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orkeia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Change Version

> Changes the version of the model.

## Endpoint

`POST https://gateway.orkeia.ai/ai-models/{id}/version-control`

## Headers

Requires header `authorization: <your_token>`.

```http theme={null}
authorization: <your_token>
Content-Type: application/json
```

## Route Parameters

* `id` — Model ID (e.g., `MODEL_67890`)

## Request Body

```json theme={null}
{
  "versionControl": "v1.0.1",
  "environment": {
    "company": "acme-inc",
    "sector": "engineering"
  }
}
```

## Response (200)

```json theme={null}
{
  "status": "OK",
  "data": { "true" }
}
```

## Error Codes

### 500 — Server Error

```json theme={null}
{
  "status": "ERROR",
  "code": "server/error",
  "data": null
}
```

### 400 — Client Error

```json theme={null}
{
  "status": "ERROR",
  "code": "client/error",
  "data": null
}
```
