---
title: "Retrieve file content"
method: GET
path: "/api/files/{file_id}/content/"
tags: ["openAiBatch"]
---

# Retrieve file content

`GET /api/files/{file_id}/content/`

Download file content. Batch output files are returned as JSONL.

## Path parameters

- `file_id` string, required

## Query parameters

- `provider_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

File content.

## Other responses

- `401` — Unauthorized - Missing or invalid authentication
- `404` — Not Found

---

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