Skip to content

API

GET /config

Responses

Status CodeDescription
200Daytona configuration

POST /api-keys

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
201API key created successfully.

GET /api-keys

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
200API keys retrieved successfully.
500Error fetching API keys.

GET /api-keys/current

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
200API key retrieved successfully.

GET /api-keys/{name}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
namepathtrueundefinedundefined

Responses

Status CodeDescription
200API key retrieved successfully.

DELETE /api-keys/{name}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
namepathtrueundefinedundefined

Responses

Status CodeDescription
204API key deleted successfully.

DELETE /api-keys/{userId}/{name}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
userIdpathtrueundefinedundefined
namepathtrueundefinedundefined

Responses

Status CodeDescription
204API key deleted successfully.

GET /organizations/invitations

Responses

Status CodeDescription
200List of organization invitations

GET /organizations/invitations/count

Responses

Status CodeDescription
200Count of organization invitations

POST /organizations/invitations/{invitationId}/accept

Parameters

NameLocationRequiredTypeDescription
invitationIdpathtrueundefinedInvitation ID

Responses

Status CodeDescription
200Organization invitation accepted successfully

POST /organizations/invitations/{invitationId}/decline

Parameters

NameLocationRequiredTypeDescription
invitationIdpathtrueundefinedInvitation ID

Responses

Status CodeDescription
200Organization invitation declined successfully

POST /organizations

Responses

Status CodeDescription
201Organization created successfully

GET /organizations

Responses

Status CodeDescription
200List of organizations

GET /organizations/{organizationId}

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
200Organization details

DELETE /organizations/{organizationId}

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
204Organization deleted successfully

GET /organizations/{organizationId}/usage

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
200Current usage overview

PATCH /organizations/{organizationId}/quota

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
200Organization details

POST /organizations/{organizationId}/leave

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
204Organization left successfully

POST /organizations/{organizationId}/suspend

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
204Organization suspended successfully

POST /organizations/{organizationId}/unsuspend

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
204Organization unsuspended successfully

GET /organizations/by-sandbox-id/{sandboxId}

Parameters

NameLocationRequiredTypeDescription
sandboxIdpathtrueundefinedSandbox ID

Responses

Status CodeDescription
200Organization

POST /organizations/{organizationId}/sandbox-default-limited-network-egress

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
204Sandbox default limited network egress updated successfully

POST /organizations/{organizationId}/roles

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
201Organization role created successfully

GET /organizations/{organizationId}/roles

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
200List of organization roles

PUT /organizations/{organizationId}/roles/{roleId}

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID
roleIdpathtrueundefinedRole ID

Responses

Status CodeDescription
200Role updated successfully

DELETE /organizations/{organizationId}/roles/{roleId}

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID
roleIdpathtrueundefinedRole ID

Responses

Status CodeDescription
204Organization role deleted successfully

GET /organizations/{organizationId}/users

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
200List of organization members

POST /organizations/{organizationId}/users/{userId}/access

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID
userIdpathtrueundefinedUser ID

Responses

Status CodeDescription
200Access updated successfully

DELETE /organizations/{organizationId}/users/{userId}

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID
userIdpathtrueundefinedUser ID

Responses

Status CodeDescription
204User removed from organization successfully

POST /organizations/{organizationId}/invitations

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
201Organization invitation created successfully

GET /organizations/{organizationId}/invitations

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID

Responses

Status CodeDescription
200List of pending organization invitations

PUT /organizations/{organizationId}/invitations/{invitationId}

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID
invitationIdpathtrueundefinedInvitation ID

Responses

Status CodeDescription
200Organization invitation updated successfully

POST /organizations/{organizationId}/invitations/{invitationId}/cancel

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID
invitationIdpathtrueundefinedInvitation ID

Responses

Status CodeDescription
204Organization invitation cancelled successfully

GET /users/me

Responses

Status CodeDescription
200User details

POST /users

Responses

Status CodeDescription
201

GET /users

Responses

Status CodeDescription
200

POST /users/{id}/regenerate-key-pair

Parameters

NameLocationRequiredTypeDescription
idpathtrueundefinedundefined

Responses

Status CodeDescription
201

GET /users/account-providers

Responses

Status CodeDescription
200Available account providers

