Skip to main content
WEBHOOK
knowledgebase.finished
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "pending",
  "documentCount": 123,
  "chunkCount": 123
}

Authorizations

PromptJuggler-Signature
string
header
required

HMAC-SHA256 signature for payload verification. The header value follows the format t={timestamp},v1={signature} where the signature is computed over {timestamp}.{raw_request_body} using your webhook secret. To verify: recompute the HMAC using the timestamp from the header and the raw request body, then compare against the v1 value. Reject requests where the timestamp falls outside your acceptable tolerance window to prevent replay attacks.

Body

application/json

Webhook payload for finished knowledge bases.

id
string<uuid>
required

Knowledge base ID

status
enum<string>
required

Knowledge base status

Available options:
pending,
ready,
failed
documentCount
integer
required

Total document count

chunkCount
integer
required

Total chunk count

Response

200

Webhook processed successfully