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

# Detallar Modelo por ID

> Devuelve un modelo específico de la empresa/entorno.

## Endpoint

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

## Encabezados

Requiere el encabezado `authorization:  <tu_token>`.

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

## Parámetros de ruta

* `id` — ID del modelo (ej.: `MODEL_12345`)

## Cuerpo de la solicitud

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

## Respuesta (200)

> Si hay `apikey`, está **mascarada** para tu privacidad y seguridad (ej.: `sk-ABCD****-****`).

```json theme={null}
{
"status": "ok", 
"data": {
  "id": "MODEL_12345",
  "name": "GPT-4 Orkeia",
  "sectors": ["engineering", "support"],
  "description": "Modelo avanzado de razonamiento",
  "enabled": true,
  "provider": "openai",
  "model": "gpt-4-0613",
  "apikey": "sk-ABCD****-****"
}
```

## Códigos de error

### 500 — Error del Servidor

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

### 400 — Error del Cliente

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