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

# List Platform Alerts

> List unresolved platform alerts (most-recent first, paginated).

v1 returns UNRESOLVED alerts only. ``filter[status]`` accepts ``open``
(the default) and nothing else. ``filter[severity]``, when present, must be
one of ``info`` | ``warning`` | ``critical``. Any other value for either
filter is a 422 — no filter is ever silently ignored.

Requires the ``platform_admin`` role.



## OpenAPI

````yaml /openapi/mio-openapi.json get /api/v1/admin/platform-alerts
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/admin/platform-alerts:
    get:
      tags:
        - platform-alerts
      summary: List Platform Alerts
      description: >-
        List unresolved platform alerts (most-recent first, paginated).


        v1 returns UNRESOLVED alerts only. ``filter[status]`` accepts ``open``

        (the default) and nothing else. ``filter[severity]``, when present, must
        be

        one of ``info`` | ``warning`` | ``critical``. Any other value for either

        filter is a 422 — no filter is ever silently ignored.


        Requires the ``platform_admin`` role.
      operationId: platform_alerts.get_platform_alerts_get_admin_platform_alerts
      parameters:
        - in: query
          name: page[after]
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Page[After]
        - in: query
          name: page[size]
          required: false
          schema:
            default: 50
            maximum: 100
            minimum: 1
            title: Page[Size]
            type: integer
        - in: query
          name: filter[status]
          required: false
          schema:
            default: open
            title: Filter[Status]
            type: string
        - in: query
          name: filter[severity]
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Filter[Severity]
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: >-
                  #/components/schemas/JsonApiListResponse_PlatformAlertAttributes_
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    JsonApiListResponse_PlatformAlertAttributes_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/JsonApiResource_PlatformAlertAttributes_'
          title: Data
          type: array
        included:
          anyOf:
            - items: {}
              type: array
            - type: 'null'
          title: Included
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiPaginationLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
      required:
        - data
      title: JsonApiListResponse[PlatformAlertAttributes]
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    JsonApiResource_PlatformAlertAttributes_:
      properties:
        attributes:
          $ref: '#/components/schemas/PlatformAlertAttributes'
        id:
          title: Id
          type: string
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        relationships:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Relationships
        type:
          title: Type
          type: string
      required:
        - id
        - type
        - attributes
      title: JsonApiResource[PlatformAlertAttributes]
      type: object
    JsonApiPaginationLinks:
      properties:
        next:
          anyOf:
            - type: string
            - type: 'null'
          title: Next
        self:
          anyOf:
            - type: string
            - type: 'null'
          title: Self
      title: JsonApiPaginationLinks
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    PlatformAlertAttributes:
      description: >-
        Attributes block for a platform_alerts resource object.


        Read-only. ``alert_type`` is the alert type slug (e.g.
        ``"spam_escalation"``)

        — named specifically, never a bare ``type``, which is reserved for the

        JSON:API resource ``type`` (api-response.md). ``severity`` is one of

        ``info`` | ``warning`` | ``critical``. ``resolved_at`` / ``resolved_by``

        are present for forward-compat but are always null on this endpoint,
        which

        returns unresolved alerts only (v1).
      properties:
        alert_type:
          title: Alert Type
          type: string
        created_at:
          title: Created At
          type: string
        payload:
          additionalProperties: true
          title: Payload
          type: object
        resolved_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Resolved At
        resolved_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Resolved By
        severity:
          title: Severity
          type: string
      required:
        - alert_type
        - severity
        - payload
        - created_at
        - resolved_at
        - resolved_by
      title: PlatformAlertAttributes
      type: object
    JsonApiLinks:
      properties:
        self:
          anyOf:
            - type: string
            - type: 'null'
          title: Self
      title: JsonApiLinks
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````