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

# Listar Modelos de la empresa

> Lista todos los modelos registrados de la empresa.

## Endpoint

`GET https://gateway.orkeia.ai/ai-models`

## Encabezados

Requiere el encabezado `authorization:  <tu_token>`.

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

## Cuerpo de la solicitud

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

## Respuesta (200)

> Si hay `apikey`, está **mascarada** para tu seguridad y privacidad (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
}
```
