v1
latestOpenAPI 3.1.02026-07-17254060.5 KBexec
Execute a command
Start a command with the given options and return a value representing the process.
This API returns a task-id (see the response schema and the example below), then you need to call /v1/tasks/{task-id}/websocket/control and /v1/tasks/{task-id}/websocket/stdio (also /v1/tasks/{task-id}/websocket/stderr if split-stderr is true) with the returned task-id.
post/v1/exec
Request body
Response
Command execution initiated.