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

# Resolve a review request

> The controller's decision, recorded once.



## OpenAPI

````yaml openapi/en/cell.json POST /v1/review-requests/{request_id}/resolve
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/review-requests/{request_id}/resolve:
    post:
      tags:
        - signals
      summary: Resolve a review request
      description: >-
        The controller's decision, recorded once.


        **Authentication.** Console person token with the `security` role (or
        admin), or a source key with the `admin` scope. It answers only in a
        space with one of the `signals`, `coordination` features on (the
        `features` document); in a space with none of them, 404.
      operationId: resolve_review_request_v1_review_requests__request_id__resolve_post
      parameters:
        - in: path
          name: request_id
          required: true
          schema:
            title: Request Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReviewResolution'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReviewRequest'
          description: Successful Response
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - sourceKey: []
        - personToken: []
components:
  schemas:
    ReviewResolution:
      additionalProperties: false
      properties:
        note:
          anyOf:
            - maxLength: 500
              minLength: 1
              type: string
            - type: 'null'
          title: Note
        outcome:
          enum:
            - upheld
            - reversed
            - corrected
          title: Outcome
          type: string
      required:
        - outcome
      title: ReviewResolution
      type: object
    ReviewRequest:
      additionalProperties: false
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        decision_receipt_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Decision Receipt Id
        explanation:
          additionalProperties: true
          description: >-
            Built from receipts: their ids, kinds, surfaces, rules, versions and
            inputs by reference, never personal content.
          title: Explanation
          type: object
        outcome:
          anyOf:
            - enum:
                - upheld
                - reversed
                - corrected
              type: string
            - type: 'null'
          title: Outcome
        profile_id:
          maxLength: 512
          minLength: 1
          title: Profile Id
          type: string
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
        request_id:
          maxLength: 512
          minLength: 1
          title: Request Id
          type: string
        resolution:
          anyOf:
            - type: string
            - type: 'null'
          description: The reviewer's note.
          title: Resolution
        resolved_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Resolved At
        status:
          enum:
            - open
            - resolved
          title: Status
          type: string
      required:
        - request_id
        - profile_id
        - status
        - created_at
      title: ReviewRequest
      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
  securitySchemes:
    sourceKey:
      type: http
      scheme: bearer
      description: nia_sk_...
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````