---
title: "A knowledge job finished: a website crawl or the processing of a knowledge source. Sent once per run; reading the same source again is a new run with a new event. Pages of a crawl are reported with the crawl."
method: POST
path: "job.completed"
---

# A knowledge job finished: a website crawl or the processing of a knowledge source. Sent once per run; reading the same source again is a new run with a new event. Pages of a crawl are reported with the crawl.

`POST job.completed` (webhook)

Sent as POST to the account webhook URL. Headers: X-Smartwebchat-Event, X-Smartwebchat-Timestamp, X-Smartwebchat-Signature (HMAC over timestamp and body). data is the object shown in the example.

## Payload

- object
  - `event` 'job.completed', required
  - `timestamp` string, date-time, required
  - `data` object, required
    - `jobId` string, required
    - `jobType` 'knowledge_crawl' | 'knowledge_source', required
    - `status` 'succeeded' | 'partially_succeeded', required
    - `errorCode` unknown, required

## Acknowledgement `2XX`

Received. Any other status is logged; delivery to the account webhook URL is not retried.

---

[API](https://skmtc.dev/smartwebchat/apis/smartwebchat-api.md) · [All operations](https://skmtc.dev/smartwebchat/apis/smartwebchat-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smartwebchat/apis/smartwebchat-api/revisions/1b052502dacb?raw)
