---
title: "List Ofac Batches"
method: GET
path: "/ofac/searches/batches"
tags: ["OFAC"]
---

# List Ofac Batches

`GET /ofac/searches/batches`

List all OFAC batches for the authenticated organization.

## Query parameters

- `limit` integer — Maximum number of records to return in a single page. Must be between 1 and 1000.
- `offset` integer, nullable — Number of records to skip from the beginning. Use 0 for the first page. Cannot be used with cursor.
- `cursor` string, nullable — Opaque pagination cursor token that identifies the position in the result set. Use the cursor from the previous response to get the next page. Cannot be used with offset.

## Response `200`

List of OFAC batches.

- V1OFACBatchResponse[]
  - `id` string, uuid, required — The unique identifier of the OFAC batch.
  - `name` string, required — The name of the ofac batch file
  - `similarity_threshold` number, required — The similarity threshold for the OFAC search
  - `state` 'PENDING' | 'EXECUTING' | 'COMPLETED' | 'FAILED' | 'CANCELLED', required
  - `entities_count` integer, required — Total number of entities in the batch
  - `valid_entities_count` integer, required — Total number of valid entities in the batch
  - `entities_with_match_count` integer, required — Total number of entities with a match in the batch
  - `invalid_entities_count` integer, required — Total number of invalid entities in the batch
  - `created_at` string, date-time, required — When the ofac batch was created
  - `updated_at` string, date-time, nullable — When the ofac batch was updated

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/baselayer/apis/baselayer-api-service.md) · [All operations](https://skmtc.net/baselayer/apis/baselayer-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baselayer/baselayer-api-service/revisions/0cc89938bc26/schema)
