> ## Documentation Index
> Fetch the complete documentation index at: https://docs.collabase.ch/llms.txt
> Use this file to discover all available pages before exploring further.

# Get automation

> Retrieve a single automation by ID.

## Path parameters

<ParamField path="automationId" type="string" required>The ID of the automation to retrieve.</ParamField>

## Response

<ResponseField name="id" type="string">Automation ID.</ResponseField>
<ResponseField name="name" type="string">Name.</ResponseField>
<ResponseField name="description" type="string">Description.</ResponseField>
<ResponseField name="isEnabled" type="boolean">Whether active.</ResponseField>
<ResponseField name="triggerType" type="string">Trigger type.</ResponseField>
<ResponseField name="triggerConfig" type="object">Trigger configuration.</ResponseField>
<ResponseField name="flowGraph" type="object">Node graph definition.</ResponseField>
<ResponseField name="spaceId" type="string">Owning space ID.</ResponseField>

<RequestExample>
  ```bash cURL theme={"dark"}
  curl "https://your-collabase.ch/api/v1/automation/auto-abc123" \
    -H "Authorization: Bearer cba_live_..."
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={"dark"}
  {
    "id": "auto-abc123",
    "name": "Notify on Test Failure",
    "isEnabled": true,
    "triggerType": "COLLABASE_EVENT",
    "triggerConfig": { "event": "collabase.test.caseResult.failed" },
    "flowGraph": {},
    "spaceId": "space-001"
  }
  ```
</ResponseExample>
