How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Daytona Sandbox API

The sandbox API from Daytona — 37 operation(s) for sandbox.

Daytona Sandbox API is one of 29 APIs that Daytona publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Sandbox. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and 2 JSON Schemas.

This API exposes 46 operations across 43 paths, and defines 40 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against a single base URL, http://localhost:3000.

46 operations 43 paths 40 schemas 2 DELETE20 GET21 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://app.daytona.io/api
Authentication
HTTP Bearer, OpenID Connect
License
Resource Areas
1

Authentication & Security 2

Daytona Sandbox API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearer). It supports OpenID Connect (oauth2) discovered at http://localhost:3000/.well-known/openid-configuration.

  • bearer — API Key access

Paths & Operations 46

Across 43 paths, the API surfaces 46 operations — 2 DELETE, 20 GET, 21 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

Sandbox 46
GET
/sandbox
List sandboxes
listSandboxes 30 params → 200
POST
/sandbox
Create a new sandbox
createSandbox 1 param body → 200
GET
/sandbox/for-runner
Get sandboxes for the authenticated runner
getSandboxesForRunner 3 params → 200
DELETE
/sandbox/{sandboxIdOrName}
Delete sandbox
deleteSandbox 2 params → 200
GET
/sandbox/{sandboxIdOrName}
Get sandbox details
getSandbox 3 params → 200
POST
/sandbox/{sandboxIdOrName}/recover
Recover sandbox from error state
recoverSandbox 3 params → 200
POST
/sandbox/{sandboxIdOrName}/start
Start or resume sandbox
startSandbox 2 params → 200
POST
/sandbox/{sandboxIdOrName}/stop
Stop sandbox
stopSandbox 3 params → 200
POST
/sandbox/{sandboxIdOrName}/pause
Pause sandbox
pauseSandbox 2 params → 200
POST
/sandbox/{sandboxIdOrName}/resize
Resize sandbox resources
resizeSandbox 2 params body → 200
PUT
/sandbox/{sandboxIdOrName}/labels
Replace sandbox labels
replaceLabels 2 params body → 200
PUT
/sandbox/{sandboxId}/state
Update sandbox state
updateSandboxState 2 params body → 200
POST
/sandbox/{sandboxIdOrName}/backupdeprecated
Create sandbox backup
createBackup 2 params → 200
POST
/sandbox/{sandboxIdOrName}/snapshot
Create a snapshot from a sandbox
createSandboxSnapshot 2 params body → 200
POST
/sandbox/{sandboxIdOrName}/fork
Fork a sandbox
forkSandbox 2 params body → 200
GET
/sandbox/{sandboxIdOrName}/forks
Get sandbox fork children
getSandboxForks 3 params → 200
GET
/sandbox/{sandboxIdOrName}/parent
Get sandbox fork parent
getSandboxParent 2 params → 200
GET
/sandbox/{sandboxIdOrName}/ancestors
Get sandbox fork ancestor chain
getSandboxAncestors 2 params → 200
POST
/sandbox/{sandboxIdOrName}/public/{isPublic}
Update public status
updatePublicStatus 3 params → 200
GET
/sandbox/{sandboxId}/signing-key
Get the signing key for a sandbox
getSandboxSigningKey 2 params → 200
POST
/sandbox/{sandboxId}/signing-key/rotate
Rotate the signing key, invalidating all previously signed URLs
rotateSigningKey 2 params → 200
POST
/sandbox/{sandboxId}/last-activity
Update sandbox last activity
updateLastActivity 2 params body → 201
POST
/sandbox/{sandboxIdOrName}/autostop/{interval}
Set sandbox auto-stop interval
setAutostopInterval 3 params → 200
POST
/sandbox/{sandboxIdOrName}/autopause/{interval}
Set sandbox auto-pause interval
setAutoPauseInterval 3 params → 200
POST
/sandbox/{sandboxIdOrName}/ttl/{ttlMinutes}
Set sandbox TTL
setTtl 3 params → 200
POST
/sandbox/{sandboxIdOrName}/autoarchive/{interval}
Set sandbox auto-archive interval
setAutoArchiveInterval 3 params → 200
POST
/sandbox/{sandboxIdOrName}/autodelete/{interval}
Set sandbox auto-delete interval
setAutoDeleteInterval 3 params → 200
POST
/sandbox/{sandboxIdOrName}/network-settings
Update sandbox network settings
updateNetworkSettings 2 params body → 200
PUT
/sandbox/{sandboxIdOrName}/secrets
Update sandbox secrets
updateSandboxSecrets 2 params body → 200
POST
/sandbox/{sandboxIdOrName}/archive
Archive sandbox
archiveSandbox 2 params → 200
GET
/sandbox/{sandboxIdOrName}/ports/{port}/preview-url
Get preview URL for a sandbox port
getPortPreviewUrl 3 params → 200
GET
/sandbox/{sandboxIdOrName}/ports/{port}/signed-preview-url
Get signed preview URL for a sandbox port
getSignedPortPreviewUrl 4 params → 200
POST
/sandbox/{sandboxIdOrName}/ports/{port}/signed-preview-url/{token}/expire
Expire signed preview URL for a sandbox port
expireSignedPortPreviewUrl 4 params → 200
GET
/sandbox/{sandboxIdOrName}/build-logsdeprecated
Get build logs
getBuildLogs 3 params → 200
GET
/sandbox/{sandboxIdOrName}/build-logs-url
Get build logs URL
getBuildLogsUrl 2 params → 200
DELETE
/sandbox/{sandboxIdOrName}/ssh-access
Revoke SSH access for sandbox
revokeSshAccess 3 params → 200
POST
/sandbox/{sandboxIdOrName}/ssh-access
Create SSH access for sandbox
createSshAccess 3 params → 200
GET
/sandbox/ssh-access/validate
Validate SSH access for sandbox
validateSshAccess 2 params → 200
GET
/sandbox/{sandboxId}/toolbox-proxy-url
Get toolbox proxy URL for a sandbox
getToolboxProxyUrl 2 params → 200
GET
/sandbox/{sandboxId}/organization
Get organization by sandbox ID
getOrganizationBySandboxId 2 params → 200
GET
/sandbox/{sandboxId}/region-quota
Get region quota by sandbox ID
getRegionQuotaBySandboxId 2 params → 200
GET
/sandbox/{sandboxId}/secrets
Resolve sandbox secrets
resolveSandboxSecrets 2 params → 200
GET
/sandbox/{sandboxId}/telemetry/logs
Get sandbox logs
getSandboxLogs 8 params → 200
GET
/sandbox/{sandboxId}/telemetry/traces
Get sandbox traces
getSandboxTraces 6 params → 200
GET
/sandbox/{sandboxId}/telemetry/traces/{traceId}
Get trace spans
getSandboxTraceSpans 3 params → 200
GET
/sandbox/{sandboxId}/telemetry/metrics
Get sandbox metrics
getSandboxMetrics 5 params → 200

