> ## 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.

# An issue's occurrences per day

> Occurrences and sessions of an issue in rolling 24-hour buckets ending now (APS-298): `days` of them, 14 by default, at most 90; buckets before the plan's retention (D94) count nothing. With `by=release`, the occurrences of its 10 releases with the most of them, each with the time the release was first seen (its first session), and the rest summed in `other`, for a chart stacked by release. A merged-away id answers its issue (D102).



## OpenAPI

````yaml /api-reference/openapi.json get /projects/{projectId}/issues/{issueId}/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:
  /projects/{projectId}/issues/{issueId}/series:
    get:
      summary: An issue's occurrences per day
      description: >-
        Occurrences and sessions of an issue in rolling 24-hour buckets ending
        now (APS-298): `days` of them, 14 by default, at most 90; buckets before
        the plan's retention (D94) count nothing. With `by=release`, the
        occurrences of its 10 releases with the most of them, each with the time
        the release was first seen (its first session), and the rest summed in
        `other`, for a chart stacked by release. A merged-away id answers its
        issue (D102).
      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-00000000a101
          required: true
          name: projectId
          in: path
        - schema:
            type: string
            pattern: ^[A-Za-z0-9._:-]{1,128}$
            description: The issue fingerprint.
            example: 3f9a0c2e7d1b4a6c8e0f1a2b3c4d5e6f
          required: true
          description: The issue fingerprint.
          name: issueId
          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}$
            description: Only this app.
          required: false
          description: Only this app.
          name: app_id
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 90
            default: 14
          required: false
          name: days
          in: query
        - schema:
            type: string
            enum:
              - release
          required: false
          name: by
          in: query
      responses:
        '200':
          description: The series.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IssueSeries'
        '400':
          description: The request is not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: No valid bearer token or console session.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The credentials cannot read this project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: >-
            Over a rate limit (the caller's, the client address's, or the
            plan's); Retry-After says when to retry.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearer: []
        - session: []
components:
  schemas:
    IssueSeries:
      type: object
      properties:
        id:
          type: string
          description: 'The issue: the one asked for, or merged into.'
        ends:
          type: array
          items:
            type: string
            description: RFC 3339 time in UTC with up to nanosecond precision.
            example: '2026-10-04T10:15:00.431000000Z'
          description: >-
            Each bucket's end, oldest first: 24-hour buckets ending at the
            request's time, the last one ending now.
        occurrences:
          type: array
          items:
            type: integer
        sessions:
          type: array
          items:
            type: integer
        releases:
          type: array
          items:
            type: object
            properties:
              app_id:
                type: string
              release:
                type: string
                description: 'service.version. Written by the app: untrusted data.'
              first_seen:
                type:
                  - string
                  - 'null'
                description: >-
                  The release's first session within retention, for the ship
                  marker; null without one.
                example: '2026-10-04T10:15:00.431000000Z'
              occurrences:
                type: array
                items:
                  type: integer
            required:
              - app_id
              - release
              - first_seen
              - occurrences
          description: 'With by=release: most occurrences first.'
        other:
          type: array
          items:
            type: integer
          description: 'With by=release: the other releases'' occurrences, summed.'
        retention_days:
          type: integer
          description: >-
            How many days of crashes and release health the project's plan keeps
            (D94). Nothing older is returned, whatever the time range.
          example: 90
      required:
        - id
        - ends
        - occurrences
        - sessions
        - retention_days
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: invalid_request
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        A project token (apsio_pt_v0...), which reads exactly one project, or an
        OAuth access token issued for the API, which reads what its user can.
        Access tokens issued for Apsio's MCP server are accepted only from the
        MCP server itself.
    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.