Error
A valid request URL is required to generate request examples{
"access_delegation": {
"mode": "EXPLICIT",
"permissions": [
"<string>"
]
},
"cpu_millicores": 123,
"created_at": "<string>",
"created_by": "<string>",
"dataplane_url": "<string>",
"delete_after_stop_seconds": 123,
"fs_capacity_bytes": 123,
"id": "<string>",
"idle_ttl_seconds": 123,
"labels": {},
"mem_bytes": 123,
"mount_config": {
"auth": {
"aws": {
"role_arn": "<string>",
"subject_scope": "<string>"
},
"azure": {
"tenant_id": "<string>",
"client_id": "<string>",
"subject_scope": "<string>"
},
"gcp": {
"workload_identity_provider": "<string>",
"service_account_email": "<string>",
"subject_scope": "<string>"
}
},
"mounts": [
{
"id": "<string>",
"mount_path": "<string>",
"s3": {
"bucket": "<string>",
"region": "<string>",
"endpoint_url": "<string>",
"path_style": true,
"prefix": "<string>"
},
"type": "s3",
"cache": {
"max_size_bytes": 1,
"writeback_seconds": 1
},
"encryption": {
"kms_key": "<string>"
},
"read_only": true,
"azure_blob": {
"container": "<string>",
"storage_account": "<string>",
"prefix": "<string>"
},
"contexthub": {
"repo": "<string>",
"initial_pull_only": true
},
"gcs": {
"bucket": "<string>",
"prefix": "<string>"
},
"git": {
"remote_url": "<string>",
"ref": {
"name": "<string>",
"type": "branch"
},
"refresh_interval_seconds": 2
}
}
]
},
"name": "<string>",
"persistent": true,
"preserve_memory_on_stop": true,
"proxy_config": {
"access_control": {
"allow_list": [
"<string>"
],
"deny_list": [
"<string>"
]
},
"callbacks": [
{
"ttl_seconds": 1830,
"url": "<string>",
"attribution_headers": [
"<string>"
],
"full_request": true,
"match_hosts": [
"<string>"
],
"request_headers": [
{
"name": "<string>",
"type": "plaintext",
"is_set": true,
"value": "<string>"
}
]
}
],
"description": "<string>",
"no_proxy": [
"<string>"
],
"rules": [
{
"name": "<string>",
"aws": {
"role_arn": "<string>",
"subject_scope": "<string>",
"session_tags": {}
},
"azure": {
"tenant_id": "<string>",
"client_id": "<string>",
"subject_scope": "<string>",
"resources": [
"https://storage.azure.com"
]
},
"description": "<string>",
"enabled": true,
"env_vars": {},
"gcp": {
"workload_identity_provider": "<string>",
"service_account_email": "<string>",
"subject_scope": "<string>",
"scopes": [
"<string>"
]
},
"headers": [
{
"name": "<string>",
"type": "plaintext",
"is_set": true,
"value": "<string>"
}
],
"match_headers": [
"<string>"
],
"match_hosts": [
"<string>"
],
"match_paths": [
"<string>"
],
"match_port": 32768,
"match_scheme": "https",
"relay_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rewrite": {
"port": 32768,
"credentials": "strip",
"host": "<string>",
"sandbox": "<string>"
},
"type": "<string>"
}
]
},
"run_config": {
"env_vars": {},
"user": "<string>",
"work_dir": "<string>"
},
"size_class": "<string>",
"snapshot_id": "<string>",
"status": "<string>",
"status_message": "<string>",
"stopped_at": "<string>",
"updated_at": "<string>",
"updated_by": "<string>",
"vcpus": 123,
"volumes": [
{
"mount_path": "<string>",
"read_only": true,
"volume_id": "<string>",
"volume_name": "<string>"
}
]
}{
"detail": {
"error": "<string>",
"error_id": "<string>",
"message": "<string>"
}
}{
"detail": {
"error": "<string>",
"error_id": "<string>",
"message": "<string>"
}
}Get a sandbox
Retrieve a sandbox by name. Stale provisioning sandboxes are auto-failed.
GET
/
api
/
v2
/
sandboxes
/
boxes
/
{name}
Error
A valid request URL is required to generate request examples{
"access_delegation": {
"mode": "EXPLICIT",
"permissions": [
"<string>"
]
},
"cpu_millicores": 123,
"created_at": "<string>",
"created_by": "<string>",
"dataplane_url": "<string>",
"delete_after_stop_seconds": 123,
"fs_capacity_bytes": 123,
"id": "<string>",
"idle_ttl_seconds": 123,
"labels": {},
"mem_bytes": 123,
"mount_config": {
"auth": {
"aws": {
"role_arn": "<string>",
"subject_scope": "<string>"
},
"azure": {
"tenant_id": "<string>",
"client_id": "<string>",
"subject_scope": "<string>"
},
"gcp": {
"workload_identity_provider": "<string>",
"service_account_email": "<string>",
"subject_scope": "<string>"
}
},
"mounts": [
{
"id": "<string>",
"mount_path": "<string>",
"s3": {
"bucket": "<string>",
"region": "<string>",
"endpoint_url": "<string>",
"path_style": true,
"prefix": "<string>"
},
"type": "s3",
"cache": {
"max_size_bytes": 1,
"writeback_seconds": 1
},
"encryption": {
"kms_key": "<string>"
},
"read_only": true,
"azure_blob": {
"container": "<string>",
"storage_account": "<string>",
"prefix": "<string>"
},
"contexthub": {
"repo": "<string>",
"initial_pull_only": true
},
"gcs": {
"bucket": "<string>",
"prefix": "<string>"
},
"git": {
"remote_url": "<string>",
"ref": {
"name": "<string>",
"type": "branch"
},
"refresh_interval_seconds": 2
}
}
]
},
"name": "<string>",
"persistent": true,
"preserve_memory_on_stop": true,
"proxy_config": {
"access_control": {
"allow_list": [
"<string>"
],
"deny_list": [
"<string>"
]
},
"callbacks": [
{
"ttl_seconds": 1830,
"url": "<string>",
"attribution_headers": [
"<string>"
],
"full_request": true,
"match_hosts": [
"<string>"
],
"request_headers": [
{
"name": "<string>",
"type": "plaintext",
"is_set": true,
"value": "<string>"
}
]
}
],
"description": "<string>",
"no_proxy": [
"<string>"
],
"rules": [
{
"name": "<string>",
"aws": {
"role_arn": "<string>",
"subject_scope": "<string>",
"session_tags": {}
},
"azure": {
"tenant_id": "<string>",
"client_id": "<string>",
"subject_scope": "<string>",
"resources": [
"https://storage.azure.com"
]
},
"description": "<string>",
"enabled": true,
"env_vars": {},
"gcp": {
"workload_identity_provider": "<string>",
"service_account_email": "<string>",
"subject_scope": "<string>",
"scopes": [
"<string>"
]
},
"headers": [
{
"name": "<string>",
"type": "plaintext",
"is_set": true,
"value": "<string>"
}
],
"match_headers": [
"<string>"
],
"match_hosts": [
"<string>"
],
"match_paths": [
"<string>"
],
"match_port": 32768,
"match_scheme": "https",
"relay_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rewrite": {
"port": 32768,
"credentials": "strip",
"host": "<string>",
"sandbox": "<string>"
},
"type": "<string>"
}
]
},
"run_config": {
"env_vars": {},
"user": "<string>",
"work_dir": "<string>"
},
"size_class": "<string>",
"snapshot_id": "<string>",
"status": "<string>",
"status_message": "<string>",
"stopped_at": "<string>",
"updated_at": "<string>",
"updated_by": "<string>",
"vcpus": 123,
"volumes": [
{
"mount_path": "<string>",
"read_only": true,
"volume_id": "<string>",
"volume_name": "<string>"
}
]
}{
"detail": {
"error": "<string>",
"error_id": "<string>",
"message": "<string>"
}
}{
"detail": {
"error": "<string>",
"error_id": "<string>",
"message": "<string>"
}
}Response
OK
Was this page helpful?

