A webhook trigger's URL: sends the request to its agent
POST /v1/hooks/{trigger}
In this build: Works on the simulator or a real VM.
Scope: None; this call is public
token
TriggerPayload
AgentMessage
| Field | Type | Notes |
|---|---|---|
id (required) |
string |
|
agent (required) |
string |
|
end_user |
string or null |
|
source |
string |
api, trigger, schedule or channel: |
text (required) |
string |
|
prompt (required) |
string |
The prompt it became, on the agent's sandbox. |
conversation |
string or null |
|
status (required) |
string |
One of: queued, running, finished, failed, interrupted, budget_exceeded |
reply |
string or null |
The agent's answer once its turn ends. |
usage |
object or null |
|
at (required) |
string |
Errors follow one format.

