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

# Agent - Get

> Obtiene la configuración pública de un agente

Obtiene la configuración pública de un agente. Si el agente es **público**, no requiere autenticación. Si es privado, requiere sesión de la misma organización.

> Ideal para renderizar el header de un chat widget (nombre, avatar, tools disponibles).

### Endpoint

```http theme={null}
GET /api/agents/{id}
```

### Parámetros de ruta

<ParamField path="id" type="string" required>
  ID del agente o handle (ej: `@mi-agente`)
</ParamField>

### Respuesta

<ResponseField name="id" type="string">
  ID del agente
</ResponseField>

<ResponseField name="name" type="string">
  Nombre del agente
</ResponseField>

<ResponseField name="description" type="string">
  Descripción del agente
</ResponseField>

<ResponseField name="visibility" type="string">
  `public` o `private`
</ResponseField>

### Ejemplo

```bash theme={null}
curl -X GET https://app.braviloai.com/api/agents/${agentId}
```
