Read a Cloud automation with its revisions

GET /api/v1/code/automations/{automationId} on the Caveman Cloud control plane. Requires the code:read scope. Not exposed to autonomous agents: Cloud automations are applied from a repository's .caveman/ files by the Code app, a code:run key or a push to the default branch, and a person approves wider authority (ADR 0133). An agent works inside a run's session and never applies, approves, enables or fires automations from a control-plane connection.

get/code/automations/{automationId}

Request

  • Base URL
    https://api.caveman.so/api/v1
  • URL
    https://api.caveman.so/api/v1/code/automations/{automationId}
  • Auth
    • OAuth 2
      Authorization code: /api/v1/oauth/authorize
      Token URL: /api/v1/oauth/token scopes: code:read
    • or HTTP bearer
    • or API key in cookie cave_access
    • or API key in cookie __Secure-cave_identity.session_token

Response

The automation

idstring uuid required
organization_idstring uuid
repostring required
pathstring required
namestring required
host'cloud' required
enabledboolean required
owner_user_idstring uuid nullable
service_account_idstring uuid nullable
active_revision_idstring uuid nullable
trigger_kindsstring[] required
hook_idstring nullable
removed_atstring date-time nullable
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.