{"components":{"schemas":{"AcceptInput":{"additionalProperties":false,"properties":{"acceptTerms":{"description":"For a new account (since 2026-11-17): must be true, the person ticked \"I accept the Terms and the Privacy\npolicy\" (422 `field.required` at `/acceptTerms` otherwise). Not read when signed in.","type":"boolean"},"displayName":{"type":["string","null"]},"email":{"description":"For a new account; a signed-in user joins with their own account and sends only the token.","type":["string","null"]},"password":{"type":["string","null"]},"token":{"type":"string"}},"required":["token"],"type":"object"},"AccessTicketInput":{"additionalProperties":false,"properties":{"next":{"description":"The page path to open after signing in, relative to the page (`/incidents/<id>`); the page itself\nwithout it.","type":["string","null"]}},"type":"object"},"AccessTicketView":{"properties":{"redirectUrl":{"description":"Where the dashboard sends the browser: the page's `/_access` with a ticket good for 30 seconds, or the\npage itself when it is not members-only.","type":"string"}},"required":["redirectUrl"],"type":"object"},"AccountDeletionInput":{"additionalProperties":false,"properties":{"code":{"description":"Six digits from the authenticator, when two-factor sign-in is on.","type":["string","null"]},"confirmEmail":{"description":"The account's email, typed again (letter case and surrounding spaces do not matter).","type":"string"},"password":{"description":"The current password; may be left out after a provider re-authentication within the last 5 minutes.","type":["string","null"]}},"required":["confirmEmail"],"type":"object"},"AccountDeletionView":{"properties":{"allowed":{"description":"Nothing blocks the deletion: no shared workspace is owned, none of the person's workspaces is blocked\nand the account is not the installation owner.","type":"boolean"},"deletedWorkspaces":{"description":"Workspaces where the person is the only member: stopped and hidden with the account, their data kept.","items":{"$ref":"#/components/schemas/AccountDeletionWorkspace"},"type":"array"},"hasPassword":{"description":"The account has a password: `DELETE /me` takes it as proof.","type":"boolean"},"installationOwner":{"description":"The installation owner's account cannot be deleted here.","type":"boolean"},"leftWorkspaces":{"description":"Workspaces the person leaves; what is in them stays.","items":{"$ref":"#/components/schemas/AccountDeletionWorkspace"},"type":"array"},"needsCode":{"description":"Two-factor sign-in is on: `DELETE /me` needs a current code.","type":"boolean"},"reauthProviders":{"description":"Linked providers this installation offers: a re-authentication at one of them (intent `reauth`) within\nthe last 5 minutes stands in for the password.","items":{"type":"string"},"type":"array"},"reauthenticated":{"description":"A provider re-authentication of this session is recent enough right now.","type":"boolean"},"sharedWorkspaces":{"description":"Owned workspaces with other members: ownership must go to someone else first.","items":{"$ref":"#/components/schemas/AccountDeletionWorkspace"},"type":"array"}},"required":["allowed","sharedWorkspaces","installationOwner","deletedWorkspaces","leftWorkspaces","hasPassword","reauthProviders","reauthenticated","needsCode"],"type":"object"},"AccountDeletionWorkspace":{"properties":{"blocked":{"description":"Blocked by the installation's administrator: it can only be read, so the account can be deleted only\nafter the unblock (403 `workspace.blocked`).","type":"boolean"},"checks":{"format":"int64","type":"integer"},"id":{"format":"uuid","type":"string"},"members":{"description":"Members, the person included.","format":"int64","type":"integer"},"name":{"type":"string"},"projects":{"format":"int64","type":"integer"},"role":{"$ref":"#/components/schemas/WorkspaceRole","description":"The person's role in it."},"statusPages":{"format":"int64","type":"integer"}},"required":["id","name","role","members","projects","checks","statusPages","blocked"],"type":"object"},"AckAccepted":{"properties":{"pending":{"description":"The request is queued; `incident.changed` on the event stream confirms it.","type":"boolean"}},"required":["pending"],"type":"object"},"AckLinkView":{"description":"`GET /ack/{token}`: the incident an acknowledge link is for.","properties":{"canAcknowledge":{"description":"The caller may acknowledge it (editor or above) and nobody has yet.","type":"boolean"},"incident":{"$ref":"#/components/schemas/IncidentView"}},"required":["incident","canAcknowledge"],"type":"object"},"AddonsView":{"description":"Add-on packs bought on top of the plan.","properties":{"checkPacks":{"description":"Packs of 50 checks.","format":"int32","minimum":0,"type":"integer"},"serverPacks":{"description":"Packs of 5 servers (private nodes).","format":"int32","minimum":0,"type":"integer"}},"required":["checkPacks","serverPacks"],"type":"object"},"AffectedComponentInput":{"additionalProperties":false,"properties":{"componentId":{"description":"A component of this page (`ComponentView.id`).","format":"uuid","type":"string"},"impact":{"$ref":"#/components/schemas/Impact"}},"required":["componentId","impact"],"type":"object"},"AffectedComponentView":{"properties":{"componentId":{"format":"uuid","type":"string"},"impact":{"$ref":"#/components/schemas/Impact"},"name":{"type":"string"}},"required":["componentId","name","impact"],"type":"object"},"AlertChannelInput":{"additionalProperties":false,"properties":{"appToken":{"description":"`pushover`: the 30-character API token of the customer's own Pushover application.","type":["string","null"]},"email":{"description":"`email`: the address that receives alerts once it confirms.","type":["string","null"]},"kind":{"$ref":"#/components/schemas/ChannelKind","description":"Any kind but `telegram` (Telegram chats are linked with a link code). Each kind takes only its own fields."},"name":{"description":"1–100 characters; absent: the address, the provider's name (`Slack`, `Discord`, …) or the URL's host.","type":["string","null"]},"routingKey":{"description":"`pagerduty`: the 32-character integration key of an Events API v2 integration.","type":["string","null"]},"serviceNotifications":{"description":"A channel added for the workspace: the workspace's service notifications go to it (default true). Not\naccepted when the channel is added in a project.","type":["boolean","null"]},"token":{"description":"`ntfy`, optional: an access token for a protected topic, sent as `Authorization: Bearer`.","type":["string","null"]},"topic":{"description":"`ntfy`: the topic, 1–64 letters, digits, `-` and `_`.","type":["string","null"]},"url":{"description":"`slack`: the incoming webhook URL (`https://hooks.slack.com/services/…`); `discord`:\n`https://discord.com/api/webhooks/<id>/<token>`; `teams`: the URL of a Workflows \"When a Teams webhook\nrequest is received\" trigger; `google_chat`: `https://chat.googleapis.com/v1/spaces/<space>/messages?key=…&token=…`;\n`webhook` and `mattermost`: an https URL; `ntfy`: the server, default `https://ntfy.sh`. Not taken by\n`pagerduty` and `pushover`, whose address is fixed.","type":["string","null"]},"userKey":{"description":"`pushover`: the 30-character user or group key.","type":["string","null"]}},"required":["kind"],"type":"object"},"AlertChannelPatch":{"additionalProperties":false,"properties":{"name":{"description":"1–100 characters. Not for Telegram chats: their title is Telegram's.","type":["string","null"]},"serviceNotifications":{"description":"The workspace's service notifications go to the channel or chat (workspace owner or admin).","type":["boolean","null"]}},"type":"object"},"AlertChannelView":{"properties":{"brokenAt":{"type":["string","null"]},"brokenReason":{"type":["string","null"]},"createdAt":{"type":"string"},"id":{"format":"uuid","type":"string"},"kind":{"$ref":"#/components/schemas/ChannelKind"},"lastDeliveredAt":{"description":"The last message the provider accepted; null for Telegram chats and channels that got nothing yet.","type":["string","null"]},"lastError":{"description":"The last temporary error (a retry is scheduled), while it is newer than the last delivery.","type":["string","null"]},"lastErrorAt":{"type":["string","null"]},"name":{"type":"string"},"projectId":{"description":"The project the channel was added in (its project admins may manage it); null for a channel added for the\nworkspace. Which projects' alerts it receives is `projectIds`.","format":"uuid","type":["string","null"]},"projectIds":{"description":"The projects whose check alerts go to this channel. In a project's lists only that project can appear\nhere: present when the project picked the channel. Always sent; optional in the schema because it was\nadded after the first clients (2026-11-15).","items":{"format":"uuid","type":"string"},"type":"array"},"serviceNotifications":{"description":"The workspace's service notifications (nodes, backups) go to this channel too.","type":"boolean"},"status":{"$ref":"#/components/schemas/ChannelStatus"},"target":{"description":"The email address, the provider's host (Slack, Discord, Teams, Google Chat, PagerDuty, Pushover), the URL's\norigin (webhook, Mattermost, the ntfy server) or the Telegram chat title. Never a full URL, a topic or a key.","type":"string"},"verifyExpiresAt":{"description":"Unverified email channels: when the confirmation link stops working.","type":["string","null"]}},"required":["id","kind","name","target","status","createdAt"],"type":"object"},"ApiTokenCreated":{"description":"The answer of a creation: `token` is shown this once and never again.","properties":{"apiToken":{"$ref":"#/components/schemas/ApiTokenView"},"token":{"description":"`mly_…`; send it as `Authorization: Bearer <token>`.","type":"string"}},"required":["token","apiToken"],"type":"object"},"ApiTokenInput":{"additionalProperties":false,"properties":{"expiresAt":{"description":"RFC 3339, in the future; absent: the token does not expire.","type":["string","null"]},"name":{"description":"1–100 characters, for telling tokens apart.","type":"string"},"projectId":{"description":"Confines the token to one project of the workspace; absent: every project its creator sees.","format":"uuid","type":["string","null"]},"scopes":{"description":"At least one; each at most once.","items":{"$ref":"#/components/schemas/Scope"},"type":"array"}},"required":["name","scopes"],"type":"object"},"ApiTokenView":{"properties":{"clientId":{"description":"OAuth grants: the MCP client they were approved for (a metadata document URL or a registered client id);\nnull for personal tokens. Always sent; optional in the schema because it was added after the first clients.","type":["string","null"]},"createdAt":{"type":"string"},"createdBy":{"format":"uuid","type":"string"},"createdByName":{"type":["string","null"]},"expiresAt":{"type":["string","null"]},"id":{"format":"uuid","type":"string"},"kind":{"$ref":"#/components/schemas/TokenKind"},"lastUsedAt":{"type":["string","null"]},"name":{"type":"string"},"prefix":{"description":"`mly_` and the first 8 random characters of the value.","type":"string"},"projectId":{"format":"uuid","type":["string","null"]},"revokedAt":{"type":["string","null"]},"scopes":{"items":{"$ref":"#/components/schemas/Scope"},"type":"array"},"workspaceId":{"format":"uuid","type":"string"}},"required":["id","workspaceId","name","kind","prefix","scopes","createdBy","createdAt"],"type":"object"},"AssertionDto":{"oneOf":[{"properties":{"op":{"$ref":"#/components/schemas/NumOpDto"},"target":{"enum":["status"],"type":"string"},"value":{"format":"int32","minimum":0,"type":"integer"}},"required":["op","value","target"],"type":"object"},{"properties":{"ms":{"format":"int32","minimum":0,"type":"integer"},"op":{"$ref":"#/components/schemas/NumOpDto"},"target":{"enum":["response_time"],"type":"string"}},"required":["op","ms","target"],"type":"object"},{"properties":{"op":{"$ref":"#/components/schemas/TextOpDto"},"target":{"enum":["body"],"type":"string"},"value":{"type":"string"}},"required":["op","value","target"],"type":"object"},{"description":"Header names compare case-insensitively; a missing header is the empty string.","properties":{"name":{"type":"string"},"op":{"$ref":"#/components/schemas/TextOpDto"},"target":{"enum":["header"],"type":"string"},"value":{"type":"string"}},"required":["name","op","value","target"],"type":"object"},{"description":"One value of a JSON body, selected by a `JSONPath` singular query (`$.data.items[0].status`); `value`\nis ignored by `exists` and `not_exists`.","properties":{"op":{"$ref":"#/components/schemas/JsonOpDto"},"path":{"type":"string"},"target":{"enum":["json"],"type":"string"},"value":{"type":"string"}},"required":["path","op","target"],"type":"object"}]},"AuditActor":{"properties":{"name":{"description":"The user's current display name: a deleted account keeps it for 30 days, then it is `Deleted user`\n(`names` says `deleted`); null only for an account removed before 2026-11-16.","type":["string","null"]},"tokenId":{"description":"The API token the change was made with.","format":"uuid","type":["string","null"]},"tokenName":{"type":["string","null"]},"userId":{"format":"uuid","type":"string"}},"required":["userId"],"type":"object"},"AuditEventView":{"properties":{"action":{"description":"`<resource>.<verb>`, for example `check.create`, `status_page.delete`, `config.apply`.","type":"string"},"actor":{"$ref":"#/components/schemas/AuditActor"},"after":{"description":"The resource after the change; null for deletions."},"at":{"type":"string"},"before":{"description":"The resource before the change (the api's view, without secrets); null for creations."},"id":{"format":"uuid","type":"string"},"names":{"additionalProperties":{"$ref":"#/components/schemas/AuditRef"},"description":"What the ids in this event stand for (`resourceId`, `projectId`, `actor.userId` and every id inside\n`before` and `after`), keyed by id: only the ones the api can name for the reader. Ids missing here are\nunknown, or in a project a project admin does not see.","propertyNames":{"type":"string"},"type":"object"},"projectId":{"format":"uuid","type":["string","null"]},"resourceId":{"format":"uuid","type":["string","null"]},"resourceType":{"type":"string"},"targetName":{"description":"The display name of the resource (`resourceId`), as `names` has it; null when unknown.","type":["string","null"]},"via":{"$ref":"#/components/schemas/Via"},"workspaceId":{"format":"uuid","type":"string"}},"required":["id","workspaceId","actor","via","action","resourceType","at","names"],"type":"object"},"AuditPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AuditEventView"},"type":"array"},"nextCursor":{"type":["string","null"]}},"required":["items"],"type":"object"},"AuditRef":{"description":"An id in the log by name.","properties":{"name":{"description":"Null when the log never had its name (a resource deleted without one in its snapshots).","type":["string","null"]},"state":{"$ref":"#/components/schemas/AuditRefState"},"type":{"description":"`workspace`, `project`, `check`, `status_page`, `maintenance_window`, `page_incident`, `alert_channel`,\n`node`, `api_token` or `user`.","type":"string"}},"required":["type","state"],"type":"object"},"AuditRefState":{"description":"Whether what an id in the log stands for still exists.","enum":["active","deleted","revoked"],"type":"string"},"BillingPeriod":{"description":"Billing period of a subscription.","enum":["month","year"],"type":"string"},"BillingView":{"description":"The workspace's plan and billing state.","properties":{"available":{"description":"The installation takes payments (a payment provider is set up).","type":"boolean"},"canManage":{"description":"The signed-in person may pay, change and cancel (the workspace's owner, in a session).","type":"boolean"},"clientToken":{"description":"Paddle's client-side token for Paddle.js (meant for browsers); null when billing is off.","type":["string","null"]},"environment":{"description":"`sandbox` or `live`: which provider system checkouts go to; null when billing is off.","type":["string","null"]},"grace":{"oneOf":[{"$ref":"#/components/schemas/GraceView"},{"type":"null"}]},"plan":{"$ref":"#/components/schemas/PlanRef"},"planPausedChecks":{"description":"Checks paused because the workspace stayed over its plan's limit.","format":"int64","type":"integer"},"source":{"$ref":"#/components/schemas/PlanSource"},"subscription":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionView"},{"type":"null"}]}},"required":["available","plan","source","planPausedChecks","canManage"],"type":"object"},"ChangeAction":{"enum":["create","update","delete","unchanged"],"type":"string"},"ChannelConfirmation":{"description":"What a confirmation link confirms.","properties":{"confirmed":{"description":"True once confirmed (the answer of the POST, or a GET after it).","type":"boolean"},"email":{"type":"string"},"expiresAt":{"type":["string","null"]},"projectName":{"description":"Null for a workspace channel.","type":["string","null"]},"workspaceName":{"type":"string"}},"required":["email","workspaceName","confirmed"],"type":"object"},"ChannelKind":{"enum":["email","slack","webhook","telegram","discord","teams","google_chat","mattermost","pagerduty","ntfy","pushover"],"type":"string"},"ChannelRequestAccepted":{"properties":{"pending":{"description":"The request is queued; nothing has been sent yet.","type":"boolean"}},"required":["pending"],"type":"object"},"ChannelStatus":{"enum":["unverified","active","broken"],"type":"string"},"ChatRequestAccepted":{"properties":{"pending":{"description":"The request is queued; nothing has been sent or changed yet.","type":"boolean"}},"required":["pending"],"type":"object"},"ChatView":{"properties":{"brokenAt":{"type":["string","null"]},"brokenReason":{"description":"Telegram's error when broken.","type":["string","null"]},"id":{"format":"uuid","type":"string"},"linkedAt":{"type":"string"},"status":{"description":"`active` or `broken`.","type":"string"},"title":{"type":"string"}},"required":["id","title","status","linkedAt"],"type":"object"},"CheckInput":{"additionalProperties":false,"description":"A check as created or replaced. Defaults: timeout 10 s, quorum of half, 2 rounds to DOWN and 2 to recover,\nalerts by the project's escalation policy.","properties":{"downAfter":{"format":"int32","minimum":0,"type":"integer"},"escalationPolicyId":{"description":"The escalation policy of the check's incidents instead of the project's; absent or null: the project's.","format":"uuid","type":["string","null"]},"intervalSecs":{"description":"Required except for heartbeat checks, whose schedule is `kind.periodSecs`.","format":"int32","minimum":0,"type":["integer","null"]},"kind":{"$ref":"#/components/schemas/KindDto"},"muted":{"type":"boolean"},"name":{"type":"string"},"nodes":{"description":"Nodes that run the check; none for heartbeat checks.","items":{"format":"uuid","type":"string"},"type":"array"},"quorum":{"$ref":"#/components/schemas/QuorumDto"},"timeoutMs":{"format":"int32","minimum":0,"type":"integer"},"upAfter":{"format":"int32","minimum":0,"type":"integer"}},"required":["name","kind"],"type":"object"},"CheckPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CheckWithState"},"type":"array"},"nextCursor":{"type":["string","null"]}},"required":["items"],"type":"object"},"CheckPatch":{"additionalProperties":false,"description":"`PATCH /checks/{checkId}`: which escalation policy the check follows.","properties":{"escalationPolicyId":{"description":"A policy of the workspace, or null for the project's.","format":"uuid","type":["string","null"]}},"required":["escalationPolicyId"],"type":"object"},"CheckSaved":{"description":"Answer of create, replace and token rotation. `pingUrl` appears only when a heartbeat token was just\nmade: it is shown once.","properties":{"check":{"$ref":"#/components/schemas/CheckView"},"pingUrl":{"type":["string","null"]}},"required":["check"],"type":"object"},"CheckSla":{"allOf":[{"$ref":"#/components/schemas/SlaTotals"},{"properties":{"checkId":{"format":"uuid","type":"string"},"checkName":{"type":"string"}},"required":["checkId","checkName"],"type":"object"}]},"CheckTestInput":{"additionalProperties":false,"properties":{"check":{"$ref":"#/components/schemas/CheckInput","description":"The check as the editor shows it, validated like a create; `nodes` are the nodes to run it on."},"checkId":{"description":"The saved check being edited, whose stored secrets `{\"kind\": \"secret\", \"secretId\": …}` may use.","format":"uuid","type":["string","null"]}},"required":["check"],"type":"object"},"CheckTestView":{"properties":{"deadline":{"description":"The check's timeout + 5 s after the start.","type":"string"},"done":{"description":"`running` until every node answered or the deadline passed.","type":"boolean"},"id":{"format":"uuid","type":"string"},"projectId":{"format":"uuid","type":"string"},"results":{"description":"In the order of `check.nodes`.","items":{"$ref":"#/components/schemas/NodeTestResult"},"type":"array"},"startedAt":{"type":"string"}},"required":["id","projectId","done","startedAt","deadline","results"],"type":"object"},"CheckView":{"description":"A stored check as answered by the API.","properties":{"createdAt":{"type":"string"},"downAfter":{"format":"int32","minimum":0,"type":"integer"},"epoch":{"description":"Bumped whenever a change alters the check's meaning; results of other epochs never vote.","format":"int64","minimum":0,"type":"integer"},"escalationPolicyId":{"description":"The check's own escalation policy; null: the project's (`ProjectView.escalationPolicyId`).","format":"uuid","type":["string","null"]},"id":{"format":"uuid","type":"string"},"intervalSecs":{"format":"int32","minimum":0,"type":"integer"},"kind":{"$ref":"#/components/schemas/KindDto"},"managedBy":{"$ref":"#/components/schemas/ManagedBy","description":"`config` when a config apply manages the check (only those are pruned), `ui` otherwise. Always sent;\noptional in the schema because it was added after the first clients."},"muted":{"type":"boolean"},"name":{"type":"string"},"nodes":{"items":{"format":"uuid","type":"string"},"type":"array"},"paused":{"type":"boolean"},"projectId":{"format":"uuid","type":"string"},"quorum":{"$ref":"#/components/schemas/QuorumDto"},"ref":{"description":"The check's key in a config file (`monitorly.yaml`); null until a config apply creates or adopts it.\nAlways sent; optional in the schema because it was added after the first clients.","type":["string","null"]},"timeoutMs":{"format":"int32","minimum":0,"type":"integer"},"upAfter":{"format":"int32","minimum":0,"type":"integer"},"updatedAt":{"type":"string"}},"required":["id","projectId","name","epoch","intervalSecs","timeoutMs","kind","nodes","quorum","downAfter","upAfter","paused","muted","createdAt","updatedAt"],"type":"object"},"CheckWithState":{"allOf":[{"$ref":"#/components/schemas/CheckView"},{"properties":{"last24h":{"description":"24 clock hours of the workspace time zone, oldest first; the last one is the current hour up to now.\nFrom the check's decided status intervals (the same record uptime is computed from); time outside\nany interval, and `PENDING`, count as no data. Node \"no data\" gaps are not applied here, unlike in\ndaily uptime. Always sent; optional in the schema because it was added after the first clients.","items":{"$ref":"#/components/schemas/HourView"},"type":"array"},"latencyP50Ms24h":{"description":"Median response time in ms over the last 24 complete UTC hours: the median of the hourly medians of\nthe check, weighted by their measured runs (an estimate, not the exact median of all runs). `null`\nwithout measured runs; the newest hour appears a few minutes after it ends.","format":"int32","type":["integer","null"]},"stations":{"items":{"$ref":"#/components/schemas/StationView"},"type":"array"},"status":{"description":"`PENDING`, `UP`, `DEGRADED`, `DOWN`, `UNKNOWN`, `MAINTENANCE` or `PAUSED`; absent until the check\nis first evaluated.","type":["string","null"]},"statusSince":{"type":["string","null"]},"uptime30dPercent":{"description":"(UP + DEGRADED) / (UP + DEGRADED + DOWN) over the last 30 days of the workspace calendar, today\nincluded, in percent (rules, \"Uptime\"); `null` when none of that time was decided.","format":"double","type":["number","null"]}},"required":["stations"],"type":"object"}]},"CheckoutView":{"description":"What the browser opens Paddle.js with.","properties":{"clientToken":{"description":"The client-side token for `Paddle.Initialize`.","type":"string"},"environment":{"description":"`sandbox` or `live` (`Paddle.Environment.set(\"sandbox\")` for the sandbox).","type":"string"},"transactionId":{"description":"Paddle's transaction: `Paddle.Checkout.open({transactionId})`.","type":"string"}},"required":["transactionId","clientToken","environment"],"type":"object"},"ClockRuleDto":{"additionalProperties":false,"properties":{"aboveSecs":{"description":"5–3600.","format":"int32","minimum":0,"type":"integer"},"forSecs":{"format":"int32","minimum":0,"type":"integer"}},"required":["aboveSecs"],"type":"object"},"CodeInput":{"additionalProperties":false,"properties":{"code":{"description":"Six digits from the authenticator.","type":"string"}},"required":["code"],"type":"object"},"ComponentInput":{"additionalProperties":false,"properties":{"checkId":{"format":"uuid","type":"string"},"group":{"description":"Group heading, 1–100 characters; missing or blank: ungrouped.","type":["string","null"]},"name":{"description":"1–200 characters. Absent, `null` or the check's own name: the component follows the check's name.","type":["string","null"]}},"required":["checkId"],"type":"object"},"ComponentView":{"properties":{"checkId":{"format":"uuid","type":"string"},"followsCheck":{"description":"The name is the check's and changes when the check is renamed; false once another name was written.\nAlways sent; optional in the schema because it was added after the first clients.","type":"boolean"},"group":{"description":"Heading the component is listed under on the page; null for the ungrouped list.","type":["string","null"]},"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"position":{"format":"int32","type":"integer"},"ref":{"description":"The component's key in a config file, unique on the page; null for components made in the dashboard.\nAlways sent; optional in the schema because it was added after the first clients.","type":["string","null"]}},"required":["id","checkId","name","position"],"type":"object"},"ComponentsInput":{"additionalProperties":false,"properties":{"components":{"description":"In display order. A component keeps its id (and the incidents that affect it) while its check stays\non the page.","items":{"$ref":"#/components/schemas/ComponentInput"},"type":"array"}},"required":["components"],"type":"object"},"ConfigApplyInput":{"additionalProperties":false,"properties":{"planId":{"format":"uuid","type":"string"}},"required":["planId"],"type":"object"},"ConfigApplyView":{"properties":{"appliedAt":{"type":"string"},"changes":{"items":{"$ref":"#/components/schemas/ConfigChange"},"type":"array"},"created":{"items":{"$ref":"#/components/schemas/CreatedResource"},"type":"array"},"planId":{"format":"uuid","type":"string"},"summary":{"$ref":"#/components/schemas/PlanSummary"}},"required":["planId","appliedAt","summary","changes","created"],"type":"object"},"ConfigBody":{"additionalProperties":false,"description":"The desired state of one project: `monitorly.yaml`. Every section is optional; an absent section is left\nas it is.","properties":{"$schema":{"description":"The JSON Schema of this document, for editors; ignored.","type":["string","null"]},"checks":{"items":{"$ref":"#/components/schemas/ConfigCheck"},"type":["array","null"]},"maintenance":{"items":{"$ref":"#/components/schemas/ConfigMaintenance"},"type":["array","null"]},"prune":{"description":"Delete, in the present sections, resources managed by config that the body no longer lists.","type":"boolean"},"statusPages":{"items":{"$ref":"#/components/schemas/ConfigPage"},"type":["array","null"]}},"type":"object"},"ConfigChange":{"properties":{"action":{"$ref":"#/components/schemas/ChangeAction"},"diff":{"items":{"$ref":"#/components/schemas/FieldDiff"},"type":"array"},"id":{"description":"The stored resource; null for creations.","format":"uuid","type":["string","null"]},"ref":{"type":"string"},"resourceType":{"$ref":"#/components/schemas/ConfigResource"},"warnings":{"items":{"$ref":"#/components/schemas/ConfigWarning"},"type":"array"}},"required":["resourceType","ref","action","diff","warnings"],"type":"object"},"ConfigCheck":{"additionalProperties":false,"description":"A check as `CheckInput` (same fields, defaults and rules), keyed by `ref`; secret headers by name.","properties":{"downAfter":{"format":"int32","minimum":0,"type":"integer"},"escalationPolicyId":{"description":"The check's own escalation policy (`GET /workspaces/{id}/escalation-policies`); absent: the project's.","format":"uuid","type":["string","null"]},"intervalSecs":{"description":"Required except for heartbeat checks, whose schedule is `kind.periodSecs`.","format":"int32","minimum":0,"type":["integer","null"]},"kind":{"$ref":"#/components/schemas/ConfigKind"},"muted":{"type":"boolean"},"name":{"type":"string"},"nodes":{"description":"Node ids (`GET /workspaces/{id}/nodes`); none for heartbeat checks. `null` is read as absent.","items":{"format":"uuid","type":"string"},"type":["array","null"]},"quorum":{"$ref":"#/components/schemas/QuorumDto"},"ref":{"description":"`^[a-z0-9][a-z0-9-]{0,62}$`, unique among the project's checks.","type":"string"},"timeoutMs":{"format":"int32","minimum":0,"type":"integer"},"upAfter":{"format":"int32","minimum":0,"type":"integer"}},"required":["ref","name","kind"],"type":"object"},"ConfigComponent":{"additionalProperties":false,"properties":{"check":{"description":"The `ref` of a check of the project (in this body or stored).","type":"string"},"group":{"type":["string","null"]},"name":{"description":"1–200 characters. Absent or the check's own name: the component follows the check's name.","type":["string","null"]},"ref":{"description":"Unique on the page.","type":"string"}},"required":["ref","check"],"type":"object"},"ConfigHeader":{"additionalProperties":false,"description":"A request header: exactly one of `value` (plain) and `secret`.","properties":{"name":{"type":"string"},"secret":{"oneOf":[{"$ref":"#/components/schemas/ConfigSecret"},{"type":"null"}]},"value":{"type":["string","null"]}},"required":["name"],"type":"object"},"ConfigHttp":{"additionalProperties":false,"description":"`HttpDto` with headers that name their secrets instead of referencing stored ones.","properties":{"assertions":{"description":"`null` is read as absent (only the implicit 2xx/3xx rule).","items":{"$ref":"#/components/schemas/AssertionDto"},"type":["array","null"]},"body":{"type":["string","null"]},"degradedAfterMs":{"format":"int32","minimum":0,"type":["integer","null"]},"headers":{"description":"`null` is read as absent (no headers).","items":{"$ref":"#/components/schemas/ConfigHeader"},"type":["array","null"]},"maxRedirects":{"format":"int32","minimum":0,"type":"integer"},"method":{"$ref":"#/components/schemas/HttpMethodDto"},"url":{"type":"string"}},"required":["url","method","maxRedirects"],"type":"object"},"ConfigKind":{"oneOf":[{"allOf":[{"$ref":"#/components/schemas/ConfigHttp"},{"properties":{"type":{"enum":["http"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/TcpDto"},{"properties":{"type":{"enum":["tcp"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/IcmpDto"},{"properties":{"type":{"enum":["icmp"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/DnsDto"},{"properties":{"type":{"enum":["dns"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/SslDto"},{"properties":{"type":{"enum":["ssl"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/DomainDto"},{"properties":{"type":{"enum":["domain"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/HeartbeatDto"},{"properties":{"type":{"enum":["heartbeat"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/ServerDto"},{"properties":{"type":{"enum":["server"],"type":"string"}},"required":["type"],"type":"object"}]}]},"ConfigMaintenance":{"additionalProperties":false,"description":"A maintenance window keyed by `ref`, over checks named by `ref`.","properties":{"checks":{"description":"`ref`s of checks of the project.","items":{"type":"string"},"type":"array"},"ref":{"type":"string"},"schedule":{"$ref":"#/components/schemas/ScheduleDto"},"timezone":{"description":"IANA zone; the workspace's when absent.","type":["string","null"]},"title":{"type":"string"}},"required":["ref","title","schedule","checks"],"type":"object"},"ConfigPage":{"additionalProperties":false,"description":"A status page keyed by `ref`. The website link, accent and logos stay with the project admin in the dashboard\nand are not part of the config; the theme is (contract of 2026-11-29), and changing it needs a project admin.","properties":{"components":{"description":"In display order; replaces the page's components. `null` is read as absent.","items":{"$ref":"#/components/schemas/ConfigComponent"},"type":["array","null"]},"published":{"type":"boolean"},"ref":{"type":"string"},"slug":{"description":"`^[a-z0-9][a-z0-9-]{1,62}$`, unique in the installation.","type":"string"},"theme":{"oneOf":[{"$ref":"#/components/schemas/PageTheme","description":"The hosted page's theme, as in `PATCH /status-pages/{pageId}`: absent keeps the stored one, `null` is the\nproduct's own look. Changing it needs a project admin (403 otherwise). Exports name it only when set."},{"type":"null"}]},"title":{"type":"string"}},"required":["ref","slug","title"],"type":"object"},"ConfigPlanView":{"properties":{"appliedAt":{"description":"When the plan was applied; null until then. Always sent; optional in the schema because it was added\nafter the first clients.","type":["string","null"]},"changes":{"items":{"$ref":"#/components/schemas/ConfigChange"},"type":"array"},"expiresAt":{"description":"Apply before this instant.","type":"string"},"planId":{"format":"uuid","type":"string"},"projectId":{"format":"uuid","type":"string"},"prune":{"type":"boolean"},"summary":{"$ref":"#/components/schemas/PlanSummary"}},"required":["planId","projectId","expiresAt","prune","summary","changes"],"type":"object"},"ConfigResource":{"enum":["check","status_page","maintenance"],"type":"string"},"ConfigSecret":{"description":"`\"keep\"`: the stored secret of this header stays; `{\"set\": \"…\"}`: this value as a new secret (always an update;\nit is never compared with the stored one). Exports always say `\"keep\"`.","oneOf":[{"enum":["keep"],"type":"string"},{"properties":{"set":{"type":"string"}},"required":["set"],"type":"object"}]},"ConfigWarning":{"description":"Something to look at before applying. `code`: `config.drift` (changed outside the config since the last\napply; apply overwrites it), `config.adopts_unmanaged` (a resource made in the dashboard becomes managed by\nconfig), `config.unmanaged_same_name` (a new resource has the name of one made in the dashboard).","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"ContainerPoint":{"properties":{"at":{"description":"The start of the step.","type":"string"},"cpuAvg":{"description":"Share of one core times the cores used, as `docker stats` shows it.","format":"double","type":["number","null"]},"cpuMax":{"format":"float","type":["number","null"]},"memoryAvg":{"format":"double","type":["number","null"]},"memoryLimit":{"description":"The container's memory limit in the step; 0 without a limit.","format":"int64","type":["integer","null"]},"memoryMax":{"format":"int64","type":["integer","null"]}},"required":["at"],"type":"object"},"ContainerSeries":{"properties":{"name":{"type":"string"},"points":{"description":"Oldest first; a step in which the container was not running (or not reported) has no point.","items":{"$ref":"#/components/schemas/ContainerPoint"},"type":"array"},"range":{"type":"string"},"stepSecs":{"format":"int32","minimum":0,"type":"integer"}},"required":["name","range","stepSecs","points"],"type":"object"},"CopyRulesInput":{"additionalProperties":false,"properties":{"targets":{"description":"Server checks to take the rules, 1–100, each once and not the source.","items":{"format":"uuid","type":"string"},"type":"array"}},"required":["targets"],"type":"object"},"CopyRulesResult":{"properties":{"checks":{"description":"The targets as stored now.","items":{"$ref":"#/components/schemas/CheckView"},"type":"array"}},"required":["checks"],"type":"object"},"CreatedAlertChannel":{"properties":{"channel":{"$ref":"#/components/schemas/AlertChannelView"},"signingSecret":{"description":"Webhooks only, answered only here: the key of the `Monitorly-Signature` HMAC (see the webhooks documentation).","type":["string","null"]}},"required":["channel"],"type":"object"},"CreatedResource":{"properties":{"id":{"format":"uuid","type":"string"},"pingUrl":{"description":"Heartbeat checks: the ping URL, shown here only (and in a repeated apply of the same plan).","type":["string","null"]},"ref":{"type":"string"},"resourceType":{"$ref":"#/components/schemas/ConfigResource"}},"required":["resourceType","ref","id"],"type":"object"},"DevicePoint":{"description":"One step of one device; only the fields of its kind are set.","properties":{"at":{"type":"string"},"awaitAvg":{"format":"double","type":["number","null"]},"busyAvg":{"format":"double","type":["number","null"]},"busyMax":{"format":"double","type":["number","null"]},"celsiusAvg":{"description":"Sensors: °C.","format":"double","type":["number","null"]},"celsiusMax":{"format":"double","type":["number","null"]},"droppedAvg":{"format":"double","type":["number","null"]},"errorsAvg":{"format":"double","type":["number","null"]},"inodesMax":{"format":"double","type":["number","null"]},"packetsAvg":{"format":"double","type":["number","null"]},"queueAvg":{"format":"double","type":["number","null"]},"readAvg":{"description":"Disks: bytes and operations per second, the share of the time busy and the requests in flight.","format":"double","type":["number","null"]},"readOpsAvg":{"format":"double","type":["number","null"]},"rxAvg":{"description":"Network cards: bytes, errors, drops and packets per second.","format":"double","type":["number","null"]},"txAvg":{"format":"double","type":["number","null"]},"usedMax":{"description":"Filesystems: df's Use% and the share of inodes in use (none where the filesystem counts none).","format":"double","type":["number","null"]},"writeAvg":{"format":"double","type":["number","null"]},"writeOpsAvg":{"format":"double","type":["number","null"]}},"required":["at"],"type":"object"},"DeviceSeries":{"properties":{"kind":{"type":"string"},"range":{"type":"string"},"series":{"description":"By name: the kernel's disk name, the card's name, `<chip>/<label>` of a sensor, a mount path.","items":{"$ref":"#/components/schemas/DeviceSeriesLine"},"type":"array"},"stepSecs":{"format":"int32","minimum":0,"type":"integer"}},"required":["kind","range","stepSecs","series"],"type":"object"},"DeviceSeriesLine":{"properties":{"name":{"type":"string"},"points":{"description":"Oldest first; a step without a report of the device has no point.","items":{"$ref":"#/components/schemas/DevicePoint"},"type":"array"}},"required":["name","points"],"type":"object"},"DiskBusyRuleDto":{"additionalProperties":false,"properties":{"busyPercent":{"description":"1–100.","format":"int32","minimum":0,"type":"integer"},"forSecs":{"format":"int32","minimum":0,"type":"integer"},"queue":{"description":"1–1000 requests in flight on average.","format":"int32","minimum":0,"type":"integer"}},"required":["busyPercent","queue"],"type":"object"},"DnsDto":{"additionalProperties":false,"properties":{"expect":{"description":"Every listed value must be in the answer; empty means any answer passes.","items":{"type":"string"},"type":["array","null"]},"name":{"type":"string"},"record":{"$ref":"#/components/schemas/DnsRecordDto"},"resolver":{"description":"Resolver address; absent uses the node's system resolver.","type":["string","null"]}},"required":["name","record"],"type":"object"},"DnsRecordDto":{"enum":["A","AAAA","CNAME","MX","TXT","NS"],"type":"string"},"DomainDto":{"additionalProperties":false,"properties":{"domain":{"type":"string"},"warnDays":{"description":"Days before expiry with a warning; default 30 and 7.","items":{"format":"int32","minimum":0,"type":"integer"},"type":["array","null"]}},"required":["domain"],"type":"object"},"DomainInput":{"additionalProperties":false,"properties":{"domain":{"description":"`status.example.com`; an IDN may be given in Unicode.","type":"string"}},"required":["domain"],"type":"object"},"DomainState":{"enum":["pending","verified","failed"],"type":"string"},"DomainView":{"description":"A page's custom domain and what the owner has to put into DNS.","properties":{"checkedAt":{"type":["string","null"]},"cnameTarget":{"description":"The CNAME record: `domain` → this host.","type":["string","null"]},"detail":{"description":"The resolver's message for `dns_error`.","type":["string","null"]},"domain":{"description":"Lower case, IDN in its ASCII form (`xn--…`).","type":"string"},"nextCheckAt":{"type":"string"},"reason":{"description":"Why the last check did not verify: `txt_missing`, `txt_mismatch` or `dns_error`; null after a verification.","type":["string","null"]},"state":{"$ref":"#/components/schemas/DomainState"},"txtName":{"description":"The TXT record's name: `_monitorly.<domain>`.","type":"string"},"txtValue":{"description":"The TXT record's value: `monitorly-verification=<token>`.","type":"string"},"url":{"description":"`https://<domain>`: the page's address once the domain is verified.","type":"string"},"verifiedAt":{"type":["string","null"]}},"required":["domain","state","nextCheckAt","txtName","txtValue","url"],"type":"object"},"EmailChangeConfirmInput":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"required":["token"],"type":"object"},"EmailChangeInfo":{"properties":{"expiresAt":{"type":"string"},"newEmail":{"description":"The address the account moves to.","type":"string"}},"required":["newEmail","expiresAt"],"type":"object"},"EmailChangeInput":{"additionalProperties":false,"properties":{"code":{"description":"Six digits from the authenticator, when two-factor sign-in is on.","type":["string","null"]},"newEmail":{"description":"The address to move the account to.","type":"string"},"password":{"description":"The current password; may be left out after a provider re-authentication within the last 5 minutes.","type":["string","null"]}},"required":["newEmail"],"type":"object"},"EmailChanged":{"properties":{"email":{"description":"The account's address now; sign in with it.","type":"string"}},"required":["email"],"type":"object"},"EmailSubscriberPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/EmailSubscriberView"},"type":"array"},"nextCursor":{"type":["string","null"]}},"required":["items"],"type":"object"},"EmailSubscriberView":{"properties":{"confirmed":{"description":"The person confirmed the address with the link in the email; until then the subscriber gets no updates.","type":"boolean"},"confirmedAt":{"type":["string","null"]},"createdAt":{"type":"string"},"email":{"type":"string"},"id":{"format":"uuid","type":"string"}},"required":["id","email","confirmed","createdAt"],"type":"object"},"EnrollInput":{"additionalProperties":false,"properties":{"agentVersion":{"type":"string"},"sealPublicKey":{"description":"X25519 public key for sealed secrets, 64 lowercase hex characters.","type":"string"},"signPublicKey":{"description":"Ed25519 verifying key, 64 lowercase hex characters.","type":"string"},"token":{"type":"string"}},"required":["token","signPublicKey","sealPublicKey","agentVersion"],"type":"object"},"Enrolled":{"properties":{"gatewayUrl":{"type":"string"},"nodeId":{"format":"uuid","type":"string"},"scope":{"$ref":"#/components/schemas/NodeScope"}},"required":["nodeId","gatewayUrl","scope"],"type":"object"},"EscalationPolicyInput":{"additionalProperties":false,"description":"A policy as created or replaced.","properties":{"levels":{"description":"1–10 levels in order.","items":{"$ref":"#/components/schemas/LevelInput"},"type":"array"},"name":{"description":"1–100 characters; names need not be unique.","type":"string"},"repeatAfterMins":{"description":"Minutes from the last level to the repeat, 1–10080.","format":"int32","minimum":0,"type":"integer"},"repeatCount":{"description":"How many times the whole policy runs again after its last level, 0–9.","format":"int32","minimum":0,"type":"integer"}},"required":["name","levels"],"type":"object"},"EscalationPolicyView":{"properties":{"checkCount":{"description":"Checks that use it instead of their project's policy.","format":"int64","type":"integer"},"createdAt":{"type":"string"},"id":{"format":"uuid","type":"string"},"levels":{"items":{"$ref":"#/components/schemas/LevelView"},"type":"array"},"name":{"type":"string"},"projects":{"description":"Projects that use the policy by default (those the caller sees).","items":{"$ref":"#/components/schemas/PolicyProject"},"type":"array"},"repeatAfterMins":{"format":"int32","minimum":0,"type":"integer"},"repeatCount":{"format":"int32","minimum":0,"type":"integer"},"updatedAt":{"type":"string"},"workspaceId":{"format":"uuid","type":"string"}},"required":["id","workspaceId","name","repeatCount","repeatAfterMins","levels","projects","checkCount","createdAt","updatedAt"],"type":"object"},"ExportView":{"properties":{"createdAt":{"type":"string"},"expiresAt":{"description":"When the file is deleted.","type":"string"},"finishedAt":{"type":["string","null"]},"id":{"format":"uuid","type":"string"},"sizeBytes":{"format":"int64","type":["integer","null"]},"state":{"description":"`pending` (being built), `ready` (download it) or `failed` (ask again).","type":"string"},"workspaceId":{"description":"The workspace of a workspace export; `null` for the account's own.","format":"uuid","type":["string","null"]},"workspaceName":{"type":["string","null"]}},"required":["id","state","createdAt","expiresAt"],"type":"object"},"FieldDiff":{"description":"One field that differs, by JSON pointer into the resource's config form; `null` for an absent side.","properties":{"after":{"description":"Any JSON value."},"before":{"description":"Any JSON value."},"path":{"type":"string"}},"required":["path","before","after"],"type":"object"},"ForecastRuleDto":{"additionalProperties":false,"properties":{"forSecs":{"format":"int32","minimum":0,"type":"integer"},"hours":{"description":"1–720.","format":"int32","minimum":0,"type":"integer"},"minUsedPercent":{"description":"1–99: fuller filesystems only.","format":"int32","minimum":0,"type":"integer"}},"required":["hours","minUsedPercent"],"type":"object"},"GraceView":{"description":"Over the plan's limits after they went down.","properties":{"enforceAt":{"description":"When the active checks over the limit get paused.","type":"string"},"enforcedAt":{"description":"When they were paused; null while the grace period runs.","type":["string","null"]},"since":{"type":"string"}},"required":["since","enforceAt"],"type":"object"},"HeaderDto":{"additionalProperties":false,"properties":{"name":{"type":"string"},"value":{"$ref":"#/components/schemas/HeaderValueDto"}},"required":["name","value"],"type":"object"},"HeaderValueDto":{"oneOf":[{"properties":{"kind":{"enum":["plain"],"type":"string"},"value":{"type":"string"}},"required":["value","kind"],"type":"object"},{"description":"Write `value` to set a new secret or `secretId` to keep the stored one; answers carry only\n`secretId`.","properties":{"kind":{"enum":["secret"],"type":"string"},"secretId":{"format":"uuid","type":["string","null"]},"value":{"type":["string","null"]}},"required":["kind"],"type":"object"}]},"Health":{"properties":{"status":{"type":"string"}},"required":["status"],"type":"object"},"HeartbeatDto":{"additionalProperties":false,"properties":{"graceSecs":{"format":"int32","minimum":0,"type":"integer"},"periodSecs":{"description":"A ping is due every period. With `schedule` it is not read and may be left out; answers always give\nit, as the shortest gap between the schedule's next occurrences.","format":"int32","minimum":0,"type":"integer"},"schedule":{"oneOf":[{"$ref":"#/components/schemas/HeartbeatScheduleDto","description":"Pings due after each occurrence of a calendar schedule instead of every period (added 2026-11-12)."},{"type":"null"}]}},"required":["periodSecs","graceSecs"],"type":"object"},"HeartbeatScheduleDto":{"additionalProperties":false,"description":"A cron (5 fields) or systemd `OnCalendar` expression read in an IANA time zone; the deadline after a ping\nis the next occurrence plus `graceSecs`.","properties":{"expression":{"type":"string"},"syntax":{"$ref":"#/components/schemas/ScheduleSyntaxDto"},"timezone":{"description":"IANA name such as `Europe/Berlin`; absent: the workspace's time zone.","type":["string","null"]}},"required":["syntax","expression"],"type":"object"},"HistoryQuota":{"properties":{"days":{"description":"How far back reads of results, SLA reports and server series reach, in days.","format":"int32","minimum":0,"type":"integer"},"overridden":{"type":"boolean"}},"required":["days","overridden"],"type":"object"},"HoldRuleDto":{"additionalProperties":false,"properties":{"forSecs":{"description":"0–86400.","format":"int32","minimum":0,"type":"integer"}},"type":"object"},"HourView":{"description":"One hour of the check's status strip. Milliseconds per status add up to the hour's length.","properties":{"degradedMs":{"format":"int64","type":"integer"},"downMs":{"format":"int64","type":"integer"},"from":{"type":"string"},"maintenanceMs":{"format":"int64","type":"integer"},"noDataMs":{"format":"int64","type":"integer"},"pausedMs":{"format":"int64","type":"integer"},"to":{"type":"string"},"unknownMs":{"description":"Too few nodes to decide (`UNKNOWN`).","format":"int64","type":"integer"},"upMs":{"format":"int64","type":"integer"},"worst":{"description":"The worst status the hour saw: `DOWN`, `DEGRADED`, `UNKNOWN`, `MAINTENANCE`, `UP`, `PAUSED`, or\n`NO_DATA` when nothing was decided.","type":"string"}},"required":["from","to","worst","upMs","degradedMs","downMs","maintenanceMs","unknownMs","pausedMs","noDataMs"],"type":"object"},"HttpDto":{"additionalProperties":false,"properties":{"assertions":{"items":{"$ref":"#/components/schemas/AssertionDto"},"type":"array"},"body":{"type":["string","null"]},"degradedAfterMs":{"description":"Response time above this marks the run DEGRADED.","format":"int32","minimum":0,"type":["integer","null"]},"headers":{"items":{"$ref":"#/components/schemas/HeaderDto"},"type":"array"},"maxRedirects":{"format":"int32","minimum":0,"type":"integer"},"method":{"$ref":"#/components/schemas/HttpMethodDto"},"url":{"type":"string"}},"required":["url","method","maxRedirects"],"type":"object"},"HttpMethodDto":{"enum":["GET","HEAD","POST","PUT","PATCH","DELETE","OPTIONS"],"type":"string"},"IcmpDto":{"additionalProperties":false,"properties":{"host":{"type":"string"}},"required":["host"],"type":"object"},"IdentityView":{"properties":{"createdAt":{"type":"string"},"email":{"description":"The provider's confirmed address at the last sign-in.","type":["string","null"]},"provider":{"description":"`google` or `github`.","type":"string"}},"required":["provider","createdAt"],"type":"object"},"IgnoreDto":{"additionalProperties":false,"description":"Names the rules leave alone, at most 50 per list; `*` stands for any run of characters (`build-*`). Sensors\nare named `<chip>/<label>` (`coretemp/Core 0`) or by their chip alone.","properties":{"containers":{"items":{"type":"string"},"type":"array"},"interfaces":{"items":{"type":"string"},"type":"array"},"sensors":{"items":{"type":"string"},"type":"array"},"units":{"items":{"type":"string"},"type":"array"}},"type":"object"},"Impact":{"description":"How badly a manual incident affects a component. While the incident is not resolved, the page shows the\ncomponent as degraded performance, partial outage or major outage, unless its check is worse.","enum":["degraded","partial","major"],"type":"string"},"IncidentDetail":{"allOf":[{"$ref":"#/components/schemas/IncidentView"},{"properties":{"events":{"items":{"$ref":"#/components/schemas/IncidentEventView"},"type":"array"}},"required":["events"],"type":"object"}]},"IncidentDownNode":{"properties":{"city":{"type":["string","null"]},"countryCode":{"description":"ISO 3166-1 alpha-2; `null` when the node had no location then.","type":["string","null"]},"errorCode":{"description":"Error code of the node's latest result when the incident opened (`http.status`, `net.timeout`, …).","type":["string","null"]},"nodeId":{"format":"uuid","type":"string"}},"required":["nodeId"],"type":"object"},"IncidentEscalation":{"description":"The incident's copy of its escalation policy and the step it reached.","properties":{"level":{"description":"The last level that went out, from 1.","format":"int32","minimum":0,"type":"integer"},"levels":{"format":"int32","minimum":0,"type":"integer"},"nextAt":{"description":"When the next level goes out; null once acknowledged, closed or every level and repeat went out.","type":["string","null"]},"policyName":{"description":"The policy's name when the incident opened.","type":"string"},"repeatCount":{"format":"int32","minimum":0,"type":"integer"},"round":{"description":"The run of the policy that level belongs to: 1, then 2 for the first repeat, and so on.","format":"int32","minimum":0,"type":"integer"}},"required":["policyName","level","round","levels","repeatCount"],"type":"object"},"IncidentEventView":{"properties":{"at":{"type":"string"},"detail":{},"kind":{"description":"What happened: opened, closed, acked, maintenance started, …","type":"string"}},"required":["kind","at","detail"],"type":"object"},"IncidentFilter":{"enum":["open","closed"],"type":"string"},"IncidentPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/IncidentView"},"type":"array"},"nextCursor":{"type":["string","null"]}},"required":["items"],"type":"object"},"IncidentView":{"properties":{"ackedAt":{"type":["string","null"]},"ackedBy":{"format":"uuid","type":["string","null"]},"ackedByName":{"description":"Display name of `ackedBy` now; `null` when nobody acknowledged or the user is gone.","type":["string","null"]},"checkId":{"format":"uuid","type":"string"},"checkName":{"type":"string"},"closedAt":{"type":["string","null"]},"downNodes":{"description":"The nodes that voted DOWN in the round that opened the incident, with their location and error code\nas recorded at that moment. Empty for heartbeat checks and for incidents opened before 2026-11-11,\nwhich have no such record. Always sent; optional in the schema because it was added after the first\nclients.","items":{"$ref":"#/components/schemas/IncidentDownNode"},"type":"array"},"escalation":{"oneOf":[{"$ref":"#/components/schemas/IncidentEscalation","description":"Where the incident's escalation policy is; null for incidents opened before policies (2026-11-16)."},{"type":"null"}]},"id":{"format":"uuid","type":"string"},"openedAt":{"type":"string"},"projectId":{"format":"uuid","type":"string"}},"required":["id","checkId","checkName","projectId","openedAt"],"type":"object"},"IntervalQuota":{"properties":{"minSecs":{"description":"The shortest check interval and heartbeat period in seconds.","format":"int32","minimum":0,"type":"integer"},"overridden":{"type":"boolean"}},"required":["minSecs","overridden"],"type":"object"},"InviteCreated":{"properties":{"invite":{"$ref":"#/components/schemas/InviteView"},"token":{"type":"string"},"url":{"type":"string"}},"required":["invite","token","url"],"type":"object"},"InviteInfo":{"properties":{"expiresAt":{"type":"string"},"role":{"$ref":"#/components/schemas/WorkspaceRole"},"workspaceName":{"type":"string"}},"required":["workspaceName","role","expiresAt"],"type":"object"},"InviteInput":{"additionalProperties":false,"properties":{"projects":{"description":"Projects a member gets; admins see every project and take none.","items":{"$ref":"#/components/schemas/ProjectGrant"},"type":"array"},"role":{"$ref":"#/components/schemas/WorkspaceRole","description":"`admin` or `member`."}},"required":["role"],"type":"object"},"InviteView":{"properties":{"createdBy":{"format":"uuid","type":["string","null"]},"expiresAt":{"type":"string"},"id":{"description":"Hex of the token's SHA-256; the token itself is shown only once, at creation.","type":"string"},"projects":{"items":{"$ref":"#/components/schemas/ProjectGrant"},"type":"array"},"role":{"$ref":"#/components/schemas/WorkspaceRole"}},"required":["id","role","projects","expiresAt"],"type":"object"},"JoinToken":{"properties":{"apiUrl":{"description":"What the runner enrolls against (`--api`).","type":"string"},"expiresAt":{"type":"string"},"gatewayBaseUrl":{"description":"The gateway's public HTTP origin; it serves the node installer at `/install.sh`.","type":"string"},"token":{"description":"Shown once; the runner sends it to `POST /api/v1/nodes/enroll`.","type":"string"}},"required":["token","apiUrl","gatewayBaseUrl","expiresAt"],"type":"object"},"JoinTokenInput":{"additionalProperties":false,"properties":{"city":{"description":"Only together with `countryCode`.","type":["string","null"]},"countryCode":{"description":"Optional: without it the node is located from its address once it connects. ISO 3166-1 alpha-2,\nupper case; given, it is the node's manual location.","type":["string","null"]},"name":{"type":"string"}},"required":["name"],"type":"object"},"JsonOpDto":{"description":"How a JSON assertion compares the value its path selects.","enum":["exists","not_exists","equals","not_equals","lt","le","gt","ge","contains","not_contains","matches","not_matches"],"type":"string"},"KindDto":{"oneOf":[{"allOf":[{"$ref":"#/components/schemas/HttpDto"},{"properties":{"type":{"enum":["http"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/TcpDto"},{"properties":{"type":{"enum":["tcp"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/IcmpDto"},{"properties":{"type":{"enum":["icmp"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/DnsDto"},{"properties":{"type":{"enum":["dns"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/SslDto"},{"properties":{"type":{"enum":["ssl"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/DomainDto"},{"properties":{"type":{"enum":["domain"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/HeartbeatDto"},{"properties":{"type":{"enum":["heartbeat"],"type":"string"}},"required":["type"],"type":"object"}]},{"allOf":[{"$ref":"#/components/schemas/ServerDto"},{"properties":{"type":{"enum":["server"],"type":"string"}},"required":["type"],"type":"object"}]}]},"Latency":{"properties":{"bucketSecs":{"format":"int64","type":"integer"},"from":{"type":"string"},"noData":{"description":"\"No data\" intervals overlapping the range, oldest first; at most 1000, the newest kept.","items":{"$ref":"#/components/schemas/NoDataSpan"},"type":"array"},"noDataTruncated":{"description":"More intervals overlap the range than `noData` carries.","type":"boolean"},"nodes":{"description":"The nodes of `series` and `noData`, revoked ones included.","items":{"$ref":"#/components/schemas/NodeRef"},"type":"array"},"resolution":{"$ref":"#/components/schemas/Resolution"},"series":{"items":{"$ref":"#/components/schemas/LatencySeries"},"type":"array"},"to":{"type":"string"}},"required":["resolution","bucketSecs","from","to","series","noData","noDataTruncated","nodes"],"type":"object"},"LatencyPoint":{"properties":{"at":{"description":"Start of the bucket.","type":"string"},"avgMs":{"format":"double","type":["number","null"]},"failed":{"format":"int64","type":"integer"},"p95Ms":{"description":"For aggregates: the highest 95th percentile of the merged source buckets.","format":"double","type":["number","null"]},"runs":{"format":"int64","type":"integer"}},"required":["at","runs","failed"],"type":"object"},"LatencySeries":{"properties":{"nodeId":{"format":"uuid","type":"string"},"points":{"items":{"$ref":"#/components/schemas/LatencyPoint"},"type":"array"}},"required":["nodeId","points"],"type":"object"},"LevelInput":{"additionalProperties":false,"properties":{"delayMins":{"description":"Minutes after the level before; 0 for level 1, 1–1440 for the others.","format":"int32","minimum":0,"type":"integer"},"targets":{"description":"At most 20, each once.","items":{"$ref":"#/components/schemas/TargetInput"},"type":"array"}},"required":["delayMins","targets"],"type":"object"},"LevelView":{"properties":{"delayMins":{"format":"int32","minimum":0,"type":"integer"},"targets":{"description":"Targets that still exist: a removed channel, an unlinked chat or a member who left drops out.","items":{"$ref":"#/components/schemas/TargetView"},"type":"array"}},"required":["delayMins","targets"],"type":"object"},"LinkCode":{"properties":{"botUsername":{"description":"The bot's username without `@` (`MONITORLY_TELEGRAM_BOT_USERNAME`); null when not configured.","type":["string","null"]},"code":{"description":"Send `/start <code>` to the bot in the chat to link. 43 characters of `A-Z a-z 0-9 _ -`, so it is\nalso a valid `start` / `startgroup` parameter of a Telegram deep link.","type":"string"},"expiresAt":{"type":"string"},"startGroupUrl":{"description":"`https://t.me/<bot>?startgroup=<code>`: Telegram asks which group to add the bot to; the group then\nsends `/start@<bot> <code>`. Null without a bot username.","type":["string","null"]},"startUrl":{"description":"`https://t.me/<bot>?start=<code>`: opens the private chat with the bot, which then receives\n`/start <code>`. Null without a bot username.","type":["string","null"]}},"required":["code","expiresAt"],"type":"object"},"LoadRuleDto":{"additionalProperties":false,"properties":{"abovePercentOfCores":{"description":"10–10000.","format":"int32","minimum":0,"type":"integer"},"forSecs":{"format":"int32","minimum":0,"type":"integer"}},"required":["abovePercentOfCores"],"type":"object"},"LocationInput":{"additionalProperties":false,"properties":{"city":{"type":["string","null"]},"countryCode":{"description":"ISO 3166-1 alpha-2, upper case.","type":"string"}},"required":["countryCode"],"type":"object"},"LocationSource":{"description":"Where a node's location came from.","enum":["auto","manual"],"type":"string"},"LoginInput":{"additionalProperties":false,"properties":{"email":{"type":"string"},"password":{"type":"string"}},"required":["email","password"],"type":"object"},"LoginResult":{"properties":{"session":{"oneOf":[{"$ref":"#/components/schemas/SessionView"},{"type":"null"}]},"totpRequired":{"description":"The password was right and the account has TOTP: send the code to `/api/v1/auth/login/totp`.","type":"boolean"}},"required":["totpRequired"],"type":"object"},"LogoVariant":{"enum":["light","dark"],"type":"string"},"LogoView":{"properties":{"contentType":{"description":"`image/png`, `image/webp` or `image/svg+xml`.","type":"string"},"etag":{"description":"The `ETag` the public page serves the file with (first 16 bytes of its SHA-256, hex).","type":"string"},"sizeBytes":{"format":"int32","type":"integer"},"updatedAt":{"type":"string"}},"required":["contentType","sizeBytes","etag","updatedAt"],"type":"object"},"LogosView":{"properties":{"dark":{"oneOf":[{"$ref":"#/components/schemas/LogoView"},{"type":"null"}]},"light":{"oneOf":[{"$ref":"#/components/schemas/LogoView"},{"type":"null"}]}},"type":"object"},"MaintenanceInput":{"additionalProperties":false,"properties":{"checkIds":{"items":{"format":"uuid","type":"string"},"type":"array"},"schedule":{"$ref":"#/components/schemas/ScheduleDto"},"timezone":{"description":"IANA zone; the workspace's when absent.","type":["string","null"]},"title":{"type":"string"}},"required":["title","schedule","checkIds"],"type":"object"},"MaintenanceView":{"properties":{"checkIds":{"items":{"format":"uuid","type":"string"},"type":"array"},"createdAt":{"type":"string"},"id":{"format":"uuid","type":"string"},"managedBy":{"$ref":"#/components/schemas/ManagedBy","description":"`config` when a config apply manages the window, `ui` otherwise. Always sent; optional in the schema\nbecause it was added after the first clients."},"projectId":{"format":"uuid","type":"string"},"ref":{"description":"The window's key in a config file; null until a config apply creates or adopts it. Always sent;\noptional in the schema because it was added after the first clients.","type":["string","null"]},"schedule":{"$ref":"#/components/schemas/ScheduleDto"},"timezone":{"type":"string"},"title":{"type":"string"},"upcoming":{"description":"The running occurrence first (if any), then the next ones; empty once a one-off window is over.","items":{"$ref":"#/components/schemas/OccurrenceView"},"type":"array"}},"required":["id","projectId","title","timezone","schedule","checkIds","upcoming","createdAt"],"type":"object"},"ManagedBy":{"description":"Who manages a check, status page or maintenance window: `ui` (made in the dashboard or through the REST\napi) or `config` (created or adopted by a config apply; only these are ever pruned).","enum":["ui","config"],"type":"string"},"MemberRoleInput":{"additionalProperties":false,"properties":{"role":{"$ref":"#/components/schemas/WorkspaceRole","description":"`admin` or `member`; ownership moves only by transfer."}},"required":["role"],"type":"object"},"MemberView":{"properties":{"displayName":{"type":"string"},"email":{"type":"string"},"role":{"$ref":"#/components/schemas/WorkspaceRole"},"totpEnabled":{"type":"boolean"},"userId":{"format":"uuid","type":"string"}},"required":["userId","email","displayName","role","totpEnabled"],"type":"object"},"MountRuleDto":{"additionalProperties":false,"description":"One filesystem's own disk rule: its own threshold, optionally only while less than `freeBelowGb` is free,\nor muted (no disk, inode, forecast or read-only problem for it).","properties":{"abovePercent":{"description":"1–99; absent: the check's disk threshold.","format":"int32","minimum":0,"type":["integer","null"]},"freeBelowGb":{"description":"1–1000000 GB (10⁹ bytes): only while less than this is free.","format":"int32","minimum":0,"type":["integer","null"]},"mount":{"description":"An absolute mount path, for example `/var/lib/docker`.","type":"string"},"mute":{"type":"boolean"}},"required":["mount"],"type":"object"},"NoDataSpan":{"description":"An interval a node reported as \"no data\": results it evicted from its full spool. A result of a slot\ninside it that still arrived counts as that slot's result (rules, \"Node spool\").","properties":{"from":{"type":"string"},"nodeId":{"format":"uuid","type":"string"},"to":{"type":"string"}},"required":["nodeId","from","to"],"type":"object"},"NodeHealthView":{"properties":{"agentVersion":{"type":["string","null"]},"clockSkewMs":{"format":"int32","type":["integer","null"]},"documentVersion":{"format":"int64","type":["integer","null"]},"lastHeartbeatAt":{"type":["string","null"]},"reason":{"type":["string","null"]},"spoolBytes":{"format":"int64","type":["integer","null"]},"spoolLimitBytes":{"format":"int64","type":["integer","null"]},"spoolProblem":{"type":["string","null"]},"status":{"description":"`online`, `degraded` or `offline`, from the node's heartbeats.","type":"string"}},"required":["status"],"type":"object"},"NodeRef":{"description":"A node as a run or a latency series refers to it. A revoked node no longer runs checks, but its\nresults stay in the history under its name.","properties":{"city":{"type":["string","null"]},"countryCode":{"description":"Null until the node is located.","type":["string","null"]},"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"revoked":{"type":"boolean"}},"required":["id","name","revoked"],"type":"object"},"NodeScope":{"enum":["platform","private"],"type":"string"},"NodeTestResult":{"properties":{"certificateExpiresAt":{"description":"SSL checks: the certificate's expiry.","type":["string","null"]},"domainExpiresAt":{"description":"Domain checks: the registration's expiry.","type":["string","null"]},"error":{"oneOf":[{"$ref":"#/components/schemas/TestError"},{"type":"null"}]},"failures":{"items":{"$ref":"#/components/schemas/TestFailure"},"type":"array"},"finishedAt":{"type":["string","null"]},"nodeId":{"format":"uuid","type":"string"},"outcome":{"oneOf":[{"$ref":"#/components/schemas/TestOutcome"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/NodeTestStatus"},"statusCode":{"format":"int32","minimum":0,"type":["integer","null"]},"timings":{"oneOf":[{"$ref":"#/components/schemas/TestTimings"},{"type":"null"}]}},"required":["nodeId","status","failures"],"type":"object"},"NodeTestStatus":{"enum":["pending","done","not_supported","offline","timeout","failed"],"type":"string"},"NodeView":{"properties":{"city":{"type":["string","null"]},"countryCode":{"description":"ISO 3166-1 alpha-2; null until the node is located (no session yet, a private or unknown address, or\nno IP location database).","type":["string","null"]},"createdAt":{"type":"string"},"health":{"oneOf":[{"$ref":"#/components/schemas/NodeHealthView","description":"Absent until the node's first heartbeat."},{"type":"null"}]},"id":{"format":"uuid","type":"string"},"locationSource":{"oneOf":[{"$ref":"#/components/schemas/LocationSource","description":"Null while the node has no location."},{"type":"null"}]},"name":{"type":"string"},"scope":{"$ref":"#/components/schemas/NodeScope"}},"required":["id","scope","name","createdAt"],"type":"object"},"NumOpDto":{"enum":["eq","ne","lt","le","gt","ge"],"type":"string"},"OAuthAccess":{"enum":["read","write"],"type":"string"},"OAuthApproveInput":{"additionalProperties":false,"properties":{"access":{"$ref":"#/components/schemas/OAuthAccess"},"projectId":{"description":"Confines the grant to one project of the workspace.","format":"uuid","type":["string","null"]},"scopes":{"description":"Narrower than `access`; `:write` scopes need `access: write`. Absent: all of `access`, within what the\nclient asked for.","items":{"$ref":"#/components/schemas/Scope"},"type":["array","null"]},"workspaceId":{"format":"uuid","type":"string"}},"required":["workspaceId","access"],"type":"object"},"OAuthClientKind":{"enum":["metadata_document","registered","first_party"],"type":"string"},"OAuthClientView":{"properties":{"host":{"description":"The host of a metadata document's URL; null for registered clients.","type":["string","null"]},"id":{"type":"string"},"kind":{"$ref":"#/components/schemas/OAuthClientKind"},"logoUri":{"type":["string","null"]},"name":{"description":"As the client states it (plain text, at most 100 characters).","type":"string"},"uri":{"type":["string","null"]}},"required":["id","name","kind"],"type":"object"},"OAuthDecision":{"properties":{"apiToken":{"oneOf":[{"$ref":"#/components/schemas/ApiTokenView","description":"The grant, as the token list shows it; null for a denial."},{"type":"null"}]},"redirectUrl":{"description":"Send the browser here: the client's redirect URI with `code` (or `error=access_denied`), `state` and `iss`.","type":"string"}},"required":["redirectUrl"],"type":"object"},"OAuthRequestView":{"properties":{"client":{"$ref":"#/components/schemas/OAuthClientView"},"expiresAt":{"description":"Decide before this instant.","type":"string"},"id":{"format":"uuid","type":"string"},"redirectHost":{"description":"Host of `redirectUri` (`127.0.0.1` for local agents).","type":"string"},"redirectUri":{"description":"Where the code goes after approval.","type":"string"},"requestedScopes":{"description":"Monitorly scopes the client asked for; empty: it did not narrow them.","items":{"$ref":"#/components/schemas/Scope"},"type":"array"},"resource":{"description":"The MCP endpoint the token will work at.","type":"string"}},"required":["id","client","redirectUri","redirectHost","requestedScopes","resource","expiresAt"],"type":"object"},"OccurrenceView":{"properties":{"active":{"type":"boolean"},"endsAt":{"type":"string"},"localEndsAt":{"type":"string"},"localStartsAt":{"description":"The same instants in the window's zone, with offset.","type":"string"},"startsAt":{"type":"string"}},"required":["startsAt","endsAt","localStartsAt","localEndsAt","active"],"type":"object"},"PageAccess":{"description":"Who may open a published page.","enum":["public","password","members"],"type":"string"},"PageIncidentInput":{"additionalProperties":false,"properties":{"autoIncidentId":{"format":"uuid","type":["string","null"]},"body":{"description":"Text of the first update.","type":"string"},"components":{"description":"Components the incident affects; none by default.","items":{"$ref":"#/components/schemas/AffectedComponentInput"},"type":"array"},"notify":{"description":"`false`: post on the page without telling its subscribers. Absent or `true`: a published page announces\nthe post to its subscribers.","type":["boolean","null"]},"state":{"$ref":"#/components/schemas/PageIncidentState"},"title":{"type":"string"}},"required":["title","state","body"],"type":"object"},"PageIncidentState":{"enum":["investigating","identified","monitoring","resolved"],"type":"string"},"PageIncidentView":{"properties":{"autoIncidentId":{"description":"The automatic incident this post was published from (\"publish\" button), if any.","format":"uuid","type":["string","null"]},"components":{"description":"In page order.","items":{"$ref":"#/components/schemas/AffectedComponentView"},"type":"array"},"createdAt":{"type":"string"},"createdBy":{"format":"uuid","type":["string","null"]},"id":{"format":"uuid","type":"string"},"pageId":{"format":"uuid","type":"string"},"publicUrl":{"description":"`<status host>/<slug>/incidents/<id>`; null when the installation has no status page address.","type":["string","null"]},"resolvedAt":{"type":["string","null"]},"state":{"$ref":"#/components/schemas/PageIncidentState"},"title":{"type":"string"},"updates":{"description":"Oldest first.","items":{"$ref":"#/components/schemas/PageUpdateView"},"type":"array"}},"required":["id","pageId","title","state","createdAt","updates","components"],"type":"object"},"PagePostDraft":{"properties":{"autoIncidentId":{"format":"uuid","type":"string"},"body":{"type":"string"},"components":{"description":"The page's components on the incident's check, with the suggested impact.","items":{"$ref":"#/components/schemas/AffectedComponentView"},"type":"array"},"pageId":{"format":"uuid","type":"string"},"pagePublished":{"type":"boolean"},"pageTitle":{"type":"string"},"state":{"$ref":"#/components/schemas/PageIncidentState","description":"`investigating` while the automatic incident is open, `resolved` once it closed."},"title":{"description":"`<check>: outage` or `<check>: degraded performance`.","type":"string"}},"required":["pageId","pageTitle","pagePublished","autoIncidentId","title","state","body","components"],"type":"object"},"PageTheme":{"additionalProperties":false,"description":"The theme of a hosted status page. A field left out (or `null`) is the product's own look.","properties":{"dark":{"oneOf":[{"$ref":"#/components/schemas/ThemePalette","description":"The colours of the dark scheme; the product's own when left out."},{"type":"null"}]},"font":{"oneOf":[{"$ref":"#/components/schemas/ThemeFont"},{"type":"null"}]},"layout":{"oneOf":[{"$ref":"#/components/schemas/ThemeLayout","description":"`list` when left out."},{"type":"null"}]},"light":{"oneOf":[{"$ref":"#/components/schemas/ThemePalette","description":"The colours of the light scheme; the product's own when left out."},{"type":"null"}]},"links":{"description":"Up to 5 links in the page header, in this order.","items":{"$ref":"#/components/schemas/ThemeLink"},"type":"array"},"mode":{"oneOf":[{"$ref":"#/components/schemas/ThemeMode","description":"`auto` when left out."},{"type":"null"}]},"radius":{"oneOf":[{"$ref":"#/components/schemas/ThemeRadius","description":"`medium` when left out."},{"type":"null"}]}},"type":"object"},"PageUpdateInput":{"additionalProperties":false,"properties":{"body":{"type":"string"},"components":{"description":"Replaces the affected components when given; missing keeps them.","items":{"$ref":"#/components/schemas/AffectedComponentInput"},"type":["array","null"]},"notify":{"description":"`false`: add the update without telling the page's subscribers. Absent or `true`: a published page\nannounces it.","type":["boolean","null"]},"state":{"$ref":"#/components/schemas/PageIncidentState"}},"required":["state","body"],"type":"object"},"PageUpdateView":{"properties":{"body":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"format":"uuid","type":["string","null"]},"id":{"format":"uuid","type":"string"},"state":{"$ref":"#/components/schemas/PageIncidentState"}},"required":["id","state","body","createdAt"],"type":"object"},"PasswordChangeInput":{"additionalProperties":false,"properties":{"currentPassword":{"type":"string"},"newPassword":{"description":"12–1024 characters.","type":"string"}},"required":["currentPassword","newPassword"],"type":"object"},"PlanChoice":{"additionalProperties":false,"description":"A plan with its period and packs, for a checkout or a change.","properties":{"checkPacks":{"description":"Packs of 50 checks (Solo and above), 0–100.","format":"int32","minimum":0,"type":"integer"},"period":{"$ref":"#/components/schemas/BillingPeriod"},"plan":{"description":"`solo_2026`, `team_2026` or `business_2026`.","type":"string"},"serverPacks":{"description":"Packs of 5 servers, private nodes (Solo and above), 0–100.","format":"int32","minimum":0,"type":"integer"}},"required":["plan","period"],"type":"object"},"PlanFeatures":{"description":"What the plan allows besides counts.","properties":{"addons":{"description":"Add-on packs (checks, servers) can be bought on top of the plan.","type":"boolean"},"customDomain":{"type":"boolean"},"hideBranding":{"type":"boolean"},"privatePages":{"type":"boolean"}},"required":["customDomain","privatePages","hideBranding","addons"],"type":"object"},"PlanRef":{"description":"A plan: its key and the name people see.","properties":{"key":{"description":"`free`, `solo_2026`, `team_2026`, `business_2026`.","type":"string"},"name":{"type":"string"}},"required":["key","name"],"type":"object"},"PlanSource":{"description":"Where a workspace's plan comes from.","enum":["free","subscription","grant"],"type":"string"},"PlanSummary":{"properties":{"create":{"format":"int32","minimum":0,"type":"integer"},"delete":{"format":"int32","minimum":0,"type":"integer"},"unchanged":{"format":"int32","minimum":0,"type":"integer"},"update":{"format":"int32","minimum":0,"type":"integer"}},"required":["create","update","delete","unchanged"],"type":"object"},"PlanView":{"description":"One plan of the catalogue: what it allows. Prices are not here: they are at the payment provider and, as\nshown, in the dashboard's and landing page's price file.","properties":{"apiTokens":{"format":"int32","minimum":0,"type":"integer"},"channels":{"format":"int32","minimum":0,"type":"integer"},"checks":{"format":"int32","minimum":0,"type":"integer"},"features":{"$ref":"#/components/schemas/PlanFeatures"},"forSale":{"description":"Offered for new subscriptions (Free is not bought).","type":"boolean"},"historyDays":{"format":"int32","minimum":0,"type":"integer"},"key":{"type":"string"},"members":{"format":"int32","minimum":0,"type":"integer"},"minIntervalSecs":{"format":"int32","minimum":0,"type":"integer"},"name":{"type":"string"},"privateNodes":{"format":"int32","minimum":0,"type":"integer"},"projects":{"format":"int32","minimum":0,"type":"integer"},"statusPages":{"format":"int32","minimum":0,"type":"integer"},"subscribersPerPage":{"format":"int32","minimum":0,"type":"integer"}},"required":["key","name","forSale","checks","minIntervalSecs","statusPages","channels","privateNodes","apiTokens","subscribersPerPage","members","projects","historyDays","features"],"type":"object"},"PlansView":{"description":"The plans and the add-on packs.","properties":{"checksPerPack":{"description":"Checks in one add-on pack.","format":"int32","minimum":0,"type":"integer"},"maxPacks":{"description":"The most packs of each kind one subscription can have.","format":"int32","minimum":0,"type":"integer"},"plans":{"items":{"$ref":"#/components/schemas/PlanView"},"type":"array"},"serversPerPack":{"description":"Servers (private nodes) in one add-on pack.","format":"int32","minimum":0,"type":"integer"}},"required":["plans","checksPerPack","serversPerPack","maxPacks"],"type":"object"},"PolicyProject":{"properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"}},"required":["id","name"],"type":"object"},"PortalView":{"description":"A link to the provider's billing portal: invoices, payment method, cancellation.","properties":{"url":{"description":"Short-lived; open it right away.","type":"string"}},"required":["url"],"type":"object"},"Problem":{"properties":{"detail":{"type":["string","null"]},"errors":{"description":"Field errors, empty for errors of the whole request.","items":{"$ref":"#/components/schemas/ProblemField"},"type":"array"},"status":{"format":"int32","minimum":0,"type":"integer"},"title":{"type":"string"},"type":{"description":"Stable code, for example `check.timeout_exceeds_interval`.","type":"string"}},"required":["type","title","status","errors"],"type":"object"},"ProblemField":{"properties":{"code":{"type":"string"},"params":{"additionalProperties":{},"propertyNames":{"type":"string"},"type":"object"},"pointer":{"description":"JSON pointer into the request body.","type":"string"}},"required":["pointer","code","params"],"type":"object"},"ProfileInput":{"additionalProperties":false,"properties":{"displayName":{"description":"1–200 characters after trimming.","type":"string"}},"required":["displayName"],"type":"object"},"ProjectGrant":{"additionalProperties":false,"properties":{"projectId":{"format":"uuid","type":"string"},"role":{"$ref":"#/components/schemas/ProjectRole"}},"required":["projectId","role"],"type":"object"},"ProjectInput":{"additionalProperties":false,"properties":{"name":{"type":"string"}},"required":["name"],"type":"object"},"ProjectMemberView":{"properties":{"displayName":{"type":"string"},"email":{"type":"string"},"role":{"$ref":"#/components/schemas/ProjectRole"},"userId":{"format":"uuid","type":"string"}},"required":["userId","email","displayName","role"],"type":"object"},"ProjectPatch":{"additionalProperties":false,"description":"`PATCH /projects/{projectId}`: the fields given change.","properties":{"escalationPolicyId":{"description":"A policy of the workspace.","format":"uuid","type":["string","null"]},"name":{"type":["string","null"]}},"type":"object"},"ProjectRole":{"enum":["viewer","editor","admin"],"type":"string"},"ProjectRoleInput":{"additionalProperties":false,"properties":{"role":{"$ref":"#/components/schemas/ProjectRole"}},"required":["role"],"type":"object"},"ProjectView":{"properties":{"brokenChannels":{"description":"Broken Telegram chats and broken channels of every other kind.","format":"int64","type":"integer"},"brokenChats":{"format":"int64","type":"integer"},"escalationPolicyId":{"description":"The escalation policy of the project's incidents (a check may use another, `CheckView.escalationPolicyId`).","format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"role":{"$ref":"#/components/schemas/ProjectRole","description":"The caller's effective role."},"statusPublicBase":{"description":"Where status pages are served (`MONITORLY_STATUS_PUBLIC_URL`, `https://status.example.com`): a page's\naddress is `<this>/<slug>`, known before any page exists; null without the setting. Always sent;\noptional in the schema because it was added after the first clients (2026-11-15).","type":["string","null"]},"workingChannels":{"description":"Alert channels that receive the project's alerts: the active Telegram chats and the confirmed\nchannels of every other kind the project picked that are not broken (added 2026-11-12). 0: the project's\nalerts go nowhere.","format":"int64","type":"integer"},"workingChats":{"description":"Telegram chats the project picked that are not broken; 0 shows the \"alerts are not delivered\" banner.","format":"int64","type":"integer"},"workspaceId":{"format":"uuid","type":"string"}},"required":["id","workspaceId","name","role","workingChats","brokenChats","workingChannels","brokenChannels","escalationPolicyId"],"type":"object"},"ProviderStartInput":{"additionalProperties":false,"properties":{"code":{"description":"`connect` only: a current TOTP code, required with the password when two-factor sign-in is on.","type":["string","null"]},"intent":{"$ref":"#/components/schemas/SignInIntent"},"next":{"description":"A path of the dashboard to go to afterwards (default `/`); `//host` and full URLs are refused.","type":["string","null"]},"password":{"description":"`connect` only: the account's current password, required when the account has one.","type":["string","null"]}},"required":["intent"],"type":"object"},"ProviderStartView":{"properties":{"url":{"description":"The provider's authorization URL: the dashboard navigates the browser there.","type":"string"}},"required":["url"],"type":"object"},"QuorumDto":{"oneOf":[{"description":"F ≥ ⌈M/2⌉ and F ≥ min(2, S).","properties":{"mode":{"enum":["half"],"type":"string"}},"required":["mode"],"type":"object"},{"description":"F ≥ N.","properties":{"count":{"description":"F ≥ N.","format":"int32","minimum":0,"type":"integer"},"mode":{"enum":["exact"],"type":"string"}},"required":["count","mode"],"type":"object"}]},"QuotaUse":{"description":"One quota and how much of it the workspace uses.","properties":{"limit":{"format":"int32","minimum":0,"type":"integer"},"overridden":{"description":"An admin of the installation set this limit for the workspace (otherwise it comes from the plan).","type":"boolean"},"used":{"format":"int64","type":"integer"}},"required":["used","limit","overridden"],"type":"object"},"ResetInfo":{"properties":{"email":{"type":"string"},"expiresAt":{"type":"string"}},"required":["email","expiresAt"],"type":"object"},"ResetInput":{"additionalProperties":false,"properties":{"password":{"description":"At least 12 characters.","type":"string"},"token":{"type":"string"}},"required":["token","password"],"type":"object"},"ResetRequestInput":{"additionalProperties":false,"properties":{"email":{"type":"string"}},"required":["email"],"type":"object"},"Resolution":{"enum":["raw","5m","1h","1d"],"type":"string"},"RunPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/RunView"},"type":"array"},"nextCursor":{"type":["string","null"]},"nodes":{"description":"The nodes the items name, revoked ones included.","items":{"$ref":"#/components/schemas/NodeRef"},"type":"array"}},"required":["items","nodes"],"type":"object"},"RunRedirect":{"properties":{"status":{"description":"The 3xx status of the response that redirected.","format":"int32","minimum":0,"type":"integer"},"url":{"description":"Where it pointed, without user name and password.","type":"string"}},"required":["status","url"],"type":"object"},"RunView":{"properties":{"connectMs":{"format":"int32","type":["integer","null"]},"detail":{},"dnsMs":{"format":"int32","type":["integer","null"]},"epoch":{"format":"int64","type":"integer"},"errorCode":{"type":["string","null"]},"headers":{"additionalProperties":{"type":"string"},"description":"Of the final HTTP response only `server`, `content-type`, `cache-control`, `x-request-id` and\n`cf-ray`, when present (lower-case names, values at most 256 bytes); empty otherwise.","propertyNames":{"type":"string"},"type":"object"},"kind":{"description":"`scheduled` or `confirm` (a confirmation round).","type":"string"},"late":{"type":"boolean"},"nodeId":{"format":"uuid","type":"string"},"outcome":{"description":"`up`, `degraded`, `down`; absent for runs without an outcome (egress refusal, unreadable secret…).","type":["string","null"]},"receivedAt":{"type":"string"},"redirects":{"description":"Redirects an HTTP check followed, in order; empty without redirects.","items":{"$ref":"#/components/schemas/RunRedirect"},"type":"array"},"remoteIp":{"description":"Address the node connected to: the last hop of an HTTP check, the TCP or SSL target, the pinged\naddress. `null` without a connection and for runs of nodes that do not report it.","type":["string","null"]},"responseBytes":{"description":"Body bytes of the final HTTP response the node read (it reads at most 1 MiB).","format":"int64","minimum":0,"type":["integer","null"]},"roundId":{"format":"int64","type":["integer","null"]},"rttMs":{"description":"Round trip of the ICMP echo in milliseconds.","format":"double","type":["number","null"]},"slotAt":{"type":"string"},"startedAt":{"type":"string"},"statusCode":{"format":"int32","type":["integer","null"]},"tlsMs":{"format":"int32","type":["integer","null"]},"totalMs":{"format":"int32","type":["integer","null"]},"ttfbMs":{"format":"int32","type":["integer","null"]}},"required":["nodeId","slotAt","kind","epoch","startedAt","receivedAt","late","redirects","headers"],"type":"object"},"ScheduleDto":{"oneOf":[{"description":"RFC 3339 instants.","properties":{"endsAt":{"type":"string"},"kind":{"enum":["once"],"type":"string"},"startsAt":{"type":"string"}},"required":["startsAt","endsAt","kind"],"type":"object"},{"description":"ISO weekdays (1 = Monday … 7 = Sunday), local start `HH:MM` or `HH:MM:SS` in the window's zone.","properties":{"durationMins":{"format":"int32","minimum":0,"type":"integer"},"kind":{"enum":["weekly"],"type":"string"},"localStart":{"type":"string"},"weekdays":{"items":{"format":"int32","minimum":0,"type":"integer"},"type":"array"}},"required":["weekdays","localStart","durationMins","kind"],"type":"object"}]},"ScheduleSyntaxDto":{"enum":["cron","on_calendar"],"type":"string"},"Scope":{"description":"What a token may do, per resource; the role of its creator still applies.","enum":["checks:read","checks:write","incidents:read","incidents:write","maintenance:read","maintenance:write","pages:read","pages:write","nodes:read","nodes:write","telegram:read","alerts:read","alerts:write","projects:write"],"type":"string"},"ServerCheckView":{"properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"problems":{"description":"What is wrong on the server now, one sentence per rule that fires, ordered by rule.","items":{"$ref":"#/components/schemas/ServerProblem"},"type":"array"},"projectId":{"format":"uuid","type":"string"},"status":{"description":"`PENDING`, `UP`, `DOWN`, `UNKNOWN` (no report for 3 minutes), `MAINTENANCE`, `PAUSED`.","type":"string"},"statusSince":{"type":"string"}},"required":["id","projectId","name","status","statusSince","problems"],"type":"object"},"ServerDetail":{"allOf":[{"$ref":"#/components/schemas/ServerView"},{"properties":{"cpuIowaitPercent":{"format":"float","type":["number","null"]},"cpuStealPercent":{"format":"float","type":["number","null"]},"disks":{"description":"`[{device, readBytesPerSec, writeBytesPerSec, readOpsPerSec, writeOpsPerSec, busyPercent, queueAvg,\nawaitMs}]`.","items":{"type":"object"},"type":["array","null"]},"docker":{"description":"Null when the node does not report Docker. `{containers: [{id, name, image, state, health,\nrestartCount, exitCode, cpuPercent, memoryBytes, memoryLimitBytes, startedUnixMs}], error, omitted}`;\n`error` says why the node could not read Docker this time.","type":["object","null"]},"events":{"description":"With the server check: notices and restarts of the last 90 days, newest first, at most 50.","items":{"$ref":"#/components/schemas/ServerEventView"},"type":"array"},"filesystems":{"description":"`[{mount, fsType, totalBytes, usedBytes, availableBytes}]`, real disks only.","items":{"type":"object"},"type":"array"},"frozenProcesses":{"description":"With the server check: the processes when its CPU, memory or load problem that fires now fired,\n`{atMs, collected, othersHidden, rule, byCpu, byMemory}`.","type":["object","null"]},"interfaces":{"description":"`[{name, rxBytesPerSec, txBytesPerSec, errorsPerSec, droppedPerSec, packetsPerSec}]`.","items":{"type":"object"},"type":["array","null"]},"load15":{"format":"float","type":["number","null"]},"load5":{"format":"float","type":["number","null"]},"metricsVersion":{"description":"The version of the latest report: 1 from a node older than 2026-11-28 (none of the fields below), 2\notherwise; null without a report. Filesystems of version 2 add `device`, `inodesTotal`, `inodesFree`\n(null where the filesystem counts none) and `readOnly`; containers add `oomKilled`.","format":"int32","type":["integer","null"]},"netNicRxBytesPerSec":{"description":"Network cards only (the totals above count virtual interfaces too).","format":"double","type":["number","null"]},"netNicTxBytesPerSec":{"format":"double","type":["number","null"]},"netRxBytesPerSec":{"format":"double","type":["number","null"]},"netTxBytesPerSec":{"format":"double","type":["number","null"]},"oomKillsTotal":{"format":"int64","type":["integer","null"]},"os":{"description":"`{name, kernel, arch}`; a text the node could not read is empty.","type":["object","null"]},"pressure":{"description":"`{cpuSome, memorySome, memoryFull, ioSome, ioFull}`, shares of the last minute; null without PSI.","type":["object","null"]},"processes":{"description":"The top processes of the latest report, `{list: [{name, label, user, cpuPercent, rssBytes}], count,\nothersHidden}`; null when the node does not report processes (installed without `--processes`). Never\ncommand lines.","type":["object","null"]},"rebootRequired":{"description":"Null where the node cannot tell (not Debian, Ubuntu or NixOS).","type":["boolean","null"]},"swapFreeBytes":{"format":"int64","type":["integer","null"]},"swapTotalBytes":{"format":"int64","type":["integer","null"]},"systemd":{"description":"Null when the node does not report systemd. `{units: [{name, activeState, subState, restarts}], error,\nomitted}`.","type":["object","null"]},"temperatures":{"description":"`[{chip, label, celsius, maxCelsius, critCelsius}]`; empty without sensors.","items":{"type":"object"},"type":["array","null"]},"undervoltage":{"description":"Raspberry Pi only.","type":["boolean","null"]}},"required":["filesystems","events"],"type":"object"}],"description":"A server with its latest report in full."},"ServerDto":{"additionalProperties":false,"description":"A server check (added 2026-11-17): rules over the host reports of one private node of the workspace, at most\none server check per node. A rule left out of a request takes its preset; `null` turns it off. Answers always\ncarry every rule, `null` for one that is off. At least one rule must be on. Rules of the second set\n(2026-11-28) need a node that reports the second version; on an older node they see nothing.","properties":{"clockSkew":{"oneOf":[{"$ref":"#/components/schemas/ClockRuleDto","description":"A notice when the server's clock is off Monitorly's by more than `aboveSecs` for `forSecs`. Preset: 30 s\nfor 10 minutes."},{"type":"null"}]},"containers":{"description":"A container that was running stopped with a non-zero exit code, was killed for lack of memory or died,\nor restarted 3 times within 10 minutes (the node must report Docker). Preset: on.","type":"boolean"},"cpu":{"oneOf":[{"$ref":"#/components/schemas/UsageRuleDto","description":"CPU busy. Preset: above 90 % for 15 minutes. Clears 5 points below."},{"type":"null"}]},"disk":{"oneOf":[{"$ref":"#/components/schemas/UsageRuleDto","description":"Any filesystem fuller than `abovePercent` (df's \"Use%\"); a mount of `mounts` may have its own. Preset:\nabove 90 %, at once. Clears 2 points below."},{"type":"null"}]},"diskBusy":{"oneOf":[{"$ref":"#/components/schemas/DiskBusyRuleDto","description":"A disk busy `busyPercent` of the time with `queue` requests in flight or more. Off unless set; suggested:\n95 % and 10 for 30 minutes."},{"type":"null"}]},"diskForecast":{"oneOf":[{"$ref":"#/components/schemas/ForecastRuleDto","description":"A filesystem fuller than `minUsedPercent` that fills within `hours` at the rate of the last 6 hours.\nPreset: within 24 hours, above 60 %, held 1 hour."},{"type":"null"}]},"ignore":{"$ref":"#/components/schemas/IgnoreDto"},"inodes":{"oneOf":[{"$ref":"#/components/schemas/UsageRuleDto","description":"Inodes in use on a filesystem that counts them. Preset: above 90 % for 5 minutes."},{"type":"null"}]},"iowait":{"oneOf":[{"$ref":"#/components/schemas/UsageRuleDto","description":"CPU waiting for disks. Off unless set; suggested: above 30 % for 10 minutes."},{"type":"null"}]},"load":{"oneOf":[{"$ref":"#/components/schemas/LoadRuleDto","description":"The 1-minute load average above a share of the core count (200: twice the cores). Preset: above 200 %\nfor 10 minutes."},{"type":"null"}]},"memory":{"oneOf":[{"$ref":"#/components/schemas/UsageRuleDto","description":"Memory in use (total − available). Preset: above 90 % for 5 minutes. Clears 5 points below."},{"type":"null"}]},"mounts":{"description":"Filesystems with their own disk rule, at most 32, each mount once.","items":{"$ref":"#/components/schemas/MountRuleDto"},"type":"array"},"networkErrors":{"oneOf":[{"$ref":"#/components/schemas/UsageRuleDto","description":"Errors and drops of a network card over its packets. Off unless set; suggested: above 1 % for 1 hour."},{"type":"null"}]},"nodeId":{"format":"uuid","type":"string"},"oomKills":{"description":"A notice when the kernel kills a process for lack of memory (at most one per 30 minutes). Preset: on.","type":"boolean"},"readOnly":{"description":"A filesystem this check saw writable turned read only. Preset: on.","type":"boolean"},"rebootRequired":{"oneOf":[{"$ref":"#/components/schemas/HoldRuleDto","description":"A notice when a restart has been pending for `forSecs`. Preset: 86400."},{"type":"null"}]},"silent":{"oneOf":[{"$ref":"#/components/schemas/SilentRuleDto","description":"No report for `afterSecs` (120–86400): an incident, instead of the node's \"offline\" mail. Preset: 300."},{"type":"null"}]},"steal":{"oneOf":[{"$ref":"#/components/schemas/UsageRuleDto","description":"CPU taken by the hypervisor. Off unless set; suggested: above 10 % for 20 minutes."},{"type":"null"}]},"swap":{"oneOf":[{"$ref":"#/components/schemas/UsageRuleDto","description":"Swap in use. Off unless set; suggested: above 80 % for 10 minutes."},{"type":"null"}]},"temperature":{"oneOf":[{"$ref":"#/components/schemas/TemperatureRuleDto","description":"A temperature sensor at its own limit (its max, else 5 °C under its critical point; one under 40 °C counts\nas none), or at or above `celsius` when it reports no limit. Preset: 90 °C for 10 minutes. Clears 3 °C\nbelow."},{"type":"null"}]},"undervoltage":{"description":"A notice when a Raspberry Pi reports under-voltage. Preset: on.","type":"boolean"},"units":{"description":"A systemd unit the node reports is `failed` (the node must report systemd). Preset: on.","type":"boolean"}},"required":["nodeId"],"type":"object"},"ServerEventView":{"description":"A line of the server's timeline that is not a problem.","properties":{"at":{"type":"string"},"kind":{"description":"`oom_kill`, `reboot_required`, `clock_skew`, `undervoltage` (notices, sent as one message), `rebooted`.","type":"string"},"text":{"type":"string"}},"required":["at","kind","text"],"type":"object"},"ServerPoint":{"properties":{"at":{"description":"The start of the step.","type":"string"},"cpuAvg":{"format":"double","type":["number","null"]},"cpuMax":{"format":"float","type":["number","null"]},"cpuPressureAvg":{"description":"Pressure: the share of the time some tasks waited for CPU, memory or IO.","format":"double","type":["number","null"]},"diskMax":{"format":"float","type":["number","null"]},"ioPressureAvg":{"format":"double","type":["number","null"]},"iowaitAvg":{"description":"The second version (null from an older node): shares of all cores waiting for disks and taken by the\nhypervisor.","format":"double","type":["number","null"]},"iowaitMax":{"format":"float","type":["number","null"]},"loadAvg":{"format":"double","type":["number","null"]},"loadMax":{"format":"float","type":["number","null"]},"memoryAvg":{"format":"double","type":["number","null"]},"memoryMax":{"format":"float","type":["number","null"]},"memoryPressureAvg":{"format":"double","type":["number","null"]},"netRxAvg":{"format":"double","type":["number","null"]},"netTxAvg":{"format":"double","type":["number","null"]},"nicRxAvg":{"description":"Bytes per second over the network cards only.","format":"double","type":["number","null"]},"nicTxAvg":{"format":"double","type":["number","null"]},"stealAvg":{"format":"double","type":["number","null"]},"temperatureMax":{"description":"The hottest sensor.","format":"float","type":["number","null"]}},"required":["at"],"type":"object"},"ServerProblem":{"properties":{"key":{"description":"`disk:<mount>`, `inodes:<mount>`, `forecast:<mount>`, `readonly:<mount>`, `memory`, `swap`, `cpu`,\n`iowait`, `steal`, `load`, `temperature:<chip>/<label>`, `busy:<disk>`, `net:<card>`,\n`container:<name>:stopped`, `container:<name>:restarts`, `unit:<name>`, `silent`.","type":"string"},"since":{"type":"string"},"text":{"type":"string"}},"required":["key","text","since"],"type":"object"},"ServerSeries":{"properties":{"points":{"description":"Oldest first; a step without reports has no point.","items":{"$ref":"#/components/schemas/ServerPoint"},"type":"array"},"range":{"type":"string"},"stepSecs":{"format":"int32","minimum":0,"type":"integer"}},"required":["range","stepSecs","points"],"type":"object"},"ServerSummary":{"properties":{"containersRunning":{"description":"Null when the node does not report Docker, or could not read it.","format":"int64","type":["integer","null"]},"containersTotal":{"format":"int64","type":["integer","null"]},"cpuCores":{"format":"int32","type":"integer"},"cpuPercent":{"description":"Null in the first report after the node starts.","format":"float","type":["number","null"]},"diskUsedPercent":{"description":"The fullest filesystem.","format":"double","type":["number","null"]},"load1":{"format":"float","type":"number"},"memoryTotalBytes":{"format":"int64","type":"integer"},"memoryUsedPercent":{"format":"double","type":["number","null"]},"unitsFailed":{"description":"Null when the node does not report systemd, or could not read it.","format":"int64","type":["integer","null"]},"uptimeSecs":{"format":"int64","type":"integer"}},"required":["uptimeSecs","cpuCores","load1","memoryTotalBytes"],"type":"object"},"ServerView":{"properties":{"check":{"oneOf":[{"$ref":"#/components/schemas/ServerCheckView","description":"The server check of this node, when there is one in a project the caller sees."},{"type":"null"}]},"city":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"name":{"type":"string"},"nodeHealth":{"description":"The node's own state from its heartbeats: `online`, `degraded`, `offline`; null before the first.","type":["string","null"]},"nodeId":{"format":"uuid","type":"string"},"reportedAt":{"description":"When the latest host report arrived; null if the node never sent one (a runner older than host\nreports, or not connected since).","type":["string","null"]},"reporting":{"description":"A report arrived within the last 3 minutes.","type":"boolean"},"summary":{"oneOf":[{"$ref":"#/components/schemas/ServerSummary","description":"From the latest report; null without one."},{"type":"null"}]}},"required":["nodeId","name","reporting"],"type":"object"},"SessionView":{"properties":{"user":{"$ref":"#/components/schemas/UserView"},"workspaces":{"items":{"$ref":"#/components/schemas/WorkspaceSummary"},"type":"array"}},"required":["user","workspaces"],"type":"object"},"SignInIntent":{"description":"What a started sign-in is for.","enum":["signIn","connect","reauth"],"type":"string"},"SignInProviderView":{"properties":{"id":{"description":"`google` or `github`.","type":"string"},"name":{"description":"`Google`, `GitHub`.","type":"string"}},"required":["id","name"],"type":"object"},"SignupAccepted":{"properties":{"checkEmail":{"description":"Always true: the same answer whether or not the address already had an account.","type":"boolean"}},"required":["checkEmail"],"type":"object"},"SignupInput":{"additionalProperties":false,"properties":{"acceptTerms":{"description":"Must be true: the person ticked \"I accept the Terms and the Privacy policy\" (since 2026-11-17; 422\n`field.required` at `/acceptTerms` otherwise).","type":"boolean"},"displayName":{"description":"1–200 characters; the part of the email before `@` when absent.","type":["string","null"]},"email":{"type":"string"},"password":{"description":"12–1024 characters.","type":"string"},"turnstileToken":{"description":"The Turnstile widget's token, required when `GET /auth/signup/options` names a site key.","type":["string","null"]}},"required":["email","password"],"type":"object"},"SignupMode":{"description":"Who may make an account (`MONITORLY_API_SIGNUP_MODE`, owner decision 2026-11-28).","enum":["open","invite"],"type":"string"},"SignupOptions":{"properties":{"mode":{"$ref":"#/components/schemas/SignupMode","description":"`open`: anyone signs up. `invite`: new accounts only from invites; `POST /auth/signup` answers 403\n`signup.closed` (`MONITORLY_API_SIGNUP_MODE`, since 2026-11-28)."},"turnstileSiteKey":{"description":"The Turnstile site key the sign-up form must render a widget with; null when sign-up has no challenge.","type":["string","null"]}},"required":["mode"],"type":"object"},"SilentRuleDto":{"additionalProperties":false,"properties":{"afterSecs":{"description":"120–86400.","format":"int32","minimum":0,"type":"integer"}},"required":["afterSecs"],"type":"object"},"SlaReport":{"properties":{"checks":{"description":"One row per check, by name; for a check report only that check.","items":{"$ref":"#/components/schemas/CheckSla"},"type":"array"},"from":{"type":"string"},"measuredTo":{"description":"Time after this (now, when the range reaches into the future) is not measured yet.","type":"string"},"projectId":{"format":"uuid","type":"string"},"timezone":{"description":"The workspace timezone the month was taken in.","type":"string"},"to":{"type":"string"},"total":{"$ref":"#/components/schemas/SlaTotals","description":"For a check report equal to its row."}},"required":["projectId","timezone","from","to","measuredTo","checks","total"],"type":"object"},"SlaTotals":{"properties":{"acknowledged":{"description":"Of `incidents`, those acknowledged by now.","format":"int64","type":"integer"},"degradedMs":{"format":"int64","type":"integer"},"downMs":{"description":"Downtime: DOWN time, the only time that counts against uptime.","format":"int64","type":"integer"},"incidents":{"description":"Incidents opened in the range.","format":"int64","type":"integer"},"maintenanceMs":{"description":"Excluded from uptime.","format":"int64","type":"integer"},"mttaMs":{"description":"Mean time to acknowledge over `acknowledged`; `null` without any.","format":"int64","type":["integer","null"]},"mttrMs":{"description":"Mean time to resolve over `resolved`; `null` without any.","format":"int64","type":["integer","null"]},"noDataMs":{"description":"No decision yet, or too few nodes had data; excluded from uptime.","format":"int64","type":"integer"},"resolved":{"description":"Of `incidents`, those closed by now.","format":"int64","type":"integer"},"unknownMs":{"description":"Excluded from uptime.","format":"int64","type":"integer"},"upMs":{"format":"int64","type":"integer"},"uptimePercent":{"description":"(up + degraded) / (up + degraded + down) × 100; `null` when nothing in the range was decided.","format":"double","type":["number","null"]}},"required":["upMs","degradedMs","downMs","maintenanceMs","unknownMs","noDataMs","incidents","acknowledged","resolved"],"type":"object"},"SslDto":{"additionalProperties":false,"properties":{"host":{"type":"string"},"port":{"format":"int32","minimum":0,"type":"integer"},"warnDays":{"description":"Days before expiry with a warning; default 14, 7 and 1.","items":{"format":"int32","minimum":0,"type":"integer"},"type":["array","null"]}},"required":["host","port"],"type":"object"},"StationView":{"description":"One location of the check's station row: a node selected on the check that is not revoked.","properties":{"city":{"type":["string","null"]},"countryCode":{"description":"Null until the node is located.","type":["string","null"]},"errorCode":{"type":["string","null"]},"lastSeenAt":{"description":"The node's last heartbeat: for an offline node, since when it has been silent.","type":["string","null"]},"nodeHealth":{"description":"The node's own health from its heartbeats: `online`, `degraded` or `offline`; null before its\nfirst heartbeat. Says why a location has no fresh result: only `online` nodes count for a decision, and a\ncheck is `UNKNOWN` while fewer than min(2, selected) of its nodes are online. Added 2026-11-15.","type":["string","null"]},"nodeId":{"format":"uuid","type":"string"},"nodeName":{"type":"string"},"outcome":{"description":"Last outcome at this location: `UP`, `DEGRADED`, `DOWN` or `CONFIG_ERROR`; absent before the first run.","type":["string","null"]},"runAt":{"type":["string","null"]},"totalMs":{"format":"int32","type":["integer","null"]}},"required":["nodeId","nodeName"],"type":"object"},"StatusPageInput":{"additionalProperties":false,"properties":{"published":{"type":"boolean"},"slug":{"description":"`^[a-z0-9][a-z0-9-]{1,62}$`, unique in the installation.","type":"string"},"title":{"type":"string"}},"required":["slug","title"],"type":"object"},"StatusPagePatch":{"additionalProperties":false,"properties":{"accentColor":{"description":"`#rrggbb`, white text on it at least 4.5:1 (`status_page.accent_contrast_low`); `null` returns to the\nproduct accent. Project admin.","type":["string","null"]},"access":{"oneOf":[{"$ref":"#/components/schemas/PageAccess","description":"Who may open the page. Project admin. `password` needs `password` here or a stored one\n(`status_page.password_required`). Every change signs all visitors out."},{"type":"null"}]},"hideBranding":{"description":"Leave out \"Powered by Monitorly Cloud\" (a plan that includes it, else 403 `plan.feature_unavailable`).","type":["boolean","null"]},"password":{"description":"A new page password, 12–1024 characters; never answered. Project admin. Signs all visitors out.","type":["string","null"]},"published":{"type":["boolean","null"]},"slug":{"type":["string","null"]},"theme":{"oneOf":[{"$ref":"#/components/schemas/PageTheme","description":"Replaces the whole theme; `null` (or `{}`) is the product's own look. Project admin. Contrast below\n4.5:1 for text or 3:1 for muted gets `status_page.theme_contrast_low` at the foreground colour."},{"type":"null"}]},"title":{"type":["string","null"]},"websiteUrl":{"description":"Absolute http(s) URL; `null` removes the link. Project admin.","type":["string","null"]}},"type":"object"},"StatusPagePreviewInput":{"additionalProperties":false,"description":"The page as it is being edited. A field left out is the stored one.","properties":{"accentColor":{"description":"As in `PATCH /status-pages/{pageId}` (contrast with white text at least 4.5:1); `null` is the product\naccent.","type":["string","null"]},"components":{"description":"As in `PUT /status-pages/{pageId}/components`, in display order.","items":{"$ref":"#/components/schemas/ComponentInput"},"type":["array","null"]},"theme":{"oneOf":[{"$ref":"#/components/schemas/PageTheme","description":"As in `PATCH /status-pages/{pageId}` (the whole theme); `null` is the product's own look."},{"type":"null"}]},"title":{"type":["string","null"]},"websiteUrl":{"description":"As in `PATCH /status-pages/{pageId}`; `null` shows the page without the link.","type":["string","null"]}},"type":"object"},"StatusPagePreviewView":{"properties":{"expiresAt":{"type":"string"},"url":{"description":"`<MONITORLY_STATUS_PUBLIC_URL>/_preview/<token>`: the page as edited, for an iframe of the dashboard.","type":"string"}},"required":["url","expiresAt"],"type":"object"},"StatusPageView":{"properties":{"accentColor":{"description":"`#rrggbb`: the page's accent instead of the product's; white text on it has at least 4.5:1 contrast.","type":["string","null"]},"access":{"$ref":"#/components/schemas/PageAccess","description":"Who may open the published page. Always sent; optional in the schema because it was added after the\nfirst clients."},"components":{"items":{"$ref":"#/components/schemas/ComponentView"},"type":"array"},"customDomain":{"oneOf":[{"$ref":"#/components/schemas/DomainView","description":"The page's custom domain, null without one. Always sent; optional in the schema."},{"type":"null"}]},"emailSubscriberCount":{"description":"Confirmed email subscribers. Always sent; optional in the schema.","format":"int64","type":"integer"},"emailSubscriptions":{"description":"Visitors can subscribe by email (the installation sends email). Always sent; optional in the schema.","type":"boolean"},"hasPassword":{"description":"A page password is stored (it is never answered). Always sent; optional in the schema.","type":"boolean"},"hideBranding":{"description":"The page leaves out \"Powered by Monitorly Cloud\" (Business plan). Always sent; optional in the schema.","type":"boolean"},"id":{"format":"uuid","type":"string"},"logos":{"$ref":"#/components/schemas/LogosView"},"managedBy":{"$ref":"#/components/schemas/ManagedBy","description":"`config` when a config apply manages the page, `ui` otherwise. Always sent; optional in the schema\nbecause it was added after the first clients."},"projectId":{"format":"uuid","type":"string"},"publicUrl":{"description":"The page's public address (`<status host>/<slug>`), also while it is a draft (it answers 404 until\nthe page is published); null when the installation has no status page address.","type":["string","null"]},"published":{"type":"boolean"},"ref":{"description":"The page's key in a config file; null until a config apply creates or adopts it. Always sent; optional\nin the schema because it was added after the first clients.","type":["string","null"]},"slug":{"type":"string"},"subscribeUrl":{"description":"`https://t.me/<bot>?start=sub_<code>`: the page's \"Subscribe\" link; null without a bot username.","type":["string","null"]},"subscriberCount":{"description":"Telegram chats subscribed to the page's posts (active ones).","format":"int64","type":"integer"},"theme":{"oneOf":[{"$ref":"#/components/schemas/PageTheme","description":"The hosted page's theme; null is the product's own look. Always sent; optional in the schema."},{"type":"null"}]},"title":{"type":"string"},"updatedAt":{"type":"string"},"websiteUrl":{"description":"The company site the page header links to.","type":["string","null"]}},"required":["id","projectId","slug","title","published","updatedAt","components","logos","subscriberCount"],"type":"object"},"SubscriptionStatus":{"description":"A subscription's state at the payment provider.","enum":["active","trialing","past_due","paused","canceled"],"type":"string"},"SubscriptionView":{"description":"The workspace's live subscription.","properties":{"addons":{"$ref":"#/components/schemas/AddonsView"},"cancelAt":{"description":"When a cancellation the owner asked for takes effect; until then everything stays.","type":["string","null"]},"currentPeriodEnd":{"description":"When the current paid period ends (the next renewal); null while paused.","type":["string","null"]},"paidByYou":{"description":"The signed-in person pays for it (only they open the billing portal).","type":"boolean"},"period":{"$ref":"#/components/schemas/BillingPeriod"},"plan":{"$ref":"#/components/schemas/PlanRef","description":"The plan paid for (while `status` is `paused` or `canceled` it grants nothing)."},"status":{"$ref":"#/components/schemas/SubscriptionStatus"}},"required":["plan","period","status","addons","paidByYou"],"type":"object"},"TargetInput":{"additionalProperties":false,"properties":{"id":{"format":"uuid","type":"string"},"kind":{"$ref":"#/components/schemas/TargetKindDto"}},"required":["kind","id"],"type":"object"},"TargetKindDto":{"description":"What a target is.","enum":["channel","telegram_chat","member"],"type":"string"},"TargetView":{"properties":{"id":{"format":"uuid","type":"string"},"kind":{"$ref":"#/components/schemas/TargetKindDto"},"name":{"description":"The channel's name, the chat's title or the member's display name.","type":"string"}},"required":["kind","id","name"],"type":"object"},"TcpDto":{"additionalProperties":false,"properties":{"host":{"type":"string"},"port":{"format":"int32","minimum":0,"type":"integer"}},"required":["host","port"],"type":"object"},"TemperatureRuleDto":{"additionalProperties":false,"properties":{"celsius":{"description":"30–150 °C, for sensors that report no limit of their own.","format":"int32","minimum":0,"type":"integer"},"forSecs":{"format":"int32","minimum":0,"type":"integer"}},"required":["celsius"],"type":"object"},"TermsInput":{"additionalProperties":false,"properties":{"acceptTerms":{"description":"Must be true: the person ticked \"I accept the Terms and the Privacy policy\".","type":"boolean"}},"required":["acceptTerms"],"type":"object"},"TestError":{"properties":{"code":{"description":"Stable code, for example `egress.private_address`, `http.timeout`, `test.offline`.","type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"TestFailure":{"properties":{"actual":{"type":"string"},"index":{"description":"Index of the failed assertion; null for the implicit 2xx/3xx rule.","format":"int32","minimum":0,"type":["integer","null"]}},"required":["actual"],"type":"object"},"TestOutcome":{"enum":["up","degraded","down"],"type":"string"},"TestTimings":{"properties":{"connectMs":{"format":"int32","minimum":0,"type":["integer","null"]},"dnsMs":{"format":"int32","minimum":0,"type":["integer","null"]},"tlsMs":{"format":"int32","minimum":0,"type":["integer","null"]},"totalMs":{"format":"int32","minimum":0,"type":"integer"},"ttfbMs":{"format":"int32","minimum":0,"type":["integer","null"]}},"required":["totalMs"],"type":"object"},"TextOpDto":{"enum":["contains","not_contains","equals","not_equals","matches","not_matches"],"type":"string"},"ThemeFont":{"description":"The page's text face. Every one but `system` is served by status-web itself (OFL fonts, no third-party\nrequests); `system` uses the visitor's own interface font.","enum":["system","inter","ibm-plex-sans","geist","jetbrains-mono","space-grotesk","source-serif"],"type":"string"},"ThemeLayout":{"description":"`list` is the product's own layout; `compact` has denser rows and smaller bars.","enum":["list","compact"],"type":"string"},"ThemeLink":{"additionalProperties":false,"description":"A link in the page header, between the page name and the website link.","properties":{"label":{"description":"1–32 characters on one line.","type":"string"},"url":{"description":"An absolute `http` or `https` URL with a host, at most 2048 characters.","type":"string"}},"required":["label","url"],"type":"object"},"ThemeMode":{"description":"Light or dark: `auto` follows the visitor's system, `light` and `dark` force one.","enum":["auto","light","dark"],"type":"string"},"ThemePalette":{"additionalProperties":false,"description":"The page's colours in one scheme, each `#rrggbb` (stored in lower case).","properties":{"background":{"description":"Behind the page.","type":"string"},"border":{"description":"Lines between rows and around panels.","type":"string"},"muted":{"description":"Secondary text and field edges: at least 3:1 on `background` and on `surface`.","type":"string"},"surface":{"description":"Panels, cards and the header.","type":"string"},"text":{"description":"Text: at least 4.5:1 on `background` and on `surface`.","type":"string"}},"required":["background","surface","text","muted","border"],"type":"object"},"ThemeRadius":{"description":"Corner radius of panels, cards and buttons; `medium` is the product's own.","enum":["none","small","medium","large"],"type":"string"},"TokenKind":{"enum":["pat","oauth"],"type":"string"},"TotpEnrollInput":{"additionalProperties":false,"description":"The proof for starting TOTP enrollment: the current password, or none after a\nre-authentication at a linked provider within 5 minutes.","properties":{"password":{"type":["string","null"]}},"type":"object"},"TotpEnrollment":{"properties":{"otpauthUrl":{"type":"string"},"secret":{"description":"Base32 secret for manual entry.","type":"string"}},"required":["secret","otpauthUrl"],"type":"object"},"TransferInput":{"additionalProperties":false,"properties":{"userId":{"format":"uuid","type":"string"}},"required":["userId"],"type":"object"},"UsageRuleDto":{"additionalProperties":false,"properties":{"abovePercent":{"description":"1–99.","format":"int32","minimum":0,"type":"integer"},"forSecs":{"description":"How long the value must stay above; 0: at once. At most 86400.","format":"int32","minimum":0,"type":"integer"}},"required":["abovePercent"],"type":"object"},"UserView":{"properties":{"displayName":{"type":"string"},"email":{"type":"string"},"emailVerified":{"description":"The email was confirmed by the link from the sign-up email (accounts made by the CLI or an invite are\nconfirmed). Unconfirmed accounts can sign in but change nothing in a workspace.","type":"boolean"},"hasPassword":{"description":"The account has a password (one made by Google or GitHub has none until a reset link sets it). Always\nsent; optional in the schema because it came after the first clients (2026-11-15).","type":"boolean"},"id":{"format":"uuid","type":"string"},"identities":{"description":"The Google and GitHub accounts linked for sign-in. Always sent, like `hasPassword`.","items":{"$ref":"#/components/schemas/IdentityView"},"type":"array"},"installationOwner":{"type":"boolean"},"termsAcceptedAt":{"type":["string","null"]},"termsRequired":{"description":"A Google or GitHub sign-in made this account and nobody accepted the Terms yet: the dashboard asks first\n(`POST /me/terms`). Always sent.","type":"boolean"},"termsVersion":{"description":"The version of the Terms and Privacy Policy the account accepted, and when (`null` for accounts made\nbefore 2026-11-17, which are not asked). Always sent, like `hasPassword`.","type":["string","null"]},"totpEnabled":{"type":"boolean"}},"required":["id","email","displayName","installationOwner","totpEnabled","emailVerified"],"type":"object"},"VerificationInfo":{"properties":{"email":{"type":"string"},"expiresAt":{"type":"string"}},"required":["email","expiresAt"],"type":"object"},"Verified":{"properties":{"email":{"description":"The account's email, now confirmed; sign in with it.","type":"string"}},"required":["email"],"type":"object"},"VerifyInput":{"additionalProperties":false,"properties":{"token":{"type":"string"}},"required":["token"],"type":"object"},"Via":{"description":"Where a change came from.","enum":["ui","api","mcp","cli","admin"],"type":"string"},"WorkspaceInput":{"additionalProperties":false,"properties":{"name":{"type":"string"},"timezone":{"type":"string"}},"required":["name","timezone"],"type":"object"},"WorkspacePatch":{"additionalProperties":false,"properties":{"name":{"type":["string","null"]},"timezone":{"type":["string","null"]}},"type":"object"},"WorkspaceQuotas":{"description":"The workspace's quotas with their use. `used` can be above `limit`: what existed before stays.","properties":{"addons":{"$ref":"#/components/schemas/AddonsView","description":"Add-on packs bought on top of the plan."},"apiTokens":{"$ref":"#/components/schemas/QuotaUse"},"channels":{"$ref":"#/components/schemas/QuotaUse"},"checks":{"$ref":"#/components/schemas/QuotaUse"},"features":{"$ref":"#/components/schemas/PlanFeatures"},"history":{"$ref":"#/components/schemas/HistoryQuota"},"members":{"$ref":"#/components/schemas/QuotaUse","description":"Members, the owner included, and invites still open. Always sent; optional in the schema because it was\nadded after the first clients (as every field below)."},"minInterval":{"$ref":"#/components/schemas/IntervalQuota"},"plan":{"$ref":"#/components/schemas/PlanRef","description":"The plan these limits come from."},"privateNodes":{"$ref":"#/components/schemas/QuotaUse"},"projects":{"$ref":"#/components/schemas/QuotaUse"},"source":{"$ref":"#/components/schemas/PlanSource"},"statusPages":{"$ref":"#/components/schemas/QuotaUse"},"subscribersPerPage":{"$ref":"#/components/schemas/QuotaUse","description":"Email subscribers of one status page; `used` is the largest number any page of the workspace has."}},"required":["checks","minInterval","statusPages","channels","privateNodes","apiTokens","subscribersPerPage"],"type":"object"},"WorkspaceRole":{"enum":["member","admin","owner"],"type":"string"},"WorkspaceSummary":{"properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"role":{"$ref":"#/components/schemas/WorkspaceRole"}},"required":["id","name","role"],"type":"object"},"WorkspaceView":{"properties":{"blocked":{"description":"Blocked by the installation's administrator: read only, checks do not run, no alerts; public status\npages keep serving.","type":"boolean"},"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"role":{"$ref":"#/components/schemas/WorkspaceRole"},"timezone":{"description":"IANA zone: uptime days and the default zone of maintenance windows.","type":"string"}},"required":["id","name","timezone","role","blocked"],"type":"object"}},"securitySchemes":{"apiToken":{"bearerFormat":"mly_ and 43 letters and digits","description":"A personal API token, made in the dashboard under Settings → API tokens and shown once. It acts as its creator with their role at the time of each request, limited to its scopes and, when it names one, to one project. `GET` needs the `…:read` scope of its area, other methods the `…:write` one; `:write` does not include `:read`. A request carries either a token or the session cookie, never both.","scheme":"bearer","type":"http"},"oauth":{"description":"OAuth 2.1 with PKCE, as the `monitorly` CLI signs in (`monitorly login`). On this API only the CLI's own sign-ins are accepted; other agents' OAuth sign-ins work on the MCP server.","flows":{"authorizationCode":{"authorizationUrl":"https://app.monitorly.cloud/oauth/authorize","refreshUrl":"https://app.monitorly.cloud/oauth/token","scopes":{"alerts:read":"Read alert channels and escalation policies","alerts:write":"Change alert channels, escalation policies and which policy a project or check uses","checks:read":"Read checks, runs, response times, uptime reports and test results","checks:write":"Create, change, pause, test and delete checks","incidents:read":"Read incidents and draft posts for them","incidents:write":"Acknowledge incidents","maintenance:read":"Read maintenance windows","maintenance:write":"Create, change and delete maintenance windows","nodes:read":"Read nodes and servers","nodes:write":"Make join tokens, revoke nodes, set their location","pages:read":"Read status pages and their posts","pages:write":"Change status pages and post incidents","projects:write":"Create projects","telegram:read":"Read linked Telegram chats"},"tokenUrl":"https://app.monitorly.cloud/oauth/token"}},"type":"oauth2"},"session":{"description":"The dashboard's signed-in session. Changing requests with it must come from the dashboard's origin and carry `X-Monitorly-Request: 1`.","in":"cookie","name":"__Host-monitorly_session","type":"apiKey"}}},"info":{"description":"The REST API of Monitorly Cloud: checks, incidents, maintenance windows, status pages, alert channels, nodes, servers and everything else the dashboard does.\n\n- **Authentication.** Scripts, CI and agents send a personal API token as `Authorization: Bearer mly_…`. Each operation lists the scope a token needs; operations that list only `session` work only from a signed-in dashboard session and refuse tokens with `403 token.not_allowed`.\n- **Errors** are `application/problem+json` with a stable code in `type`; branch on it, never on `detail`.\n- **Lists** that page return `{items, nextCursor}`: pass `nextCursor` back as `cursor`. Lists that answer an array return everything at once.\n- **Retries.** Creating operations that take an `Idempotency-Key` header say so; a retry with the same key returns the first answer.\n- **Limits.** A token makes at most 10 requests a second (bursts of 30) and creates at most 30 resources an hour; over that, `429` with `Retry-After`.","license":{"identifier":"UNLICENSED","name":"UNLICENSED"},"title":"Monitorly API","version":"1"},"openapi":"3.1.0","paths":{"/api/v1/ack/{token}":{"get":{"description":"The incident behind the acknowledge link of an alert, for the page that asks the signed-in person to confirm. Opening it acknowledges nothing. A link older than 7 days, or of an incident that closed, answers `ack_link.not_found`.","operationId":"get_ack_link","parameters":[{"description":"The token from the link's address.","in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AckLinkView"}}},"description":"The incident of the link."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it\n- `ack_link.not_found`: the acknowledge link is unknown, older than 7 days, or its incident closed"}},"security":[{"session":[]}],"summary":"Get an acknowledge link","tags":["incidents"]}},"/api/v1/alert-channel-confirmations/{token}":{"get":{"description":"What an email channel's confirmation link confirms, without confirming it. No sign-in needed.","operationId":"get_alert_channel_confirmation","parameters":[{"description":"The token from the link's address.","in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelConfirmation"}}},"description":"The channel the link confirms."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it\n- `alert_channel.verify_not_found`: channel confirmation link not found (already used or channel deleted)"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `alert_channel.verify_expired`: confirmation link is older than 24 hours: send the email again"}},"security":[{}],"summary":"Get a confirmation link","tags":["alert-channels"]},"post":{"description":"Confirms the address of an email channel: it receives alerts from now on, and the link stops working. The link's token is the credential; no sign-in needed.","operationId":"confirm_alert_channel","parameters":[{"description":"The token from the link's address.","in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelConfirmation"}}},"description":"The confirmed channel."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it\n- `alert_channel.verify_not_found`: channel confirmation link not found (already used or channel deleted)"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `alert_channel.verify_expired`: confirmation link is older than 24 hours: send the email again"}},"security":[{}],"summary":"Confirm an email channel","tags":["alert-channels"]}},"/api/v1/alert-channels/{channelId}":{"delete":{"description":"Deletes the channel; what was waiting to be sent to it is dropped. A project admin who is not a workspace owner or admin, deleting a channel another project picked too, only drops it from their project.","operationId":"remove_alert_channel","parameters":[{"description":"The alert channel's id, or a linked Telegram chat's.","in":"path","name":"channelId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Deleted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Delete an alert channel","tags":["alert-channels"]},"patch":{"description":"Renames a channel, or turns the workspace's service notifications on or off for a channel or a linked Telegram chat (workspace owner or admin). A chat's name is its Telegram title and cannot be changed here.","operationId":"update_alert_channel","parameters":[{"description":"The alert channel's id, or a linked Telegram chat's.","in":"path","name":"channelId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertChannelPatch"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertChannelView"}}},"description":"The channel."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Update an alert channel","tags":["alert-channels"]}},"/api/v1/alert-channels/{channelId}/test":{"post":{"description":"Sends a test message to the channel. A channel that stopped delivering is active again once the test is delivered. An email channel must be confirmed first.","operationId":"send_alert_channel_test","parameters":[{"description":"The alert channel's id, or a linked Telegram chat's.","in":"path","name":"channelId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"202":{"content":{"application/json":{"example":{"pending":true},"schema":{"$ref":"#/components/schemas/ChannelRequestAccepted"}}},"description":"Accepted: the message is on its way."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `alert_channel.not_verified`: email channel is not yet confirmed via the link in the email: the test message will not be sent"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `test_message.rate_limited`: a test message to this channel or chat less than 30 seconds after the last one, or more than 20 in an hour in the workspace; wait `Retry-After` seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Send a test alert","tags":["alert-channels"]}},"/api/v1/alert-channels/{channelId}/verification":{"post":{"description":"Sends the confirmation email of an unconfirmed email channel again with a new link; the old link stops working. At most once a minute.","operationId":"resend_alert_channel_confirmation","parameters":[{"description":"The alert channel's id, or a linked Telegram chat's.","in":"path","name":"channelId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelRequestAccepted"}}},"description":"Accepted: the email is on its way."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `alert_channel.already_verified`: email channel is already confirmed: no confirmation email needed"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `alert_channel.verify_rate_limited`: a confirmation email was sent less than a minute ago; `Retry-After` is the number of seconds until a retry is possible\n- `alert_channel.mail_limited`: the address got 3 confirmation emails today, or the workspace 20; nothing was sent or created; wait `Retry-After` seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Resend a confirmation email","tags":["alert-channels"]}},"/api/v1/api-tokens/{tokenId}":{"delete":{"description":"Revokes a token, or an agent's OAuth sign-in, at once. Its creator, a workspace owner or an admin may. Revoking again changes nothing.","operationId":"revoke_api_token","parameters":[{"description":"The API token's id.","in":"path","name":"tokenId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Revoked."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Revoke an API token","tags":["api-tokens"]}},"/api/v1/auth/email-change":{"post":{"description":"Moves the account to the link's address. Signs nobody in; the old address gets a notice.","operationId":"confirm_email_change","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailChangeConfirmInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailChanged"}}},"description":"Moved."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `email_change.not_found`: the email change link does not exist"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `email_change.address_taken`: another account took the new address after the request"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `email_change.expired`: the link is older than 24 hours, or a newer request replaced it\n- `email_change.used`: the link was already used"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"}},"security":[{}],"summary":"Confirm an email change","tags":["auth"]}},"/api/v1/auth/email-change/{token}":{"get":{"description":"Whether an email change link is still usable, and which address it moves the account to.","operationId":"get_email_change","parameters":[{"description":"The token from the link's address.","in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailChangeInfo"}}},"description":"The link's addresses."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it\n- `email_change.not_found`: the email change link does not exist"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `email_change.expired`: the link is older than 24 hours, or a newer request replaced it\n- `email_change.used`: the link was already used"}},"security":[{}],"summary":"Get an email change link","tags":["auth"]}},"/api/v1/auth/login":{"post":{"description":"Signs in with email and password and sets the session cookie. An account with two-factor sign-in gets a pending session for the second step, [Sign in with a code](#login_totp).","operationId":"login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResult"}}},"description":"Signed in, or a second step is needed."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace\n- `auth.invalid_credentials`: wrong email or password"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`\n- `auth.account_unavailable`: the account cannot sign in: it is blocked or was deleted. A deleted account can be restored by support within 30 days"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `auth.rate_limited`: too many failed attempts; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{}],"summary":"Sign in","tags":["auth"]}},"/api/v1/auth/login/totp":{"post":{"description":"The second sign-in step: the code from the authenticator app. Replaces the pending session with a full one.","operationId":"login_totp","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionView"}}},"description":"The session."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `auth.totp_invalid`: wrong TOTP code\n- `auth.totp_replayed`: TOTP code for this step was already used"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `auth.rate_limited`: too many failed attempts; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Sign in with a code","tags":["auth"]}},"/api/v1/auth/logout":{"post":{"description":"Ends the session.","operationId":"logout","responses":{"204":{"description":"Signed out."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Sign out","tags":["auth"]}},"/api/v1/auth/password":{"post":{"description":"Changes the password after checking the current one. Every other session of the account ends; this one stays.","operationId":"change_password","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChangeInput"}}},"required":true},"responses":{"204":{"description":"Changed."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `auth.password_not_set`: changing the password of an account that has none (made by Google or GitHub): a reset link sets the first one"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `auth.current_password_invalid`: current password is wrong when changing the password (`/currentPassword`; counts as a failed sign-in attempt)\n- `auth.password_too_short`: password is shorter than 12 characters\n- `auth.password_too_long`: password is longer than 1024 characters"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `auth.rate_limited`: too many failed attempts; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Change the password","tags":["auth"]}},"/api/v1/auth/password-reset":{"post":{"description":"Emails a password reset link, valid for an hour, to the account with this address if there is one. The answer is the same either way.","operationId":"request_password_reset","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetRequestInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupAccepted"}}},"description":"Accepted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `auth.rate_limited`: too many failed attempts; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{}],"summary":"Request a password reset","tags":["auth"]}},"/api/v1/auth/providers":{"get":{"description":"The sign-in providers on offer, such as Google and GitHub. No sign-in needed.","operationId":"list_sign_in_providers","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SignInProviderView"},"type":"array"}}},"description":"The providers."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"}},"security":[{}],"summary":"List sign-in providers","tags":["auth"]}},"/api/v1/auth/providers/{provider}/callback":{"get":{"description":"Where the provider sends the browser back. Finishes the sign-in and redirects to the dashboard; never JSON.","operationId":"finish_provider_sign_in","parameters":[{"description":"`google` or `github`.","in":"path","name":"provider","required":true,"schema":{"type":"string"}},{"description":"The value the sign-in started with, as the provider sends it back.","in":"query","name":"state","required":false,"schema":{"type":"string"}},{"description":"The provider's authorization code.","in":"query","name":"code","required":false,"schema":{"type":"string"}},{"description":"The provider's refusal (`access_denied` when the person cancelled).","in":"query","name":"error","required":false,"schema":{"type":"string"}}],"responses":{"303":{"description":"To the dashboard: the next page, the TOTP step or the error"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it"}},"security":[{}],"summary":"Finish a provider sign-in","tags":["auth"]}},"/api/v1/auth/providers/{provider}/start":{"post":{"description":"Starts signing in (`signIn`), linking (`connect`) or confirming it is you (`reauth`) at Google or GitHub: the answer is the provider's address to open in the browser. Linking needs a session and, for an account with a password, the password.","operationId":"start_provider_sign_in","parameters":[{"description":"`google` or `github`.","in":"path","name":"provider","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderStartInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderStartView"}}},"description":"The provider's address."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `auth.current_password_invalid`: current password is wrong when changing the password (`/currentPassword`; counts as a failed sign-in attempt)"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `auth.rate_limited`: too many failed attempts; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{},{"session":[]}],"summary":"Start a provider sign-in","tags":["auth"]}},"/api/v1/auth/reset":{"post":{"description":"Sets a new password with a reset link. Every session, linked Google or GitHub account, API token and agent sign-in of the account ends, and so does two-factor sign-in.","operationId":"reset_password","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetInput"}}},"required":true},"responses":{"204":{"description":"Reset."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `reset.not_found`: reset link does not exist"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `reset.expired`: reset link is older than 1 hour\n- `reset.used`: reset link was already used"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `auth.password_too_short`: password is shorter than 12 characters\n- `auth.password_too_long`: password is longer than 1024 characters"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `auth.rate_limited`: too many failed attempts; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{}],"summary":"Reset the password","tags":["auth"]}},"/api/v1/auth/reset/{token}":{"get":{"description":"Whether a reset link is still usable, and for which account. No sign-in needed.","operationId":"get_password_reset","parameters":[{"description":"The token from the link's address.","in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetInfo"}}},"description":"The link's account."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it\n- `reset.not_found`: reset link does not exist"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `reset.expired`: reset link is older than 1 hour\n- `reset.used`: reset link was already used"}},"security":[{}],"summary":"Get a password reset link","tags":["auth"]}},"/api/v1/auth/session":{"get":{"description":"The signed-in person and their workspaces. A pending sign-in answers `auth.totp_required`.","operationId":"get_session","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionView"}}},"description":"The session."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace\n- `auth.totp_required`: password accepted, TOTP code required\n- `auth.session_expired`: session expired (7 days idle or 30 days since sign-in)"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"}},"security":[{"session":[]}],"summary":"Get the session","tags":["auth"]}},"/api/v1/auth/signup":{"post":{"description":"Creates an account and emails the link that confirms its address. The answer is the same for an address that already has an account. Signs nobody in. An installation where sign-up is by invitation refuses every request the same way.","operationId":"sign_up","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupAccepted"}}},"description":"Accepted: check the inbox."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`\n- `signup.challenge_failed`: sign-up has a challenge (`GET /auth/signup/options`) and `turnstileToken` is missing or was refused\n- `signup.closed`: sign-up is by invitation (`GET /auth/signup/options` answers `mode: invite`); every address gets the same answer"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `auth.password_too_short`: password is shorter than 12 characters\n- `auth.password_too_long`: password is longer than 1024 characters"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `signup.rate_limited`: too many sign-ups from this address or to this email domain within an hour; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Service Unavailable.\n\n- `signup.challenge_unavailable`: sign-up has a challenge and it could not be checked right now; try again"}},"security":[{}],"summary":"Sign up","tags":["auth"]}},"/api/v1/auth/signup/options":{"get":{"description":"What the sign-up form needs before it is sent: whether sign-up is open or by invitation, and the key of the challenge widget, when sign-up has one. No sign-in needed.","operationId":"get_signup_options","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupOptions"}}},"description":"The options."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"}},"security":[{}],"summary":"Get sign-up options","tags":["auth"]}},"/api/v1/auth/totp":{"delete":{"description":"Turns two-factor sign-in off with a current code from the app. Sign-in then needs only the password.","operationId":"disable_totp","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeInput"}}},"required":true},"responses":{"204":{"description":"Turned off."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `auth.totp_not_enrolled`: TOTP is not enabled or confirmation was not started"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `auth.totp_invalid`: wrong TOTP code\n- `auth.totp_replayed`: TOTP code for this step was already used"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `auth.rate_limited`: too many failed attempts; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Turn off two-factor sign-in","tags":["auth"]}},"/api/v1/auth/totp/confirm":{"post":{"description":"Confirms the enrollment with a code from the app. From now on sign-in asks for a code.","operationId":"confirm_totp","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeInput"}}},"required":true},"responses":{"204":{"description":"Confirmed."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `auth.totp_not_enrolled`: TOTP is not enabled or confirmation was not started"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `auth.totp_invalid`: wrong TOTP code"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Confirm two-factor sign-in","tags":["auth"]}},"/api/v1/auth/totp/enroll":{"post":{"description":"Starts enrolling an authenticator app with a new secret. Takes the current password, or a fresh sign-in at a linked Google or GitHub account. The account's email must be confirmed.","operationId":"enroll_totp","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TotpEnrollInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TotpEnrollment"}}},"description":"The secret and its QR code address."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`\n- `auth.email_unverified`: account email is not confirmed via the link in the email: the account cannot change anything in a workspace or create a workspace\n- `account.reauth_required`: account deletion without a password and without a provider re-authentication in the last 5 minutes\n- `account.password_required`: account deletion with a provider re-authentication instead of the password, while the account has a password and a provider linked less than 24 hours ago"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `auth.totp_already_enabled`: TOTP is already confirmed"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `auth.current_password_invalid`: current password is wrong when changing the password (`/currentPassword`; counts as a failed sign-in attempt)"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Start two-factor sign-in","tags":["auth"]}},"/api/v1/auth/verify-email":{"post":{"description":"Confirms the account's email with the link's token. Signs nobody in. Sessions in other browsers, tokens and linked accounts made before the confirmation end.","operationId":"verify_email","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Verified"}}},"description":"Confirmed."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `verification.not_found`: email verification link does not exist"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `verification.expired`: email verification link is older than 24 hours\n- `verification.used`: email verification link was already used"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"}},"security":[{}],"summary":"Confirm an email address","tags":["auth"]}},"/api/v1/auth/verify-email/resend":{"post":{"description":"Sends the signed-in account a new confirmation link: at most once a minute and five times an hour.","operationId":"resend_email_verification","responses":{"204":{"description":"Sent."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `verification.already_done`: account email is already confirmed: no new email needed"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `verification.rate_limited`: a verification email was sent less than a minute ago or 5 were already sent within an hour; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Resend the confirmation email","tags":["auth"]}},"/api/v1/auth/verify-email/{token}":{"get":{"description":"Whether an email confirmation link is still usable, and for which address. No sign-in needed.","operationId":"get_email_verification","parameters":[{"description":"The token from the link's address.","in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationInfo"}}},"description":"The link's address."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it\n- `verification.not_found`: email verification link does not exist"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `verification.expired`: email verification link is older than 24 hours\n- `verification.used`: email verification link was already used"}},"security":[{}],"summary":"Get an email confirmation link","tags":["auth"]}},"/api/v1/check-tests/{testId}":{"get":{"description":"The results of a test so far: per location `pending`, `done` (with the outcome, status code, timings and failures), `offline`, `timeout`, `failed` or `not_supported`. A test is kept for 10 minutes after its deadline.","operationId":"get_check_test","parameters":[{"description":"The test's id, from the answer that started it.","in":"path","name":"testId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":{"deadline":"2026-11-27T15:10:15Z","done":true,"id":"TEST_ID","projectId":"PROJECT_ID","results":[{"failures":[],"finishedAt":"2026-11-27T15:10:02Z","nodeId":"NODE_ID_HEL","outcome":"up","status":"done","statusCode":200,"timings":{"totalMs":47}},{"failures":[],"finishedAt":"2026-11-27T15:10:02Z","nodeId":"NODE_ID_FRA","outcome":"up","status":"done","statusCode":200,"timings":{"totalMs":24}},{"failures":[],"finishedAt":"2026-11-27T15:10:02Z","nodeId":"NODE_ID_AMS","outcome":"up","status":"done","statusCode":200,"timings":{"totalMs":31}}],"startedAt":"2026-11-27T15:10:00Z"},"schema":{"$ref":"#/components/schemas/CheckTestView"}}},"description":"The test."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:read"]},{"oauth":["checks:read"]},{"session":[]}],"summary":"Get a check test","tags":["checks"]}},"/api/v1/checks/{checkId}":{"delete":{"description":"Deletes the check with its stored secrets. Its locations stop running it.","operationId":"delete_check","parameters":[{"description":"The check's id.","in":"path","name":"checkId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Deleted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:write"]},{"oauth":["checks:write"]},{"session":[]}],"summary":"Delete a check","tags":["checks"]},"get":{"description":"One check with its status, its station row and its settings. Secret header values are never included: a header that holds a secret shows only its `secretId`.","operationId":"get_check","parameters":[{"description":"The check's id.","in":"path","name":"checkId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":{"createdAt":"2026-11-02T09:14:00Z","downAfter":2,"epoch":1,"escalationPolicyId":null,"id":"CHECK_ID","intervalSecs":30,"kind":{"assertions":[{"op":"eq","target":"status","value":200},{"op":"equals","path":"$.db","target":"json","value":"ok"}],"maxRedirects":0,"method":"GET","type":"http","url":"https://api.acme.io/healthz"},"last24h":[{"degradedMs":0,"downMs":0,"from":"2026-11-27T13:00:00Z","maintenanceMs":0,"noDataMs":0,"pausedMs":0,"to":"2026-11-27T14:00:00Z","unknownMs":0,"upMs":3600000,"worst":"UP"},{"degradedMs":0,"downMs":450000,"from":"2026-11-27T14:00:00Z","maintenanceMs":0,"noDataMs":0,"pausedMs":0,"to":"2026-11-27T14:20:00Z","unknownMs":0,"upMs":3150000,"worst":"DOWN"}],"latencyP50Ms24h":42,"managedBy":"ui","muted":false,"name":"payments-health","nodes":["NODE_ID_HEL","NODE_ID_FRA","NODE_ID_AMS"],"paused":false,"projectId":"PROJECT_ID","quorum":{"mode":"half"},"stations":[{"city":"Helsinki","countryCode":"FI","lastSeenAt":"2026-11-27T14:20:01Z","nodeHealth":"online","nodeId":"NODE_ID_HEL","nodeName":"hel-1","outcome":"up","runAt":"2026-11-27T14:20:00Z","totalMs":47},{"city":"Frankfurt","countryCode":"DE","lastSeenAt":"2026-11-27T14:20:01Z","nodeHealth":"online","nodeId":"NODE_ID_FRA","nodeName":"fra-1","outcome":"up","runAt":"2026-11-27T14:20:00Z","totalMs":24},{"city":"Amsterdam","countryCode":"NL","lastSeenAt":"2026-11-27T14:20:01Z","nodeHealth":"online","nodeId":"NODE_ID_AMS","nodeName":"ams-1","outcome":"up","runAt":"2026-11-27T14:20:00Z","totalMs":31}],"status":"UP","statusSince":"2026-11-27T14:09:41Z","timeoutMs":10000,"upAfter":2,"updatedAt":"2026-11-02T09:14:00Z","uptime30dPercent":99.97},"schema":{"$ref":"#/components/schemas/CheckWithState"}}},"description":"The check with its status."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:read"]},{"oauth":["checks:read"]},{"session":[]}],"summary":"Get a check","tags":["checks"]},"patch":{"description":"Changes only which escalation policy the check's incidents follow: its own, or the project's with `null`. An incident that is already open keeps the policy it started with. Needs the editor role; a token needs `alerts:write`.","operationId":"set_check_escalation_policy","parameters":[{"description":"The check's id.","in":"path","name":"checkId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckPatch"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckView"}}},"description":"The check."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `escalation_policy.unknown`: `escalationPolicyId` is not a policy of this workspace"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Set a check's escalation policy","tags":["checks"]},"put":{"description":"Replaces every setting of the check. To keep a stored header secret, send `{\"kind\": \"secret\", \"secretId\": …}` for it. Changing the target, the assertions, the timeout or the locations starts a new run of decisions: results of the old settings no longer count. With a token, a different `escalationPolicyId`, or none, also needs `alerts:write`.","operationId":"replace_check","parameters":[{"description":"The check's id.","in":"path","name":"checkId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"intervalSecs":60,"kind":{"assertions":[{"op":"eq","target":"status","value":200},{"op":"equals","path":"$.db","target":"json","value":"ok"}],"maxRedirects":0,"method":"GET","type":"http","url":"https://api.acme.io/healthz"},"name":"payments-health","nodes":["NODE_ID_HEL","NODE_ID_FRA","NODE_ID_AMS"],"timeoutMs":5000},"schema":{"$ref":"#/components/schemas/CheckInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"example":{"check":{"createdAt":"2026-11-02T09:14:00Z","downAfter":2,"epoch":2,"escalationPolicyId":null,"id":"CHECK_ID","intervalSecs":60,"kind":{"assertions":[{"op":"eq","target":"status","value":200},{"op":"equals","path":"$.db","target":"json","value":"ok"}],"maxRedirects":0,"method":"GET","type":"http","url":"https://api.acme.io/healthz"},"managedBy":"ui","muted":false,"name":"payments-health","nodes":["NODE_ID_HEL","NODE_ID_FRA","NODE_ID_AMS"],"paused":false,"projectId":"PROJECT_ID","quorum":{"mode":"half"},"timeoutMs":5000,"upAfter":2,"updatedAt":"2026-11-27T15:00:00Z"}},"schema":{"$ref":"#/components/schemas/CheckSaved"}}},"description":"The check as stored."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `quota.interval_too_short`: the interval (a heartbeat's period) is shorter than the plan allows; the shortest is in `params.min`. Existing checks keep theirs\n- `check.node_unavailable`: node does not exist, is revoked, or is a private node of another workspace\n- `check.secret_unknown`: `secretId` does not belong to this check\n- `check.secret_host_changed`: the URL's scheme, host or port changed, or a stored secret moved to a header with another name, while the header keeps its stored secret: enter the value again\n- `check.target_blocked`: the check runs on a platform node and its target is blocked on Monitorly Cloud; the pointer is on the target's field\n- `check.server_taken`: another server check already watches this node (`/kind/nodeId`)\n- `escalation_policy.unknown`: `escalationPolicyId` is not a policy of this workspace"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:write"]},{"oauth":["checks:write"]},{"session":[]}],"summary":"Replace a check","tags":["checks"]}},"/api/v1/checks/{checkId}/copy-rules":{"post":{"description":"Gives other server checks the rules of this one: every rule, threshold and duration, the rules of              each disk and the ignore lists. Each target keeps its server, name, project and alerts. Every              target changes, or none does. Needs the viewer role on this check and the editor role on every              target.","operationId":"copy_server_rules","parameters":[{"description":"The check's id.","in":"path","name":"checkId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopyRulesInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopyRulesResult"}}},"description":"The target checks as they are stored now."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `check.not_server`: rules are copied only from a server check to server checks"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:write"]},{"oauth":["checks:write"]},{"session":[]}],"summary":"Copy a server check's rules","tags":["checks"]}},"/api/v1/checks/{checkId}/heartbeat-token":{"post":{"description":"Gives a heartbeat check a new ping URL. The old one stops working at once, so update the job that pings it. The new URL is in this answer only.","operationId":"rotate_heartbeat_url","parameters":[{"description":"The check's id.","in":"path","name":"checkId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckSaved"}}},"description":"The check and its new `pingUrl`."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `check.not_heartbeat`: only a heartbeat check has a ping token"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:write"]},{"oauth":["checks:write"]},{"session":[]}],"summary":"Rotate a heartbeat URL","tags":["checks"]}},"/api/v1/checks/{checkId}/latency":{"get":{"description":"Response time per location over a range, as average and 95th percentile per bucket. The bucket follows from the range: raw results up to 6 hours, 5 minutes up to 7 days, an hour up to 90 days, a day beyond, and at most 1000 points per location. Intervals a location has no data for are listed in `noData`.","operationId":"get_check_latency","parameters":[{"description":"The check's id.","in":"path","name":"checkId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"RFC 3339; default 24 h before `to`.","in":"query","name":"from","required":false,"schema":{"type":"string"}},{"description":"RFC 3339; default now.","in":"query","name":"to","required":false,"schema":{"type":"string"}},{"description":"Only this node's results.","in":"query","name":"nodeId","required":false,"schema":{"format":"uuid","type":"string"}},{"deprecated":true,"description":"Ignored: response times are not paged.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Ignored: response times are not paged.","in":"query","name":"limit","required":false,"schema":{"format":"int32","minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Latency"}}},"description":"The series per location."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.invalid_cursor`: the cursor is not one this list gave\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:read"]},{"oauth":["checks:read"]},{"session":[]}],"summary":"Get response times","tags":["checks"]}},"/api/v1/checks/{checkId}/pause":{"post":{"description":"Pauses the check: its status becomes `PAUSED`, its locations stop running it and nothing is counted.","operationId":"pause_check","parameters":[{"description":"The check's id.","in":"path","name":"checkId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":{"createdAt":"2026-11-02T09:14:00Z","downAfter":2,"epoch":1,"escalationPolicyId":null,"id":"CHECK_ID","intervalSecs":30,"kind":{"assertions":[{"op":"eq","target":"status","value":200},{"op":"equals","path":"$.db","target":"json","value":"ok"}],"maxRedirects":0,"method":"GET","type":"http","url":"https://api.acme.io/healthz"},"managedBy":"ui","muted":false,"name":"payments-health","nodes":["NODE_ID_HEL","NODE_ID_FRA","NODE_ID_AMS"],"paused":true,"projectId":"PROJECT_ID","quorum":{"mode":"half"},"timeoutMs":10000,"upAfter":2,"updatedAt":"2026-11-27T15:05:00Z"},"schema":{"$ref":"#/components/schemas/CheckView"}}},"description":"The paused check."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:write"]},{"oauth":["checks:write"]},{"session":[]}],"summary":"Pause a check","tags":["checks"]}},"/api/v1/checks/{checkId}/resume":{"post":{"description":"Resumes a paused check. Its status is `PENDING` until the first decision.","operationId":"resume_check","parameters":[{"description":"The check's id.","in":"path","name":"checkId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":{"createdAt":"2026-11-02T09:14:00Z","downAfter":2,"epoch":1,"escalationPolicyId":null,"id":"CHECK_ID","intervalSecs":30,"kind":{"assertions":[{"op":"eq","target":"status","value":200},{"op":"equals","path":"$.db","target":"json","value":"ok"}],"maxRedirects":0,"method":"GET","type":"http","url":"https://api.acme.io/healthz"},"managedBy":"ui","muted":false,"name":"payments-health","nodes":["NODE_ID_HEL","NODE_ID_FRA","NODE_ID_AMS"],"paused":false,"projectId":"PROJECT_ID","quorum":{"mode":"half"},"timeoutMs":10000,"upAfter":2,"updatedAt":"2026-11-02T09:14:00Z"},"schema":{"$ref":"#/components/schemas/CheckView"}}},"description":"The resumed check."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:write"]},{"oauth":["checks:write"]},{"session":[]}],"summary":"Resume a check","tags":["checks"]}},"/api/v1/checks/{checkId}/runs":{"get":{"description":"The check's results, newest first: one row per location and run, with the outcome, timings, the status code, the error code and what the location saw of the response. The last 24 hours unless `from` and `to` say otherwise. Late results are marked.","operationId":"list_check_runs","parameters":[{"description":"The check's id.","in":"path","name":"checkId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"RFC 3339; default 24 h before `to`.","in":"query","name":"from","required":false,"schema":{"type":"string"}},{"description":"RFC 3339; default now.","in":"query","name":"to","required":false,"schema":{"type":"string"}},{"description":"Only this node's results.","in":"query","name":"nodeId","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"The `nextCursor` of the previous page. Leave it out for the first page.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"description":"Items per page, 1–200; 50 by default. A larger value counts as 200.","in":"query","name":"limit","required":false,"schema":{"default":50,"format":"int32","maximum":200,"minimum":1,"type":"integer"}},{"description":"Comma-separated outcomes to keep: `up`, `degraded`, `down`, `none` (a run without an outcome).\nDefault: every run.","in":"query","name":"outcome","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":{"items":[{"connectMs":6,"dnsMs":2,"epoch":1,"headers":{"content-type":"application/json"},"kind":"scheduled","late":false,"nodeId":"NODE_ID_FRA","outcome":"up","receivedAt":"2026-11-27T14:20:00.188Z","redirects":[],"remoteIp":"203.0.113.10","responseBytes":15,"roundId":48211,"slotAt":"2026-11-27T14:20:00Z","startedAt":"2026-11-27T14:20:00.012Z","statusCode":200,"tlsMs":9,"totalMs":24,"ttfbMs":22}],"nextCursor":"NEXT_CURSOR","nodes":[{"city":"Frankfurt","countryCode":"DE","id":"NODE_ID_FRA","name":"fra-1","revoked":false}]},"schema":{"$ref":"#/components/schemas/RunPage"}}},"description":"A page of runs and the locations they came from."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.invalid_cursor`: the cursor is not one this list gave\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:read"]},{"oauth":["checks:read"]},{"session":[]}],"summary":"List check runs","tags":["checks"]}},"/api/v1/checks/{checkId}/sla":{"get":{"description":"Uptime, downtime, incidents, mean time to acknowledge and mean time to recover of one check over a calendar month (`month`, in the workspace time zone) or a range (`from` and `to`). Without them, the current month.","operationId":"get_check_sla","parameters":[{"description":"The check's id.","in":"path","name":"checkId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"`YYYY-MM`: the calendar month in the workspace timezone. Without `month`, `from` and `to`, the\ncurrent month.","in":"query","name":"month","required":false,"schema":{"type":"string"}},{"description":"RFC 3339, together with `to`; not with `month`.","in":"query","name":"from","required":false,"schema":{"type":"string"}},{"description":"RFC 3339, together with `from`; at most 367 days after it.","in":"query","name":"to","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":{"checks":[{"acknowledged":1,"checkId":"CHECK_ID","checkName":"payments-health","degradedMs":0,"downMs":450000,"incidents":1,"maintenanceMs":0,"mttaMs":95000,"mttrMs":450000,"noDataMs":0,"resolved":1,"unknownMs":0,"upMs":2591550000,"uptimePercent":99.983}],"from":"2026-10-31T23:00:00Z","measuredTo":"2026-11-30T23:00:00Z","projectId":"PROJECT_ID","timezone":"Europe/Berlin","to":"2026-11-30T23:00:00Z","total":{"acknowledged":1,"degradedMs":0,"downMs":450000,"incidents":1,"maintenanceMs":0,"mttaMs":95000,"mttrMs":450000,"noDataMs":0,"resolved":1,"unknownMs":0,"upMs":2591550000,"uptimePercent":99.983}},"schema":{"$ref":"#/components/schemas/SlaReport"}}},"description":"The report."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it\n- `request.invalid_range`: `from` is not earlier than `to`"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:read"]},{"oauth":["checks:read"]},{"session":[]}],"summary":"Get a check's uptime report","tags":["checks"]}},"/api/v1/checks/{checkId}/sla.csv":{"get":{"description":"The same report as CSV: a header row, then one `check` row.","operationId":"get_check_sla_csv","parameters":[{"description":"The check's id.","in":"path","name":"checkId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"`YYYY-MM`: the calendar month in the workspace timezone. Without `month`, `from` and `to`, the\ncurrent month.","in":"query","name":"month","required":false,"schema":{"type":"string"}},{"description":"RFC 3339, together with `to`; not with `month`.","in":"query","name":"from","required":false,"schema":{"type":"string"}},{"description":"RFC 3339, together with `from`; at most 367 days after it.","in":"query","name":"to","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/csv":{"schema":{"type":"string"}}},"description":"RFC 4180 CSV, UTF-8"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it\n- `request.invalid_range`: `from` is not earlier than `to`"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:read"]},{"oauth":["checks:read"]},{"session":[]}],"summary":"Get a check's uptime report as CSV","tags":["checks"]}},"/api/v1/escalation-policies/{policyId}":{"delete":{"description":"Deletes a policy that no project or check uses. Workspace owner or admin.","operationId":"delete_escalation_policy","parameters":[{"description":"The escalation policy's id.","in":"path","name":"policyId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Deleted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `escalation_policy.in_use`: a project or a check uses the policy; give them another one before deleting it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Delete an escalation policy","tags":["escalation"]},"get":{"description":"One escalation policy with its levels and who uses it.","operationId":"get_escalation_policy","parameters":[{"description":"The escalation policy's id.","in":"path","name":"policyId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscalationPolicyView"}}},"description":"The policy."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:read"]},{"oauth":["alerts:read"]},{"session":[]}],"summary":"Get an escalation policy","tags":["escalation"]},"put":{"description":"Replaces the policy's name, repeats and levels. Incidents already open keep the policy they started with. Workspace owner or admin.","operationId":"replace_escalation_policy","parameters":[{"description":"The escalation policy's id.","in":"path","name":"policyId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscalationPolicyInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscalationPolicyView"}}},"description":"The policy."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `escalation_policy.no_levels`: a policy has at least one level\n- `escalation_policy.too_many_levels`: more than 10 levels; `params.max`\n- `escalation_policy.first_delay_not_zero`: level 1 goes out when the incident opens: its `delayMins` is 0\n- `escalation_policy.delay_out_of_range`: a later level waits 1 to 1440 minutes after the one before; `params.min`, `params.max`\n- `escalation_policy.too_many_targets`: more than 20 targets on a level; `params.max`\n- `escalation_policy.duplicate_target`: the same target twice on one level\n- `escalation_policy.target_unknown`: the target is not an alert channel, a linked Telegram chat or a member of this workspace\n- `escalation_policy.repeat_count_out_of_range`: `repeatCount` is more than 9\n- `escalation_policy.repeat_after_out_of_range`: `repeatAfterMins` is not 1 to 10080; `params.min`, `params.max`"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Replace an escalation policy","tags":["escalation"]}},"/api/v1/events":{"get":{"description":"Live changes of the workspace as server-sent events: `incident`, `check`, `chat`, and `resync` when the stream fell behind and the data should be read again. The stream carries changes, not history.","operationId":"stream_events","parameters":[{"description":"The workspace whose changes to stream.","in":"query","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"text/event-stream":{}},"description":"Server-sent events"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it"}},"security":[{"session":[]}],"summary":"Stream live changes","tags":["events"]}},"/api/v1/exports/{exportId}/download":{"get":{"description":"The file of a ready export, for the person who asked for it.","operationId":"download_export","parameters":[{"description":"The export's id.","in":"path","name":"exportId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"The export file."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `export.not_ready`: the export is still being built or could not be built: nothing to download yet"}},"security":[{"session":[]}],"summary":"Download a data export","tags":["auth"]}},"/api/v1/health":{"get":{"description":"Answers while the API is up. No sign-in needed.","operationId":"get_health","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health"}}},"description":"The API is up."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"}},"security":[{}],"summary":"Health","tags":["health"]}},"/api/v1/incidents/{incidentId}":{"get":{"description":"One incident with the locations that saw the check down when it opened, who acknowledged it, and its timeline.","operationId":"get_incident","parameters":[{"description":"The incident's id.","in":"path","name":"incidentId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":{"ackedAt":"2026-11-27T14:03:46Z","ackedByName":"Dana Ortiz","checkId":"CHECK_ID","checkName":"payments-health","closedAt":"2026-11-27T14:09:41Z","downNodes":[{"city":"Frankfurt","countryCode":"DE","errorCode":"timeout","nodeId":"NODE_ID_FRA"},{"city":"Amsterdam","countryCode":"NL","errorCode":"timeout","nodeId":"NODE_ID_AMS"}],"escalation":{"level":1,"levels":2,"policyName":"payments on-call","repeatCount":0,"round":1},"events":[{"at":"2026-11-27T14:02:11Z","detail":{"down":[{"city":"Frankfurt","countryCode":"DE","errorCode":"timeout","nodeId":"NODE_ID_FRA"},{"city":"Amsterdam","countryCode":"NL","errorCode":"timeout","nodeId":"NODE_ID_AMS"}]},"kind":"opened"},{"at":"2026-11-27T14:03:46Z","detail":{},"kind":"acked"},{"at":"2026-11-27T14:09:41Z","detail":{},"kind":"closed"}],"id":"INCIDENT_ID","openedAt":"2026-11-27T14:02:11Z","projectId":"PROJECT_ID"},"schema":{"$ref":"#/components/schemas/IncidentDetail"}}},"description":"The incident."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["incidents:read"]},{"oauth":["incidents:read"]},{"session":[]}],"summary":"Get an incident","tags":["incidents"]}},"/api/v1/incidents/{incidentId}/ack":{"post":{"description":"Acknowledges an open incident: its escalation stops and nobody else is paged for it. Needs the editor role.","operationId":"ack_incident","parameters":[{"description":"The incident's id.","in":"path","name":"incidentId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"`link` when the acknowledge page of an alert sends it.","in":"query","name":"via","required":false,"schema":{"description":"How the acknowledgement was made, kept in the audit log (`after.via`).","enum":["link"],"type":"string"}}],"responses":{"202":{"content":{"application/json":{"example":{"pending":true},"schema":{"$ref":"#/components/schemas/AckAccepted"}}},"description":"Accepted: the acknowledgement is being applied."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `incident.closed`: incident is closed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["incidents:write"]},{"oauth":["incidents:write"]},{"session":[]}],"summary":"Acknowledge an incident","tags":["incidents"]}},"/api/v1/incidents/{incidentId}/page-drafts":{"get":{"description":"Draft posts for an incident, one per status page of the project that shows its check, with that check's components, a title, a state and a text. Nothing is created or sent. Needs the editor role.","operationId":"list_status_page_drafts","parameters":[{"description":"The incident's id.","in":"path","name":"incidentId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PagePostDraft"},"type":"array"}}},"description":"The drafts."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["incidents:read"]},{"oauth":["incidents:read"]},{"session":[]}],"summary":"Draft posts for an incident","tags":["status-pages"]}},"/api/v1/invites/accept":{"post":{"description":"Accepts an invite. Signed in, the account joins the workspace. Without a session, a new account is made with the email, name and password given, and signed in; an email that already has an account must sign in first.","operationId":"accept_invite","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionView"}}},"description":"The session."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `invite.not_found`: invite does not exist"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `invite.sign_in_required`: an account with this email exists: sign in and accept the invite\n- `invite.already_member`: user is already in this workspace"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `invite.expired`: invite is older than 72 hours\n- `invite.used`: invite was already accepted"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{},{"session":[]}],"summary":"Accept an invite","tags":["members"]}},"/api/v1/invites/{token}":{"get":{"description":"What an invite link offers, before accepting it. No sign-in needed.","operationId":"get_invite","parameters":[{"description":"The token from the link's address.","in":"path","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteInfo"}}},"description":"The invite."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it\n- `invite.not_found`: invite does not exist"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `invite.expired`: invite is older than 72 hours\n- `invite.used`: invite was already accepted"}},"security":[{}],"summary":"Get an invite","tags":["members"]}},"/api/v1/maintenance/{windowId}":{"delete":{"description":"Deletes the window. A running occurrence ends now. Needs the editor role.","operationId":"delete_maintenance","parameters":[{"description":"The maintenance window's id.","in":"path","name":"windowId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Deleted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["maintenance:write"]},{"oauth":["maintenance:write"]},{"session":[]}],"summary":"Delete a maintenance window","tags":["maintenance"]},"get":{"description":"One maintenance window with its checks and its current or next occurrence.","operationId":"get_maintenance","parameters":[{"description":"The maintenance window's id.","in":"path","name":"windowId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceView"}}},"description":"The window."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["maintenance:read"]},{"oauth":["maintenance:read"]},{"session":[]}],"summary":"Get a maintenance window","tags":["maintenance"]},"put":{"description":"Replaces the window. Checks taken out of a running occurrence leave maintenance at once. Needs the editor role.","operationId":"replace_maintenance","parameters":[{"description":"The maintenance window's id.","in":"path","name":"windowId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceView"}}},"description":"The window."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `maintenance.ends_before_start`: window end is not later than its start\n- `maintenance.ends_in_past`: one-time window has already ended\n- `maintenance.weekdays_invalid`: weekdays are empty, repeated, or outside 1–7\n- `maintenance.duration_out_of_range`: weekly window duration is outside 1–10080 minutes\n- `maintenance.check_not_in_project`: check is not from the window's project or is repeated"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["maintenance:write"]},{"oauth":["maintenance:write"]},{"session":[]}],"summary":"Replace a maintenance window","tags":["maintenance"]}},"/api/v1/me":{"delete":{"description":"Deletes the signed-in account and ends the session. [Get what deleting needs](#get_account_deletion) says what blocks it and what proof it takes.","operationId":"delete_account","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDeletionInput"}}},"required":true},"responses":{"204":{"description":"Deleted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`\n- `account.reauth_required`: account deletion without a password and without a provider re-authentication in the last 5 minutes\n- `account.password_required`: account deletion with a provider re-authentication instead of the password, while the account has a password and a provider linked less than 24 hours ago"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `account.owns_shared_workspaces`: account deletion while the person owns a workspace with other members: transfer it first\n- `account.installation_owner`: the account owns the installation and cannot be deleted"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `account.email_mismatch`: account deletion: `confirmEmail` is not the account's email (`/confirmEmail`)\n- `auth.current_password_invalid`: current password is wrong when changing the password (`/currentPassword`; counts as a failed sign-in attempt)"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Delete the account","tags":["auth"]},"get":{"description":"The signed-in person: email, name, and whether two-factor sign-in is on.","operationId":"get_me","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserView"}}},"description":"The profile."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"}},"security":[{"session":[]}],"summary":"Get the profile","tags":["auth"]},"patch":{"description":"Changes the signed-in person's display name. The email changes with [Change the email](#request_email_change).","operationId":"update_me","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserView"}}},"description":"The profile."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Update the profile","tags":["auth"]}},"/api/v1/me/deletion":{"get":{"description":"What deleting the signed-in account would do, what blocks it and what proof it takes.","operationId":"get_account_deletion","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDeletionView"}}},"description":"What deleting would do."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"}},"security":[{"session":[]}],"summary":"Get what deleting needs","tags":["auth"]}},"/api/v1/me/email":{"post":{"description":"Asks to move the account to a new address: a confirmation link goes to it when no account has it. The answer is the same either way.","operationId":"request_email_change","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailChangeInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupAccepted"}}},"description":"Accepted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `email_change.same_address`: the new address is the account's current one (`/newEmail`)\n- `auth.current_password_invalid`: current password is wrong when changing the password (`/currentPassword`; counts as a failed sign-in attempt)"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `email_change.rate_limited`: a link was sent less than a minute ago, or 5 within an hour; wait `Retry-After` seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Change the email","tags":["auth"]}},"/api/v1/me/exports":{"get":{"description":"The signed-in person's data exports, newest first: the account's own and the workspaces'.","operationId":"list_exports","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ExportView"},"type":"array"}}},"description":"The exports."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"}},"security":[{"session":[]}],"summary":"List data exports","tags":["auth"]},"post":{"description":"Asks for a copy of the account's data and of every workspace it owns or administers. The file is built in the background.","operationId":"export_account","responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportView"}}},"description":"The export, being built."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `export.rate_limited`: an export was asked for less than an hour ago, or one is still being built; wait `Retry-After` seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Export the account's data","tags":["auth"]}},"/api/v1/me/identities/{provider}":{"delete":{"description":"Unlinks Google or GitHub from the signed-in account. The account's last way to sign in cannot be removed.","operationId":"disconnect_identity","parameters":[{"description":"`google` or `github`.","in":"path","name":"provider","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Unlinked."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `auth.last_sign_in_method`: disconnecting the only Google or GitHub account of an account without a password: it could not sign in any more"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Unlink a provider","tags":["auth"]}},"/api/v1/me/terms":{"post":{"description":"The signed-in person accepts the current Terms and Privacy Policy; the latest acceptance is kept.","operationId":"accept_terms","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TermsInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserView"}}},"description":"The profile."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Accept the terms","tags":["auth"]}},"/api/v1/nodes/enroll":{"post":{"description":"Called by the node software with a join token when a new node starts for the first time: stores the node's public keys and uses the token up. Needs no sign-in; the join token is the credential. The installer does this for you.","operationId":"enroll_node","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrollInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Enrolled"}}},"description":"The enrolled node."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `node.join_token_not_found`: join token does not exist"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `node.key_in_use`: key already belongs to another node\n- `quota.private_nodes_reached`: the workspace has as many private nodes as its plan allows"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `node.join_token_expired`: join token is older than 24 hours\n- `node.join_token_used`: join token was already used"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `node.invalid_public_key`: key is not 32 bytes in hex, or the keys are identical"}},"security":[{}],"summary":"Enroll a node","tags":["nodes"]}},"/api/v1/nodes/{nodeId}/location":{"patch":{"description":"Sets the node's country and city by hand; the location is then no longer detected from its address. Workspace owner or admin.","operationId":"set_node_location","parameters":[{"description":"The node's id.","in":"path","name":"nodeId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeView"}}},"description":"The node."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `node.invalid_country`: the country code is not an ISO 3166-1 alpha-2 code"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["nodes:write"]},{"oauth":["nodes:write"]},{"session":[]}],"summary":"Set a node's location","tags":["nodes"]}},"/api/v1/nodes/{nodeId}/revoke":{"post":{"description":"Revokes a private node: it disconnects and runs no more checks. Checks that ran on it keep their other locations. Workspace owner or admin.","operationId":"revoke_node","parameters":[{"description":"The node's id.","in":"path","name":"nodeId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Revoked."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["nodes:write"]},{"oauth":["nodes:write"]},{"session":[]}],"summary":"Revoke a node","tags":["nodes"]}},"/api/v1/oauth/requests/{requestId}":{"get":{"description":"An agent's request to sign in with the person's account, waiting for their decision on the consent screen.","operationId":"get_oauth_request","parameters":[{"description":"The sign-in request's id, from the consent screen's address.","in":"path","name":"requestId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRequestView"}}},"description":"The request."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `oauth.request_decided`: sign-in request was already approved or rejected"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `oauth.request_expired`: MCP client sign-in request is older than 10 minutes: sign-in must be started again in the client"}},"security":[{"session":[]}],"summary":"Get an agent's sign-in request","tags":["oauth"]}},"/api/v1/oauth/requests/{requestId}/approve":{"post":{"description":"Approves the request for a workspace, optionally one project, with read or write access and optionally fewer scopes. The agent can then sign in.","operationId":"approve_oauth_request","parameters":[{"description":"The sign-in request's id, from the consent screen's address.","in":"path","name":"requestId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthApproveInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthDecision"}}},"description":"Where to send the browser back to the agent."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `oauth.request_decided`: sign-in request was already approved or rejected"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `oauth.request_expired`: MCP client sign-in request is older than 10 minutes: sign-in must be started again in the client"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Approve an agent's sign-in","tags":["oauth"]}},"/api/v1/oauth/requests/{requestId}/deny":{"post":{"description":"Denies the request: the agent is told the person said no.","operationId":"deny_oauth_request","parameters":[{"description":"The sign-in request's id, from the consent screen's address.","in":"path","name":"requestId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthDecision"}}},"description":"Where to send the browser back to the agent."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `oauth.request_decided`: sign-in request was already approved or rejected"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `oauth.request_expired`: MCP client sign-in request is older than 10 minutes: sign-in must be started again in the client"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Deny an agent's sign-in","tags":["oauth"]}},"/api/v1/page-incidents/{incidentId}":{"delete":{"description":"Deletes an incident post and its updates from the page. Needs the editor role.","operationId":"delete_status_page_incident","parameters":[{"description":"The incident post's id.","in":"path","name":"incidentId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Deleted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:write"]},{"oauth":["pages:write"]},{"session":[]}],"summary":"Delete a post","tags":["status-pages"]}},"/api/v1/page-incidents/{incidentId}/updates":{"post":{"description":"Adds an update to an incident post and moves it to the update's state. `components` replaces the affected components; without it they stay. On a published page the update goes to its subscribers; a retry with the same `Idempotency-Key` answers the stored update instead of sending it again. Needs the editor role.","operationId":"add_status_page_update","parameters":[{"description":"The incident post's id.","in":"path","name":"incidentId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Any 1–255 characters, for example a UUID per intended action. A retry with the same key and the same request answers the stored response and creates nothing again; the same key with another request answers `422 request.idempotency_key_reused`. Keys are kept for 24 hours.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"body":"Payments confirm as fast as usual again.","notify":true,"state":"resolved"},"schema":{"$ref":"#/components/schemas/PageUpdateInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"example":{"components":[{"componentId":"COMPONENT_ID","impact":"partial","name":"Payments API"}],"createdAt":"2026-11-27T14:05:00Z","id":"POST_ID","pageId":"PAGE_ID","publicUrl":"https://status.monitorly.cloud/acme/incidents/POST_ID","resolvedAt":"2026-11-27T14:12:00Z","state":"resolved","title":"Payments are slow to confirm","updates":[{"body":"Payments confirm as fast as usual again.","createdAt":"2026-11-27T14:12:00Z","id":"UPDATE_ID_2","state":"resolved"},{"body":"Some card payments take longer than usual to confirm. We are looking into it.","createdAt":"2026-11-27T14:05:00Z","id":"UPDATE_ID_1","state":"investigating"}]},"schema":{"$ref":"#/components/schemas/PageIncidentView"}}},"description":"The post with its new update."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.idempotency_key_invalid`: the key is empty or longer than 255 characters\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `status_page.component_unknown`: affected component is not from this page or is repeated"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:write"]},{"oauth":["pages:write"]},{"session":[]}],"summary":"Add an update to a post","tags":["status-pages"]}},"/api/v1/plans":{"get":{"description":"The plans with their limits, features and prices. Any token may read them.","operationId":"list_plans","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlansView"}}},"description":"The plan catalogue."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":[]},{"oauth":[]},{"session":[]}],"summary":"List plans","tags":["billing"]}},"/api/v1/projects/{projectId}":{"delete":{"description":"Deletes the project with its checks, maintenance windows and status pages. Workspace owner or admin.","operationId":"delete_project","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Deleted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Delete a project","tags":["projects"]},"get":{"description":"One project with its escalation policy and the address its status pages get. Any token may read it.","operationId":"get_project","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectView"}}},"description":"The project."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":[]},{"oauth":[]},{"session":[]}],"summary":"Get a project","tags":["projects"]},"patch":{"description":"Renames the project or gives it another escalation policy (project admin). Incidents already open keep the policy they started with. A token may change only the policy (`alerts:write`); renaming needs a signed-in session.","operationId":"update_project","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectPatch"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectView"}}},"description":"The project."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `escalation_policy.unknown`: `escalationPolicyId` is not a policy of this workspace"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Update a project","tags":["projects"]}},"/api/v1/projects/{projectId}/alert-channels":{"get":{"description":"The channels and linked Telegram chats that receive the project's alerts, each with its state. With `available=true`, every channel and chat of the workspace, to pick from (project admin).","operationId":"list_project_alert_channels","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"`true`: every channel and chat of the workspace, to pick from (project admin); `projectIds` holds this\nproject when it already picked the channel. Default: only the channels the project picked.","in":"query","name":"available","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"example":[{"createdAt":"2026-11-27T15:40:00Z","id":"CHANNEL_ID","kind":"slack","lastDeliveredAt":"2026-11-27T14:02:12Z","name":"#payments-oncall","projectId":"PROJECT_ID","status":"active","target":"hooks.slack.com"},{"createdAt":"2026-11-27T15:41:00Z","id":"CHANNEL_ID_EMAIL","kind":"email","name":"On-call inbox","projectId":"PROJECT_ID","status":"unverified","target":"oncall@acme.io","verifyExpiresAt":"2026-11-28T15:41:00Z"}],"schema":{"items":{"$ref":"#/components/schemas/AlertChannelView"},"type":"array"}}},"description":"The channels."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:read"]},{"oauth":["alerts:read"]},{"session":[]}],"summary":"List a project's alert channels","tags":["alert-channels"]},"post":{"description":"Adds a channel that receives the project's alerts: email, Slack, Discord, Microsoft Teams, Google Chat, Mattermost, PagerDuty, ntfy, Pushover or a webhook. An email channel starts `unverified` and receives alerts once its address is confirmed with the emailed link. A webhook's signing secret is in this answer only. Needs the project admin role.","operationId":"create_project_alert_channel","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"kind":"slack","name":"#payments-oncall","url":"https://hooks.slack.com/services/T000/B000/XXXX"},"schema":{"$ref":"#/components/schemas/AlertChannelInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"example":{"channel":{"createdAt":"2026-11-27T15:40:00Z","id":"CHANNEL_ID","kind":"slack","name":"#payments-oncall","projectId":"PROJECT_ID","status":"active","target":"hooks.slack.com"}},"schema":{"$ref":"#/components/schemas/CreatedAlertChannel"}}},"description":"The channel; `secret` only for a webhook."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `alert_channel.duplicate`: the workspace already has a channel with this email, URL, ntfy topic, PagerDuty key or Pushover keys\n- `alert_channel.limit_reached`: the workspace reached the ceiling of 1000 channels\n- `quota.channels_reached`: the workspace has as many alert channels as its plan allows (Telegram chats are not counted)"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `alert_channel.url_not_allowed`: the address is not allowed: not `https`, credentials in the address, the host is an internal address, or the URL is not on the provider's host and path (Slack, Discord, Microsoft Teams, Google Chat) or not its fixed address (PagerDuty, Pushover); `detail` gives the expected form"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `alert_channel.mail_limited`: the address got 3 confirmation emails today, or the workspace 20; nothing was sent or created; wait `Retry-After` seconds\n- `token.create_limited`: more than 30 resources created within an hour from one token; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Add an alert channel","tags":["alert-channels"]}},"/api/v1/projects/{projectId}/alert-channels/{channelId}":{"delete":{"description":"The project's alerts no longer go to this channel or chat. The channel stays in the workspace for the other projects. Needs the project admin role.","operationId":"remove_project_alert_channel","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The alert channel's id, or a linked Telegram chat's.","in":"path","name":"channelId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Dropped."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Drop a channel from a project","tags":["alert-channels"]},"put":{"description":"The project's alerts go to this channel or linked Telegram chat of the workspace from now on. Picking it again changes nothing. Needs the project admin role.","operationId":"add_project_alert_channel","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The alert channel's id, or a linked Telegram chat's.","in":"path","name":"channelId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Picked."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Pick a channel for a project","tags":["alert-channels"]}},"/api/v1/projects/{projectId}/check-tests":{"post":{"description":"Runs a check once on each of its locations without saving anything, for example before creating it or after a deploy. `check` is validated as for [Create a check](#create_check); `checkId` lets the test use the stored secrets of a saved check. The answer comes at once with every location `pending`: poll [Get a check test](#get_check_test) for the results. Heartbeat checks cannot be tested.","operationId":"start_check_test","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"check":{"intervalSecs":30,"kind":{"assertions":[{"op":"eq","target":"status","value":200},{"op":"equals","path":"$.db","target":"json","value":"ok"}],"maxRedirects":0,"method":"GET","type":"http","url":"https://api.acme.io/healthz"},"name":"payments-health","nodes":["NODE_ID_HEL","NODE_ID_FRA","NODE_ID_AMS"]}},"schema":{"$ref":"#/components/schemas/CheckTestInput"}}},"required":true},"responses":{"202":{"content":{"application/json":{"example":{"deadline":"2026-11-27T15:10:15Z","done":false,"id":"TEST_ID","projectId":"PROJECT_ID","results":[{"failures":[],"nodeId":"NODE_ID_HEL","status":"pending"},{"failures":[],"nodeId":"NODE_ID_FRA","status":"pending"},{"failures":[],"nodeId":"NODE_ID_AMS","status":"pending"}],"startedAt":"2026-11-27T15:10:00Z"},"schema":{"$ref":"#/components/schemas/CheckTestView"}}},"description":"The test, with every location pending."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `check_test.not_runnable`: a heartbeat check waits for pings and cannot be checked on nodes\n- `check.node_unavailable`: node does not exist, is revoked, or is a private node of another workspace"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `check_test.busy`: a test of this check by you is already running, or the project already runs 3 tests; `Retry-After` in seconds\n- `check_test.rate_limited`: more than 20 tests in 10 minutes by you or in the workspace; wait `Retry-After` seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:write"]},{"oauth":["checks:write"]},{"session":[]}],"summary":"Test a check","tags":["checks"]}},"/api/v1/projects/{projectId}/checks":{"get":{"description":"The project's checks in the order they were created, each with its status, the station row (the latest result at each of its locations), the last 24 hours by the hour, 30-day uptime and the median response time. Secret header values are never included.","operationId":"list_checks","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The `nextCursor` of the previous page. Leave it out for the first page.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"description":"Items per page, 1–200; 50 by default. A larger value counts as 200.","in":"query","name":"limit","required":false,"schema":{"default":50,"format":"int32","maximum":200,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"example":{"items":[{"createdAt":"2026-11-02T09:14:00Z","downAfter":2,"epoch":1,"escalationPolicyId":null,"id":"CHECK_ID","intervalSecs":30,"kind":{"assertions":[{"op":"eq","target":"status","value":200},{"op":"equals","path":"$.db","target":"json","value":"ok"}],"maxRedirects":0,"method":"GET","type":"http","url":"https://api.acme.io/healthz"},"last24h":[{"degradedMs":0,"downMs":0,"from":"2026-11-27T13:00:00Z","maintenanceMs":0,"noDataMs":0,"pausedMs":0,"to":"2026-11-27T14:00:00Z","unknownMs":0,"upMs":3600000,"worst":"UP"},{"degradedMs":0,"downMs":450000,"from":"2026-11-27T14:00:00Z","maintenanceMs":0,"noDataMs":0,"pausedMs":0,"to":"2026-11-27T14:20:00Z","unknownMs":0,"upMs":3150000,"worst":"DOWN"}],"latencyP50Ms24h":42,"managedBy":"ui","muted":false,"name":"payments-health","nodes":["NODE_ID_HEL","NODE_ID_FRA","NODE_ID_AMS"],"paused":false,"projectId":"PROJECT_ID","quorum":{"mode":"half"},"stations":[{"city":"Helsinki","countryCode":"FI","lastSeenAt":"2026-11-27T14:20:01Z","nodeHealth":"online","nodeId":"NODE_ID_HEL","nodeName":"hel-1","outcome":"up","runAt":"2026-11-27T14:20:00Z","totalMs":47},{"city":"Frankfurt","countryCode":"DE","lastSeenAt":"2026-11-27T14:20:01Z","nodeHealth":"online","nodeId":"NODE_ID_FRA","nodeName":"fra-1","outcome":"up","runAt":"2026-11-27T14:20:00Z","totalMs":24},{"city":"Amsterdam","countryCode":"NL","lastSeenAt":"2026-11-27T14:20:01Z","nodeHealth":"online","nodeId":"NODE_ID_AMS","nodeName":"ams-1","outcome":"up","runAt":"2026-11-27T14:20:00Z","totalMs":31}],"status":"UP","statusSince":"2026-11-27T14:09:41Z","timeoutMs":10000,"upAfter":2,"updatedAt":"2026-11-02T09:14:00Z","uptime30dPercent":99.97}],"nextCursor":null},"schema":{"$ref":"#/components/schemas/CheckPage"}}},"description":"A page of checks."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.invalid_cursor`: the cursor is not one this list gave\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"example":{"detail":"too many requests with this token","errors":[],"status":429,"title":"Too Many Requests","type":"token.rate_limited"},"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:read"]},{"oauth":["checks:read"]},{"session":[]}],"summary":"List checks","tags":["checks"]},"post":{"description":"Creates a check in the project. Every kind but `heartbeat` and `server` needs `nodes`: list them with [List nodes](#list_nodes) and pick the locations. Missing settings take their defaults: a 10 s timeout, a quorum of half the locations, two rounds to go down and two to recover.\n\nA heartbeat check answers its ping URL once, in `pingUrl`. Setting `escalationPolicyId` with a token also needs `alerts:write`. Validation errors point at the field (`check.*` codes, 422).","operationId":"create_check","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Any 1–255 characters, for example a UUID per intended action. A retry with the same key and the same request answers the stored response and creates nothing again; the same key with another request answers `422 request.idempotency_key_reused`. Keys are kept for 24 hours.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"intervalSecs":30,"kind":{"assertions":[{"op":"eq","target":"status","value":200},{"op":"equals","path":"$.db","target":"json","value":"ok"}],"maxRedirects":0,"method":"GET","type":"http","url":"https://api.acme.io/healthz"},"name":"payments-health","nodes":["NODE_ID_HEL","NODE_ID_FRA","NODE_ID_AMS"]},"schema":{"$ref":"#/components/schemas/CheckInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"example":{"check":{"createdAt":"2026-11-02T09:14:00Z","downAfter":2,"epoch":1,"escalationPolicyId":null,"id":"CHECK_ID","intervalSecs":30,"kind":{"assertions":[{"op":"eq","target":"status","value":200},{"op":"equals","path":"$.db","target":"json","value":"ok"}],"maxRedirects":0,"method":"GET","type":"http","url":"https://api.acme.io/healthz"},"managedBy":"ui","muted":false,"name":"payments-health","nodes":["NODE_ID_HEL","NODE_ID_FRA","NODE_ID_AMS"],"paused":false,"projectId":"PROJECT_ID","quorum":{"mode":"half"},"timeoutMs":10000,"upAfter":2,"updatedAt":"2026-11-02T09:14:00Z"}},"schema":{"$ref":"#/components/schemas/CheckSaved"}}},"description":"The check as stored; `pingUrl` only for a new heartbeat check."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.idempotency_key_invalid`: the key is empty or longer than 255 characters\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"example":{"detail":"this token needs the scope checks:write","errors":[],"status":403,"title":"Forbidden","type":"token.scope_missing"},"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"example":{"detail":"the workspace already runs as many checks as the Team plan allows (100); pause another check first, or the Business plan allows more: upgrade the plan in the workspace settings (Plan & billing)","errors":[],"status":409,"title":"Conflict","type":"quota.checks_reached"},"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `quota.checks_reached`: the workspace has as many checks as its plan allows"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"example":{"detail":null,"errors":[{"code":"check.invalid_url","params":{},"pointer":"/kind/url"}],"status":422,"title":"Unprocessable Entity","type":"check.invalid_url"},"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `quota.interval_too_short`: the interval (a heartbeat's period) is shorter than the plan allows; the shortest is in `params.min`. Existing checks keep theirs\n- `check.node_unavailable`: node does not exist, is revoked, or is a private node of another workspace\n- `check.target_blocked`: the check runs on a platform node and its target is blocked on Monitorly Cloud; the pointer is on the target's field\n- `check.server_taken`: another server check already watches this node (`/kind/nodeId`)\n- `escalation_policy.unknown`: `escalationPolicyId` is not a policy of this workspace"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `token.create_limited`: more than 30 resources created within an hour from one token; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:write"]},{"oauth":["checks:write"]},{"session":[]}],"summary":"Create a check","tags":["checks"]}},"/api/v1/projects/{projectId}/config":{"get":{"description":"The project's checks, status pages and maintenance windows in the shape of `monitorly.yaml`. A token gets the sections it has a read scope for (`checks:read`, `pages:read`, `maintenance:read`). Resources without a `ref` get one made from their name.","operationId":"export_config","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigBody"}}},"description":"The configuration."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":[]},{"oauth":[]},{"session":[]}],"summary":"Export a project's configuration","tags":["config"]}},"/api/v1/projects/{projectId}/config/apply":{"post":{"description":"Applies a stored plan of this project, all of it or nothing. Applying it again answers the first result. A plan whose resources changed since it was made is refused: plan again.","operationId":"apply_config","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"planId":"PLAN_ID"},"schema":{"$ref":"#/components/schemas/ConfigApplyInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"example":{"appliedAt":"2026-11-27T16:01:00Z","changes":[{"action":"update","diff":[{"after":30,"before":60,"path":"/intervalSecs"}],"id":"CHECK_ID","ref":"payments-health","resourceType":"check","warnings":[]}],"created":[],"planId":"PLAN_ID","summary":{"create":0,"delete":0,"unchanged":0,"update":1}},"schema":{"$ref":"#/components/schemas/ConfigApplyView"}}},"description":"What was created, changed and deleted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `config.plan_stale`: plan resources changed after `plan`: build the plan again"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Gone.\n\n- `config.plan_expired`: plan is older than 15 minutes and was not applied"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `token.create_limited`: more than 30 resources created within an hour from one token; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":[]},{"oauth":[]},{"session":[]}],"summary":"Apply a plan","tags":["config"]}},"/api/v1/projects/{projectId}/config/plan":{"post":{"description":"Compares a `monitorly.yaml` body with the project and stores the plan for 15 minutes: what would be created, changed and deleted. Nothing changes until [Apply a plan](#apply_config). A token needs the write scope of every section in the body. Needs the editor role.","operationId":"plan_config","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"checks":[{"intervalSecs":30,"kind":{"assertions":[{"op":"eq","target":"status","value":200},{"op":"equals","path":"$.db","target":"json","value":"ok"}],"maxRedirects":0,"method":"GET","type":"http","url":"https://api.acme.io/healthz"},"name":"payments-health","nodes":["NODE_ID_HEL","NODE_ID_FRA","NODE_ID_AMS"],"ref":"payments-health"}],"prune":false},"schema":{"$ref":"#/components/schemas/ConfigBody"}}},"required":true},"responses":{"201":{"content":{"application/json":{"example":{"changes":[{"action":"update","diff":[{"after":30,"before":60,"path":"/intervalSecs"}],"id":"CHECK_ID","ref":"payments-health","resourceType":"check","warnings":[]}],"expiresAt":"2026-11-27T16:30:00Z","planId":"PLAN_ID","projectId":"PROJECT_ID","prune":false,"summary":{"create":0,"delete":0,"unchanged":0,"update":1}},"schema":{"$ref":"#/components/schemas/ConfigPlanView"}}},"description":"The plan."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `config.ref_invalid`: `ref` does not match `^[a-z0-9][a-z0-9-]{0,62}$`\n- `config.ref_duplicate`: `ref` is repeated in a plan section (for components, on a page)\n- `config.ref_unknown`: reference to a check by a `ref` that exists neither in the plan nor in the project\n- `config.plan_too_large`: body has more than 300 resources or a page has more than 300 components (`params.max`)"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":[]},{"oauth":[]},{"session":[]}],"summary":"Plan a configuration","tags":["config"]}},"/api/v1/projects/{projectId}/config/plans/{planId}":{"get":{"description":"A stored plan as [Plan a configuration](#plan_config) answered it, with `appliedAt` once applied. Kept for a day after it expires.","operationId":"get_config_plan","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The plan's id, from the answer that made it.","in":"path","name":"planId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigPlanView"}}},"description":"The plan."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":[]},{"oauth":[]},{"session":[]}],"summary":"Get a plan","tags":["config"]}},"/api/v1/projects/{projectId}/incidents":{"get":{"description":"The project's incidents, newest first. Filter by `state`, by `checkId`, by when they opened (`from`, `to`) and by when they closed (`closedAfter`: still open, or closed at or after that instant).","operationId":"list_incidents","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"`open` or `closed`; every incident without it.","in":"query","name":"state","required":false,"schema":{"$ref":"#/components/schemas/IncidentFilter"}},{"description":"Only this check's incidents.","in":"query","name":"checkId","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"RFC 3339: only incidents opened at or after this instant.","in":"query","name":"from","required":false,"schema":{"type":"string"}},{"description":"RFC 3339: only incidents opened before this instant.","in":"query","name":"to","required":false,"schema":{"type":"string"}},{"description":"RFC 3339: only incidents still open or closed at or after this instant; with `to`, the incidents that\noverlap the window.","in":"query","name":"closedAfter","required":false,"schema":{"type":"string"}},{"description":"The `nextCursor` of the previous page. Leave it out for the first page.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"description":"Items per page, 1–200; 50 by default. A larger value counts as 200.","in":"query","name":"limit","required":false,"schema":{"default":50,"format":"int32","maximum":200,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"example":{"items":[{"ackedAt":"2026-11-27T14:03:46Z","ackedByName":"Dana Ortiz","checkId":"CHECK_ID","checkName":"payments-health","closedAt":"2026-11-27T14:09:41Z","downNodes":[{"city":"Frankfurt","countryCode":"DE","errorCode":"timeout","nodeId":"NODE_ID_FRA"},{"city":"Amsterdam","countryCode":"NL","errorCode":"timeout","nodeId":"NODE_ID_AMS"}],"escalation":{"level":1,"levels":2,"policyName":"payments on-call","repeatCount":0,"round":1},"id":"INCIDENT_ID","openedAt":"2026-11-27T14:02:11Z","projectId":"PROJECT_ID"}],"nextCursor":null},"schema":{"$ref":"#/components/schemas/IncidentPage"}}},"description":"A page of incidents."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.invalid_cursor`: the cursor is not one this list gave\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it\n- `request.invalid_range`: `from` is not earlier than `to`"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["incidents:read"]},{"oauth":["incidents:read"]},{"session":[]}],"summary":"List incidents","tags":["incidents"]}},"/api/v1/projects/{projectId}/maintenance":{"get":{"description":"The project's maintenance windows, one-time and weekly, with the checks they cover.","operationId":"list_maintenance","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":[{"checkIds":["CHECK_ID"],"createdAt":"2026-11-27T15:20:00Z","id":"WINDOW_ID","managedBy":"ui","projectId":"PROJECT_ID","schedule":{"endsAt":"2026-12-01T23:00:00Z","kind":"once","startsAt":"2026-12-01T22:00:00Z"},"timezone":"Europe/Berlin","title":"Database upgrade","upcoming":[{"active":false,"endsAt":"2026-12-01T23:00:00Z","localEndsAt":"2026-12-02T00:00:00","localStartsAt":"2026-12-01T23:00:00","startsAt":"2026-12-01T22:00:00Z"}]}],"schema":{"items":{"$ref":"#/components/schemas/MaintenanceView"},"type":"array"}}},"description":"Every window of the project."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["maintenance:read"]},{"oauth":["maintenance:read"]},{"session":[]}],"summary":"List maintenance windows","tags":["maintenance"]},"post":{"description":"Creates a one-time or weekly window. During a window its checks are in `MAINTENANCE`: they keep running, open no incidents and send no alerts. Needs the editor role.","operationId":"create_maintenance","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Any 1–255 characters, for example a UUID per intended action. A retry with the same key and the same request answers the stored response and creates nothing again; the same key with another request answers `422 request.idempotency_key_reused`. Keys are kept for 24 hours.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"checkIds":["CHECK_ID"],"schedule":{"endsAt":"2026-12-01T23:00:00Z","kind":"once","startsAt":"2026-12-01T22:00:00Z"},"timezone":"Europe/Berlin","title":"Database upgrade"},"schema":{"$ref":"#/components/schemas/MaintenanceInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"example":{"checkIds":["CHECK_ID"],"createdAt":"2026-11-27T15:20:00Z","id":"WINDOW_ID","managedBy":"ui","projectId":"PROJECT_ID","schedule":{"endsAt":"2026-12-01T23:00:00Z","kind":"once","startsAt":"2026-12-01T22:00:00Z"},"timezone":"Europe/Berlin","title":"Database upgrade","upcoming":[{"active":false,"endsAt":"2026-12-01T23:00:00Z","localEndsAt":"2026-12-02T00:00:00","localStartsAt":"2026-12-01T23:00:00","startsAt":"2026-12-01T22:00:00Z"}]},"schema":{"$ref":"#/components/schemas/MaintenanceView"}}},"description":"The window."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.idempotency_key_invalid`: the key is empty or longer than 255 characters\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `maintenance.ends_before_start`: window end is not later than its start\n- `maintenance.ends_in_past`: one-time window has already ended\n- `maintenance.weekdays_invalid`: weekdays are empty, repeated, or outside 1–7\n- `maintenance.duration_out_of_range`: weekly window duration is outside 1–10080 minutes\n- `maintenance.check_not_in_project`: check is not from the window's project or is repeated"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `token.create_limited`: more than 30 resources created within an hour from one token; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["maintenance:write"]},{"oauth":["maintenance:write"]},{"session":[]}],"summary":"Create a maintenance window","tags":["maintenance"]}},"/api/v1/projects/{projectId}/members":{"get":{"description":"The members with a role in the project. Workspace owners and admins are project admins everywhere without one. Needs the project admin role.","operationId":"list_project_members","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProjectMemberView"},"type":"array"}}},"description":"The project's members."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"}},"security":[{"session":[]}],"summary":"List a project's members","tags":["members"]}},"/api/v1/projects/{projectId}/members/{userId}":{"delete":{"description":"Takes away the member's role in the project. Needs the project admin role.","operationId":"remove_project_member","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The member's user id.","in":"path","name":"userId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Removed."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Remove a member's project role","tags":["members"]},"put":{"description":"Gives a workspace member a role in the project: viewer, editor or admin. Needs the project admin role.","operationId":"set_project_member","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The member's user id.","in":"path","name":"userId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectRoleInput"}}},"required":true},"responses":{"204":{"description":"Granted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `member.not_in_workspace`: user is not a member of the workspace"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Give a member a project role","tags":["members"]}},"/api/v1/projects/{projectId}/sla":{"get":{"description":"The uptime report of every check of the project, by name, and their total.","operationId":"get_project_sla","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"`YYYY-MM`: the calendar month in the workspace timezone. Without `month`, `from` and `to`, the\ncurrent month.","in":"query","name":"month","required":false,"schema":{"type":"string"}},{"description":"RFC 3339, together with `to`; not with `month`.","in":"query","name":"from","required":false,"schema":{"type":"string"}},{"description":"RFC 3339, together with `from`; at most 367 days after it.","in":"query","name":"to","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlaReport"}}},"description":"The report."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it\n- `request.invalid_range`: `from` is not earlier than `to`"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:read"]},{"oauth":["checks:read"]},{"session":[]}],"summary":"Get a project's uptime report","tags":["checks"]}},"/api/v1/projects/{projectId}/sla.csv":{"get":{"description":"The same report as CSV: a header row, one `check` row per check, then the `project` total.","operationId":"get_project_sla_csv","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"`YYYY-MM`: the calendar month in the workspace timezone. Without `month`, `from` and `to`, the\ncurrent month.","in":"query","name":"month","required":false,"schema":{"type":"string"}},{"description":"RFC 3339, together with `to`; not with `month`.","in":"query","name":"from","required":false,"schema":{"type":"string"}},{"description":"RFC 3339, together with `from`; at most 367 days after it.","in":"query","name":"to","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/csv":{"schema":{"type":"string"}}},"description":"RFC 4180 CSV, UTF-8"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it\n- `request.invalid_range`: `from` is not earlier than `to`"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["checks:read"]},{"oauth":["checks:read"]},{"session":[]}],"summary":"Get a project's uptime report as CSV","tags":["checks"]}},"/api/v1/projects/{projectId}/status-pages":{"get":{"description":"The project's status pages, drafts included.","operationId":"list_status_pages","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":[{"access":"public","components":[{"checkId":"CHECK_ID","followsCheck":true,"id":"COMPONENT_ID","name":"Payments API","position":0}],"customDomain":null,"emailSubscriptions":false,"id":"PAGE_ID","logos":{"dark":null,"light":null},"managedBy":"ui","projectId":"PROJECT_ID","publicUrl":"https://status.monitorly.cloud/acme","published":true,"slug":"acme","subscriberCount":0,"title":"Acme status","updatedAt":"2026-11-27T15:30:00Z"}],"schema":{"items":{"$ref":"#/components/schemas/StatusPageView"},"type":"array"}}},"description":"Every page of the project."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:read"]},{"oauth":["pages:read"]},{"session":[]}],"summary":"List status pages","tags":["status-pages"]},"post":{"description":"Creates a status page. A page starts as a draft: add components, then publish it with [Update a status page](#update_status_page). `published: true` here needs components.","operationId":"create_status_page","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Any 1–255 characters, for example a UUID per intended action. A retry with the same key and the same request answers the stored response and creates nothing again; the same key with another request answers `422 request.idempotency_key_reused`. Keys are kept for 24 hours.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"published":false,"slug":"acme","title":"Acme status"},"schema":{"$ref":"#/components/schemas/StatusPageInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"example":{"access":"public","components":[],"customDomain":null,"emailSubscriptions":false,"id":"PAGE_ID","logos":{"dark":null,"light":null},"managedBy":"ui","projectId":"PROJECT_ID","publicUrl":"https://status.monitorly.cloud/acme","published":false,"slug":"acme","subscriberCount":0,"title":"Acme status","updatedAt":"2026-11-27T15:30:00Z"},"schema":{"$ref":"#/components/schemas/StatusPageView"}}},"description":"The page."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.idempotency_key_invalid`: the key is empty or longer than 255 characters\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `status_page.slug_taken`: slug already belongs to another page\n- `quota.status_pages_reached`: the workspace has as many status pages as its plan allows"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `status_page.slug_invalid`: slug does not match `^[a-z0-9][a-z0-9-]{1,62}$`\n- `status_page.slug_reserved`: the slug is reserved: `healthz`, `readyz`, `metrics`\n- `status_page.components_required`: publishing a page that has no components: a new page is created as a draft, and `published: true` needs at least one component (`/published`)"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `token.create_limited`: more than 30 resources created within an hour from one token; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:write"]},{"oauth":["pages:write"]},{"session":[]}],"summary":"Create a status page","tags":["status-pages"]}},"/api/v1/projects/{projectId}/telegram/chats":{"get":{"description":"The Telegram chats that receive the project's alerts: picked by the project or linked with its code, ones that stopped delivering included.","operationId":"list_project_telegram_chats","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ChatView"},"type":"array"}}},"description":"The chats."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["telegram:read"]},{"oauth":["telegram:read"]},{"session":[]}],"summary":"List a project's Telegram chats","tags":["telegram"]}},"/api/v1/projects/{projectId}/telegram/link-codes":{"post":{"description":"A one-time code that links a Telegram chat to the project's alerts: open `startUrl` for a private chat or `startGroupUrl` for a group. Needs the project admin role.","operationId":"create_project_telegram_link_code","parameters":[{"description":"The project's id.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCode"}}},"description":"The code and its links."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Link a Telegram chat to a project","tags":["telegram"]}},"/api/v1/schemas/monitorly-config.json":{"get":{"description":"The JSON Schema of `monitorly.yaml`, for editors and validators. No sign-in needed.","operationId":"get_config_schema","responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"JSON Schema 2020-12 of the config body"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"}},"security":[{}],"summary":"Get the monitorly.yaml schema","tags":["config"]}},"/api/v1/servers/{nodeId}":{"get":{"description":"One server with its filesystems, containers and services as it last reported them; from a node of              2026-11-28 or later also its OS, disks, network cards, temperatures, pressure and top processes,              and with a server check its notices and restarts.","operationId":"get_server","parameters":[{"description":"The id of the private node that runs on the server.","in":"path","name":"nodeId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerDetail"}}},"description":"The server."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["nodes:read"]},{"oauth":["nodes:read"]},{"session":[]}],"summary":"Get a server","tags":["servers"]}},"/api/v1/servers/{nodeId}/container-series":{"get":{"description":"One container's CPU and memory over the last 24 hours, 7 or 30 days.","operationId":"get_server_container_series","parameters":[{"description":"The id of the private node that runs on the server.","in":"path","name":"nodeId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The container's name as the node reports it (without the leading `/`).","in":"query","name":"name","required":false,"schema":{"type":"string"}},{"description":"`24h` (5-minute points, the default), `7d` or `30d` (hourly points).","in":"query","name":"range","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContainerSeries"}}},"description":"The series."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["nodes:read"]},{"oauth":["nodes:read"]},{"session":[]}],"summary":"Get a container's metrics","tags":["servers"]}},"/api/v1/servers/{nodeId}/device-series":{"get":{"description":"Every disk, network card, temperature sensor or filesystem of a server over the last 24 hours, 7 or 30 days, by name.","operationId":"get_server_device_series","parameters":[{"description":"The id of the private node that runs on the server.","in":"path","name":"nodeId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"`disk` (whole block devices), `interface` (network cards), `sensor` (temperatures) or `filesystem`.","in":"query","name":"kind","required":false,"schema":{"type":"string"}},{"description":"`24h` (5-minute points, the default), `7d` or `30d` (hourly points).","in":"query","name":"range","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceSeries"}}},"description":"The series."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["nodes:read"]},{"oauth":["nodes:read"]},{"session":[]}],"summary":"Get each device's metrics","tags":["servers"]}},"/api/v1/servers/{nodeId}/series":{"get":{"description":"CPU, load, memory, disk and network of a server over the last 24 hours (5-minute points), 7 or 30 days (hourly points); from a newer node also IO wait, steal, network cards, pressure and temperature.","operationId":"get_server_series","parameters":[{"description":"The id of the private node that runs on the server.","in":"path","name":"nodeId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"`24h` (5-minute points, the default), `7d` or `30d` (hourly points).","in":"query","name":"range","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerSeries"}}},"description":"The series."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["nodes:read"]},{"oauth":["nodes:read"]},{"session":[]}],"summary":"Get a server's metrics","tags":["servers"]}},"/api/v1/status-pages/{pageId}":{"delete":{"description":"Deletes the page with its posts. Its address stops answering at once. Needs the editor role.","operationId":"delete_status_page","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Deleted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:write"]},{"oauth":["pages:write"]},{"session":[]}],"summary":"Delete a status page","tags":["status-pages"]},"get":{"description":"One status page with its address, components, logos, custom domain and subscriber count.","operationId":"get_status_page","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusPageView"}}},"description":"The page."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:read"]},{"oauth":["pages:read"]},{"session":[]}],"summary":"Get a status page","tags":["status-pages"]},"patch":{"description":"Changes the slug, the title or whether the page is published (editor role), or the website link and the accent colour (project admin). A field left out is not changed; `null` clears the link and the colour. The accent must keep white text readable (contrast 4.5:1).","operationId":"update_status_page","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusPagePatch"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusPageView"}}},"description":"The page."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `status_page.slug_taken`: slug already belongs to another page"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `status_page.slug_invalid`: slug does not match `^[a-z0-9][a-z0-9-]{1,62}$`\n- `status_page.slug_reserved`: the slug is reserved: `healthz`, `readyz`, `metrics`\n- `status_page.components_required`: publishing a page that has no components: a new page is created as a draft, and `published: true` needs at least one component (`/published`)\n- `status_page.accent_contrast_low`: contrast of white text on the accent color is less than 4.5:1 (`params.ratio`)\n- `status_page.password_required`: access `password` without a password (neither in the request nor stored)"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:write"]},{"oauth":["pages:write"]},{"session":[]}],"summary":"Update a status page","tags":["status-pages"]}},"/api/v1/status-pages/{pageId}/access-ticket":{"post":{"description":"Lets a signed-in member of the workspace open a page that only members may see: the answer's `redirectUrl` opens the page in the browser. Any role of the workspace may.","operationId":"create_status_page_access_ticket","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTicketInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTicketView"}}},"description":"Where to send the browser."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Open a members-only page","tags":["status-pages"]}},"/api/v1/status-pages/{pageId}/components":{"put":{"description":"Replaces the page's components. Each shows one check of the page's project, optionally in a `group`. A component whose check stays on the page keeps its id, so posts about it keep pointing at it. Without `name`, a component follows its check's name.","operationId":"set_status_page_components","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComponentsInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusPageView"}}},"description":"The page."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `status_page.check_not_in_project`: component check is not from the page's project"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:write"]},{"oauth":["pages:write"]},{"session":[]}],"summary":"Set a page's components","tags":["status-pages"]}},"/api/v1/status-pages/{pageId}/domain":{"delete":{"description":"The page stops being served on its custom domain at once. Needs the project admin role.","operationId":"delete_status_page_domain","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusPageView"}}},"description":"The page without a custom domain."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:write"]},{"oauth":["pages:write"]},{"session":[]}],"summary":"Remove a page's custom domain","tags":["status-pages"]},"put":{"description":"Serves the page on your own domain, such as `status.acme.io`. The answer's `customDomain` holds the CNAME and TXT records to create; the domain is checked right away and then regularly. Setting the domain the page already has keeps its state. Needs the project admin role.","operationId":"set_status_page_domain","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainInput"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusPageView"}}},"description":"The page with its custom domain."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`\n- `plan.feature_unavailable`: the plan does not include the feature (a custom domain, a private page, hiding the branding, add-on packs); `detail` names the plan that does"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `status_page.domain_taken`: domain is already verified (`verified`) for another page; pending and failed claims of other pages do not block\n- `status_page.domains_unavailable`: custom domains are not available"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `status_page.domain_invalid`: not a domain name of two or more labels, or an address of the service itself"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `status_page.domain_rate_limited`: the page's custom domain was set 5 times in the last 24 hours, or the workspace's 20 times; wait `Retry-After` seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:write"]},{"oauth":["pages:write"]},{"session":[]}],"summary":"Set a page's custom domain","tags":["status-pages"]}},"/api/v1/status-pages/{pageId}/domain/verify":{"post":{"description":"Checks the domain's TXT record now. The result is in the answer's `customDomain`.","operationId":"verify_status_page_domain","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusPageView"}}},"description":"The page with the result of the check."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:write"]},{"oauth":["pages:write"]},{"session":[]}],"summary":"Verify a page's custom domain","tags":["status-pages"]}},"/api/v1/status-pages/{pageId}/incidents":{"get":{"description":"The incident posts of the page, newest first, the last 100.","operationId":"list_status_page_incidents","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PageIncidentView"},"type":"array"}}},"description":"The posts."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:read"]},{"oauth":["pages:read"]},{"session":[]}],"summary":"List a page's posts","tags":["status-pages"]},"post":{"description":"Posts an incident on the page with its first update and the components it affects, optionally linked to an incident of the page's project. On a published page the post goes to its subscribers: send an `Idempotency-Key` so that a retry does not announce it twice. Needs the editor role.","operationId":"create_status_page_incident","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Any 1–255 characters, for example a UUID per intended action. A retry with the same key and the same request answers the stored response and creates nothing again; the same key with another request answers `422 request.idempotency_key_reused`. Keys are kept for 24 hours.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"body":"Some card payments take longer than usual to confirm. We are looking into it.","components":[{"componentId":"COMPONENT_ID","impact":"partial"}],"notify":true,"state":"investigating","title":"Payments are slow to confirm"},"schema":{"$ref":"#/components/schemas/PageIncidentInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"example":{"components":[{"componentId":"COMPONENT_ID","impact":"partial","name":"Payments API"}],"createdAt":"2026-11-27T14:05:00Z","id":"POST_ID","pageId":"PAGE_ID","publicUrl":"https://status.monitorly.cloud/acme/incidents/POST_ID","resolvedAt":null,"state":"investigating","title":"Payments are slow to confirm","updates":[{"body":"Some card payments take longer than usual to confirm. We are looking into it.","createdAt":"2026-11-27T14:05:00Z","id":"UPDATE_ID_1","state":"investigating"}]},"schema":{"$ref":"#/components/schemas/PageIncidentView"}}},"description":"The post."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.idempotency_key_invalid`: the key is empty or longer than 255 characters\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `status_page.component_unknown`: affected component is not from this page or is repeated\n- `status_page.auto_incident_unknown`: auto incident does not exist in the page's project"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `token.create_limited`: more than 30 resources created within an hour from one token; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:write"]},{"oauth":["pages:write"]},{"session":[]}],"summary":"Post an incident","tags":["status-pages"]}},"/api/v1/status-pages/{pageId}/logos/{variant}":{"delete":{"description":"Removes the logo of one theme. Needs the project admin role.","operationId":"delete_status_page_logo","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The theme: `light` or `dark`.","in":"path","name":"variant","required":true,"schema":{"$ref":"#/components/schemas/LogoVariant"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusPageView"}}},"description":"The page without that logo."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:write"]},{"oauth":["pages:write"]},{"session":[]}],"summary":"Delete a page's logo","tags":["status-pages"]},"get":{"description":"The uploaded logo file of one theme, to preview a page that is not published yet.","operationId":"get_status_page_logo","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The theme: `light` or `dark`.","in":"path","name":"variant","required":true,"schema":{"$ref":"#/components/schemas/LogoVariant"}}],"responses":{"200":{"content":{"application/octet-stream":{"schema":{"items":{"format":"int32","minimum":0,"type":"integer"},"type":"array"}}},"description":"The file, with its content type"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:read"]},{"oauth":["pages:read"]},{"session":[]}],"summary":"Get a page's logo","tags":["status-pages"]},"put":{"description":"Uploads the logo of one theme (`light` or `dark`). The body is the file itself: PNG, WebP or SVG without scripts, event handlers or external references, at most 256 KiB; the type is read from the bytes. Needs the project admin role.","operationId":"upload_status_page_logo","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The theme: `light` or `dark`.","in":"path","name":"variant","required":true,"schema":{"$ref":"#/components/schemas/LogoVariant"}}],"requestBody":{"content":{"application/octet-stream":{"schema":{"items":{"format":"int32","minimum":0,"type":"integer"},"type":"array"}}},"description":"PNG, WebP or SVG, at most 256 KiB","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusPageView"}}},"description":"The page with its new logo."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB\n- `status_page.logo_too_large`: logo is larger than 256 KiB"},"415":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unsupported Media Type.\n\n- `status_page.logo_type_unsupported`: logo is not PNG, WebP or SVG (by content, not by `Content-Type`)"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `status_page.logo_unsafe`: SVG with a script, event handler, external reference, DOCTYPE or `foreignObject`"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["pages:write"]},{"oauth":["pages:write"]},{"session":[]}],"summary":"Upload a page's logo","tags":["status-pages"]}},"/api/v1/status-pages/{pageId}/previews":{"post":{"description":"A link to the page as it would look with unsaved edits, valid for 10 minutes. Nothing changes. The edits are checked by the same rules as saving them. Needs the editor role.","operationId":"create_status_page_preview","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusPagePreviewInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusPagePreviewView"}}},"description":"The preview's address and when it expires."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `status_page.check_not_in_project`: component check is not from the page's project\n- `status_page.accent_contrast_low`: contrast of white text on the accent color is less than 4.5:1 (`params.ratio`)"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Service Unavailable.\n\n- `server.unavailable`: temporarily unavailable; retry later"}},"security":[{"session":[]}],"summary":"Preview a status page","tags":["status-pages"]}},"/api/v1/status-pages/{pageId}/subscribers/email":{"get":{"description":"The page's email subscribers, newest first, confirmed and pending. Needs the editor role.","operationId":"list_status_page_email_subscribers","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The `nextCursor` of the previous page. Leave it out for the first page.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"description":"Items per page, 1–200; 50 by default. A larger value counts as 200.","in":"query","name":"limit","required":false,"schema":{"default":50,"format":"int32","maximum":200,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailSubscriberPage"}}},"description":"A page of subscribers."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.invalid_cursor`: the cursor is not one this list gave\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it"}},"security":[{"session":[]}],"summary":"List a page's email subscribers","tags":["status-pages"]}},"/api/v1/status-pages/{pageId}/subscribers/email/{subscriberId}":{"delete":{"description":"Removes one email subscriber of the page: the person gets no further email. Needs the editor role.","operationId":"delete_status_page_email_subscriber","parameters":[{"description":"The status page's id.","in":"path","name":"pageId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The subscriber's id.","in":"path","name":"subscriberId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Removed."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Remove an email subscriber","tags":["status-pages"]}},"/api/v1/telegram/chats/{chatId}":{"delete":{"description":"Unlinks the chat: nothing more is sent to it, and `/start <code>` in the chat links it again. A project admin who is not a workspace owner or admin, on a chat another project picked too, only drops it from their project (204).","operationId":"unlink_telegram_chat","parameters":[{"description":"The Telegram chat's id.","in":"path","name":"chatId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequestAccepted"}}},"description":"Accepted: the chat is being unlinked (202), or dropped from the project only (204)."},"204":{"description":"Dropped from the project only: another project picked the chat too"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Unlink a Telegram chat","tags":["telegram"]}},"/api/v1/telegram/chats/{chatId}/test":{"post":{"description":"Sends a test message to an active linked chat. Project chats: the project admin; workspace chats: the workspace owner or admin.","operationId":"send_telegram_test","parameters":[{"description":"The Telegram chat's id.","in":"path","name":"chatId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequestAccepted"}}},"description":"Accepted: the message is on its way."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `telegram.chat_not_active`: chat is not `active` (broken or unlinked): the test message will not be sent"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `test_message.rate_limited`: a test message to this channel or chat less than 30 seconds after the last one, or more than 20 in an hour in the workspace; wait `Retry-After` seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Send a test to a Telegram chat","tags":["telegram"]}},"/api/v1/workspaces":{"get":{"description":"The workspaces of the signed-in person; with a token, the token's workspace.","operationId":"list_workspaces","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WorkspaceSummary"},"type":"array"}}},"description":"The workspaces."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":[]},{"oauth":[]},{"session":[]}],"summary":"List workspaces","tags":["workspaces"]},"post":{"description":"Creates a workspace owned by the signed-in person. The account's email must be confirmed.","operationId":"create_workspace","parameters":[{"description":"Any 1–255 characters, for example a UUID per intended action. A retry with the same key and the same request answers the stored response and creates nothing again; the same key with another request answers `422 request.idempotency_key_reused`. Keys are kept for 24 hours.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceView"}}},"description":"The workspace."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.idempotency_key_invalid`: the key is empty or longer than 255 characters\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`\n- `auth.email_unverified`: account email is not confirmed via the link in the email: the account cannot change anything in a workspace or create a workspace"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `account.free_workspaces_reached`: the account already owns a workspace on the Free plan (one per account); upgrade or delete that one first"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `workspace.create_limited`: the account created 30 workspaces in the last hour; wait `Retry-After` seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Create a workspace","tags":["workspaces"]}},"/api/v1/workspaces/{workspaceId}":{"delete":{"description":"Deletes the workspace with everything in it; its private nodes are revoked. Owner only.","operationId":"delete_workspace","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Deleted."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Delete a workspace","tags":["workspaces"]},"get":{"description":"One workspace with its name, time zone and your role. Any token of the workspace may read it.","operationId":"get_workspace","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceView"}}},"description":"The workspace."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":[]},{"oauth":[]},{"session":[]}],"summary":"Get a workspace","tags":["workspaces"]},"patch":{"description":"Renames the workspace or changes its time zone. Owner only.","operationId":"update_workspace","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspacePatch"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceView"}}},"description":"The workspace."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Update a workspace","tags":["workspaces"]}},"/api/v1/workspaces/{workspaceId}/alert-channels":{"get":{"description":"Every alert channel and linked Telegram chat of the workspace, with the projects that picked each one and whether it receives the workspace's service notifications. Workspace owner or admin.","operationId":"list_workspace_alert_channels","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AlertChannelView"},"type":"array"}}},"description":"The channels."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:read"]},{"oauth":["alerts:read"]},{"session":[]}],"summary":"List the workspace's alert channels","tags":["alert-channels"]},"post":{"description":"Adds a channel for the workspace's service notifications, which projects may then pick for their alerts. Workspace owner or admin.","operationId":"create_workspace_alert_channel","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertChannelInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatedAlertChannel"}}},"description":"The channel; `secret` only for a webhook."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `alert_channel.duplicate`: the workspace already has a channel with this email, URL, ntfy topic, PagerDuty key or Pushover keys\n- `alert_channel.limit_reached`: the workspace reached the ceiling of 1000 channels\n- `quota.channels_reached`: the workspace has as many alert channels as its plan allows (Telegram chats are not counted)"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `alert_channel.url_not_allowed`: the address is not allowed: not `https`, credentials in the address, the host is an internal address, or the URL is not on the provider's host and path (Slack, Discord, Microsoft Teams, Google Chat) or not its fixed address (PagerDuty, Pushover); `detail` gives the expected form"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `alert_channel.mail_limited`: the address got 3 confirmation emails today, or the workspace 20; nothing was sent or created; wait `Retry-After` seconds\n- `token.create_limited`: more than 30 resources created within an hour from one token; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Add a workspace channel","tags":["alert-channels"]}},"/api/v1/workspaces/{workspaceId}/api-tokens":{"get":{"description":"The workspace's API tokens and OAuth sign-ins of agents, newest first: all of them for the owner and admins, one's own for members. Values are never shown.","operationId":"list_api_tokens","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiTokenView"},"type":"array"}}},"description":"The tokens."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"}},"security":[{"session":[]}],"summary":"List API tokens","tags":["api-tokens"]},"post":{"description":"Creates a personal API token with the given scopes, optionally for one project and with an expiry. The token can never do more than its creator can at the time of each request. The value is in this answer only.","operationId":"create_api_token","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Any 1–255 characters, for example a UUID per intended action. A retry with the same key and the same request answers the stored response and creates nothing again; the same key with another request answers `422 request.idempotency_key_reused`. Keys are kept for 24 hours.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiTokenInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiTokenCreated"}}},"description":"The token's value and its record."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.idempotency_key_invalid`: the key is empty or longer than 255 characters\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `quota.api_tokens_reached`: the workspace has 20 active API tokens"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Create an API token","tags":["api-tokens"]}},"/api/v1/workspaces/{workspaceId}/audit":{"get":{"description":"Who changed what and how (`ui`, `api`, `cli`, `mcp`), newest first: the whole workspace for the owner and admins, one project's with `projectId` for its admin.","operationId":"list_audit_events","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Only this project's events (project admin is enough); without it, the whole workspace (admin+).","in":"query","name":"projectId","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"The `nextCursor` of the previous page. Leave it out for the first page.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"description":"Items per page, 1–200; 50 by default. A larger value counts as 200.","in":"query","name":"limit","required":false,"schema":{"default":50,"format":"int32","maximum":200,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditPage"}}},"description":"A page of events."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.invalid_cursor`: the cursor is not one this list gave\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it"}},"security":[{"session":[]}],"summary":"List audit events","tags":["audit"]}},"/api/v1/workspaces/{workspaceId}/billing":{"get":{"description":"The workspace's plan, subscription and grace period. Any member; any token of the workspace may read it.","operationId":"get_workspace_billing","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingView"}}},"description":"The billing state."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":[]},{"oauth":[]},{"session":[]}],"summary":"Get a workspace's billing","tags":["billing"]}},"/api/v1/workspaces/{workspaceId}/billing/cancel":{"post":{"description":"Cancels the subscription at the end of the paid period; until then nothing changes. Owner only.","operationId":"cancel_billing_subscription","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingView"}}},"description":"The billing state."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `billing.no_subscription`: the workspace has no subscription to change, cancel or manage"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}},"502":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Gateway.\n\n- `billing.provider_failed`: the payment provider refused or did not answer; nothing changed"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Service Unavailable.\n\n- `billing.unavailable`: this installation takes no payments"}},"security":[{"session":[]}],"summary":"Cancel the subscription","tags":["billing"]}},"/api/v1/workspaces/{workspaceId}/billing/change":{"post":{"description":"Changes the plan, period or packs of the subscription. An upgrade is charged for the rest of the period now, a downgrade credited; lower limits start a grace period. Owner only.","operationId":"change_billing_plan","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanChoice"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingView"}}},"description":"The billing state."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `billing.no_subscription`: the workspace has no subscription to change, cancel or manage\n- `billing.past_due`: the last payment failed: update the payment method in the billing portal first"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}},"502":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Gateway.\n\n- `billing.provider_failed`: the payment provider refused or did not answer; nothing changed"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Service Unavailable.\n\n- `billing.unavailable`: this installation takes no payments"}},"security":[{"session":[]}],"summary":"Change the plan","tags":["billing"]}},"/api/v1/workspaces/{workspaceId}/billing/checkout":{"post":{"description":"Starts paying for a workspace without a subscription: the answer is the checkout the browser opens. The plan changes once the payment is confirmed. Owner only.","operationId":"open_billing_checkout","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanChoice"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutView"}}},"description":"The checkout to open."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`\n- `plan.feature_unavailable`: the plan does not include the feature (a custom domain, a private page, hiding the branding, add-on packs); `detail` names the plan that does"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `billing.subscription_exists`: the workspace already has a subscription: change its plan instead"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}},"502":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Gateway.\n\n- `billing.provider_failed`: the payment provider refused or did not answer; nothing changed"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Service Unavailable.\n\n- `billing.unavailable`: this installation takes no payments"}},"security":[{"session":[]}],"summary":"Start a checkout","tags":["billing"]}},"/api/v1/workspaces/{workspaceId}/billing/keep":{"post":{"description":"Undoes a scheduled cancellation. Owner only.","operationId":"keep_billing_subscription","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingView"}}},"description":"The billing state."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `billing.no_subscription`: the workspace has no subscription to change, cancel or manage"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}},"502":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Gateway.\n\n- `billing.provider_failed`: the payment provider refused or did not answer; nothing changed"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Service Unavailable.\n\n- `billing.unavailable`: this installation takes no payments"}},"security":[{"session":[]}],"summary":"Keep the subscription","tags":["billing"]}},"/api/v1/workspaces/{workspaceId}/billing/portal":{"post":{"description":"A link to the payment provider's portal, for the person who pays: invoices, card, address.","operationId":"open_billing_portal","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalView"}}},"description":"The portal's address."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`\n- `billing.payer_only`: only the person who pays for the subscription can open its billing portal"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `billing.no_subscription`: the workspace has no subscription to change, cancel or manage"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}},"502":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Gateway.\n\n- `billing.provider_failed`: the payment provider refused or did not answer; nothing changed"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Service Unavailable.\n\n- `billing.unavailable`: this installation takes no payments"}},"security":[{"session":[]}],"summary":"Open the billing portal","tags":["billing"]}},"/api/v1/workspaces/{workspaceId}/escalation-policies":{"get":{"description":"The workspace's escalation policies by name, with their levels and who uses each.","operationId":"list_escalation_policies","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EscalationPolicyView"},"type":"array"}}},"description":"The policies."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:read"]},{"oauth":["alerts:read"]},{"session":[]}],"summary":"List escalation policies","tags":["escalation"]},"post":{"description":"Creates a policy: levels of channels to alert, each after a delay from the start of the incident (the first at 0), repeated until someone acknowledges. Workspace owner or admin.","operationId":"create_escalation_policy","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Any 1–255 characters, for example a UUID per intended action. A retry with the same key and the same request answers the stored response and creates nothing again; the same key with another request answers `422 request.idempotency_key_reused`. Keys are kept for 24 hours.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"levels":[{"delayMins":0,"targets":[{"id":"CHANNEL_ID","kind":"channel"}]},{"delayMins":15,"targets":[{"id":"USER_ID","kind":"member"}]}],"name":"payments on-call","repeatAfterMins":30,"repeatCount":1},"schema":{"$ref":"#/components/schemas/EscalationPolicyInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"example":{"checkCount":0,"createdAt":"2026-11-27T15:50:00Z","id":"POLICY_ID","levels":[{"delayMins":0,"targets":[{"id":"CHANNEL_ID","kind":"channel","name":"#payments-oncall"}]},{"delayMins":15,"targets":[{"id":"USER_ID","kind":"member","name":"Dana Ortiz"}]}],"name":"payments on-call","projects":[],"repeatAfterMins":30,"repeatCount":1,"updatedAt":"2026-11-27T15:50:00Z","workspaceId":"WORKSPACE_ID"},"schema":{"$ref":"#/components/schemas/EscalationPolicyView"}}},"description":"The policy."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.idempotency_key_invalid`: the key is empty or longer than 255 characters\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `escalation_policy.no_levels`: a policy has at least one level\n- `escalation_policy.too_many_levels`: more than 10 levels; `params.max`\n- `escalation_policy.first_delay_not_zero`: level 1 goes out when the incident opens: its `delayMins` is 0\n- `escalation_policy.delay_out_of_range`: a later level waits 1 to 1440 minutes after the one before; `params.min`, `params.max`\n- `escalation_policy.too_many_targets`: more than 20 targets on a level; `params.max`\n- `escalation_policy.duplicate_target`: the same target twice on one level\n- `escalation_policy.target_unknown`: the target is not an alert channel, a linked Telegram chat or a member of this workspace\n- `escalation_policy.repeat_count_out_of_range`: `repeatCount` is more than 9\n- `escalation_policy.repeat_after_out_of_range`: `repeatAfterMins` is not 1 to 10080; `params.min`, `params.max`"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `token.create_limited`: more than 30 resources created within an hour from one token; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["alerts:write"]},{"oauth":["alerts:write"]},{"session":[]}],"summary":"Create an escalation policy","tags":["escalation"]}},"/api/v1/workspaces/{workspaceId}/exports":{"post":{"description":"Asks for a copy of the workspace's data. The file is built in the background and listed in [List data exports](#list_exports). Workspace owner or admin.","operationId":"export_workspace","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportView"}}},"description":"The export, being built."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `export.rate_limited`: an export was asked for less than an hour ago, or one is still being built; wait `Retry-After` seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Export a workspace's data","tags":["workspaces"]}},"/api/v1/workspaces/{workspaceId}/invites":{"get":{"description":"Invites that are not used or expired yet. Owner or admin.","operationId":"list_invites","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InviteView"},"type":"array"}}},"description":"The invites."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"}},"security":[{"session":[]}],"summary":"List invites","tags":["members"]},"post":{"description":"Creates a single-use invite for 72 hours. The invite's link is in this answer only. Owner or admin.","operationId":"create_invite","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Any 1–255 characters, for example a UUID per intended action. A retry with the same key and the same request answers the stored response and creates nothing again; the same key with another request answers `422 request.idempotency_key_reused`. Keys are kept for 24 hours.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteCreated"}}},"description":"The invite and its token."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.idempotency_key_invalid`: the key is empty or longer than 255 characters\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `quota.members_reached`: members and open invites already fill the plan"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Invite a member","tags":["members"]}},"/api/v1/workspaces/{workspaceId}/invites/{inviteId}":{"delete":{"description":"Revokes an invite that was not used yet. Owner or admin.","operationId":"revoke_invite","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The invite's id.","in":"path","name":"inviteId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Revoked."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Revoke an invite","tags":["members"]}},"/api/v1/workspaces/{workspaceId}/members":{"get":{"description":"The members of the workspace and their roles. Every member sees who is in it.","operationId":"list_members","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MemberView"},"type":"array"}}},"description":"The members."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"}},"security":[{"session":[]}],"summary":"List members","tags":["members"]}},"/api/v1/workspaces/{workspaceId}/members/{userId}":{"delete":{"description":"Removes a member from the workspace (owner or admin), or lets a member leave. The owner cannot be removed.","operationId":"remove_member","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The member's user id.","in":"path","name":"userId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Removed."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `member.owner_protected`: the owner cannot be demoted or removed; only transfer is possible"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Remove a member","tags":["members"]},"patch":{"description":"Makes a member an admin, or an admin a member. The owner's role changes only by a transfer. Owner or admin.","operationId":"update_member","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The member's user id.","in":"path","name":"userId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberRoleInput"}}},"required":true},"responses":{"204":{"description":"Changed."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `member.owner_protected`: the owner cannot be demoted or removed; only transfer is possible"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Change a member's role","tags":["members"]}},"/api/v1/workspaces/{workspaceId}/members/{userId}/reset-link":{"post":{"description":"Always refused with `reset.not_allowed`: an account belongs to its person, so a workspace admin cannot reset its password. The person resets it from the sign-in page.","operationId":"create_member_reset_link","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The member's user id.","in":"path","name":"userId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`\n- `reset.not_allowed`: a workspace admin asked for a member's reset link: people reset their own password from the sign-in page"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Reset a member's password","tags":["members"]}},"/api/v1/workspaces/{workspaceId}/nodes":{"get":{"description":"The locations checks can run from: the platform's nodes and the workspace's private nodes, each with its country, city and health. Checks name their locations by these ids.","operationId":"list_nodes","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":[{"city":"Helsinki","countryCode":"FI","createdAt":"2026-10-01T08:00:00Z","health":{"lastHeartbeatAt":"2026-11-27T14:20:05Z","status":"online"},"id":"NODE_ID_HEL","locationSource":"manual","name":"hel-1","scope":"platform"},{"city":"Frankfurt","countryCode":"DE","createdAt":"2026-11-02T09:14:00Z","health":{"lastHeartbeatAt":"2026-11-27T14:20:02Z","status":"online"},"id":"NODE_ID_FRA","locationSource":"auto","name":"fra-1","scope":"private"}],"schema":{"items":{"$ref":"#/components/schemas/NodeView"},"type":"array"}}},"description":"The nodes."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["nodes:read"]},{"oauth":["nodes:read"]},{"session":[]}],"summary":"List nodes","tags":["nodes"]}},"/api/v1/workspaces/{workspaceId}/nodes/join-tokens":{"post":{"description":"A one-time token for 24 hours that a new private node joins the workspace with, and the address of the installer. The token is in this answer only. Workspace owner or admin.","operationId":"create_node_join_token","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"city":"Amsterdam","countryCode":"NL","name":"ams-1"},"schema":{"$ref":"#/components/schemas/JoinTokenInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"example":{"apiUrl":"https://app.monitorly.cloud","expiresAt":"2026-11-28T14:20:00Z","gatewayBaseUrl":"https://gw.monitorly.cloud","token":"JOIN_TOKEN"},"schema":{"$ref":"#/components/schemas/JoinToken"}}},"description":"The join token."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `quota.private_nodes_reached`: the workspace has as many private nodes as its plan allows"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `node.invalid_country`: the country code is not an ISO 3166-1 alpha-2 code"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `token.create_limited`: more than 30 resources created within an hour from one token; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["nodes:write"]},{"oauth":["nodes:write"]},{"session":[]}],"summary":"Create a node join token","tags":["nodes"]}},"/api/v1/workspaces/{workspaceId}/projects":{"get":{"description":"The workspace's projects the caller can see: all of them for owners and admins, the granted ones for members. Any token may read them.","operationId":"list_projects","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":[{"brokenChannels":0,"brokenChats":0,"escalationPolicyId":"POLICY_ID","id":"PROJECT_ID","name":"payments-api","role":"admin","statusPublicBase":"https://status.monitorly.cloud","workingChannels":2,"workingChats":0,"workspaceId":"WORKSPACE_ID"}],"schema":{"items":{"$ref":"#/components/schemas/ProjectView"},"type":"array"}}},"description":"The projects."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":[]},{"oauth":[]},{"session":[]}],"summary":"List projects","tags":["projects"]},"post":{"description":"Creates an empty project. Workspace owner or admin; a token needs `projects:write` and cannot be one limited to a project.","operationId":"create_project","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Any 1–255 characters, for example a UUID per intended action. A retry with the same key and the same request answers the stored response and creates nothing again; the same key with another request answers `422 request.idempotency_key_reused`. Keys are kept for 24 hours.","in":"header","name":"Idempotency-Key","required":false,"schema":{"maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectInput"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectView"}}},"description":"The project."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `request.idempotency_key_invalid`: the key is empty or longer than 255 characters\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict.\n\n- `quota.projects_reached`: the workspace has as many projects as its plan allows"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token\n- `session.rate_limited`: more than 5 changes a second from your sessions\n- `token.create_limited`: more than 30 resources created within an hour from one token; `Retry-After` in seconds","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["projects:write"]},{"oauth":["projects:write"]},{"session":[]}],"summary":"Create a project","tags":["projects"]}},"/api/v1/workspaces/{workspaceId}/quotas":{"get":{"description":"The workspace's plan, each limit with how much of it is used, and the shortest check interval. Any member; any token may read it.","operationId":"get_workspace_quotas","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceQuotas"}}},"description":"The limits and usage."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":[]},{"oauth":[]},{"session":[]}],"summary":"Get plan limits and usage","tags":["workspaces"]}},"/api/v1/workspaces/{workspaceId}/servers":{"get":{"description":"The machines the workspace's private nodes run on, by name, with their health and a summary of their latest report.","operationId":"list_servers","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":[{"check":{"id":"SERVER_CHECK_ID","name":"fra-1 server","problems":[],"projectId":"PROJECT_ID","status":"UP","statusSince":"2026-11-20T06:31:00Z"},"city":"Frankfurt","countryCode":"DE","name":"fra-1","nodeHealth":"online","nodeId":"NODE_ID_FRA","reportedAt":"2026-11-27T14:20:00Z","reporting":true,"summary":{"containersRunning":12,"containersTotal":12,"cpuCores":8,"cpuPercent":23.5,"diskUsedPercent":48,"load1":1.4,"memoryTotalBytes":34359738368,"memoryUsedPercent":61.2,"unitsFailed":0,"uptimeSecs":1209600}}],"schema":{"items":{"$ref":"#/components/schemas/ServerView"},"type":"array"}}},"description":"The servers."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["nodes:read"]},{"oauth":["nodes:read"]},{"session":[]}],"summary":"List servers","tags":["servers"]}},"/api/v1/workspaces/{workspaceId}/telegram/chats":{"get":{"description":"The Telegram chats linked to the workspace's service notifications. Workspace owner or admin.","operationId":"list_workspace_telegram_chats","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ChatView"},"type":"array"}}},"description":"The chats."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.scope_missing`: the token lacks the scope this needs; `detail` names it"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `token.rate_limited`: more than 10 requests a second with this token","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"apiToken":["telegram:read"]},{"oauth":["telegram:read"]},{"session":[]}],"summary":"List the workspace's Telegram chats","tags":["telegram"]}},"/api/v1/workspaces/{workspaceId}/telegram/link-codes":{"post":{"description":"A one-time code that links a Telegram chat to the workspace's service notifications. Workspace owner or admin.","operationId":"create_workspace_telegram_link_code","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCode"}}},"description":"The code and its links."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Link a Telegram chat to the workspace","tags":["telegram"]}},"/api/v1/workspaces/{workspaceId}/transfer":{"post":{"description":"Makes another member the owner; the current owner becomes an admin. Owner only.","operationId":"transfer_workspace","parameters":[{"description":"The workspace's id.","in":"path","name":"workspaceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferInput"}}},"required":true},"responses":{"204":{"description":"Transferred."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request.\n\n- `request.malformed`: the body or a parameter is not of the expected shape\n- `auth.credentials_conflict`: the request carries both a session cookie and a token"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized.\n\n- `auth.unauthenticated`, `auth.session_expired`: no session, or it ended\n- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden.\n\n- `auth.forbidden`: your role is too low for this\n- `token.not_allowed`: this operation needs a signed-in session; tokens cannot call it\n- `request.origin_mismatch`, `request.header_required`: a changing request with a session comes from another site or lacks `X-Monitorly-Request: 1`"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found.\n\n- `request.not_found`: it does not exist, or you cannot see it"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payload Too Large.\n\n- `request.too_large`: the body is larger than 256 KiB"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Entity.\n\n- `field.required`, `field.too_long`, `field.invalid`: a field breaks a rule; `errors` points at it\n- `member.not_in_workspace`: user is not a member of the workspace"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests.\n\n- `session.rate_limited`: more than 5 changes a second from your sessions","headers":{"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"minimum":1,"type":"integer"}}}}},"security":[{"session":[]}],"summary":"Transfer a workspace","tags":["workspaces"]}}},"servers":[{"description":"Monitorly Cloud","url":"https://app.monitorly.cloud"}],"tags":[{"description":"What is monitored, its runs, response times, uptime reports and test runs.","name":"checks","x-displayName":"Checks"},{"description":"Incidents a check opens when a quorum of its locations sees it down.","name":"incidents","x-displayName":"Incidents"},{"description":"One-time and weekly windows when checks open no incidents and send no alerts.","name":"maintenance","x-displayName":"Maintenance windows"},{"description":"Public and members-only status pages, their components, posts and subscribers.","name":"status-pages","x-displayName":"Status pages"},{"description":"Where alerts go: email, chat apps, PagerDuty, ntfy, Pushover, webhooks.","name":"alert-channels","x-displayName":"Alert channels"},{"description":"Who is alerted when, until someone acknowledges.","name":"escalation","x-displayName":"Escalation policies"},{"description":"Telegram chats linked to a project's alerts or the workspace's notifications.","name":"telegram","x-displayName":"Telegram"},{"description":"The locations checks run from: platform nodes and the workspace's private nodes.","name":"nodes","x-displayName":"Nodes"},{"description":"The machines private nodes run on: CPU, memory, disk, network, containers, services.","name":"servers","x-displayName":"Servers"},{"description":"A project's monitoring as `monitorly.yaml`: export, plan and apply.","name":"config","x-displayName":"Config plan and apply"},{"description":"Projects group checks, status pages and maintenance windows.","name":"projects","x-displayName":"Projects"},{"description":"Workspaces, their time zone, plan limits and data exports.","name":"workspaces","x-displayName":"Workspaces"},{"description":"Who is in a workspace and its projects, with which role.","name":"members","x-displayName":"Members and invites"},{"description":"Personal API tokens and agents' OAuth sign-ins.","name":"api-tokens","x-displayName":"API tokens"},{"description":"Who changed what, and whether from the dashboard, a token, the CLI or an agent.","name":"audit","x-displayName":"Audit log"},{"description":"Live changes of a workspace as server-sent events.","name":"events","x-displayName":"Event stream"},{"description":"Plans, the workspace's subscription and its payment.","name":"billing","x-displayName":"Plans and billing"},{"description":"Signing in, two-factor sign-in, the profile, the email address and data exports.","name":"auth","x-displayName":"Sign-in and account"},{"description":"The consent screen of agents that sign in with OAuth.","name":"oauth","x-displayName":"OAuth consent"},{"description":"Whether the API is up.","name":"health","x-displayName":"Health"}]}