Base URL
/api/v1 on its own origin.
Authentication
Send a workspace API key as a bearer token:Find the IDs you need
Automations and tag mode refer to repositories, integrations, channels, and secrets by ID. Look them up first:GET /integrationsreturns connected integrations, the repositories GitHub gives access to, and integration resources such as Slack channels and Sentry projects.GET /secretsreturns workspace secrets.
POST /integrations/refresh to load it.
Create an automation
gpt-5.4. See Models and harnesses.
Change part of an automation
PATCH requests change only the fields you send. In configuration, each field you send replaces the current value, and a list you send replaces the whole list.
enabled to turn an automation on or off. PATCH /tag-mode works the same way.
Start and follow a run
POST /automations/{automationId}/runs starts a run and returns its runId. Add a message to start the run as a chat. Poll GET /runs/{runId} until status is succeeded, failed, or cancelled. resultSummary holds the agent’s final answer, and events holds the transcript.
Send a follow-up with POST /runs/{runId}/messages once the run has finished.
Manage dashboards, alerts, and checks with Terraform
Thesuperloglabs/superlog Terraform provider manages alerts, dashboards, and synthetic checks through this API. It also works with OpenTofu.
GET /terraform returns provider configuration for the objects you already have, with an import block for each one. Applying it adopts the existing objects instead of creating copies:
alertIds, dashboardIds, or syntheticCheckIds as comma-separated IDs to export only those. Secret header values of synthetic checks become sensitive variables for you to set. Copy as Terraform on an alert, dashboard, or synthetic check page copies the same configuration for one object.
Errors
Errors return a JSON body with a message and, when there is one, a stablecode: