Skip to content

API

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.

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

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}/role

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID
userIdpathtrueundefinedUser ID

Responses

Status CodeDescription
200Role updated successfully

POST /organizations/{organizationId}/users/{userId}/assigned-roles

Parameters

NameLocationRequiredTypeDescription
organizationIdpathtrueundefinedOrganization ID
userIdpathtrueundefinedUser ID

Responses

Status CodeDescription
200Assigned roles 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

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

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/{sandboxId}

Parameters

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

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
forcequerytrueundefinedundefined

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

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

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}/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 /runners

Responses

Status CodeDescription
201

GET /runners

Responses

Status CodeDescription
200

PATCH /runners/{id}/scheduling

Parameters

NameLocationRequiredTypeDescription
idpathtrueundefinedundefined

Responses

Status CodeDescription
200

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/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
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

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
followqueryfalseundefinedundefined

Responses

Status CodeDescription
200Command log stream

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 /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
limitqueryfalseundefinedNumber of items per page
pagequeryfalseundefinedPage number

Responses

Status CodeDescription
200List of all snapshots with pagination

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}/toggle

Parameters

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

Responses

Status CodeDescription
200Snapshot state has been toggled

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

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
verbosequeryfalseundefinedInclude verbose output
workspaceIdpathtrueundefinedID of the workspace

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
forcequerytrueundefinedundefined

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.

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