Skip to main content
POST
Push an event into a task from a hook callback

Authorizations

X-Hook-Token
string
header
required

Short-lived callback token (cbt_...) minted for one hook invocation and delivered to the hook target in callback.token. Authorization: Bearer cbt_... is also accepted.

Path Parameters

agentId
string
required
Maximum string length: 64
taskId
string
required
Maximum string length: 128

Body

application/json
event
enum<string>
required
Available options:
task.status,
task.output.delta,
task.output.completed
data
object

A2A-shaped payload of the event.

Response

Event accepted.

ok
boolean
Example:

true

taskId
string
event
string
seq
integer

Sequence number of this callback event for the hook invocation.