/api/v1 manages alert rules, synthetic checks and dashboards as code. Anything that speaks HTTP can call it.
- Base URL:
https://api.autter.dev/api/v1 - OpenAPI spec:
GET /api/v1/openapi.json. No token is needed.
Authentication
Send a personal access token as a bearer token. Create one under Settings → Keys and tokens → Set up a key by choosing Run Autter in CI or a script:
Your role also applies, as in the dashboard:
While their switch is off, synthetic checks and dashboards answer
403 feature_disabled. See Synthetic checks and Dashboards.
Endpoints
{resource}isalert-rules,synthetic-checksordashboards.{repository}is the repository’s id, its full name with the slash encoded (acme%2Fweb), or a short name that only one repository has.{name}is the resource’s name, URL-encoded.- Fields are snake_case, and so are nested fields such as
filters.error_typeandactions.in_app.
PUT is an upsert by name
- The body is the whole resource. A field you leave out takes its default. It does not keep the stored value.
- If no resource has the name, it is created (
201). - If one resource has the name, it is updated to match the body (
200). - If the resource already matches, nothing is written (
200). Applying the same body twice changes nothing. - A
namein the body must equal the one in the path. To rename a resource, delete it and create it again. - If two or more resources already share a name, the API answers
409 name_conflictwith their ids. Rename all but one in the dashboard.
- Starting resources. The first read of a repository’s alert rules or dashboards writes its starting rules and two starter dashboards. A PUT with one of their names adopts it.
- Check headers. Header values are stored encrypted and never returned. A check lists
header_names. Sending the same headers again changes nothing. Different headers, or none, replace them. - Check URLs are stored normalized.
https://example.comreads back ashttps://example.com/. - Dashboard widgets sent without an
idgetw1,w2and so on, by position. Give every widget an id, or none. - Limits. Your plan’s number of checks and fastest interval apply. Past them the API answers
422 limit_reached. - Check kinds. A check has a
kind, eitherhttp(the default) orjourney. The kind is fixed once set. Sending a different kind for an existing check answers400. - Journey checks. Send
kind: "journey", ajourney_idand aurl. Thejourney_idis required for a journey check, and null or left out for an HTTP check. Theurlis the site origin, with no path. Sendingmethod,headers,expected_status,body_contains,timeout_msorlatency_threshold_mswith a journey check answers400. - Intervals.
interval_secondsis 60, 300, 900 or 3600 for an HTTP check, and 900, 3600, 21600 or 86400 for a journey check. The journey plan limits are in Synthetic checks. - Check output. A check also returns
kind,journey_idandfirst_passed_at. A journey check opens no issue untilfirst_passed_atis set.
Errors and rate limits
Errors look like{ "error": { "code", "message", "detail"? } }. The message says what to change. The codes are unauthorized, insufficient_scope, insufficient_role, feature_disabled, repository_not_found, not_found, name_conflict, invalid_argument, limit_reached, rate_limited and internal_error.
Each token has an API rate limit of 60 reads and 10 writes a minute. It is separate from the token’s MCP limit. Past it, the API answers 429 with Retry-After.
Request bodies can be up to 1 MB. A larger body is refused with 413, and malformed JSON with 400. Both use the code invalid_argument.
Every PUT and DELETE is written to the organization’s audit log (the Activity section of Settings → Keys and tokens), with the method, resource, repository, name, status and outcome.
Export as Terraform
An alert rule, a synthetic check and a dashboard each have an Export as Terraform action. It writes HCL that starts with therequired_providers block for the Autter Terraform provider. It then writes the resources autter_alert_rule, autter_synthetic_check and autter_dashboard, plus the autter_repository data source.
- Each attribute is the API field of the same name.
- A dashboard filter’s list of values (
in,not_in) is written asvalues, and a single value asvalue. - A journey check is written with
kind = "journey", itsjourney_idand no HTTP-only attributes. An HTTP check is written withoutkind. - Only the fields a PUT takes are written. Nulls and empty lists are left out.
- A check’s headers become
sensitivevariables, because their values are never returned.

