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

# List transactions for a job

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

Use this endpoint to retrieve all transactions extracted from an ingestion job. You can sort the results by various fields. The response uses cursor-based pagination.

## Path parameters

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

## Query parameters

- `limit` integer
- `cursor` string
- `sort_order` 'asc' | 'desc'
- `sort_by` 'id' | 'created_at' | 'date' | 'status' | 'extraction_status'

## Headers

- `X-Request-Id` string

## Response `200`

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

- ListTransactionsResponse — Cursor-paginated list of transactions
  - `hasMore` boolean
  - `items` TransactionResponse[] — List of transactions
    - `amount` string — Transaction amount as string
    - `contextId` string — Context ID this transaction belongs to
    - `createdAt` string — Creation timestamp in RFC3339 format
    - `currency` string — Currency code
    - `date` string — Transaction date in RFC3339 format
    - `description` string — Description of the transaction
    - `externalId` string — External identifier from the source system
    - `extractionStatus` 'PENDING' | 'EXTRACTED' | 'FAILED' — Extraction status
    - `id` string — Unique identifier for the transaction
    - `jobId` string — Job ID that ingested this transaction
    - `sourceId` string — Source ID this transaction belongs to
    - `status` 'PENDING' | 'MATCHED' | 'UNMATCHED' — Current matching status
  - `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.
- `404` — The requested resource was not found.
- `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)
