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

# List reports

> Returns reports scoped to the authenticated organization. Supports cursor-based pagination and filtering.



## OpenAPI

````yaml /api-reference/openapi.json get /reports
openapi: 3.1.0
info:
  title: Whistle SDK API
  description: >-
    HTTP API for the Whistle SDK. All endpoints are authenticated via an API key
    (`wh_…`) sent as a Bearer token. The API key is org-scoped — no organization
    slug or ID is needed in the URL.


    Base URL: `https://api.kansato.com/sdk/whistle/v1`


    Local development default: `http://localhost:3001/sdk/whistle/v1`
  version: 1.0.0
servers:
  - url: https://api.kansato.com/sdk/whistle/v1
    description: Production
  - url: http://localhost:3001/sdk/whistle/v1
    description: Local development (default PORT)
security:
  - apiKey: []
tags:
  - name: Reports
    description: Create, list, and manage moderation reports.
  - name: Identities
    description: Mirror user identities from your platform.
paths:
  /reports:
    get:
      tags:
        - Reports
      summary: List reports
      description: >-
        Returns reports scoped to the authenticated organization. Supports
        cursor-based pagination and filtering.
      operationId: listReports
      parameters:
        - name: status
          in: query
          required: false
          schema:
            type: string
        - name: reasonId
          in: query
          required: false
          schema:
            type: string
        - name: severity
          in: query
          required: false
          schema:
            type: string
        - name: assignee
          in: query
          required: false
          schema:
            type: string
        - name: dateFrom
          in: query
          required: false
          schema:
            type: string
            format: date-time
        - name: dateTo
          in: query
          required: false
          schema:
            type: string
            format: date-time
        - name: sort
          in: query
          required: false
          schema:
            type: string
        - name: dir
          in: query
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
        - name: cursor
          in: query
          required: false
          description: Cursor for pagination (ISO timestamp)
          schema:
            type: string
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
      responses:
        '200':
          description: Paginated report list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueuePayload'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    QueuePayload:
      type: object
      required:
        - projects
        - reports
      properties:
        projects:
          type: array
          items:
            type: object
            required:
              - id
              - name
            properties:
              id:
                type: string
              name:
                type: string
        reports:
          type: array
          items:
            type: object
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        API key with `wh_` prefix. Send as Bearer token: `Authorization: Bearer
        wh_xxxxxxxxxxxx`

````