Skip to main content
GET
/
v1
/
imports
/
contexts
/
{contextId}
/
jobs
List ingestion jobs for a context
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/imports/contexts/{contextId}/jobs \
  --header 'Authorization: Bearer <token>'
{
  "hasMore": true,
  "items": [
    {
      "completedAt": "2025-01-15T10:35:00.000Z",
      "contextId": "550e8400-e29b-41d4-a716-446655440000",
      "createdAt": "2025-01-15T10:30:00.000Z",
      "failedRows": 5,
      "fileName": "transactions_2024.csv",
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "sourceId": "550e8400-e29b-41d4-a716-446655440000",
      "startedAt": "2025-01-15T10:30:00.000Z",
      "status": "PROCESSING",
      "totalRows": 1000
    }
  ],
  "limit": 20,
  "nextCursor": "eyJpZCI6IjEyMyJ9",
  "prevCursor": "eyJpZCI6IjEyMiJ9"
}

Authorizations

Authorization
string
header
required

Bearer token authentication (format: "Bearer {token}")

Headers

X-Request-Id
string

A unique identifier for tracing the request across services.

Path Parameters

contextId
string
required

The unique identifier of the reconciliation context.

Query Parameters

limit
integer
default:20

The maximum number of items to include in the response.

Required range: 1 <= x <= 200
cursor
string

The cursor value for retrieving the next page of results.

sort_order
enum<string>

The order used to sort the results.

Available options:
asc,
desc
sort_by
enum<string>

The field used to sort the results.

Available options:
id,
created_at,
started_at,
completed_at,
status

Response

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

Cursor-paginated list of ingestion jobs

hasMore
boolean
Example:

true

items
object[]

List of ingestion jobs

limit
integer
Required range: 1 <= x <= 200
Example:

20

nextCursor
string
Example:

"eyJpZCI6IjEyMyJ9"

prevCursor
string
Example:

"eyJpZCI6IjEyMiJ9"