Daytona — API
Daytona AI platform API Docs
What it covers
- Organizations 49 create, read, update, delete
- Sandbox 47 create, read, update, delete
- Admin 24 create, read, update, delete
- Runners 12 create, read, update, delete
- Snapshots 8 create, read, delete
- Users 8 create, read, delete
- Api Keys 6 create, read, delete
- Docker Registry 6 create, read, update, delete
- Preview 6 read
- Secret 6 create, read, update, delete
- Volumes 5 create, read, delete
- Jobs 4 create, read
7 more areas
- Warm Pools 4 create, read, update, delete
- Webhooks 4 create, read
- Health 2 read
- Audit 2 read
- Config 1 read
- Object Storage 1 read
- Regions 1 read
Endpoints
Open an endpoint for its inputs and outputs.
Organizations 49
-
DELETE
/organizations/{organizationId}Delete organizationLoading… -
DELETE
/organizations/{organizationId}/identity-providers/{id}Delete organization identity providerLoading… -
DELETE
/organizations/{organizationId}/otel-configDelete organization OpenTelemetry configurationLoading… -
DELETE
/organizations/{organizationId}/roles/{roleId}Delete organization roleLoading… -
DELETE
/organizations/{organizationId}/users/{userId}Delete organization memberLoading… -
DELETE
/regions/{id}Delete a regionLoading… -
GET
/organizationsList organizationsLoading… -
GET
/organizations/invitationsList organization invitations for authenticated userLoading… -
GET
/organizations/invitations/countGet count of organization invitations for authenticated userLoading… -
GET
/organizations/otel-config/by-sandbox-auth-token/{authToken}Get organization OTEL config by sandbox auth tokenLoading… -
GET
/organizations/{organizationId}Get organization by IDLoading… -
GET
/organizations/{organizationId}/available-sandbox-classesList available sandbox classes for organizationLoading… -
GET
/organizations/{organizationId}/identity-providersList organization identity providersLoading… -
GET
/organizations/{organizationId}/identity-providers/{id}Get organization identity providerLoading… -
GET
/organizations/{organizationId}/invitationsList pending organization invitationsLoading… -
GET
/organizations/{organizationId}/otel-configGet organization OTEL config by organization IDLoading… -
GET
/organizations/{organizationId}/rolesList organization rolesLoading… -
GET
/organizations/{organizationId}/usageGet organization current usage overviewLoading… -
GET
/organizations/{organizationId}/usersList organization membersLoading… -
GET
/regionsList all available regions for the organizationLoading… -
GET
/regions/{id}Get region by IDLoading… -
PATCH
/organizations/{organizationId}/default-regionSet default region for organizationLoading… -
PATCH
/organizations/{organizationId}/identity-providers/{id}Update organization identity providerLoading… -
PATCH
/organizations/{organizationId}/quotaUpdate organization quotaLoading… -
PATCH
/organizations/{organizationId}/quota/{regionId}Update organization region quotaLoading… -
PATCH
/regions/{id}Update region configurationLoading… -
POST
/organizationsCreate organizationLoading… -
POST
/organizations/invitations/{invitationId}/acceptAccept organization invitationLoading… -
POST
/organizations/invitations/{invitationId}/declineDecline organization invitationLoading… -
POST
/organizations/{organizationId}/identity-providersCreate organization identity providerLoading… -
POST
/organizations/{organizationId}/identity-providers/test-connectionTest OIDC identity provider connectionLoading… -
POST
/organizations/{organizationId}/invitationsCreate organization invitationLoading… -
POST
/organizations/{organizationId}/invitations/{invitationId}/cancelCancel organization invitationLoading… -
POST
/organizations/{organizationId}/leaveLeave organizationLoading… -
POST
/organizations/{organizationId}/preview-warningUpdate organization preview warningLoading… -
POST
/organizations/{organizationId}/rolesCreate organization roleLoading… -
POST
/organizations/{organizationId}/sandbox-default-limited-network-egressUpdate sandbox default limited network egressLoading… -
POST
/organizations/{organizationId}/sso-enabledUpdate organization SSO entitlementLoading… -
POST
/organizations/{organizationId}/suspendSuspend organizationLoading… -
POST
/organizations/{organizationId}/unsuspendUnsuspend organizationLoading… -
POST
/organizations/{organizationId}/users/{userId}/accessUpdate access for organization memberLoading… -
POST
/regionsCreate a new regionLoading… -
POST
/regions/{id}/regenerate-proxy-api-keyRegenerate proxy API key for a regionLoading… -
POST
/regions/{id}/regenerate-snapshot-manager-credentialsRegenerate snapshot manager credentials for a regionLoading… -
POST
/regions/{id}/regenerate-ssh-gateway-api-keyRegenerate SSH gateway API key for a regionLoading… -
PUT
/organizations/{organizationId}/experimental-configUpdate experimental configurationLoading… -
PUT
/organizations/{organizationId}/invitations/{invitationId}Update organization invitationLoading… -
PUT
/organizations/{organizationId}/otel-configUpdate organization OpenTelemetry configurationLoading… -
PUT
/organizations/{organizationId}/roles/{roleId}Update organization roleLoading…
Sandbox 47
-
DELETE
/sandbox/{sandboxIdOrName}Delete sandboxLoading… -
DELETE
/sandbox/{sandboxIdOrName}/ssh-accessRevoke SSH access for sandboxLoading… -
GET
/sandboxList sandboxesLoading… -
GET
/sandbox/for-runnerGet sandboxes for the authenticated runnerLoading… -
GET
/sandbox/paginated[DEPRECATED] List all sandboxes paginateddeprecatedLoading… -
GET
/sandbox/ssh-access/validateValidate SSH access for sandboxLoading… -
GET
/sandbox/{sandboxIdOrName}Get sandbox detailsLoading… -
GET
/sandbox/{sandboxIdOrName}/ancestorsGet sandbox fork ancestor chainLoading… -
GET
/sandbox/{sandboxIdOrName}/build-logsGet build logsdeprecatedLoading… -
GET
/sandbox/{sandboxIdOrName}/build-logs-urlGet build logs URLLoading… -
GET
/sandbox/{sandboxIdOrName}/forksGet sandbox fork childrenLoading… -
GET
/sandbox/{sandboxIdOrName}/parentGet sandbox fork parentLoading… -
GET
/sandbox/{sandboxIdOrName}/ports/{port}/preview-urlGet preview URL for a sandbox portLoading… -
GET
/sandbox/{sandboxIdOrName}/ports/{port}/signed-preview-urlGet signed preview URL for a sandbox portLoading… -
GET
/sandbox/{sandboxId}/organizationGet organization by sandbox IDLoading… -
GET
/sandbox/{sandboxId}/region-quotaGet region quota by sandbox IDLoading… -
GET
/sandbox/{sandboxId}/secretsResolve sandbox secretsLoading… -
GET
/sandbox/{sandboxId}/signing-keyGet the signing key for a sandboxLoading… -
GET
/sandbox/{sandboxId}/telemetry/logsGet sandbox logsLoading… -
GET
/sandbox/{sandboxId}/telemetry/metricsGet sandbox metricsLoading… -
GET
/sandbox/{sandboxId}/telemetry/tracesGet sandbox tracesLoading… -
GET
/sandbox/{sandboxId}/telemetry/traces/{traceId}Get trace spansLoading… -
GET
/sandbox/{sandboxId}/toolbox-proxy-urlGet toolbox proxy URL for a sandboxLoading… -
POST
/sandboxCreate a new sandboxLoading… -
POST
/sandbox/{sandboxIdOrName}/archiveArchive sandboxLoading… -
POST
/sandbox/{sandboxIdOrName}/autoarchive/{interval}Set sandbox auto-archive intervalLoading… -
POST
/sandbox/{sandboxIdOrName}/autodelete/{interval}Set sandbox auto-delete intervalLoading… -
POST
/sandbox/{sandboxIdOrName}/autopause/{interval}Set sandbox auto-pause intervalLoading… -
POST
/sandbox/{sandboxIdOrName}/autostop/{interval}Set sandbox auto-stop intervalLoading… -
POST
/sandbox/{sandboxIdOrName}/backupCreate sandbox backupdeprecatedLoading… -
POST
/sandbox/{sandboxIdOrName}/forkFork a sandboxLoading… -
POST
/sandbox/{sandboxIdOrName}/network-settingsUpdate sandbox network settingsLoading… -
POST
/sandbox/{sandboxIdOrName}/pausePause sandboxLoading… -
POST
/sandbox/{sandboxIdOrName}/ports/{port}/signed-preview-url/{token}/expireExpire signed preview URL for a sandbox portLoading… -
POST
/sandbox/{sandboxIdOrName}/public/{isPublic}Update public statusLoading… -
POST
/sandbox/{sandboxIdOrName}/recoverRecover sandbox from error stateLoading… -
POST
/sandbox/{sandboxIdOrName}/resizeResize sandbox resourcesLoading… -
POST
/sandbox/{sandboxIdOrName}/snapshotCreate a snapshot from a sandboxLoading… -
POST
/sandbox/{sandboxIdOrName}/ssh-accessCreate SSH access for sandboxLoading… -
POST
/sandbox/{sandboxIdOrName}/startStart or resume sandboxLoading… -
POST
/sandbox/{sandboxIdOrName}/stopStop sandboxLoading… -
POST
/sandbox/{sandboxIdOrName}/ttl/{ttlMinutes}Set sandbox TTLLoading… -
POST
/sandbox/{sandboxId}/last-activityUpdate sandbox last activityLoading… -
POST
/sandbox/{sandboxId}/signing-key/rotateRotate the signing key, invalidating all previously signed URLsLoading… -
PUT
/sandbox/{sandboxIdOrName}/labelsReplace sandbox labelsLoading… -
PUT
/sandbox/{sandboxIdOrName}/secretsUpdate sandbox secretsLoading… -
PUT
/sandbox/{sandboxId}/stateUpdate sandbox stateLoading…
Admin 24
-
DELETE
/admin/organizations/{organizationId}/quota/{regionId}/{sandboxClass}Delete organization region quotaLoading… -
DELETE
/admin/runners/{id}Delete runnerLoading… -
GET
/admin/auditGet all audit logsLoading… -
GET
/admin/organizations/{organizationId}/quota/{regionId}/{sandboxClass}Get organization region quotaLoading… -
GET
/admin/runnersList all runnersLoading… -
GET
/admin/runners/{id}Get runner by IDLoading… -
GET
/admin/snapshots/can-cleanup-imageCheck if an image can be cleaned upLoading… -
GET
/admin/usersList all usersLoading… -
GET
/admin/users/{id}Get user by IDLoading… -
GET
/admin/webhooks/organizations/{organizationId}/messages/{messageId}/attemptsGet delivery attempts for a webhook messageLoading… -
GET
/admin/webhooks/statusGet webhook service statusLoading… -
PATCH
/admin/organizations/{organizationId}/quota/{regionId}Update organization region quotaLoading… -
PATCH
/admin/runners/{id}/schedulingUpdate runner scheduling statusLoading… -
PATCH
/admin/snapshots/{id}/generalSet snapshot general statusLoading… -
POST
/admin/docker-registry/{id}/set-defaultSet default registryLoading… -
POST
/admin/organizationsCreate organization for userLoading… -
POST
/admin/organizations/{organizationId}/preview-warningUpdate organization preview warningLoading… -
POST
/admin/organizations/{organizationId}/quota/{regionId}Create organization region quotaLoading… -
POST
/admin/runnersCreate runnerLoading… -
POST
/admin/sandbox/{sandboxId}/recoverRecover sandbox from error state as an adminLoading… -
POST
/admin/usersCreate userLoading… -
POST
/admin/users/{id}/regenerate-key-pairRegenerate user key pairLoading… -
POST
/admin/webhooks/organizations/{organizationId}/initializeInitialize webhooks for an organizationLoading… -
POST
/admin/webhooks/organizations/{organizationId}/sendSend a webhook message to an organizationLoading…
Runners 12
-
DELETE
/runners/{id}Delete runnerLoading… -
GET
/runnersList all runnersLoading… -
GET
/runners/by-sandbox/{sandboxId}Get runner by sandbox IDLoading… -
GET
/runners/by-snapshot-refGet runners by snapshot refLoading… -
GET
/runners/meGet info for authenticated runnerLoading… -
GET
/runners/me/snapshotsGet snapshot refs for authenticated runnerLoading… -
GET
/runners/{id}Get runner by IDLoading… -
GET
/runners/{id}/fullGet runner by IDLoading… -
PATCH
/runners/{id}/drainingUpdate runner draining statusLoading… -
PATCH
/runners/{id}/schedulingUpdate runner scheduling statusLoading… -
POST
/runnersCreate runnerLoading… -
POST
/runners/healthcheckRunner healthcheckLoading…
Snapshots 8
-
DELETE
/snapshots/{id}Delete snapshotLoading… -
GET
/snapshotsList all snapshotsLoading… -
GET
/snapshots/{id}Get snapshot by ID or nameLoading… -
GET
/snapshots/{id}/build-logsGet snapshot build logsdeprecatedLoading… -
GET
/snapshots/{id}/build-logs-urlGet snapshot build logs URLLoading… -
POST
/snapshotsCreate a new snapshotLoading… -
POST
/snapshots/{id}/activateActivate a snapshotLoading… -
POST
/snapshots/{id}/deactivateDeactivate a snapshotLoading…
Users 8
-
DELETE
/users/linked-accounts/{provider}/{providerUserId}Unlink accountLoading… -
DELETE
/users/me/pending-sso-links/{id}Dismiss a pending SSO account linkLoading… -
GET
/users/account-providersGet available account providersLoading… -
GET
/users/meGet authenticated userLoading… -
GET
/users/me/pending-sso-linksList pending SSO account links for the authenticated userLoading… -
POST
/users/linked-accountsLink accountLoading… -
POST
/users/me/pending-sso-links/{id}/confirmConfirm (link) a pending SSO account linkLoading… -
POST
/users/mfa/sms/enrollEnroll in SMS MFALoading…
Api Keys 6
-
DELETE
/api-keys/{name}Delete API keyLoading… -
DELETE
/api-keys/{userId}/{name}Delete API key for userLoading… -
GET
/api-keysList API keysLoading… -
GET
/api-keys/currentGet current API key's detailsLoading… -
GET
/api-keys/{name}Get API keyLoading… -
POST
/api-keysCreate API keyLoading…
Docker Registry 6
-
DELETE
/docker-registry/{id}Delete registryLoading… -
GET
/docker-registryList registriesLoading… -
GET
/docker-registry/registry-push-accessGet temporary registry access for pushing snapshotsLoading… -
GET
/docker-registry/{id}Get registryLoading… -
PATCH
/docker-registry/{id}Update registryLoading… -
POST
/docker-registryCreate registryLoading…
Preview 6
-
GET
/preview/{sandboxId}/accessCheck if user has access to the sandboxLoading… -
GET
/preview/{sandboxId}/preview-warningCheck if the preview warning page is enabled for the sandboxLoading… -
GET
/preview/{sandboxId}/publicCheck if sandbox is publicLoading… -
GET
/preview/{sandboxId}/signing-keyGet the signing key for a sandboxLoading… -
GET
/preview/{sandboxId}/validate/{authToken}Check if sandbox auth token is validLoading… -
GET
/preview/{signedPreviewToken}/{port}/sandbox-idGet sandbox ID from signed preview URL tokenLoading…
Secret 6
-
DELETE
/secret/{secretId}Delete secretLoading… -
GET
/secretList secretsdeprecatedLoading… -
GET
/secret/paginatedList secrets with paginationLoading… -
GET
/secret/{secretId}Get secretLoading… -
PATCH
/secret/{secretId}Update secretLoading… -
POST
/secretCreate secretLoading…
Volumes 5
-
DELETE
/volumes/{volumeId}Delete volumeLoading… -
GET
/volumesList all volumesLoading… -
GET
/volumes/by-name/{name}Get volume details by nameLoading… -
GET
/volumes/{volumeId}Get volume detailsLoading… -
POST
/volumesCreate a new volumeLoading…
Jobs 4
-
GET
/jobsList jobs for the runnerLoading… -
GET
/jobs/pollLong poll for jobsLoading… -
GET
/jobs/{jobId}Get job detailsLoading… -
POST
/jobs/{jobId}/statusUpdate job statusLoading…
Warm Pools 4
-
DELETE
/warm-pools/{id}Delete a warm poolLoading… -
GET
/warm-poolsList warm pools for the organizationLoading… -
PATCH
/warm-pools/{id}Update a warm pool sizeLoading… -
POST
/warm-poolsCreate a warm poolLoading…
Webhooks 4
-
GET
/webhooks/organizations/{organizationId}/initialization-statusGet webhook initialization status for an organizationLoading… -
POST
/webhooks/organizations/{organizationId}/app-portal-accessGet Svix Consumer App Portal access for an organizationLoading… -
POST
/webhooks/organizations/{organizationId}/initializeInitialize webhooks for an organizationLoading… -
POST
/webhooks/organizations/{organizationId}/refresh-endpointsRefresh cached endpoint presence flag for an organizationLoading…
Audit 2
-
GET
/audit/organizations/{organizationId}Get audit logs for organizationLoading… -
GET
/audit/scenariosGet supported audit log scenariosLoading…
Health 2
-
GET
/healthLoading… -
GET
/health/readyLoading…
Config 1
-
GET
/configGet configLoading…
Object Storage 1
-
GET
/object-storage/push-accessGet temporary storage access for pushing objectsLoading…
Regions 1
-
GET
/shared-regionsList all shared regionsLoading…
Recent changes
- + DELETE /organizations/{organizationId}/identity-providers/{id}+ DELETE /users/me/pending-sso-links/{id}+ GET /audit/scenarios+ GET /organizations/{organizationId}/identity-providers+ GET /organizations/{organizationId}/identity-providers/{id}+ GET /runners/me/snapshots+ GET /users/me/pending-sso-links+ PATCH /organizations/{organizationId}/identity-providers/{id}+ POST /organizations/{organizationId}/identity-providers+ POST /organizations/{organizationId}/identity-providers/test-connection+ POST /organizations/{organizationId}/sso-enabled+ POST /users/me/pending-sso-links/{id}/confirm
- ⚠ GET /sandbox/paginated⚠ GET /sandbox/{sandboxIdOrName}/build-logs⚠ GET /secret⚠ GET /snapshots/{id}/build-logs⚠ POST /sandbox/{sandboxIdOrName}/backup
- + DELETE /warm-pools/{id}+ GET /preview/{sandboxId}/signing-key+ GET /sandbox/{sandboxId}/signing-key+ GET /warm-pools+ PATCH /warm-pools/{id}+ POST /sandbox/{sandboxId}/signing-key/rotate+ POST /warm-pools