***

title: get
slug: /reference/python/rest/fabric/ai-agents/get
description: Retrieve a single AI agent resource.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Retrieve a single AI agent resource.

<EndpointSchemaSnippet endpoint="GET /api/fabric/resources/ai_agents/{id}" />

## **Response Example**

<EndpointResponseSnippet endpoint="GET /api/fabric/resources/ai_agents/{id}" />

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

agent = client.fabric.ai_agents.get("agent-id")
print(f"AI Agent: {agent['display_name']}, ID: {agent['id']}")
```