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 28 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 40 operations across 37 paths, and defines 31 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://app.daytona.io/api.

40 operations 37 paths 31 schemas 2 DELETE19 GET17 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.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 40

Across 37 paths, the API surfaces 40 operations — 2 DELETE, 19 GET, 17 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

sandbox 40
GET
/sandbox
List all sandboxes
listSandboxes 4 params → 200
POST
/sandbox
Create a new sandbox
createSandbox 1 param body → 200
GET
/sandbox/paginated
List all sandboxes paginated
listSandboxesPaginated 20 params → 200
GET
/sandbox/for-runner
Get sandboxes for the authenticated runner
getSandboxesForRunner 3 params → 200
GET
/sandbox/{sandboxIdOrName}
Get sandbox details
getSandbox 3 params → 200
DELETE
/sandbox/{sandboxIdOrName}
Delete sandbox
deleteSandbox 2 params → 200
POST
/sandbox/{sandboxIdOrName}/recover
Recover sandbox from error state
recoverSandbox 3 params → 200
POST
/sandbox/{sandboxIdOrName}/start
Start sandbox
startSandbox 2 params → 200
POST
/sandbox/{sandboxIdOrName}/stop
Stop sandbox
stopSandbox 3 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}/backup
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
POST
/sandbox/{sandboxId}/last-activity
Update sandbox last activity
updateLastActivity 2 params → 201
POST
/sandbox/{sandboxIdOrName}/autostop/{interval}
Set sandbox auto-stop interval
setAutostopInterval 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
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
POST
/sandbox/{sandboxIdOrName}/ssh-access
Create SSH access for sandbox
createSshAccess 3 params → 200
DELETE
/sandbox/{sandboxIdOrName}/ssh-access
Revoke SSH access for sandbox
revokeSshAccess 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}/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 31

The contract defines 31 schemas that model the data the API accepts and returns. The most detailed are Sandbox (33 properties), Organization (25 properties), CreateSandbox (19 properties), TraceSpan (9 properties). Each schema is shown below with its type and property counts.

RegionQuota
object
9 properties 9 required
ResizeSandbox
object
3 properties
SandboxVolume
object
3 properties 2 required
PaginatedSandboxes
object
4 properties 4 required
MetricDataPoint
object
2 properties 2 required
PaginatedTraces
object
4 properties 4 required
SandboxLabels
object
1 property 1 required
PortPreviewUrl
object
3 properties 3 required
Sandbox
object
33 properties 14 required
CreateBuildInfo
object
2 properties 1 required
TraceSpan
object
9 properties 6 required
SshAccessValidationDto
object
2 properties 2 required
TraceSummary
object
7 properties 6 required
LogEntry
object
9 properties 6 required
OtelConfig
object
2 properties 1 required
SandboxState
string
The state of the sandbox
SandboxDesiredState
string
The desired state of the sandbox
CreateSandbox
object
19 properties
BuildInfo
object
5 properties 3 required
ForkSandbox
object
1 property
SshAccessDto
object
7 properties 7 required
SignedPortPreviewUrl
object
4 properties 4 required
MetricsResponse
object
1 property 1 required
UpdateSandboxStateDto
object
3 properties 1 required
Organization
object
25 properties 24 required
Url
object
1 property 1 required
CreateSandboxSnapshot
object
1 property 1 required
UpdateSandboxNetworkSettings
object
2 properties
PaginatedLogs
object
4 properties 4 required
MetricSeries
object
2 properties 2 required
ToolboxProxyUrl
object
1 property 1 required

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 admin API
Daytona api-keys API
Daytona audit API
Daytona computer-use API
Daytona config API
Daytona docker-registry API
Daytona file-system API
Daytona git API
Daytona Health API
Daytona info API
Daytona interpreter API
Daytona jobs 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.