GET /snapshot/:agent_id/latest
Retrieve the metadata and storage URL for the most recent confirmed snapshot of a given agent.Response — 200 OK
string
UUID of the snapshot record.
string
The agent identifier this snapshot belongs to.
integer
Sequence number of this checkpoint.
string
Storage path (object key) of the ciphertext blob.
integer
Byte size of the stored ciphertext.
integer
Credits debited when this snapshot was uploaded.
0 for free-tier project tokens.string
Client-supplied payload hash recorded at upload time — re-derive and compare this before trusting the decrypted payload.
string
Confirmation status —
"confirmed" for all retrievable snapshots.string
ISO-8601 timestamp of when this snapshot was confirmed.
string
Public URL you can use to download the ciphertext blob directly from object storage.
curl Example
GET /snapshot/:agent_id/:sequence
Retrieve metadata and the storage URL for a checkpoint at a specific sequence number. Use this for rollbacks, audits, or debugging a particular checkpoint in the agent’s history.Response — 200 OK
The response schema is identical toGET /snapshot/:agent_id/latest above — a receipt object and a ciphertextUrl. Returns 404 snapshot_not_found if no confirmed snapshot exists at that exact sequence number.
curl Example
GET /snapshot/:agent_id/lineage
Fetch an ordered list of confirmed sequence numbers, payload hashes, and storage paths for an agent. Use this to reconstruct the full parent-hash ancestry chain and verify historical integrity locally.
Query Parameters:
Response — 200 OK
Returns a JSON array of lineage entries ordered descending by sequence number (newest first). Note this is a bare array, not wrapped in an object:integer
Sequence number of this checkpoint entry.
string
Storage path of this checkpoint’s ciphertext blob.
string | null
Storage path of the parent checkpoint, or
null for the genesis snapshot.string
Hash of the payload recorded at upload time.
string
ISO-8601 timestamp of when this snapshot was confirmed.