> ## 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.

# Habilitar/Desabilitar Modelo

> Define o status `enabled` de um modelo.

## Endpoint

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

## Cabeçalhos

Requer cabeçalho `authorization:  <seu_token>`.

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

## Parâmetros de rota

* `id` — ID do modelo (ex.: `MODEL_67890`)

## Corpo da requisição

```json theme={null}
{
  "enabled": true,
  "environment": {
    "company": "acme-inc",
    "sector": "support"
  }
}
```

## Resposta (200)

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

## Códigos de erro

### 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
}
```