POST /users/linked-accounts

Responses

Status CodeDescription
204Account linked successfully

DELETE /users/linked-accounts/{provider}/{providerUserId}

Parameters

NameLocationRequiredTypeDescription
providerpathtrueundefinedundefined
providerUserIdpathtrueundefinedundefined

Responses

Status CodeDescription
204Account unlinked successfully

POST /users/mfa/sms/enroll

Responses

Status CodeDescription
200SMS MFA enrollment URL

GET /users/{id}

Parameters

NameLocationRequiredTypeDescription
idpathtrueundefinedundefined

Responses

Status CodeDescription
200User details

GET /sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
verbosequeryfalseundefinedInclude verbose output
labelsqueryfalseundefinedJSON encoded labels to filter by

Responses

Status CodeDescription
200List of all sandboxes

GET /sandbox/paginated

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
pagequeryfalseundefinedPage number of the results
limitqueryfalseundefinedNumber of results per page
idqueryfalseundefinedFilter by partial ID match
labelsqueryfalseundefinedJSON encoded labels to filter by
includeErroredDeletedqueryfalseundefinedInclude results with errored state and deleted desired state
statesqueryfalseundefinedList of states to filter by
snapshotsqueryfalseundefinedList of snapshot names to filter by
regionsqueryfalseundefinedList of regions to filter by
minCpuqueryfalseundefinedMinimum CPU
maxCpuqueryfalseundefinedMaximum CPU
minMemoryGiBqueryfalseundefinedMinimum memory in GiB
maxMemoryGiBqueryfalseundefinedMaximum memory in GiB
minDiskGiBqueryfalseundefinedMinimum disk space in GiB
maxDiskGiBqueryfalseundefinedMaximum disk space in GiB
lastEventAfterqueryfalseundefinedInclude items with last event after this timestamp
lastEventBeforequeryfalseundefinedInclude items with last event before this timestamp
sortqueryfalseundefinedField to sort by
orderqueryfalseundefinedDirection to sort by

Responses

Status CodeDescription
200Paginated list of all sandboxes

POST /sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
200The sandbox has been successfully created.

GET /sandbox/regions

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
200List of regions where sandboxes have been created

GET /sandbox/for-runner

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
statesqueryfalseundefinedComma-separated list of sandbox states to filter by
skipReconcilingSandboxesqueryfalseundefinedSkip sandboxes where state differs from desired state

Responses

Status CodeDescription
200List of sandboxes for the authenticated runner

GET /sandbox/{sandboxId}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox
verbosequeryfalseundefinedInclude verbose output

Responses

Status CodeDescription
200Sandbox details

DELETE /sandbox/{sandboxId}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox

Responses

Status CodeDescription
200Sandbox has been deleted

POST /sandbox/{sandboxId}/start

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox

Responses

Status CodeDescription
200Sandbox has been started or is being restored from archived state

POST /sandbox/{sandboxId}/stop

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox

Responses

Status CodeDescription
200Sandbox has been stopped

PUT /sandbox/{sandboxId}/labels

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox

Responses

Status CodeDescription
200Labels have been successfully replaced

PUT /sandbox/{sandboxId}/state

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox

Responses

Status CodeDescription
200Sandbox state has been successfully updated

POST /sandbox/{sandboxId}/backup

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox

Responses

Status CodeDescription
200Sandbox backup has been initiated

POST /sandbox/{sandboxId}/public/{isPublic}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox
isPublicpathtrueundefinedPublic status to set

Responses

Status CodeDescription
201

POST /sandbox/{sandboxId}/autostop/{interval}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox
intervalpathtrueundefinedAuto-stop interval in minutes (0 to disable)

Responses

Status CodeDescription
200Auto-stop interval has been set

POST /sandbox/{sandboxId}/autoarchive/{interval}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox
intervalpathtrueundefinedAuto-archive interval in minutes (0 means the maximum interval will be used)

Responses

Status CodeDescription
200Auto-archive interval has been set

POST /sandbox/{sandboxId}/autodelete/{interval}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox
intervalpathtrueundefinedAuto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping)

Responses

Status CodeDescription
200Auto-delete interval has been set

POST /sandbox/{sandboxId}/archive

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Sandbox has been archived

