StatOSS · Schema

LogAlert

CompanyMonitoringUptimeAlertsLogging

Properties

Name Type Description
id string The rule id.
appId string The app whose lines it counts.
name string The rule's name, up to 80 characters.
pageId string The page whose on-call takes its alerts: a status page, or the app's project's on-call page. A new rule takes the app's page unless given, else the key's, else its project's on-call, made with the fir
enabled boolean Off keeps the rule without checking it.
query string The lines it counts: the Logs search; empty for every line.
kind string match: at least threshold lines in the window; fewer: fewer than threshold; absent: no line at all.
threshold integer Lines; not for absent.
windowMinutes integer The window the lines are counted over.
confirmMinutes integer How long the condition holds before it fires; 0 is at once.
recoverMinutes integer How long it is false before the alert resolves; 0 is at once.
environments array
ownRouting boolean true sends to destinationIds and memberIds; false to where the page's alerts go.
repeatMinutes integer Minutes between repeats while triggered; 0 for none.
groupMinutes integer Minutes in which later alerts join the first; 0 is off.
destinationIds array
memberIds array
paging string Who is paged: "page" (the page's escalation policy), "none", or the id of one of the team's policies. Escalation is on Pro.
internal boolean true when pageId is the project's on-call page, which is no status page.
summary string Its condition and search, in words.
firing boolean Whether its alert is open.
waitingForLines boolean fewer and absent: true until a check has found the condition false once (for absent, a line; for fewer, at least threshold lines). Until then the rule does not fire, so one made before its app sends a
lastCheckedAt stringnull ISO 8601, UTC.
lastCount integernull Lines in the window at the last check.
lastFiredAt stringnull ISO 8601, UTC.
lastError stringnull What ClickHouse said when it refused the search; the rule is not checked until it is changed. A search too heavy to count is set apart for an hour and says so.
searchUrl string The Logs area at its search and window.
createdAt string ISO 8601, UTC.
updatedAt string ISO 8601, UTC.
View JSON Schema on GitHub

JSON Schema

statoss-com-log-alert-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/statoss-com/json-schema/statoss-com-log-alert-schema.json",
  "title": "LogAlert",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/statoss-com-openapi.json#/components/schemas/LogAlert",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The rule id."
    },
    "appId": {
      "type": "string",
      "description": "The app whose lines it counts."
    },
    "name": {
      "type": "string",
      "description": "The rule's name, up to 80 characters."
    },
    "pageId": {
      "type": "string",
      "description": "The page whose on-call takes its alerts: a status page, or the app's project's on-call page. A new rule takes the app's page unless given, else the key's, else its project's on-call, made with the first rule when the project has no status page."
    },
    "enabled": {
      "type": "boolean",
      "description": "Off keeps the rule without checking it."
    },
    "query": {
      "type": "string",
      "description": "The lines it counts: the Logs search; empty for every line."
    },
    "kind": {
      "type": "string",
      "description": "match: at least threshold lines in the window; fewer: fewer than threshold; absent: no line at all.",
      "enum": [
        "match",
        "fewer",
        "absent"
      ]
    },
    "threshold": {
      "type": "integer",
      "description": "Lines; not for absent.",
      "minimum": 1,
      "maximum": 100000000
    },
    "windowMinutes": {
      "type": "integer",
      "description": "The window the lines are counted over.",
      "minimum": 1,
      "maximum": 1440
    },
    "confirmMinutes": {
      "type": "integer",
      "description": "How long the condition holds before it fires; 0 is at once.",
      "minimum": 0,
      "maximum": 60
    },
    "recoverMinutes": {
      "type": "integer",
      "description": "How long it is false before the alert resolves; 0 is at once.",
      "minimum": 0,
      "maximum": 60
    },
    "environments": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Environments a line must be in; empty for any."
      }
    },
    "ownRouting": {
      "type": "boolean",
      "description": "true sends to destinationIds and memberIds; false to where the page's alerts go."
    },
    "repeatMinutes": {
      "type": "integer",
      "description": "Minutes between repeats while triggered; 0 for none.",
      "enum": [
        0,
        1,
        2,
        5,
        10,
        15,
        30,
        60
      ]
    },
    "groupMinutes": {
      "type": "integer",
      "description": "Minutes in which later alerts join the first; 0 is off.",
      "enum": [
        0,
        2,
        5,
        10,
        30
      ]
    },
    "destinationIds": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "With ownRouting: the team's alert destinations."
      }
    },
    "memberIds": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "With ownRouting: people in the team to notify."
      }
    },
    "paging": {
      "type": "string",
      "description": "Who is paged: \"page\" (the page's escalation policy), \"none\", or the id of one of the team's policies. Escalation is on Pro."
    },
    "internal": {
      "type": "boolean",
      "description": "true when pageId is the project's on-call page, which is no status page."
    },
    "summary": {
      "type": "string",
      "description": "Its condition and search, in words."
    },
    "firing": {
      "type": "boolean",
      "description": "Whether its alert is open."
    },
    "waitingForLines": {
      "type": "boolean",
      "description": "fewer and absent: true until a check has found the condition false once (for absent, a line; for fewer, at least threshold lines). Until then the rule does not fire, so one made before its app sends anything waits for the first lines. Editing the search, kind or environments starts the wait again. False while the rule is firing, and always for match."
    },
    "lastCheckedAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "ISO 8601, UTC.",
      "format": "date-time"
    },
    "lastCount": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Lines in the window at the last check."
    },
    "lastFiredAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "ISO 8601, UTC.",
      "format": "date-time"
    },
    "lastError": {
      "type": [
        "string",
        "null"
      ],
      "description": "What ClickHouse said when it refused the search; the rule is not checked until it is changed. A search too heavy to count is set apart for an hour and says so."
    },
    "searchUrl": {
      "type": "string",
      "description": "The Logs area at its search and window."
    },
    "createdAt": {
      "type": "string",
      "description": "ISO 8601, UTC.",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "description": "ISO 8601, UTC.",
      "format": "date-time"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/statoss-com-log-alert"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.