Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

Enter your API key as the bearer token. Set header: Authorization to Bearer <api_key>

Path Parameters

file_id
string
required

The ID of the file to retrieve.

Response

Successful response

id
string
required

Unique identifier for the object.

source
enum<string>
required

How the file came to exist: uploaded by the user or produced by a run.

Available options:
UPLOAD,
RUN_OUTPUT
run_id
string | null
required

ID of the run that produced this file. Null for uploaded files.

name
string
required

User-facing filename.

size_bytes
integer
required

Size of the file in bytes.

content_type
string
required

MIME type of the file.

crc32c
string
required

Base64-encoded CRC32C checksum of the file content.

created_at
string<date-time>
required

Timestamp when the file was created.