Skip to main content
This endpoint returns a single automation you own, including its full definition (the trigger and its chained steps) so you can inspect or repair it.

Path Parameters

id string required The ID of the automation (from List automations)

Query Parameters

include_secrets boolean By default, credential-bearing values inside the definition (API keys, tokens, Authorization headers) are masked as ••• hidden. Pass true to return them unmasked.

Response

data object The automation data properties id string The unique ID of the automation name string The display name of the automation status string enabled or disabled updated_at string When the automation was last updated definition object The automation’s definition: the trigger object with its steps chained under nextAction. This is the artifact you edit and send back through Update automation to repair or extend the automation. See Create automation for the definition format. binding object | null When the automation is attached to an assistant event: {type, assistant_id, assistant_name} (see List automations). Otherwise null. A missing automation — or one that does not belong to your account — returns a 404 with {"message": "Automation not found"}.
200 Response
404 Response