---
title: "Get ingestion job status"
method: GET
path: "/v1/imports/contexts/{contextId}/jobs/{jobId}"
tags: ["Ingestion"]
---

# Get ingestion job status

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

## Request

- Base URL: `https://identity.sandbox.lerian.net`
- URL: `https://identity.sandbox.lerian.net/v1/imports/contexts/{contextId}/jobs/{jobId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lerian/apis/identity-plugin/docs/v1/imports/contexts/:contextId/jobs/:jobId/get.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to retrieve the status and details of a specific ingestion job by its identifier. The response includes progress metrics and error information.

## Path parameters

- `contextId` string, required
- `jobId` string, required

## Headers

- `X-Request-Id` string

## Response `200`

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

- JobResponse: Ingestion job details
  - `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

## 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.
- `404`: The requested resource was not found.
- `500`: An unexpected error occurred on the server.

---

[API](https://skmtc.dev/lerian/apis/identity-plugin.md) - [All operations](https://skmtc.dev/lerian/apis/identity-plugin/llms.txt) - [OpenAPI document](https://skmtc.dev/lerian/apis/identity-plugin/revisions/25daba385532?raw)
