> For the complete documentation index, see [llms.txt](https://anunzi-ai.gitbook.io/anunzi-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anunzi-ai.gitbook.io/anunzi-docs/api-widgets/trabajar-con-la-api-de-llamadas/assistants/get-assistant.md).

# Obtener agente

**GET**\
`https://api.anunzi.net/v2/assistants/{model_id}`

Retrieve details of a specific AI call assistant in your Anunzi environment.

***

#### Path Parameters

| Parameter  | Type   | Required | Description                                 |
| ---------- | ------ | -------- | ------------------------------------------- |
| `model_id` | string | Yes      | The unique ID of the assistant to retrieve. |

***

#### Example Request (cURL)

```bash
curl --request GET \
     --url https://api.anunzi.net/v2/assistants/15151351a216516541 \
     --header 'accept: application/json' \
     --header 'Authorization: Bearer API_KEY'
```

***

#### Example Response (200 OK)

```json
{
  "status": "ok",
  "response": {
    "assistants": [
      {
        "model_id": "1726005822670x236785712159542050",
        "workspace_id": "1706297038990x736827155126255600",
        "type": "outbound",
        "name": "David",
        "description": "Automate calls within workflows using Zapier, REST API, or GoHighLevel",
        "phone_number": "+12345678884",
        "caller_id_number": "+12345678901",
        "external_webhook_url": "https://webhook.site/f9366685-7c37-40ab-b5de-16012bf31238",
        "is_recording": false,
        "agent": {
          "prompt": "testing prompt",
          "llm": "anunzi",
          "language": "en-GB",
          "greeting_message": "test",
          "voice_id": "0jHKsQBnH1voLidCCJMy",
          "voice_stability": 0.5,
          "voice_similarity_boost": 0.5,
          "voice_optimise_streaming_latency": 1,
          "voice_style": 1.5,
          "voice_use_speaker_boost": true,
          "voice_prompt": "test",
          "allowed_idle_time_seconds": 1,
          "initial_pause_seconds": 1,
          "transcriber_keywords": [
            "test1",
            "test2",
            "lala",
            "test"
          ],
          "ring_pause_seconds": 2,
          "patience_level": "low"
        },
        "max_duration": {
          "duration_seconds": 3,
          "is_enabled": true
        },
        "actions": [
          "1726005822901x981267482241239300"
        ]
      }
    ]
  }
}
```

***

#### Status Codes

| Code | Description                                 |
| ---- | ------------------------------------------- |
| 200  | Assistant details retrieved successfully.   |
| 400  | Bad Request. Invalid or missing parameters. |
