---
title: "List ingestion jobs for a context"
method: GET
path: "/v1/imports/contexts/{contextId}/jobs"
tags: ["Ingestion"]
---

# List ingestion jobs for a context

`GET /v1/imports/contexts/{contextId}/jobs`

Use this endpoint to retrieve all ingestion jobs for a specific reconciliation context. You can sort the results by various fields. The response uses cursor-based pagination.

## Path parameters

- `contextId` string, required

## Query parameters

- `limit` integer
- `cursor` string
- `sort_order` 'asc' | 'desc'
- `sort_by` 'id' | 'created_at' | 'started_at' | 'completed_at' | 'status'

## Headers

- `X-Request-Id` string

## Response `200`

Indicates that the request was successful and the response contains the expected data.

- ListJobsResponse — Cursor-paginated list of ingestion jobs
  - `hasMore` boolean
  - `items` JobResponse[] — List of ingestion jobs
    - `completedAt` string — When the job completed in RFC3339 format (if completed)
    - `contextId` string — Context ID this job belongs to
    - `createdAt` string — Creation timestamp in RFC3339 format
    - `failedRows` integer — Number of rows that failed processing
    - `fileName` string — Original file name
    - `id` string — Unique identifier for the job
    - `sourceId` string — Source ID this job ingests data into
    - `startedAt` string — When the job started in RFC3339 format (null for QUEUED jobs)
    - `status` 'QUEUED' | 'PROCESSING' | 'COMPLETED' | 'FAILED' — Current status of the job
    - `totalRows` integer — Total number of rows in the file
  - `limit` integer
  - `nextCursor` string
  - `prevCursor` string

## Other responses

- `400` — The request contains invalid parameters or payload.
- `401` — The request lacks valid authentication credentials.
- `403` — You do not have permission to access this resource.
- `500` — An unexpected error occurred on the server.

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/revisions/25daba385532/schema)