GET /sandbox/{sandboxId}/ports/{port}/preview-url

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox
portpathtrueundefinedPort number to get preview URL for

Responses

Status CodeDescription
200Preview URL for the specified port

GET /sandbox/{sandboxId}/build-logs

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox
followqueryfalseundefinedWhether to follow the logs stream

Responses

Status CodeDescription
200Build logs stream

POST /sandbox/{sandboxId}/ssh-access

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox
expiresInMinutesqueryfalseundefinedExpiration time in minutes (default: 60)

Responses

Status CodeDescription
200SSH access has been created

DELETE /sandbox/{sandboxId}/ssh-access

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedID of the sandbox
tokenqueryfalseundefinedSSH access token to revoke. If not provided, all SSH access for the sandbox will be revoked.

Responses

Status CodeDescription
200SSH access has been revoked

GET /sandbox/ssh-access/validate

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
tokenquerytrueundefinedSSH access token to validate

Responses

Status CodeDescription
200SSH access validation result

POST /runners

Responses

Status CodeDescription
201

GET /runners

Responses

Status CodeDescription
200

PATCH /runners/{id}/scheduling

Parameters

NameLocationRequiredTypeDescription
idpathtrueundefinedundefined

Responses

Status CodeDescription
200

GET /runners/by-sandbox/{sandboxId}

Parameters

NameLocationRequiredTypeDescription
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Runner found

GET /runners/by-snapshot-ref

Parameters

NameLocationRequiredTypeDescription
refquerytrueundefinedSnapshot ref

Responses

Status CodeDescription
200Runners found for the snapshot

GET /toolbox/{sandboxId}/toolbox/project-dir

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Project directory retrieved successfully

GET /toolbox/{sandboxId}/toolbox/user-home-dir

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200User home directory retrieved successfully

GET /toolbox/{sandboxId}/toolbox/work-dir

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Work-dir retrieved successfully

GET /toolbox/{sandboxId}/toolbox/files

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
pathqueryfalseundefinedundefined

Responses

Status CodeDescription
200Files listed successfully

DELETE /toolbox/{sandboxId}/toolbox/files

Delete file inside sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
recursivequeryfalseundefinedundefined
pathquerytrueundefinedundefined

Responses

Status CodeDescription
200File deleted successfully

GET /toolbox/{sandboxId}/toolbox/files/download

Download file from sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
pathquerytrueundefinedundefined

Responses

Status CodeDescription
200File downloaded successfully

POST /toolbox/{sandboxId}/toolbox/files/bulk-download

Streams back a multipart/form-data bundle of the requested paths

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200A multipart/form-data response with each file as a part

GET /toolbox/{sandboxId}/toolbox/files/find

Search for text/pattern inside sandbox files

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
pathquerytrueundefinedundefined
patternquerytrueundefinedundefined

Responses

Status CodeDescription
200Search completed successfully

POST /toolbox/{sandboxId}/toolbox/files/folder

Create folder inside sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
pathquerytrueundefinedundefined
modequerytrueundefinedundefined

Responses

Status CodeDescription
200Folder created successfully

GET /toolbox/{sandboxId}/toolbox/files/info

Get file info inside sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
pathquerytrueundefinedundefined

Responses

Status CodeDescription
200File info retrieved successfully

POST /toolbox/{sandboxId}/toolbox/files/move

Move file inside sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
sourcequerytrueundefinedundefined
destinationquerytrueundefinedundefined

Responses

Status CodeDescription
200File moved successfully

POST /toolbox/{sandboxId}/toolbox/files/permissions

Set file owner/group/permissions inside sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
pathquerytrueundefinedundefined
ownerqueryfalseundefinedundefined
groupqueryfalseundefinedundefined
modequeryfalseundefinedundefined

Responses

Status CodeDescription
200File permissions updated successfully

POST /toolbox/{sandboxId}/toolbox/files/replace

Replace text/pattern in multiple files inside sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Text replaced successfully

GET /toolbox/{sandboxId}/toolbox/files/search

Search for files inside sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
pathquerytrueundefinedundefined
patternquerytrueundefinedundefined

Responses

Status CodeDescription
200Search completed successfully

POST /toolbox/{sandboxId}/toolbox/files/upload

