Skip to content

Get a File

GET/v1/files/{file_id}

Overview

A file's metadata. Requires llm.write.

Authorization

Authorizationstring · headerRequired

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

Parameters

file_idpath · stringRequired

Responses

200The file.
application/json
idstringRequired

Example: "file-abc123"

objectstringRequired
bytesintegerRequired
created_atintegerRequired

Unix seconds.

filenamestringRequired
purposestringRequired

Values: "batch""batch_output"

statusstringRequired
expires_atnull

Files are kept until deleted.

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