Skip to content

Get File Content

GET/v1/files/{file_id}/content

Overview

Download a file's JSONL. A batch output file has one line per finished request: {"id", "custom_id", "response": {"status_code", "request_id", "body"}, "error": null}. The error file has failed requests, with a response or an error {"code", "message"}. Requires llm.write.

Authorization

Authorizationstring · headerRequired

AudioLab API key sent as Bearer <token>. Authentication guide

Parameters

file_idpath · stringRequired

Responses

200JSONL content.
application/jsonl

string

401Invalid API key.
404File not found in this workspace.