Upload file inside sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
pathquerytrueundefinedundefined

Responses

Status CodeDescription
200File uploaded successfully

POST /toolbox/{sandboxId}/toolbox/files/bulk-upload

Upload multiple files inside sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Files uploaded successfully

POST /toolbox/{sandboxId}/toolbox/git/add

Add files to git commit

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Files added to git successfully

GET /toolbox/{sandboxId}/toolbox/git/branches

Get branch list from git repository

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
pathquerytrueundefinedundefined

Responses

Status CodeDescription
200Branch list retrieved successfully

POST /toolbox/{sandboxId}/toolbox/git/branches

Create branch on git repository

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Branch created successfully

DELETE /toolbox/{sandboxId}/toolbox/git/branches

Delete branch on git repository

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Branch deleted successfully

POST /toolbox/{sandboxId}/toolbox/git/clone

Clone git repository

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Repository cloned successfully

POST /toolbox/{sandboxId}/toolbox/git/commit

Commit changes to git repository

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Changes committed successfully

GET /toolbox/{sandboxId}/toolbox/git/history

Get commit history from git repository

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
pathquerytrueundefinedundefined

Responses

Status CodeDescription
200Commit history retrieved successfully

POST /toolbox/{sandboxId}/toolbox/git/pull

Pull changes from remote

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Changes pulled successfully

POST /toolbox/{sandboxId}/toolbox/git/push

Push changes to remote

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Changes pushed successfully

POST /toolbox/{sandboxId}/toolbox/git/checkout

Checkout branch or commit in git repository

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Branch checked out successfully

GET /toolbox/{sandboxId}/toolbox/git/status

Get status from git repository

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
pathquerytrueundefinedundefined

Responses

Status CodeDescription
200Git status retrieved successfully

POST /toolbox/{sandboxId}/toolbox/process/execute

Execute command synchronously inside sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Command executed successfully

GET /toolbox/{sandboxId}/toolbox/process/session

List all active sessions in the sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Sessions retrieved successfully

POST /toolbox/{sandboxId}/toolbox/process/session

Create a new session in the sandbox

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200

GET /toolbox/{sandboxId}/toolbox/process/session/{sessionId}

Get session by ID

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
sessionIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Session retrieved successfully

DELETE /toolbox/{sandboxId}/toolbox/process/session/{sessionId}

Delete a specific session

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
sessionIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Session deleted successfully

POST /toolbox/{sandboxId}/toolbox/process/session/{sessionId}/exec

Execute a command in a specific session

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
sessionIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Command executed successfully
202Command accepted and is being processed

GET /toolbox/{sandboxId}/toolbox/process/session/{sessionId}/command/{commandId}

Get session command by ID

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
sessionIdpathtrueundefinedundefined
commandIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Session command retrieved successfully

GET /toolbox/{sandboxId}/toolbox/process/session/{sessionId}/command/{commandId}/logs

Get logs for a specific command in a session

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
sessionIdpathtrueundefinedundefined
commandIdpathtrueundefinedundefined
followqueryfalseundefinedWhether to stream the logs

Responses

Status CodeDescription
200Command log stream marked with stdout and stderr prefixes

POST /toolbox/{sandboxId}/toolbox/lsp/completions

The Completion request is sent from the client to the server to compute completion items at a given cursor position.

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200OK

POST /toolbox/{sandboxId}/toolbox/lsp/did-close

The document close notification is sent from the client to the server when the document got closed in the client.

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200OK

POST /toolbox/{sandboxId}/toolbox/lsp/did-open

The document open notification is sent from the client to the server to signal newly opened text documents.

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200OK

GET /toolbox/{sandboxId}/toolbox/lsp/document-symbols

The document symbol request is sent from the client to the server.

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
languageIdquerytrueundefinedundefined
pathToProjectquerytrueundefinedundefined
uriquerytrueundefinedundefined

Responses

Status CodeDescription
200OK

POST /toolbox/{sandboxId}/toolbox/lsp/start

Start Lsp server process inside sandbox project

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200OK

POST /toolbox/{sandboxId}/toolbox/lsp/stop

Stop Lsp server process inside sandbox project

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200OK

GET /toolbox/{sandboxId}/toolbox/lsp/workspace-symbols

