Retrieves detailed information about a specific agent.
curl --request GET \
--url https://app.phonebot.io:80/api/v1/vendors/{vendorId}/organizations/{organizationId}/agents/{agentId}{
"success": true,
"timestamp": "2025-04-17T14:23:30Z",
"message": "<string>",
"data": {
"id": "98765432-10fe-dcba-9876-543210fedcba",
"name": "Sales Bot Alpha",
"systemPromptTemplate": "You are a helpful sales assistant for ACME Corp. Your goal is to qualify leads.",
"userValueTypes": {
"customer_name": "STRING",
"product_interest": "STRING",
"order_id": "NUMBER"
},
"llmAudioContentGenerationStrategyId": "abcdef01-2345-6789-abcd-ef0123456789",
"telephoneNumberId": "11223344-5566-7788-9900-aabbccddeeff",
"extensions": [
{
"id": "deadbeef-cafe-babe-feed-faceabadb001",
"name": "CRM Lookup",
"type": "crm_lookup_v1",
"parameters": {
"crm_system_url": "https://mycrm.example.com/api",
"api_key_secret": "secret_crm_key"
}
}
],
"callEventHooks": [
{
"id": "b00bface-1337-badd-cafe-d00df00dcafe",
"type": "webhook_call_ended_v1",
"parameters": {
"target_url": "https://my.service.com/call_event",
"auth_token": "bearer_abc123"
}
}
]
},
"traceId": "<string>"
}ID of the Vendor (UUID)
ID of the Organization (UUID)
ID of the Agent (UUID)
Successfully retrieved agent details
Standard API response wrapper
Indicates if the request was successful
true
Response timestamp in ISO-8601 format
"2025-04-17T14:23:30Z"
Human-readable message
Payload data object
Show child attributes
Unique identifier of the agent (UUID).
"98765432-10fe-dcba-9876-543210fedcba"
Name of the agent.
"Sales Bot Alpha"
Template for the system prompt used by the agent's underlying LLM.
"You are a helpful sales assistant for ACME Corp. Your goal is to qualify leads."
Map defining user-specific value types the agent can handle.
Show child attributes
STRING, STRING_REDACTED, INTEGER, FLOAT {
"customer_name": "STRING",
"product_interest": "STRING",
"order_id": "NUMBER"
}ID of the LLM Audio Content Generation Strategy used by the agent (UUID).
"abcdef01-2345-6789-abcd-ef0123456789"
ID of the telephone number assigned to this agent (UUID).
"11223344-5566-7788-9900-aabbccddeeff"
List of LLM extensions configured for this agent.
Show child attributes
Unique identifier of the LLM extension instance (UUID).
"deadbeef-cafe-babe-feed-faceabadb001"
Name of the LLM extension.
"CRM Lookup"
Type identifier for the LLM extension.
"crm_lookup_v1"
List of Call Event Hooks configured for this agent.
Show child attributes
Unique identifier of the call event hook instance (UUID).
"b00bface-1337-badd-cafe-d00df00dcafe"
Type identifier for the call event hook.
"webhook_call_ended_v1"
Correlation or trace ID
Was this page helpful?
curl --request GET \
--url https://app.phonebot.io:80/api/v1/vendors/{vendorId}/organizations/{organizationId}/agents/{agentId}{
"success": true,
"timestamp": "2025-04-17T14:23:30Z",
"message": "<string>",
"data": {
"id": "98765432-10fe-dcba-9876-543210fedcba",
"name": "Sales Bot Alpha",
"systemPromptTemplate": "You are a helpful sales assistant for ACME Corp. Your goal is to qualify leads.",
"userValueTypes": {
"customer_name": "STRING",
"product_interest": "STRING",
"order_id": "NUMBER"
},
"llmAudioContentGenerationStrategyId": "abcdef01-2345-6789-abcd-ef0123456789",
"telephoneNumberId": "11223344-5566-7788-9900-aabbccddeeff",
"extensions": [
{
"id": "deadbeef-cafe-babe-feed-faceabadb001",
"name": "CRM Lookup",
"type": "crm_lookup_v1",
"parameters": {
"crm_system_url": "https://mycrm.example.com/api",
"api_key_secret": "secret_crm_key"
}
}
],
"callEventHooks": [
{
"id": "b00bface-1337-badd-cafe-d00df00dcafe",
"type": "webhook_call_ended_v1",
"parameters": {
"target_url": "https://my.service.com/call_event",
"auth_token": "bearer_abc123"
}
}
]
},
"traceId": "<string>"
}