Sandbox / SandboxListOpts
Interface: SandboxListOpts
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 sandboxes to return per page.
Default
100nextToken?
optionalnextToken?:string
Token to the next page.
query?
optionalquery?:object
Filter the list of sandboxes, e.g. by metadata metadata:{"key": "value"}, if there are multiple filters they are combined with AND.
metadata?
optionalmetadata?:Record<string,string>
state?
optionalstate?:SandboxState[]
Filter the list of sandboxes by state.
Default
['running', 'paused']requestTimeoutMs?
optionalrequestTimeoutMs?:number
Timeout for requests to the API in milliseconds.
Default
60_000 // 60 seconds