The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
languageIdquerytrueundefinedundefined
pathToProjectquerytrueundefinedundefined
queryquerytrueundefinedundefined

Responses

Status CodeDescription
200OK

POST /toolbox/{sandboxId}/toolbox/computeruse/start

Start all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Computer use processes started successfully

POST /toolbox/{sandboxId}/toolbox/computeruse/stop

Stop all VNC desktop processes (Xvfb, xfce4, x11vnc, novnc)

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Computer use processes stopped successfully

GET /toolbox/{sandboxId}/toolbox/computeruse/status

Get status of all VNC desktop processes

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Computer use status retrieved successfully

GET /toolbox/{sandboxId}/toolbox/computeruse/process/{processName}/status

Get status of a specific VNC process

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
processNamepathtrueundefinedundefined
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Process status retrieved successfully

POST /toolbox/{sandboxId}/toolbox/computeruse/process/{processName}/restart

Restart a specific VNC process

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
processNamepathtrueundefinedundefined
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Process restarted successfully

GET /toolbox/{sandboxId}/toolbox/computeruse/process/{processName}/logs

Get logs for a specific VNC process

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
processNamepathtrueundefinedundefined
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Process logs retrieved successfully

GET /toolbox/{sandboxId}/toolbox/computeruse/process/{processName}/errors

Get error logs for a specific VNC process

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
processNamepathtrueundefinedundefined
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Process errors retrieved successfully

GET /toolbox/{sandboxId}/toolbox/computeruse/mouse/position

Get current mouse cursor position

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Mouse position retrieved successfully

POST /toolbox/{sandboxId}/toolbox/computeruse/mouse/move

Move mouse cursor to specified coordinates

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Mouse moved successfully

POST /toolbox/{sandboxId}/toolbox/computeruse/mouse/click

Click mouse at specified coordinates

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Mouse clicked successfully

POST /toolbox/{sandboxId}/toolbox/computeruse/mouse/drag

Drag mouse from start to end coordinates

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Mouse dragged successfully

POST /toolbox/{sandboxId}/toolbox/computeruse/mouse/scroll

Scroll mouse at specified coordinates

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Mouse scrolled successfully

POST /toolbox/{sandboxId}/toolbox/computeruse/keyboard/type

Type text using keyboard

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Text typed successfully

POST /toolbox/{sandboxId}/toolbox/computeruse/keyboard/key

Press a key with optional modifiers

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Key pressed successfully

POST /toolbox/{sandboxId}/toolbox/computeruse/keyboard/hotkey

Press a hotkey combination

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Hotkey pressed successfully

GET /toolbox/{sandboxId}/toolbox/computeruse/screenshot

Take a screenshot of the entire screen

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
show_cursorqueryfalseundefinedundefined

Responses

Status CodeDescription
200Screenshot taken successfully

GET /toolbox/{sandboxId}/toolbox/computeruse/screenshot/region

Take a screenshot of a specific region

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
show_cursorqueryfalseundefinedundefined
heightquerytrueundefinedundefined
widthquerytrueundefinedundefined
yquerytrueundefinedundefined
xquerytrueundefinedundefined

Responses

Status CodeDescription
200Region screenshot taken successfully

GET /toolbox/{sandboxId}/toolbox/computeruse/screenshot/compressed

Take a compressed screenshot with format, quality, and scale options

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
scalequeryfalseundefinedundefined
qualityqueryfalseundefinedundefined
formatqueryfalseundefinedundefined
show_cursorqueryfalseundefinedundefined

Responses

Status CodeDescription
200Compressed screenshot taken successfully

GET /toolbox/{sandboxId}/toolbox/computeruse/screenshot/region/compressed

Take a compressed screenshot of a specific region

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined
scalequeryfalseundefinedundefined
qualityqueryfalseundefinedundefined
formatqueryfalseundefinedundefined
show_cursorqueryfalseundefinedundefined
heightquerytrueundefinedundefined
widthquerytrueundefinedundefined
yquerytrueundefinedundefined
xquerytrueundefinedundefined

Responses

Status CodeDescription
200Compressed region screenshot taken successfully

GET /toolbox/{sandboxId}/toolbox/computeruse/display/info

Get information about displays

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Display info retrieved successfully

