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

# List Jobs

> List import and account research jobs with optional status filter

List import and account research jobs, optionally filtered by status.

A `FAILED` job carries `failure_reason`, a plain-English sentence saying why and what to do, and
`reason_code`, a stable code. See [Get Job Status](https://docs.clustr-ai.com/api-reference/get-job-status.md#when-a-job-fails) for the codes.

Each job also carries `overlaps_pending`: `true` while a finished job still has warm-intro overlaps
being worked out in the background, so its opportunity count can still grow. See
[Get Job Status](https://docs.clustr-ai.com/api-reference/get-job-status.md#when-a-finished-job-is-still-settling).

A `COMPLETED` import whose warm-intro derivation did not finish inside the run carries
`derive_incomplete: true`, `derive_incomplete_reason` and `derive_note`. See
[Get Job Status](https://docs.clustr-ai.com/api-reference/get-job-status.md#when-an-import-finishes-with-derivation-incomplete).

A job may come back with `QUEUED` if your workspace already had imports in progress when it was
submitted. It starts automatically once capacity frees up, no action needed.

```bash cURL theme={null}
curl "https://api.clustr-ai.com/api/public/jobs?status=COMPLETED&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```json 200 theme={null}
{
  "success": true,
  "data": {
    "jobs": [
      {
        "clustr_job_id": "job_jctzmfh41nr4v8hvs87eakgs48",
        "job_id": "job_abc123",
        "status": "COMPLETED",
        "progress": {
          "current_stage": "completed",
          "stages": {}
        },
        "created_at": "2025-03-15T10:00:00Z",
        "completed_at": "2025-03-15T10:05:00Z"
      }
    ],
    "total": 1
  }
}
```


## OpenAPI

````yaml GET /jobs
openapi: 3.1.0
info:
  title: Clustr Public API
  description: >
    Programmatic access to your Clustr network: import connectors, search warm
    intros (opportunities), and manage target accounts.


    ## Authentication

    All endpoints require a Bearer token (API key) in the `Authorization`
    header.


    ```

    Authorization: Bearer <your_api_key>

    ```


    API keys can be created and managed from the [API settings
    page](https://app.clustr-ai.com/api).
  version: '1.0'
  contact:
    name: Clustr Support
    url: https://clustr-ai.com
servers:
  - url: https://api.clustr-ai.com/api/public
    description: Production
security:
  - BearerAuth: []
paths:
  /jobs:
    get:
      tags:
        - Jobs
      summary: List Jobs
      description: List your import jobs, optionally filtered by status.
      operationId: listJobs
      parameters:
        - name: status
          in: query
          schema:
            type: string
          description: >-
            Keep jobs with these statuses: `QUEUED`, `PROCESSING`, `COMPLETED`,
            `FAILED` or `CANCELLED`. Send a comma-separated list for several.
        - name: limit
          in: query
          schema:
            type: integer
            default: 100
          description: The maximum number of jobs to return. Defaults to 100, up to 1000.
        - name: offset
          in: query
          schema:
            type: integer
            default: 0
          description: The number of jobs to skip, for offset pagination.
        - name: page
          in: query
          schema:
            type: integer
            minimum: 1
          description: >-
            The page to return, as an alternative to `offset`. Sending `page` or
            `page_size` uses them in place of `limit` and `offset`.
        - name: page_size
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
          description: Jobs per page when paging with `page`. Defaults to 25, up to 100.
      responses:
        '200':
          description: List of jobs
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - data
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      jobs:
                        type: array
                        items:
                          $ref: '#/components/schemas/JobPublicResponse'
                      total:
                        type: integer
                      page:
                        type: integer
                        description: Present when page or page_size was sent.
                      page_size:
                        type: integer
                        description: Present when page or page_size was sent.
                      has_more:
                        type: boolean
                        description: Present when page or page_size was sent.
        '401':
          description: Invalid or missing API key
components:
  schemas:
    JobPublicResponse:
      type: object
      description: An import job and its progress.
      required:
        - job_id
        - status
        - progress
        - created_at
      properties:
        clustr_job_id:
          type: string
          description: >-
            The job's Clustr ID, for example `job_jctzmfh41nr4v8hvs87eakgs48`.
            Follow the job with [Get Job

            Status](/api-reference/get-job-status).
          example: job_jctzmfh41nr4v8hvs87eakgs48
        job_id:
          type: string
          example: 87de0cc4-f258-4090-ab79-3f278bd7578e
          description: >-
            Kept for integrations built before Clustr IDs. New integrations
            should use `clustr_job_id`.
        status:
          type: string
          description: >-
            The job's status. `QUEUED` means the job was accepted and charged
            and is waiting to start: when your workspace already has imports in
            progress, a new job may be queued, and it starts automatically once
            capacity frees up.
          enum:
            - QUEUED
            - PROCESSING
            - COMPLETED
            - FAILED
            - CANCELLED
          example: COMPLETED
        progress:
          type: object
          properties:
            current_stage:
              type: string
            stages:
              type: object
        error_messages:
          type: array
          description: >-
            The raw messages the job recorded, useful when you contact support.
            To show your users why a job failed, use `failure_reason`.
          items:
            type: string
        failure_reason:
          type: string
          description: >-
            Present on a `FAILED` job: why it failed, as a plain-English
            sentence that says what to do next.
          example: >-
            Company not found on LinkedIn. Check the link points to the
            company's own page and retry.
        reason_code:
          type: string
          description: >-
            Present on a `FAILED` job: the stable code behind `failure_reason`.
            One of `company_not_found`, `excluded_company`, `no_target_titles`,
            `insufficient_credits`, `linkedin_disconnected`, `no_results`,
            `report_failed`, `timed_out`, `internal_error`, `other` or
            `unknown`. New codes may be added.
          example: company_not_found
        overlaps_pending:
          type: boolean
          description: >-
            True when the job has finished but some of its connector and
            prospect pairs are still being computed, so the number of
            opportunities it produced can still grow. False once they are done,
            and while the job is still running. Omitted when this state is
            unavailable.
          example: false
        derive_incomplete:
          type: boolean
          description: >-
            Present on a `COMPLETED` import whose warm intros were still being
            computed when the run ended, after two hours without progress or at
            the job time limit. The import is usable, and the remaining people
            finish in the background. Omitted otherwise.
          example: true
        derive_incomplete_reason:
          type: string
          enum:
            - stalled
            - backstop
          description: >-
            Why `derive_incomplete` is set: `stalled` (no progress for two
            hours) or `backstop` (the job time limit). Present only with
            `derive_incomplete`. New values may be added.
          example: stalled
        derive_note:
          type: string
          description: >-
            Present only with `derive_incomplete`: a plain-English sentence to
            show next to the status.
          example: >-
            Completed, but some intros are still being calculated. They will
            appear within the next hours without any action from you.
        created_at:
          type: string
          format: date-time
        completed_at:
          type: string
          format: date-time
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: The API key you created on the API settings page of the Clustr app.

````

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