Webhook Deliveries
AgentService manages AI agents at the WORKSPACE level. Agents are workspace-scoped resources that define AI behavior and tool access. All operations are implicitly scoped to the workspace determined by the JWT token.
Authentication: Bearer token (JWT) Scope: Workspace-level operations
List webhook deliveries
client.agents.webhookDeliveries.list(stringagentID, WebhookDeliveryListParams { cursor, eventType, limit, objectiveId } query?, RequestOptionsoptions?): CursorPagination<WebhookDelivery { data, metadata } >
GET/v1/agents/{agentId}/webhook_deliveries
ModelsExpand Collapse
WebhookDelivery { data, metadata }
WebhookDelivery { data, metadata }
Webhook delivery data
eventType: "OBJECTIVE_EVENT_TYPE_UNSPECIFIED" | "OBJECTIVE_EVENT_TYPE_USER_MESSAGE" | "OBJECTIVE_EVENT_TYPE_TOOL_APPROVAL_REQUESTED" | 9 more
eventType: "OBJECTIVE_EVENT_TYPE_UNSPECIFIED" | "OBJECTIVE_EVENT_TYPE_USER_MESSAGE" | "OBJECTIVE_EVENT_TYPE_TOOL_APPROVAL_REQUESTED" | 9 more
The type of objective event that triggered this webhook delivery
formatenum
One of the following:
httpStatusCode: number
httpStatusCode: number
Response details (no response_body to avoid storing large payloads)
formatint32
WebhookDeliveryData { agentId, attemptCount, eventType, 11 more }
WebhookDeliveryData { agentId, attemptCount, eventType, 11 more }
eventType: "OBJECTIVE_EVENT_TYPE_UNSPECIFIED" | "OBJECTIVE_EVENT_TYPE_USER_MESSAGE" | "OBJECTIVE_EVENT_TYPE_TOOL_APPROVAL_REQUESTED" | 9 more
eventType: "OBJECTIVE_EVENT_TYPE_UNSPECIFIED" | "OBJECTIVE_EVENT_TYPE_USER_MESSAGE" | "OBJECTIVE_EVENT_TYPE_TOOL_APPROVAL_REQUESTED" | 9 more
The type of objective event that triggered this webhook delivery
formatenum
One of the following:
httpStatusCode: number
httpStatusCode: number
Response details (no response_body to avoid storing large payloads)
formatint32