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

# Shadow reports

> The finished shadow reports: how many conflicts coordination would have pointed out in the outbound messages already received, with nothing enforced.



## OpenAPI

````yaml openapi/en/cell.json GET /v1/coordination/reports
openapi: 3.1.0
info:
  title: Niadra data API
  version: '1'
  description: >-
    Writing, context, history, objects, identity, privacy and governance of one
    space. Every space has a stable address, with the space and the region in
    its name.
servers:
  - url: https://{space}.{region}.api.niadra.com
    variables:
      space:
        default: acme-prod
        description: The space, which comes in the source key.
      region:
        default: us-east-2
        description: The region of the space, which also comes in the key.
security: []
paths:
  /v1/coordination/reports:
    get:
      tags:
        - coordination
      summary: Shadow reports
      description: >-
        The shadow reports of the space, newest first: for each run, the days
        covered and the conflicts a check would have pointed out among the
        outbound messages already received (`concurrent_agents`,
        `outside_window`, `quiet_hours`, `over_budget`, `tokens_used_twice`),
        each also per 1,000 customers a month, with a sample for review and
        nobody named.


        **Authentication.** Console person token with the `analysis`, `security`
        role (or admin), or a source key with the `admin` scope. It answers only
        in a space with the `coordination` feature on (the `features` document);
        in a space without it, 404.
      operationId: reports_v1_coordination_reports_get
      parameters:
        - in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - maxLength: 200
                type: string
              - type: 'null'
            title: Cursor
        - in: query
          name: limit
          required: false
          schema:
            default: 50
            maximum: 200
            minimum: 1
            title: Limit
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoordinationReportPage'
          description: A page of reports.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - sourceKey: []
        - personToken: []
components:
  schemas:
    CoordinationReportPage:
      additionalProperties: false
      properties:
        items:
          items:
            $ref: '#/components/schemas/CoordinationReport'
          title: Items
          type: array
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      required:
        - items
      title: CoordinationReportPage
      type: object
    Problem:
      additionalProperties: false
      description: RFC 9457 problem details; `code` comes from the versioned error catalog.
      properties:
        code:
          title: Code
          type: string
        detail:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Detail
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Request Id
        status:
          title: Status
          type: integer
        title:
          title: Title
          type: string
        type:
          default: about:blank
          title: Type
          type: string
      required:
        - title
        - status
        - code
      title: Problem
      type: object
    CoordinationReport:
      additionalProperties: false
      description: >-
        A shadow run: the space's policy applied to its outbound messages
        already ingested, with nothing

        enforced. `summary` holds the conflicts found and per 1,000 customers a
        month, without anyone in them.
      properties:
        days:
          title: Days
          type: integer
        finished_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Finished At
        report_id:
          maxLength: 512
          minLength: 1
          title: Report Id
          type: string
        requested_at:
          format: date-time
          title: Requested At
          type: string
        status:
          enum:
            - pending
            - done
            - failed
          title: Status
          type: string
        summary:
          additionalProperties: true
          title: Summary
          type: object
      required:
        - report_id
        - status
        - days
        - requested_at
      title: CoordinationReport
      type: object
  securitySchemes:
    sourceKey:
      type: http
      scheme: bearer
      description: nia_sk_...
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````