> ## Documentation Index
> Fetch the complete documentation index at: https://docs.naturalead.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Resume Crawl Job

> Resumes a paused crawl job from where it left off.
Requires `knowledge:upload` permission.




## OpenAPI

````yaml POST /api/knowledge-bases/{id}/crawl-jobs/{jobId}/resume
openapi: 3.1.0
info:
  title: Naturalead Knowledge Bases API
  version: 1.0.0
  description: >
    API for managing knowledge bases, documents, sitemap crawl jobs, and webhook

    sources in the Naturalead platform. All endpoints require API key
    authentication

    and are scoped to the caller's account.
servers:
  - url: '{baseUrl}'
    description: API server
    variables:
      baseUrl:
        default: http://localhost:3001
security:
  - BearerAuth: []
tags:
  - name: Knowledge Bases
    description: Knowledge base CRUD operations
  - name: Documents
    description: Document management within a knowledge base
  - name: Sitemap & Crawl Jobs
    description: Sitemap scanning and web crawl job management
  - name: Webhook Sources
    description: Webhook source management for auto-updating content
paths:
  /api/knowledge-bases/{id}/crawl-jobs/{jobId}/resume:
    post:
      tags:
        - Sitemap & Crawl Jobs
      summary: Resume crawl job
      description: |
        Resumes a paused crawl job from where it left off.
        Requires `knowledge:upload` permission.
      operationId: resumeCrawlJob
      parameters:
        - $ref: '#/components/parameters/KnowledgeBaseId'
        - $ref: '#/components/parameters/CrawlJobId'
      responses:
        '200':
          description: Resumed crawl job
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrawlJob'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    KnowledgeBaseId:
      name: id
      in: path
      required: true
      description: Knowledge base ID
      schema:
        type: string
    CrawlJobId:
      name: jobId
      in: path
      required: true
      description: Crawl job ID
      schema:
        type: string
  schemas:
    CrawlJob:
      type: object
      properties:
        _id:
          type: string
          description: Unique identifier
        accountId:
          type: string
          description: Owning account ID
        knowledgeBaseId:
          type: string
          description: Parent knowledge base ID
        sitemapUrl:
          type: string
          description: Sitemap URL being crawled
        status:
          type: string
          description: Current job status
        urlsFound:
          type: integer
          description: Number of URLs discovered from the sitemap
        urlList:
          type: array
          items:
            type: string
          description: Explicit list of URLs to crawl
        maxPages:
          type: integer
          description: Maximum pages to crawl
        useLlmDistill:
          type: boolean
          description: Whether LLM distillation is enabled
        pagesProcessed:
          type: integer
          description: Number of pages successfully processed
        pagesFailed:
          type: integer
          description: Number of pages that failed processing
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - _id
        - accountId
        - knowledgeBaseId
        - status
        - createdAt
        - updatedAt
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
            required:
              - error
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer token using an API key (format nl_live_* or nl_test_*)

````