---
title: "Status of a long-running job (website crawl or source processing)"
method: GET
path: "/api/v1/jobs/{jobId}"
---

# Status of a long-running job (website crawl or source processing)

`GET /api/v1/jobs/{jobId}`

## Request

- Base URL: `https://smartwebchat.eu`
- URL: `https://smartwebchat.eu/api/v1/jobs/{jobId}`
- Auth: HTTP bearer

## Path parameters

- `jobId` string, required

## Response `200`

Job

- Job: A long-running job, projected from the crawl or source state. running means not finished yet; it is not a promise that the job will finish. A crawl whose processing failed for good is marked failed with error_code crawl_failed, after its retries. No content, no URLs.
  - `id` string, required: crawl_<uuid> or source_<uuid>
  - `type` 'knowledge_crawl' | 'knowledge_source', required
  - `status` 'running' | 'awaiting_confirmation' | 'succeeded' | 'partially_succeeded' | 'failed', required
  - `chatbot_id` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `error_code` string, nullable, required: Code from /agents/errors when status is failed; otherwise null
  - `progress` object: Crawl jobs only
    - `discovered` integer
    - `pending` integer
    - `processing` integer
    - `ready` integer
    - `failed` integer

## Other responses

- `404`: Job not found for this account
- `429`: Rate limit exceeded: 600 requests per minute per account across all /api/v1/ routes. Wait for the seconds given in Retry-After (60) and retry.

---

[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)
