Machine Lifecycle
Machine Executions
get/v1/machines/{machine_id}/executions/{execution_id}

Request

  • Base URL
    https://dcs.dedaluslabs.ai
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

machine_idstring required
execution_idstring required

Headers

X-Dedalus-Org-Idstring

Response

OK

commandstring[] nullable required
completed_atstring date-time
created_atstring date-time required
cwdstring
env_keysstring[] nullable
error_codestring
error_messagestring
execution_idstring required
exit_codeinteger
expires_atstring date-time
machine_idstring required
retry_after_msinteger
signalinteger
started_atstring date-time
status'wake_in_progress' | 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'expired' required
stderr_bytesinteger
stderr_truncatedboolean
stdout_bytesinteger
stdout_truncatedboolean

Changes

    • warning

      changed the pattern of the path request parameter machine_id from ^dm-[a-z0-9]([a-z0-9-]*[a-z0-9])?$ to ^dm-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

    • breaking

      for the path request parameter execution_id, the minLength was increased from 0 to 1

    • breaking

      for the path request parameter machine_id, the minLength was increased from 0 to 4

    • breaking

      added the pattern ^[A-Za-z0-9]([A-Za-z0-9._-]*[A-Za-z0-9])?$ to the path request parameter execution_id

    • breaking

      added the pattern ^dm-[a-z0-9]([a-z0-9-]*[a-z0-9])?$ to the path request parameter machine_id

    • warning

      for the path request parameter execution_id, the maxLength was set to 253

    • warning

      for the path request parameter machine_id, the maxLength was set to 253