DoTs Harness Runtime

Generated on 5 Nov 2026 from DoTs version v1.23.0

DigitalOcean Harness Runtime API under /v2/agents. An environment is a reusable configuration that defines what an agent needs to do work; starting a session from an environment provisions an isolated sandbox. Define an environment with a YAML environment spec, or save it as an Environment Config and create sessions from {name, config_id}.

Cancel Execution

CancelExecution ends a running execution and frees the trigger’s in-flight slot.

dots.v2.agents.sessions.bySession_id().cancel.post()

Cancel the agent turn in flight.

Cancel Session Workspace Transfer

Cancel a staged workspace transfer.

Commit Session Workspace Transfer

Finalize a staged upload.

dots.v2.agents.sessions.bySession_id().checkpoints.post()

CreateCheckpoint captures the session’s live sandbox state as a durable checkpoint.

dots.v2.agents.configs.post()

Create an Environment Config (environment spec + optional Insights opt-in).

dots.v2.agents.configs.byConfig_id().clone.post()

Clone an Environment Config under a new name.

dots.v2.agents.auth.byProvider().post()

Start an interactive provider login for the team.

dots.v2.agents.auth.byProvider().connections.post()

Create a provider connection for one actor.

dots.v2.agents.sessions.post()

CreateSession provisions a sandbox and starts a Harness Runtime session.

Create Session Workspace Part Upload URLs

Mint presigned PUT URLs for one or more multipart upload parts.

dots.v2.agents.sessions.bySession_id().workspace.transfers.post()

Start a staged (large-file) workspace transfer.

dots.v2.agents.sessions.bySession_id().workspace.upload.post()

Upload a file or tar archive into the session’s sandbox workspace.

dots.v2.agents.templates.post()

CreateTemplate creates a team custom template and kicks a build.

dots.v2.agents.triggers.post()

CreateTrigger creates a webhook or cron trigger.

Delete Checkpoint

DeleteCheckpoint removes a checkpoint and its underlying machine-state capture.

dots.v2.agents.configs.byConfig_id().delete()

Soft-delete an Environment Config.

dots.v2.agents.auth.byProvider().connections.byConnection_id().delete()

Revoke a provider connection.

dots.v2.agents.templates.byTemplate_id().delete()

DeleteTemplate deletes a team custom template.

dots.v2.agents.triggers.byTrigger_id().delete()

DeleteTrigger soft-deletes a trigger.

dots.v2.agents.sessions.bySession_id().delete()

DestroySession tears down the sandbox and marks the session DESTROYED.

dots.v2.agents.sessions.bySession_id().sandbox.exec.post()

ExecInSandbox runs a one-shot command inside the session’s sandbox.

dots.v2.agents.sessions.bySession_id().fork.post()

ForkSession creates child sessions from a checkpoint of this session.

dots.v2.agents.sessions.bySession_id().checkpoints.byCheckpoint_id().get()

GetCheckpoint returns the current snapshot of a checkpoint.

Get Checkpoint Image Messages

Read sandbox-image notices for one checkpoint.

dots.v2.agents.configs.byConfig_id().get()

Get an active Environment Config and its environment spec.

dots.v2.agents.sessions.bySession_id().ingress.get()

GetIngressURL returns the public HTTPS URL of the session’s OpenHands Agent Server.

dots.v2.agents.auth.byProvider().poll.get()

Check whether a provider login has finished.

dots.v2.agents.auth.byProvider().connections.byConnection_id().get()

Read one provider connection.

dots.v2.agents.sessions.bySession_id().get()

GetSession returns the current snapshot of a session.

dots.v2.agents.sessions.bySession_id().imageMessages.get()

Read sandbox-image notices for one session.

dots.v2.agents.sessions.bySession_id().workspace.download.get()

Download a file or tar archive from the session’s sandbox workspace.

Get Session Workspace Transfer

Get the status of a staged workspace transfer.

dots.v2.agents.templates.byTemplate_id().get()

GetTemplate returns a team custom template by public id.

dots.v2.agents.templates.byTemplate_id().builds.byBuild_id().get()

GetTemplateBuild returns a single template build.

dots.v2.agents.triggers.byTrigger_id().get()

GetTrigger returns a single trigger by id.

dots.v2.agents.triggers.bySession.bySession_id().get()

GetTriggerBySession reverse-looks-up the trigger that produced or binds a session.

dots.v2.agents.triggers.byTrigger_id().executions.byExecution_id().get()

GetTriggerExecution returns a single execution, including its payload.

dots.v2.agents.sessions.bySession_id().checkpoints.get()

ListCheckpoints enumerates a session’s checkpoints, newest first.

dots.v2.agents.configs.byConfig_id().sessions.get()

List the sessions created from one Environment Config.

dots.v2.agents.configs.get()

List active Environment Configs for the caller’s team.

dots.v2.agents.imageMessages.get()

List sandbox-image notices for the team.

dots.v2.agents.auth.byProvider().connections.get()

List the team’s connections for a provider.

dots.v2.agents.triggers.reusableSessions.get()

ListReusableSessions lists the team’s PAUSED sessions for the reuse picker.

dots.v2.agents.sessions.sandbox.sizes.get()

ListSandboxSizes returns the customer-selectable sandbox (microVM) size catalog.

dots.v2.agents.sessions.get()

ListSessions enumerates sessions for the caller’s tenant.

dots.v2.agents.templates.get()

ListTeamTemplates returns the caller’s team custom templates.

dots.v2.agents.templates.byTemplate_id().builds.get()

ListTemplateBuilds returns build history for a template.

dots.v2.agents.triggers.byTrigger_id().executions.get()

ListTriggerExecutions returns a trigger’s execution history.

dots.v2.agents.triggers.get()

ListTriggers enumerates the calling team’s triggers.

dots.v2.agents.webhookProviders.get()

ListWebhookProviders lists supported webhook providers for the create-trigger UI.

dots.v2.agents.sessions.bySession_id().patch()

PatchSession updates session-scoped settings on an existing session.

dots.v2.agents.sessions.bySession_id().pause.post()

PauseSession freezes the session’s microVM sandbox.

dots.v2.agents.sessions.bySession_id().portForward.byPort().get()

PortForwardSession opens a WebSocket tunnel to a guest TCP port.

Post Provider Connection Reconnect

Start a fresh login for an existing connection.

dots.v2.agents.triggers.byTrigger_id().webhook.post()

ReceiveTriggerWebhook accepts a signed delivery from an external system.

dots.v2.agents.sessions.bySession_id().hitl.byRequest_id().post()

ResolveHITL records the user’s decision on a pending HITL request.

dots.v2.agents.sessions.bySession_id().resume.post()

ResumeSession explicitly thaws a PAUSED session’s microVM sandbox.

Rollback To Checkpoint

RollbackToCheckpoint rewinds a session to a checkpoint.

dots.v2.agents.triggers.byTrigger_id().rotateSecret.post()

RotateTriggerSecret issues a new webhook secret.

dots.v2.agents.sessions.bySession_id().input.post()

SendInput delivers a user chat message into the session.

dots.v2.agents.sessions.bySession_id().events.get()

StreamSessionEvents opens the session’s Server-Sent Events feed.

dots.v2.agents.templates.byTemplate_id().put()

UpdateTemplate updates a team template’s source and kicks a new build.

dots.v2.agents.triggers.byTrigger_id().patch()

UpdateTrigger updates, pauses, or re-enables a trigger.

dots.v2.agents.sessions.policy.validate.post()

ValidatePolicy checks a manifest’s tool-permission policy against the agent’s capabilities without creating a session.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.