background parameter is set to true, the service will return a
response immediately without waiting for the agent’s execution to complete.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique key of identifier of the agent to invoke
Body
The A2A message to send to the agent (user input or tool results)
Optional task ID to continue an existing agent execution. When provided, the agent will continue the conversation from the existing task state. The task must be in an inactive state to continue.
Optional variables for template replacement in system prompt, instructions, and messages
Information about the contact making the request. If the contact does not exist, it will be created automatically.
Thread information to group related requests
Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
Optional metadata for the agent invocation as key-value pairs that will be included in traces
If true, returns immediately without waiting for completion. If false (default), waits until the agent becomes inactive or errors.
Response
Agent response successfully created and completed. Returns the full conversation including all messages, tool interactions, model used, and token usage statistics. In background mode, returns immediately with initial task details.
The unique response ID
The agent execution task ID
Array of messages from the agent execution
ISO timestamp of response creation
Model used in provider/model format
Token usage from the agent execution