Agent API

Agent batch completion callback

KLinePic sends this request to the caller-supplied callbackUrl when a batch reaches a terminal state.

postWebhookagentBatchCompleted

Headers

x-kline-event'batch.completed' required

Callback event name.

x-kline-batch-job-idstring required

Batch job id in the callback payload.

x-kline-signaturestring

Hex HMAC-SHA256 over the raw JSON body when callback signing is configured.

Payload

event'batch.completed' required
okboolean required

True when the batch completed successfully. False means the batch reached failed or cancelled.

requestIdstring

Caller request id from batch creation or retry when supplied.

Response

Callback accepted.

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.