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

# List cases



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/cases
openapi: 3.1.0
info:
  title: Clausum API
  version: 1.3.0
  description: >-
    REST API for real-time fraud risk assessment (pay-in and payout), fraud
    reporting, blocklist management, and event ingestion. API version 1.3.0.
    Create Partner API keys (`clm_pub_*`, `clm_sk_*`) in the dashboard under
    Conexiones → Claves API. Webhook ingest uses separate `clm_wh_*` keys
    (Conexiones → Entrada webhooks).
  contact:
    name: Clausum API Support
    email: api@clausum.ai
    url: https://clausum.ai
servers:
  - url: https://sandbox.clausum.ai
    description: Sandbox — integrators and trials
  - url: https://dashboard.clausum.ai
    description: Production dashboard and Partner API
security:
  - apiKeyAuth: []
tags:
  - name: Risk
    description: Real-time risk scoring for pay-in checkout and sessions.
  - name: Payout
    description: Outbound disbursement and treasury transfer assessment.
  - name: Fraud
    description: Report confirmed fraud and trigger the downstream chain.
  - name: Blocklists
    description: Manage dynamic blocklists used during assessment.
  - name: Cases
    description: Manage fraud cases (expedientes) and submit them to regulators.
  - name: Events
    description: Ingest raw events from your payment providers.
  - name: System
    description: Health and status checks.
paths:
  /api/v1/cases:
    get:
      tags:
        - Cases
      summary: List cases
      operationId: listCases
      parameters:
        - name: status
          in: query
          schema:
            type: string
            enum:
              - borrador
              - en_revision
              - enviado
              - resuelto
              - archivado
        - name: priority
          in: query
          schema:
            type: string
            enum:
              - baja
              - normal
              - alta
              - urgente
        - name: jurisdiction
          in: query
          schema:
            type: string
            enum:
              - CL
              - MX
              - BR
              - PE
              - CO
              - UY
              - AR
        - name: search
          in: query
          schema:
            type: string
        - name: limit
          in: query
          schema:
            type: integer
            default: 50
            maximum: 100
        - name: offset
          in: query
          schema:
            type: integer
            default: 0
      responses:
        '200':
          description: Paginated list of cases
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedCases'
        '401':
          $ref: '#/components/responses/Unauthorized'
      security:
        - dashboardAuth: []
components:
  schemas:
    PaginatedCases:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Case'
        pagination:
          type: object
          properties:
            total:
              type: integer
            limit:
              type: integer
            offset:
              type: integer
            has_more:
              type: boolean
    Case:
      type: object
      properties:
        id:
          type: string
          format: uuid
        reference_number:
          type: string
          example: CLM-CL-2024-000001
        status:
          type: string
          enum:
            - borrador
            - en_revision
            - enviado
            - resuelto
            - archivado
        priority:
          type: string
          enum:
            - baja
            - normal
            - alta
            - urgente
        incident_date:
          type: string
          format: date
        incident_type:
          type: string
        amount:
          type: number
        currency:
          type: string
        description:
          type: string
          nullable: true
        victim_name:
          type: string
          nullable: true
        jurisdiction:
          type: string
        regulator:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    ApiError:
      type: object
      properties:
        error:
          oneOf:
            - type: string
            - type: object
              properties:
                code:
                  type: string
                message:
                  type: string
                details:
                  type: object
                  additionalProperties: true
  responses:
    Unauthorized:
      description: Missing or invalid credentials
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      description: >-
        Partner secret or publishable key, e.g. `clm_sk_...` or `clm_pub_...`
        (assess only).
      x-default: clm_sk_your_secret_key
    dashboardAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Supabase session JWT for dashboard / management endpoints, obtained
        after user sign-in.

````