---
title: "Download a file's raw JSONL content"
method: GET
path: "/v1/files/{id}/content"
tags: ["Files"]
---

# Download a file's raw JSONL content

`GET /v1/files/{id}/content`

Streams the file bytes. Use it to fetch batch results: the batch object's output_file_id (successful records) and error_file_id (failed records) each point at a JSONL file of `{custom_id, response | error}` lines.

## Path parameters

- `id` string, required

## Response `200`

The file's raw JSONL bytes

## Other responses

- `401` — Missing or invalid API key
- `404` — Not found (also returned when the organization does not have Batch API access)

---

[API](https://skmtc.net/openrelay/apis/openrelay-api.md) · [All operations](https://skmtc.net/openrelay/apis/openrelay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrelay/openrelay-api/versions/32905b8f44f8/schema)