GET /toolbox/{sandboxId}/toolbox/computeruse/display/windows

Get list of open windows

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Windows list retrieved successfully

POST /snapshots

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
200The snapshot has been successfully created.
400Bad request - Snapshots with tag ":latest " are not allowed

GET /snapshots

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
pagequeryfalseundefinedPage number of the results
limitqueryfalseundefinedNumber of results per page
namequeryfalseundefinedFilter by partial name match
sortqueryfalseundefinedField to sort by
orderqueryfalseundefinedDirection to sort by

Responses

Status CodeDescription
200Paginated list of all snapshots

GET /snapshots/can-cleanup-image

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
imageNamequerytrueundefinedImage name with tag to check

Responses

Status CodeDescription
200Boolean indicating if image can be cleaned up

GET /snapshots/{id}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
idpathtrueundefinedSnapshot ID or name

Responses

Status CodeDescription
200The snapshot
404Snapshot not found

DELETE /snapshots/{id}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
idpathtrueundefinedSnapshot ID

Responses

Status CodeDescription
200Snapshot has been deleted

PATCH /snapshots/{id}/general

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
idpathtrueundefinedSnapshot ID

Responses

Status CodeDescription
200Snapshot general status has been set

GET /snapshots/{id}/build-logs

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
idpathtrueundefinedSnapshot ID
followqueryfalseundefinedWhether to follow the logs stream

Responses

Status CodeDescription
200

POST /snapshots/{id}/activate

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
idpathtrueundefinedSnapshot ID

Responses

Status CodeDescription
200The snapshot has been successfully activated.
400Bad request - Snapshot is already active, not in inactive state, or has associated snapshot runners
404Snapshot not found

POST /snapshots/{id}/deactivate

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
idpathtrueundefinedSnapshot ID

Responses

Status CodeDescription
204The snapshot has been successfully deactivated.

GET /workspace

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
verbosequeryfalseundefinedInclude verbose output
labelsqueryfalseundefinedJSON encoded labels to filter by

Responses

Status CodeDescription
200List of all workspacees

POST /workspace

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
200The workspace has been successfully created.

GET /workspace/{workspaceId}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
workspaceIdpathtrueundefinedID of the workspace
verbosequeryfalseundefinedInclude verbose output

Responses

Status CodeDescription
200Workspace details

DELETE /workspace/{workspaceId}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
workspaceIdpathtrueundefinedID of the workspace
forcequeryfalseundefinedundefined

Responses

Status CodeDescription
200Workspace has been deleted

POST /workspace/{workspaceId}/start

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
workspaceIdpathtrueundefinedID of the workspace

Responses

Status CodeDescription
200Workspace has been started

POST /workspace/{workspaceId}/stop

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
workspaceIdpathtrueundefinedID of the workspace

Responses

Status CodeDescription
200Workspace has been stopped

PUT /workspace/{workspaceId}/labels

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
workspaceIdpathtrueundefinedID of the workspace

Responses

Status CodeDescription
200Labels have been successfully replaced

POST /workspace/{workspaceId}/backup

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
workspaceIdpathtrueundefinedID of the workspace

Responses

Status CodeDescription
200Workspace backup has been initiated

POST /workspace/{workspaceId}/public/{isPublic}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
workspaceIdpathtrueundefinedID of the workspace
isPublicpathtrueundefinedPublic status to set

Responses

Status CodeDescription
201

POST /workspace/{workspaceId}/autostop/{interval}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
workspaceIdpathtrueundefinedID of the workspace
intervalpathtrueundefinedAuto-stop interval in minutes (0 to disable)

Responses

Status CodeDescription
200Auto-stop interval has been set

POST /workspace/{workspaceId}/autoarchive/{interval}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
workspaceIdpathtrueundefinedID of the workspace
intervalpathtrueundefinedAuto-archive interval in minutes (0 means the maximum interval will be used)

Responses

Status CodeDescription
200Auto-archive interval has been set

POST /workspace/{workspaceId}/archive

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
workspaceIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Workspace has been archived

GET /workspace/{workspaceId}/ports/{port}/preview-url

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
workspaceIdpathtrueundefinedID of the workspace
portpathtrueundefinedPort number to get preview URL for

Responses

