---
title: "Get Ofac Batch File"
method: GET
path: "/ofac/searches/batches/{batch_id}/download"
tags: ["OFAC"]
---

# Get Ofac Batch File

`GET /ofac/searches/batches/{batch_id}/download`

Download the resulting OFAC batch file in .jsonl format.
See example output file [here](https://storage.googleapis.com/osiris-public-assets-prod/schemas/ofac_batch_result_example.jsonl)

## Path parameters

- `batch_id` string, uuid, required — The unique identifier of the OFAC batch to download.

## Other responses

- `307` — Download the OFAC batch file.
- `404` — The OFAC batch does not exist or file is not available.
- `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)
