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

# List Alerts

> List and filter compliance alerts

## Request

<ParamField header="Authorization" type="string" required>
  `Bearer olive_live_xxx` (Compliance Officer/Admin)
</ParamField>

### Query Parameters

<ParamField query="status" type="string">
  Filter: `open`, `investigating`, `resolved`, `false_positive`
</ParamField>

<ParamField query="limit" type="integer" default="50">
  Page size
</ParamField>

<ParamField query="offset" type="integer" default="0">
  Pagination offset
</ParamField>

***

## Response

<ResponseField name="alerts" type="array">
  List of alert objects
</ResponseField>

<ResponseField name="total" type="integer">
  Total count
</ResponseField>

***

## Examples

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://demo.api.vultlocal.com/api/v1/compliance/alerts?status=open&limit=20" \
    -H "Authorization: Bearer olive_live_xxx"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "alerts": [
      {
        "id": 101,
        "subscriber_id": "sub_abc123",
        "alert_type": "VELOCITY_LIMIT",
        "severity": "HIGH",
        "details": "10 transactions in 5 minutes",
        "status": "open",
        "created_at": "2025-01-20T10:00:00Z"
      }
    ],
    "total": 1,
    "limit": 20,
    "offset": 0
  }
  ```
</ResponseExample>


## OpenAPI

````yaml olive-openapi.json GET /compliance/alerts
openapi: 3.0.0
info:
  description: >-
    API Gateway for OLIVE NFC Card Payment System - Comprehensive payment, card
    management, agent operations, and admin authentication. All /api/v1 routes
    require authentication using either API Key or JWT token.
  title: OLIVE NFC Card Payment API
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    email: support@olive.sl
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
  - url: https://olive-gateway-a6ba.onrender.com/api/v1
security: []
paths:
  /compliance/alerts:
    get:
      tags:
        - Compliance Alerts
      summary: List compliance alerts
      description: Get a list of compliance alerts with optional filters
      parameters:
        - description: Filter by subscriber ID
          name: subscriber_id
          in: query
          schema:
            type: string
        - description: Filter by status (open/investigating/resolved/false_positive)
          name: status
          in: query
          schema:
            type: string
        - description: Limit number of results
          name: limit
          in: query
          schema:
            type: integer
            default: 50
        - description: Offset for pagination
          name: offset
          in: query
          schema:
            type: integer
            default: 0
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      description: >-
        API Key for third-party integrations (WhatsApp, Smart PAY, VULT).
        Format: 'Bearer olive_live_xxxxxxxxxxxxx'
      type: apiKey
      name: Authorization
      in: header

````