get

View as MarkdownOpen in Claude

Retrieve a single AI agent resource.

Response Example

Example

1import { RestClient } from "@signalwire/sdk";
2
3const client = new RestClient({
4 project: "your-project-id",
5 token: "your-api-token",
6 host: "your-space.signalwire.com",
7});
8
9const agent = await client.fabric.aiAgents.get("agent-id");
10console.log(`AI Agent: ${agent.display_name}, ID: ${agent.id}`);