Skip to main content
GET
Get Snapshot File

Authorizations

Authorization
string
header
required

API key from Settings > Developer > REST API

Path Parameters

snapshot
string
required

Query Parameters

path
string
required

The file: an absolute path, ~/…, or a path relative to /project.

Required string length: 1 - 4096

Response

Successful Response

snapshot_id
string
required

The snapshot it was read from (snp_…).

path
string
required

The file's absolute path in the snapshot (a relative path is under /project).

size_bytes
integer
required

The file's size in bytes.

url
string
required

Download the file here with a plain GET (no credential; Range works) until expires_at.

expires_at
string | null
required

When url stops working (ISO 8601, UTC): ask again for a new one.

next
string
required

What to do next, for agents.