> ## 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.

# Record verdicts

> Correct, wrong or missing, per item of a sample.



## OpenAPI

````yaml openapi/en/cell.json POST /v1/review/{sample_id}/verdicts
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-1
        description: The region of the space, which also comes in the key.
security: []
paths:
  /v1/review/{sample_id}/verdicts:
    post:
      tags:
        - governance
      summary: Record verdicts
      description: >-
        Records the verdicts of one reviewer on a sample: `correct`, `wrong` or
        `missing` for a fact, `holds` or `does_not_hold` for a measurement
        signal or a pattern. Only a person with the review role can call it,
        never a source key. A verdict does not change the memory by itself: a
        wrong fact leaves through `POST /v1/feedback`, a wrong pattern through
        its retraction.


        **Authentication.** Console person token only, with the `review` role
        (or admin). Source keys are not accepted.
      operationId: review_verdicts_v1_review__sample_id__verdicts_post
      parameters:
        - in: path
          name: sample_id
          required: true
          schema:
            format: uuid
            title: Sample Id
            type: string
          example: 0192f7d0-6e41-7b5c-8d6e-7f8091a2b3c4
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerdictsRequest'
            example:
              verdicts:
                - target: fact
                  target_id: 0192f7a2-5d10-7a8e-b1c4-3f6e8d9a0b12
                  verdict: correct
                - target: signal
                  target_id: sig_01J8ZL
                  verdict: holds
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerdictsResponse'
              example:
                sample_id: 0192f7d0-6e41-7b5c-8d6e-7f8091a2b3c4
                recorded: 2
                reviewed_at: '2026-09-22T18:20:00Z'
          description: The verdicts were recorded.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - personToken: []
components:
  schemas:
    VerdictsRequest:
      additionalProperties: false
      properties:
        verdicts:
          items:
            $ref: '#/components/schemas/VerdictIn'
          maxItems: 200
          minItems: 1
          title: Verdicts
          type: array
      required:
        - verdicts
      title: VerdictsRequest
      type: object
    VerdictsResponse:
      additionalProperties: false
      properties:
        recorded:
          title: Recorded
          type: integer
        reviewed_at:
          format: date-time
          title: Reviewed At
          type: string
        sample_id:
          format: uuid
          title: Sample Id
          type: string
      required:
        - sample_id
        - recorded
        - reviewed_at
      title: VerdictsResponse
      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
    VerdictIn:
      additionalProperties: false
      properties:
        target:
          $ref: '#/components/schemas/TargetKind'
        target_id:
          maxLength: 512
          minLength: 1
          title: Target Id
          type: string
        verdict:
          maxLength: 32
          minLength: 1
          title: Verdict
          type: string
      required:
        - target
        - target_id
        - verdict
      title: VerdictIn
      type: object
    TargetKind:
      enum:
        - fact
        - signal
        - trait
      title: TargetKind
      type: string
  securitySchemes:
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````