Webhooks

An agent run completed (success or failure)

Fires when an agent run terminates — whether it completed normally, hit max iterations, was cancelled, or errored. Check data.success to discriminate.

postWebhookagent.finished

Payload

api_versionstring
createdinteger required

Unix seconds.

idstring uuid required
type'agent.finished' required

Example payload

{
  "api_version": "1.0",
  "id": "evt_a1b2c3..."
}

Response

Acknowledged.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.