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

# Decide on a gap

> The word of the team on a gap or a proposal: accepted or dismissed, with a note; a proposal takes effect only through approved configuration.



## OpenAPI

````yaml openapi/en/cell.json POST /v1/insights/gaps/review
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/insights/gaps/review:
    post:
      summary: Decide on a gap
      description: >-
        The team's word on a gap or a proposal: accepted or dismissed, with a
        note. A proposal takes effect

        only through the configuration the team approves.


        **Authentication.** Source key with the `analytics` scope, or a Console
        person token with the analysis role (or admin). People with the vendor
        role have no access.
      operationId: review_gap_v1_insights_gaps_review_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GapReviewRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GapReviewOut'
          description: The decision as recorded.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - sourceKey: []
components:
  schemas:
    GapReviewRequest:
      additionalProperties: false
      properties:
        decision:
          enum:
            - accepted
            - dismissed
          title: Decision
          type: string
          description: '`accepted` or `dismissed`.'
        key:
          maxLength: 300
          minLength: 3
          title: Key
          type: string
          description: The `key` of the gap, recurring question or proposal.
        note:
          anyOf:
            - maxLength: 500
              type: string
            - type: 'null'
          title: Note
          description: Why, up to 500 characters.
      required:
        - key
        - decision
      title: GapReviewRequest
      type: object
      description: The decision of the team on a gap or a proposal.
    GapReviewOut:
      additionalProperties: false
      properties:
        decided_at:
          format: date-time
          title: Decided At
          type: string
          description: When it was recorded.
        decided_by:
          title: Decided By
          type: string
          description: 'Who recorded it: the person, or the key.'
        decision:
          enum:
            - accepted
            - dismissed
          title: Decision
          type: string
          description: '`accepted` or `dismissed`.'
        note:
          anyOf:
            - type: string
            - type: 'null'
          title: Note
          description: The note left with it.
      required:
        - decision
        - decided_by
        - decided_at
      title: GapReviewOut
      type: object
      description: A decision as recorded.
    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_...

````