> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apsio.io/llms.txt
> Use this file to discover all available pages before exploring further.

# A rule's metric against its threshold, over time

> What the evaluator measures, as it measures it: crash_free_below and endpoint_failure_above hourly over the last 48 hours, each point the rule's own rolling window ending with that hour (endpoint_failure_above charts the endpoint closest to the threshold now); store_crash_rate and store_anr_rate daily over 14 days on their rolling window; issue_spike the highest spike per day over 14 days. new_issue and issue_regressed have no measure: their messages per day over 14 days. `unit` is ratio (0 to 1), factor or count; `threshold` is in the same unit, and `fires_when` says on which side it fires. A point is null where there was less data than the rule's minimum.



## OpenAPI

````yaml /api-reference/openapi.json get /orgs/{orgId}/alerts/rules/{ruleId}/series
openapi: 3.1.0
info:
  title: Apsio API
  version: 0.1.0
  description: >-
    Read API v0: your projects, release health and comparisons, missing symbols,
    issues, sessions, vitals, cohort comparisons, performance (app start,
    screens, hangs, MetricKit) and network endpoints and traces for one project.
    Authenticate with a project token as a bearer token, with an OAuth access
    token from Apsio's authorization server (MCP clients), or, from the console,
    with the session cookie of a member of the project's organization.
servers:
  - url: https://api.apsio.io/v1
security: []
paths:
  /orgs/{orgId}/alerts/rules/{ruleId}/series:
    get:
      summary: A rule's metric against its threshold, over time
      description: >-
        What the evaluator measures, as it measures it: crash_free_below and
        endpoint_failure_above hourly over the last 48 hours, each point the
        rule's own rolling window ending with that hour (endpoint_failure_above
        charts the endpoint closest to the threshold now); store_crash_rate and
        store_anr_rate daily over 14 days on their rolling window; issue_spike
        the highest spike per day over 14 days. new_issue and issue_regressed
        have no measure: their messages per day over 14 days. `unit` is ratio (0
        to 1), factor or count; `threshold` is in the same unit, and
        `fires_when` says on which side it fires. A point is null where there
        was less data than the rule's minimum.
      parameters:
        - schema:
            type: string
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            example: 0192f3a4-0000-7000-8000-00000000a001
          required: true
          name: orgId
          in: path
        - schema:
            type: string
            pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            example: 0192f3a4-0000-7000-8000-00000000a001
          required: true
          name: ruleId
          in: path
      responses:
        '200':
          description: The series
      security:
        - session: []
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: apsio_session
      description: >-
        The console session, set by /v1/auth/callback (`__Host-apsio_session`
        when host-only).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.