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

# Obtener agente

> Recuperar un agente de IA por su ID.

# Obtener agente

Devuelve los detalles completos de un agente específico.

<RequestExample>
  ```http theme={null}
  GET https://app.chatnorris.ai/api/v2/chatbots/{chatbot_id}
  Authorization: Bearer <tu_api_key>
  ```
</RequestExample>

**Scope requerido:** `chatbots:read`

***

## Path parameters

| Parámetro    | Tipo   | Descripción   |
| ------------ | ------ | ------------- |
| `chatbot_id` | string | ID del agente |

***

## Respuesta

```json theme={null}
{
  "status": "success",
  "data": {
    "id": "bot_abc123",
    "name": "Soporte al cliente",
    "description": "Agente para consultas generales",
    "system_prompt": "Eres el asistente virtual de Acme Corp...",
    "model": "claude-sonnet-4-6",
    "temperature": 0.3,
    "max_tokens": 1000,
    "is_active": true,
    "is_published": true,
    "widget_config": {
      "primaryColor": "#00ed64",
      "greeting": "¡Hola! ¿En qué puedo ayudarte?",
      "leadCapture": false
    },
    "created_at": "2025-03-20T14:30:00.000Z",
    "updated_at": "2025-06-01T09:15:00.000Z"
  }
}
```

***

## Errores comunes

| Code        | Descripción                                          |
| ----------- | ---------------------------------------------------- |
| `NOT_FOUND` | El agente no existe o no pertenece a tu organización |
