Sandbox / SnapshotListOpts
Interface: SnapshotListOpts
Options for listing snapshots.
Extends
Omit<SandboxApiOpts,"signal">
Properties
apiHeaders?
optionalapiHeaders?:Record<string,string>
Additional headers to send with AgentBox API requests.
Inherited from
apiKey?
optionalapiKey?:string
AgentBox API key to use for authentication.
Default
AGENTBOX_API_KEY // environment variableInherited from
domain?
optionaldomain?:string
Domain to use for the API.
Default
AGENTBOX_DOMAIN // environment variable or agentbox-runtime.ru
Inherited from
limit?
optionallimit?:number
Number of snapshots to return per page.
Default
100name?
optionalname?:string
Filter snapshots by name or ID, optionally tag-qualified (e.g. "my-snapshot", "my-project/my-snapshot" or "my-snapshot:v1").
nextToken?
optionalnextToken?:string
Token to the next page.
requestTimeoutMs?
optionalrequestTimeoutMs?:number
Timeout for requests to the API in milliseconds.
Default
60_000 // 60 secondsInherited from
SandboxForkOpts.requestTimeoutMs
sandboxId?
optionalsandboxId?:string
Filter snapshots by source sandbox ID.