Skip to main content
GET
Retrieve automation

Authorizations

Authorization
string
header
required

Raw dev token passed as Authorization: Bearer fabro_dev_... when server.auth.methods includes dev-token.

Path Parameters

id
string
required

Unique automation identifier.

Pattern: ^[a-z0-9][a-z0-9-]{0,62}$

Response

Automation definition

Public automation definition.

id
string
required
Pattern: ^[a-z0-9][a-z0-9-]{0,62}$
Example:

"nightly-deps"

revision
string
required

Stable revision used with If-Match for optimistic concurrency.

Pattern: ^[0-9a-f]{64}$
Example:

"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"

name
string
required
Example:

"Nightly dependency update"

description
string | null
required
Example:

"Keeps dependencies fresh."

environment_id
string | null
required

Server-managed Docker or Daytona environment selected when the automation fires. Null only for an incomplete definition migrated from a release that predated environment selection.

Example:

"daytona-smoke"

last_error
string | null
required

Most recent scheduled-run failure, cleared after a scheduled run is queued successfully.

target
object
required

Workspace content and location requested for a run.

workflow
string
required

Workflow slug or path resolved in the run-target checkout when workflow_source is omitted, or in the explicit workflow-source checkout when present.

Example:

"dependency-update"

triggers
object[]
required

Automation trigger configuration. Unknown type discriminator values are reported by handlers as domain validation errors with HTTP 422.

workflow_source
object

Explicit GitHub coordinate from which an automation acquires workflow bytes. The branch is the fallback selector and audit context. An optional tag overrides the branch, and an optional exact SHA overrides both without requiring branch ancestry. This source is independent of the run target and does not provide its working branch.