Status CodeDescription
200Preview URL for the specified port

GET /workspace/{workspaceId}/build-logs

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
workspaceIdpathtrueundefinedID of the workspace
followqueryfalseundefinedWhether to follow the logs stream

Responses

Status CodeDescription
200Build logs stream

GET /preview/{sandboxId}/public

Parameters

NameLocationRequiredTypeDescription
sandboxIdpathtrueundefinedID of the sandbox

Responses

Status CodeDescription
200Public status of the sandbox

GET /preview/{sandboxId}/validate/{authToken}

Parameters

NameLocationRequiredTypeDescription
sandboxIdpathtrueundefinedID of the sandbox
authTokenpathtrueundefinedAuth token of the sandbox

Responses

Status CodeDescription
200Sandbox auth token validation status

GET /preview/{sandboxId}/access

Parameters

NameLocationRequiredTypeDescription
sandboxIdpathtrueundefinedundefined

Responses

Status CodeDescription
200

GET /volumes

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
includeDeletedqueryfalseundefinedInclude deleted volumes in the response

Responses

Status CodeDescription
200List of all volumes

POST /volumes

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
200The volume has been successfully created.

GET /volumes/{volumeId}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
volumeIdpathtrueundefinedID of the volume

Responses

Status CodeDescription
200Volume details

DELETE /volumes/{volumeId}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
volumeIdpathtrueundefinedID of the volume

Responses

Status CodeDescription
200Volume has been marked for deletion

GET /volumes/by-name/{name}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
namepathtrueundefinedName of the volume

Responses

Status CodeDescription
200Volume details

POST /docker-registry

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
201The docker registry has been successfully created.

GET /docker-registry

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
200List of all docker registries

GET /docker-registry/registry-push-access

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
200Temporary registry access has been generated

GET /docker-registry/{id}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
idpathtrueundefinedID of the docker registry

Responses

Status CodeDescription
200The docker registry

PATCH /docker-registry/{id}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
idpathtrueundefinedID of the docker registry

Responses

Status CodeDescription
200The docker registry has been successfully updated.

DELETE /docker-registry/{id}

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
idpathtrueundefinedID of the docker registry

Responses

Status CodeDescription
204The docker registry has been successfully deleted.

POST /docker-registry/{id}/set-default

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
idpathtrueundefinedID of the docker registry

Responses

Status CodeDescription
200The docker registry has been set as default.

POST /webhooks/organizations/{organizationId}/app-portal-access

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
organizationIdpathtrueundefinedundefined

Responses

Status CodeDescription
200App Portal access generated successfully

POST /webhooks/organizations/{organizationId}/send

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
organizationIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Webhook message sent successfully

GET /webhooks/organizations/{organizationId}/messages/{messageId}/attempts

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
organizationIdpathtrueundefinedundefined
messageIdpathtrueundefinedundefined

Responses

Status CodeDescription
200List of delivery attempts

GET /webhooks/status

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
200Webhook service status

GET /webhooks/organizations/{organizationId}/initialization-status

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
organizationIdpathtrueundefinedundefined

Responses

Status CodeDescription
200Webhook initialization status
404Webhook initialization status not found

POST /webhooks/organizations/{organizationId}/initialize

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID
organizationIdpathtrueundefinedundefined

Responses

Status CodeDescription
201Webhooks initialized successfully
403User does not have access to this organization
404Organization not found

GET /object-storage/push-access

Parameters

NameLocationRequiredTypeDescription
X-Daytona-Organization-IDheaderfalseundefinedUse with JWT to specify the organization ID

Responses

Status CodeDescription
200Temporary storage access has been generated

GET /audit

Parameters

NameLocationRequiredTypeDescription
pagequeryfalseundefinedPage number of the results
limitqueryfalseundefinedNumber of results per page

Responses

Status CodeDescription
200Paginated list of all audit logs

POST /audit

Responses

Status CodeDescription
201Audit log entry created successfully

GET /audit/organizations/{organizationId}

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID
pagequeryfalseundefinedPage number of the results
limitqueryfalseundefinedNumber of results per page

Responses

Status CodeDescription
200Paginated list of organization audit logs

GET /health

Responses

Status CodeDescription
200The Health Check is successful
503The Health Check is not successful