Call an agent to get a response to your request.
Endpoint
Parameters
Request Body
The prompt or request to send to the agent
Optional conversation ID for continuing an existing conversation
Response
Unique identifier for this interaction thread
Identifier for the conversation
ID of the agent that was called
Whether the call was successful
The agent’s response text
Optional structured data returned by the agent, null if no structured data
{
"thread_id": "50cc9455b84d48ffad6b4c9fd41b561e",
"conversation_id": "bc8e506e4a6f49ad",
"agent_id": "2ec10f28abac4e01",
"success": true,
"response": "I am a greeting assistant designed to help with welcoming users...",
"function_result": null
}
API key provided by Headless Agents
The prompt or request to send to the agent
Optional conversation ID for continuing an existing conversation
Successful response from agent
Unique identifier for this interaction thread
Identifier for the conversation
ID of the agent that was called
Whether the call was successful
The agent's response text
Optional structured data returned by the agent, null if no structured data