When it fires
- The Objective reaches
STATE_FINALIZEDafter it completes its work. - If the Agent uses structured output, retrieve the Objective to read the result from its
outputfield.
Event data
The event-specific fields live atdata.objectiveEvent.data. The rest of the payload is the shared envelope.
string
required
Always
finalized.object
required
The terminal event data.
Retrieve the result
Usedata.objective.id from the webhook to retrieve the Objective. Its output field matches the schema configured on the Agent.
Envelope
Every objective event arrives in the same envelope.type names the event, data carries the agent, variation, and objective it belongs to, and data.objectiveEvent.data holds the fields documented on each event page.
Headers
Headers
Cadenya signs every delivery per the Standard Webhooks specification and sends it as a
POST with a JSON body.Find the signing key under Account Admin and rotate it with rotate the webhook signing key. Cadenya records every attempt, and you can inspect them with list webhook deliveries.