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

# Cancel a list or search enrichment job

> Cancels a list or search enrichment's job: the `jobId` that POST /business/lists/{listId}/enrich, or POST /business/prospects/search/save-to-list with `enrich`, answered. It cancels a batch enrichment of named people (the `jobId` POST /business/contacts/enrich-jobs answered) the same way: the people already running finish, and the people it never reached read `not_run`. A job with nothing running (queued, or stopped for credits) is cancelled at once and answers `cancelled`. A running job winds down and answers `processing`: no new lookup starts, the lookups already out finish and what they find is saved and charged, and the job then ends `cancelled`; poll GET /business/jobs/{jobId} until it does. What the job found before the cancel stays saved and charged. Only enrichment jobs are cancelled here: any other job id answers 404 JOB_NOT_FOUND. Acts on the key owner's own jobs only. Rate limit: 120 requests per minute, 10000 per day, shared with the list endpoints.

Errors:
- `404` `JOB_NOT_FOUND` — No enrichment job with that id belongs to the token owner (or it has expired).
- `409` `JOB_ALREADY_FINISHED` — The job already completed, failed or was cancelled.
- `409` `ENRICHMENT_NOT_STARTED` — The id is a save-to-list's whose contacts no enrichment job holds: it is still saving, or it ended without one.
- `422` `VALIDATION_FAILED` — `jobId` is not a 24-character hex id.
- `429` `RATE_LIMITED` — Per-user quota for this endpoint family exceeded (120 per minute, 10000 per day, shared with the list endpoints); retry after the Retry-After / RateLimit-Reset seconds.

Requires one of the following token scopes: lists.



## OpenAPI

````yaml /openapi.json post /business/jobs/{jobId}/cancel
openapi: 3.1.0
info:
  title: Fuse Business API
  version: 1.0.0
  description: >-
    External API for lists, campaigns, prospect search and contacts.
    Authenticate with your API token as HTTP Basic. All paths are under /api/v1.
servers:
  - url: https://api.tryfuse.ai/api/v1
    description: Production
security:
  - basicAuth: []
tags:
  - name: Lists
  - name: Custom columns
  - name: Smart columns
  - name: Exports
  - name: Campaigns
  - name: Knowledge hubs
  - name: Analytics
  - name: Website intent
  - name: LinkedIn
  - name: Conversations
  - name: Account
  - name: Sending accounts
  - name: Data
  - name: Prospect search
  - name: Campaign steps
  - name: Scheduled sends
  - name: Campaign templates
  - name: Tracking domains
  - name: Agents
  - name: Research
  - name: Company search
  - name: Saved searches
  - name: Folders
  - name: Exclusions
  - name: Contacts
paths:
  /business/jobs/{jobId}/cancel:
    post:
      tags:
        - Account
      summary: Cancel a list or search enrichment job
      description: >-
        Cancels a list or search enrichment's job: the `jobId` that POST
        /business/lists/{listId}/enrich, or POST
        /business/prospects/search/save-to-list with `enrich`, answered. It
        cancels a batch enrichment of named people (the `jobId` POST
        /business/contacts/enrich-jobs answered) the same way: the people
        already running finish, and the people it never reached read `not_run`.
        A job with nothing running (queued, or stopped for credits) is cancelled
        at once and answers `cancelled`. A running job winds down and answers
        `processing`: no new lookup starts, the lookups already out finish and
        what they find is saved and charged, and the job then ends `cancelled`;
        poll GET /business/jobs/{jobId} until it does. What the job found before
        the cancel stays saved and charged. Only enrichment jobs are cancelled
        here: any other job id answers 404 JOB_NOT_FOUND. Acts on the key
        owner's own jobs only. Rate limit: 120 requests per minute, 10000 per
        day, shared with the list endpoints.


        Errors:

        - `404` `JOB_NOT_FOUND` — No enrichment job with that id belongs to the
        token owner (or it has expired).

        - `409` `JOB_ALREADY_FINISHED` — The job already completed, failed or
        was cancelled.

        - `409` `ENRICHMENT_NOT_STARTED` — The id is a save-to-list's whose
        contacts no enrichment job holds: it is still saving, or it ended
        without one.

        - `422` `VALIDATION_FAILED` — `jobId` is not a 24-character hex id.

        - `429` `RATE_LIMITED` — Per-user quota for this endpoint family
        exceeded (120 per minute, 10000 per day, shared with the list
        endpoints); retry after the Retry-After / RateLimit-Reset seconds.


        Requires one of the following token scopes: lists.
      operationId: cancelJob
      parameters:
        - name: jobId
          in: path
          required: true
          description: >-
            24-character hex id of a list or search enrichment's job: the
            `jobId` POST /business/lists/{listId}/enrich, or POST
            /business/prospects/search/save-to-list with `enrich`, answered.
          schema:
            type: string
            description: >-
              24-character hex id of a list or search enrichment's job: the
              `jobId` POST /business/lists/{listId}/enrich, or POST
              /business/prospects/search/save-to-list with `enrich`, answered.
      responses:
        '200':
          description: Success
          headers:
            RateLimit-Limit:
              schema:
                type: integer
              description: Requests permitted in the current window.
            RateLimit-Remaining:
              schema:
                type: integer
              description: Requests remaining in the current window.
            RateLimit-Reset:
              schema:
                type: integer
              description: Seconds until the current window resets.
          content:
            application/json:
              schema:
                type: object
                required:
                  - job
                properties:
                  job:
                    type: object
                    required:
                      - jobId
                      - status
                    properties:
                      jobId:
                        type: string
                        description: The id sent.
                      status:
                        type: string
                        enum:
                          - cancelled
                          - processing
                        description: >-
                          `cancelled`, or `processing` while a running job winds
                          down before it ends `cancelled`.
              example:
                job:
                  jobId: 68a2109c9c41d20014b41002
                  status: cancelled
        '400':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - basicAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            param:
              type:
                - string
                - 'null'
            doc_url:
              type:
                - string
                - 'null'
            request_id:
              type:
                - string
                - 'null'
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >-
        Your API token (`af_…`) as the Basic-auth username, with an empty
        password.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.