Schemas 40

The contract defines 40 schemas that model the data the API accepts and returns. The most detailed are Sandbox (46 properties), SandboxListItem (38 properties), Organization (35 properties), CreateSandbox (29 properties). Each schema is shown below with its type and property counts.

UpdateSandboxStateDto
object
3 properties 1 required
SandboxLabels
object
1 property 1 required
ForkSandbox
object
1 property
TraceSpan
object
9 properties 6 required
BuildInfo
object
5 properties 3 required
SandboxDesiredState
string
The desired state of the sandbox
PaginatedLogs
object
4 properties 4 required
Sandbox
object
46 properties 15 required
MetricDataPoint
object
2 properties 2 required
SandboxVolume
object
3 properties 2 required
CreateSandboxSnapshot
object
2 properties 1 required
SshAccessDto
object
7 properties 7 required
SandboxListSortDirection
string
CreateSandbox
object
29 properties
SandboxListItem
object
38 properties 13 required
PortPreviewUrl
object
3 properties 3 required
SshAccessValidationDto
object
2 properties 2 required
UpdateSandboxSecrets
object
1 property 1 required
ListSandboxesResponse
object
2 properties 2 required
RegionQuota
object
16 properties 15 required
Organization
object
35 properties 30 required
SignedPortPreviewUrl
object
4 properties 4 required
MetricSeries
object
2 properties 2 required
DirectorySyncStatus
string
Connection state of the WorkOS SCIM directory, as last reported by WorkOS (absent when no directory has ever reported in)
UpdateSandboxNetworkSettings
object
3 properties
TraceSummary
object
7 properties 6 required
OtelConfig
object
3 properties 1 required
ToolboxProxyUrl
object
1 property 1 required
SandboxState
string
ResizeSandbox
object
3 properties
resolveSandboxSecrets_200_response_inner
object
4 properties
LogEntry
object
9 properties 6 required
PaginatedTraces
object
4 properties 4 required
CreateBuildInfo
object
2 properties 1 required
SandboxListSortField
string
Url
object
1 property 1 required
GpuType
string
MetricsResponse
object
1 property 1 required
UpdateLastActivity
object
1 property
SandboxClass
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

daytona-io-sandbox-api-openapi.yml Raw ↑

Other APIs Daytona publishes across the network.

Daytona API Keys API
Daytona Audit API
Daytona Computer Use API
Daytona Config API
Daytona Docker Registry API
Daytona Git API
Daytona Health API
Daytona Info API
Daytona Interpreter API
Daytona Jobs API
Daytona Lsp API
Daytona Object Storage API
Where this information came from

This is an independent, third-party profile of Daytona Sandbox API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.