Skip to main content
POST
/
v1
/
machines
/
{machine_id}
/
executions
Typescript
const client = new Dedalus();

const result = await client.machines.executions.create({ ...params });
{ "command": [ "<string>" ], "created_at": "2023-11-07T05:31:56Z", "execution_id": "<string>", "machine_id": "<string>", "status": "wake_in_progress", "artifacts": [ { "artifact_id": "<string>", "name": "<string>" } ], "completed_at": "2023-11-07T05:31:56Z", "cwd": "<string>", "env_keys": [ "<string>" ], "error_code": "<string>", "error_message": "<string>", "exit_code": 123, "expires_at": "2023-11-07T05:31:56Z", "retry_after_ms": 123, "signal": 123, "started_at": "2023-11-07T05:31:56Z", "stderr_bytes": 123, "stderr_truncated": true, "stdout_bytes": 123, "stdout_truncated": true }

Authorizations

x-api-key
string
header
required

Dedalus API key. Alternative to Bearer token.

Headers

X-Dedalus-Org-Id
string
Idempotency-Key
string
required

Path Parameters

machine_id
string
required

Body

application/json
command
string[] | null
required
cwd
string
env
object
stdin
string
timeout_ms
integer<int64>

Response

OK

command
string[] | null
required
created_at
string<date-time>
required
execution_id
string
required
machine_id
string
required
status
enum<string>
required
Available options:
wake_in_progress,
queued,
running,
succeeded,
failed,
cancelled,
expired
artifacts
object[] | null
completed_at
string<date-time>
cwd
string
env_keys
string[] | null
error_code
string
error_message
string
exit_code
integer<int64>
expires_at
string<date-time>
retry_after_ms
integer<int64>
signal
integer<int64>
started_at
string<date-time>
stderr_bytes
integer<int64>
stderr_truncated
boolean
stdout_bytes
integer<int64>
stdout_truncated
boolean
Last modified on April 9, 2026