v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_Apps

Retrieve Exec URL

Returns a websocket URL that allows sending/receiving console input and output to a component of the active deployment if one exists.

get/v2/apps/{app_id}/components/{component_name}/exec

Path parameters

app_idstring required

The app ID

component_namestring required

An optional component name. If set, logs will be limited to this component only.

Query parameters

instance_namestring

The name of the actively running ephemeral compute instance

Response

A JSON object with a websocket URL that allows sending/receiving console input and output.

urlstring

A websocket URL that allows sending/receiving console input and receiving console output.

Example response

{
  "url": "wss://exec/?token=xxx"
}