---
title: "List jobs"
method: GET
path: "/workspaces/{workspace_id}/jobs"
tags: ["Jobs"]
---

# List jobs

`GET /workspaces/{workspace_id}/jobs`

## Request

- Base URL: `https://api.compelling.ai/v1`
- URL: `https://api.compelling.ai/v1/workspaces/{workspace_id}/jobs`
- Auth: HTTP bearer

Returns all async jobs for the workspace. Filter by `list_id` to see only jobs for a specific list.

## Query parameters

- `list_id` string
- `status` 'pending' | 'running' | 'complete' | 'failed'
- `page` integer
- `size` integer

## Response `200`

OK

- PaginatedJobs
  - `data` Job[]
    - `job_id` string
    - `status` 'pending' | 'running' | 'complete' | 'failed'
    - `type` 'contact_generation' | 'account_insight_answers' | 'contact_insight_answers' | 'workflow_run'
    - `list_id` string
    - `error` string, nullable: Error message if status is `failed`.
    - `result` object, nullable: Summary or result data when status is `complete`.
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `pagination` Pagination
    - `page` integer
    - `size` integer
    - `total` integer
    - `total_pages` integer

---

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