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

# Answer a decision item of a rater rebuild’s current version

> A rater rebuild applies one ISO circular to a carrier’s rater for one product in one state, on a circular project (a project with projectType iso_circular). It reads the rater, the rebuild guideline, the in-force book and the experience file from the product’s rating setup in the state (a product_rating_setups record, set on the product’s Rating tab). The worked cases are the rebuild’s own, optional input. A caller who can read the project reads its rebuilds; a caller who can edit the project creates and changes them. A product has at most one open rebuild in a state. Records your answer to one item of the rebuild's `decisions`: `accepted`, `declined`, or `proposed` with `words` saying what you want instead (required with proposed, a note otherwise, at most 4,000 characters). Read the item's `accept` and `decline` first: an answer only records, so it does not change the rater, write to the log or start a version, and no answer is needed to finish. It replaces any earlier answer to the same item on the same version, yours or another person's: the last write wins, so sending it again sets the same answer and the request takes no Idempotency-Key. An answer belongs to its version: once a new version is current, its items are open again, each with this answer as `previous`. Send the `version` you read: another version than `currentVersion` is 409 `version_not_current`, and an item that version does not have is 422 `unknown_decision_item`. A draft or a failed first pass is 409 `rebuild_not_built`; a closed rebuild 409 `rebuild_closed`; while the first pass builds, 409 `version_in_progress`. While a later version builds, the current one's items can still be answered. Needs edit access to the project. Returns the current version's `decisions` with your answer, and `toDecide` the items still open.

Alpha: this operation may change or be removed without notice.



## OpenAPI

````yaml /openapi.json post /insurance/rater-rebuilds/{id}/decisions
openapi: 3.0.3
info:
  title: Effective API
  version: 2.0.0
  description: The public Effective REST API. Authenticate using an Effective API key.
servers:
  - url: https://api.effectiveai.app/api/v2
    description: Production
security:
  - bearerAuth: []
paths:
  /insurance/rater-rebuilds/{id}/decisions:
    post:
      tags:
        - Rater rebuilds
      summary: Answer a decision item of a rater rebuild’s current version
      description: >-
        A rater rebuild applies one ISO circular to a carrier’s rater for one
        product in one state, on a circular project (a project with projectType
        iso_circular). It reads the rater, the rebuild guideline, the in-force
        book and the experience file from the product’s rating setup in the
        state (a product_rating_setups record, set on the product’s Rating tab).
        The worked cases are the rebuild’s own, optional input. A caller who can
        read the project reads its rebuilds; a caller who can edit the project
        creates and changes them. A product has at most one open rebuild in a
        state. Records your answer to one item of the rebuild's `decisions`:
        `accepted`, `declined`, or `proposed` with `words` saying what you want
        instead (required with proposed, a note otherwise, at most 4,000
        characters). Read the item's `accept` and `decline` first: an answer
        only records, so it does not change the rater, write to the log or start
        a version, and no answer is needed to finish. It replaces any earlier
        answer to the same item on the same version, yours or another person's:
        the last write wins, so sending it again sets the same answer and the
        request takes no Idempotency-Key. An answer belongs to its version: once
        a new version is current, its items are open again, each with this
        answer as `previous`. Send the `version` you read: another version than
        `currentVersion` is 409 `version_not_current`, and an item that version
        does not have is 422 `unknown_decision_item`. A draft or a failed first
        pass is 409 `rebuild_not_built`; a closed rebuild 409 `rebuild_closed`;
        while the first pass builds, 409 `version_in_progress`. While a later
        version builds, the current one's items can still be answered. Needs
        edit access to the project. Returns the current version's `decisions`
        with your answer, and `toDecide` the items still open.


        Alpha: this operation may change or be removed without notice.
      operationId: decideRaterRebuildItem
      parameters:
        - schema:
            type: string
            format: uuid
            description: The rater rebuild’s id, a UUID.
          required: true
          description: The rater rebuild’s id, a UUID.
          name: id
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                version:
                  type: string
                  pattern: ^V[1-9][0-9]{0,5}$
                  description: >-
                    The version the item is about: the rebuild’s currentVersion
                    as you read it.
                item:
                  type: string
                  minLength: 1
                  maxLength: 200
                  description: >-
                    A decision item, as decisions.groups[].items[].id names it:
                    notice:<rule>, rebase, edit:<change>, cite:<change>:<cite
                    key>, or cite:<change>:item:<item> for a flag that names no
                    cite key.
                outcome:
                  type: string
                  enum:
                    - accepted
                    - declined
                    - proposed
                words:
                  type: string
                  maxLength: 4000
                  description: >-
                    What you want instead, required with proposed; a note with
                    accepted or declined. At most 4,000 characters.
              required:
                - version
                - item
                - outcome
              additionalProperties: false
      responses:
        '200':
          description: The current version’s decisions, with the answer.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RaterRebuildDecisions'
        '400':
          description: Invalid request or cursor.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '401':
          description: Authentication required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '403':
          description: '`forbidden`: the caller can read the project but not edit it.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RaterRebuildError'
        '404':
          description: No such rebuild, or the caller cannot read its project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '409':
          description: >-
            `rebuild_not_built`, `rebuild_closed`, `version_in_progress`,
            `version_not_current` or `rebuild_log_unreadable`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RaterRebuildError'
        '422':
          description: '`unknown_decision_item`: the version has no such item.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RaterRebuildError'
      security:
        - bearerAuth: []
components:
  schemas:
    RaterRebuildDecisions:
      type: object
      properties:
        version:
          type: string
          pattern: ^V[1-9][0-9]{0,5}$
          description: 'The current version: every item is about it.'
        toDecide:
          type: integer
          minimum: 0
          description: >-
            The items nobody has answered on this version. 0 once the rebuild is
            closed: its unanswered items stay, undecided, and nothing asks.
        groups:
          type: array
          items:
            type: object
            properties:
              kind:
                type: string
                enum:
                  - conflicts
                  - suggested
              items:
                type: array
                items:
                  oneOf:
                    - type: object
                      properties:
                        id:
                          type: string
                          minLength: 1
                          maxLength: 200
                          description: >-
                            A decision item, as decisions.groups[].items[].id
                            names it: notice:<rule>, rebase, edit:<change>,
                            cite:<change>:<cite key>, or
                            cite:<change>:item:<item> for a flag that names no
                            cite key.
                        changes:
                          type: array
                          items:
                            type: string
                            pattern: ^[a-z][a-z0-9_]{0,63}$
                            description: >-
                              One of the carrier’s changes to ISO, as its
                              guideline names it, such as d01.
                          description: >-
                            The carrier changes it is about: the changes a
                            notice is raised on, the change an edit or the cites
                            are of. Empty for rebase. Their lines in the rater
                            are in getRaterRebuildVersion’s places and
                            citations.
                        title:
                          type: string
                        why:
                          type: string
                          description: >-
                            Why it needs a person, from the log’s words and
                            facts.
                        accept:
                          type: string
                          description: What accepting records.
                        decline:
                          type: string
                          description: What declining records.
                        evidence:
                          type: array
                          items:
                            oneOf:
                              - type: object
                                properties:
                                  kind:
                                    type: string
                                    enum:
                                      - document
                                  fact:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The ISO fact it supports. Null when it
                                      names none.
                                  filing:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The SERFF tracking number. Null for no
                                      filing.
                                  document:
                                    type: string
                                  artifactId:
                                    type: string
                                    nullable: true
                                    format: uuid
                                    description: Null when it is not a Vault artifact.
                                  page:
                                    type: integer
                                    nullable: true
                                    minimum: 1
                                    description: Null when the page is not known.
                                  says:
                                    type: string
                                required:
                                  - kind
                                  - fact
                                  - filing
                                  - document
                                  - artifactId
                                  - page
                                  - says
                              - type: object
                                properties:
                                  kind:
                                    type: string
                                    enum:
                                      - rater_file
                                  raterId:
                                    type: string
                                    minLength: 1
                                    maxLength: 200
                                  release:
                                    type: integer
                                    minimum: 1
                                    maximum: 1000000
                                  file:
                                    type: string
                                  lines:
                                    type: string
                                    nullable: true
                                    description: Null when it is the whole file.
                                  says:
                                    type: string
                                required:
                                  - kind
                                  - raterId
                                  - release
                                  - file
                                  - lines
                                  - says
                          maxItems: 8
                          description: >-
                            ISO’s pages it rests on, at most 8. Empty when the
                            log names none.
                        decided:
                          type: object
                          nullable: true
                          properties:
                            outcome:
                              type: string
                              enum:
                                - accepted
                                - declined
                                - proposed
                            words:
                              type: string
                              nullable: true
                              description: >-
                                What the person wrote: always with proposed.
                                Null when they wrote nothing.
                            by:
                              type: object
                              properties:
                                kind:
                                  type: string
                                  enum:
                                    - user
                                    - group
                                id:
                                  type: string
                                  minLength: 1
                                name:
                                  type: string
                                  nullable: true
                                  description: >-
                                    Null when the user or group no longer
                                    exists.
                              required:
                                - kind
                                - id
                                - name
                            at:
                              type: string
                              format: date-time
                          required:
                            - outcome
                            - words
                            - by
                            - at
                          description: >-
                            The answer on this version. Null while nobody has
                            answered it.
                        previous:
                          type: object
                          nullable: true
                          properties:
                            version:
                              type: string
                              pattern: ^V[1-9][0-9]{0,5}$
                            outcome:
                              type: string
                              enum:
                                - accepted
                                - declined
                                - proposed
                            words:
                              type: string
                              nullable: true
                              description: >-
                                What the person wrote: always with proposed.
                                Null when they wrote nothing.
                            by:
                              type: object
                              properties:
                                kind:
                                  type: string
                                  enum:
                                    - user
                                    - group
                                id:
                                  type: string
                                  minLength: 1
                                name:
                                  type: string
                                  nullable: true
                                  description: >-
                                    Null when the user or group no longer
                                    exists.
                              required:
                                - kind
                                - id
                                - name
                            at:
                              type: string
                              format: date-time
                          required:
                            - version
                            - outcome
                            - words
                            - by
                            - at
                          description: >-
                            The last answer to the same item on an earlier
                            version, for context: a new version opens every item
                            again. Null when there is none.
                        kind:
                          type: string
                          enum:
                            - notice
                        notice:
                          type: string
                          description: >-
                            The rule, as notices[].id names it, or for a
                            decision nobody made on an earlier guideline
                            release, as changes[].rules[].rule does.
                      required:
                        - id
                        - changes
                        - title
                        - why
                        - accept
                        - decline
                        - evidence
                        - decided
                        - previous
                        - kind
                        - notice
                      description: >-
                        A rule the guideline raised on the current version: one
                        of its `note` notices, or an `open` rule of a change.
                    - type: object
                      properties:
                        id:
                          type: string
                          minLength: 1
                          maxLength: 200
                          description: >-
                            A decision item, as decisions.groups[].items[].id
                            names it: notice:<rule>, rebase, edit:<change>,
                            cite:<change>:<cite key>, or
                            cite:<change>:item:<item> for a flag that names no
                            cite key.
                        changes:
                          type: array
                          items:
                            type: string
                            pattern: ^[a-z][a-z0-9_]{0,63}$
                            description: >-
                              One of the carrier’s changes to ISO, as its
                              guideline names it, such as d01.
                          description: >-
                            The carrier changes it is about: the changes a
                            notice is raised on, the change an edit or the cites
                            are of. Empty for rebase. Their lines in the rater
                            are in getRaterRebuildVersion’s places and
                            citations.
                        title:
                          type: string
                        why:
                          type: string
                          description: >-
                            Why it needs a person, from the log’s words and
                            facts.
                        accept:
                          type: string
                          description: What accepting records.
                        decline:
                          type: string
                          description: What declining records.
                        evidence:
                          type: array
                          items:
                            oneOf:
                              - type: object
                                properties:
                                  kind:
                                    type: string
                                    enum:
                                      - document
                                  fact:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The ISO fact it supports. Null when it
                                      names none.
                                  filing:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The SERFF tracking number. Null for no
                                      filing.
                                  document:
                                    type: string
                                  artifactId:
                                    type: string
                                    nullable: true
                                    format: uuid
                                    description: Null when it is not a Vault artifact.
                                  page:
                                    type: integer
                                    nullable: true
                                    minimum: 1
                                    description: Null when the page is not known.
                                  says:
                                    type: string
                                required:
                                  - kind
                                  - fact
                                  - filing
                                  - document
                                  - artifactId
                                  - page
                                  - says
                              - type: object
                                properties:
                                  kind:
                                    type: string
                                    enum:
                                      - rater_file
                                  raterId:
                                    type: string
                                    minLength: 1
                                    maxLength: 200
                                  release:
                                    type: integer
                                    minimum: 1
                                    maximum: 1000000
                                  file:
                                    type: string
                                  lines:
                                    type: string
                                    nullable: true
                                    description: Null when it is the whole file.
                                  says:
                                    type: string
                                required:
                                  - kind
                                  - raterId
                                  - release
                                  - file
                                  - lines
                                  - says
                          maxItems: 8
                          description: >-
                            ISO’s pages it rests on, at most 8. Empty when the
                            log names none.
                        decided:
                          type: object
                          nullable: true
                          properties:
                            outcome:
                              type: string
                              enum:
                                - accepted
                                - declined
                                - proposed
                            words:
                              type: string
                              nullable: true
                              description: >-
                                What the person wrote: always with proposed.
                                Null when they wrote nothing.
                            by:
                              type: object
                              properties:
                                kind:
                                  type: string
                                  enum:
                                    - user
                                    - group
                                id:
                                  type: string
                                  minLength: 1
                                name:
                                  type: string
                                  nullable: true
                                  description: >-
                                    Null when the user or group no longer
                                    exists.
                              required:
                                - kind
                                - id
                                - name
                            at:
                              type: string
                              format: date-time
                          required:
                            - outcome
                            - words
                            - by
                            - at
                          description: >-
                            The answer on this version. Null while nobody has
                            answered it.
                        previous:
                          type: object
                          nullable: true
                          properties:
                            version:
                              type: string
                              pattern: ^V[1-9][0-9]{0,5}$
                            outcome:
                              type: string
                              enum:
                                - accepted
                                - declined
                                - proposed
                            words:
                              type: string
                              nullable: true
                              description: >-
                                What the person wrote: always with proposed.
                                Null when they wrote nothing.
                            by:
                              type: object
                              properties:
                                kind:
                                  type: string
                                  enum:
                                    - user
                                    - group
                                id:
                                  type: string
                                  minLength: 1
                                name:
                                  type: string
                                  nullable: true
                                  description: >-
                                    Null when the user or group no longer
                                    exists.
                              required:
                                - kind
                                - id
                                - name
                            at:
                              type: string
                              format: date-time
                          required:
                            - version
                            - outcome
                            - words
                            - by
                            - at
                          description: >-
                            The last answer to the same item on an earlier
                            version, for context: a new version opens every item
                            again. Null when there is none.
                        kind:
                          type: string
                          enum:
                            - rebase
                      required:
                        - id
                        - changes
                        - title
                        - why
                        - accept
                        - decline
                        - evidence
                        - decided
                        - previous
                        - kind
                      description: >-
                        The agent’s rebase of a version it built onto ISO’s new
                        values.
                    - type: object
                      properties:
                        id:
                          type: string
                          minLength: 1
                          maxLength: 200
                          description: >-
                            A decision item, as decisions.groups[].items[].id
                            names it: notice:<rule>, rebase, edit:<change>,
                            cite:<change>:<cite key>, or
                            cite:<change>:item:<item> for a flag that names no
                            cite key.
                        changes:
                          type: array
                          items:
                            type: string
                            pattern: ^[a-z][a-z0-9_]{0,63}$
                            description: >-
                              One of the carrier’s changes to ISO, as its
                              guideline names it, such as d01.
                          description: >-
                            The carrier changes it is about: the changes a
                            notice is raised on, the change an edit or the cites
                            are of. Empty for rebase. Their lines in the rater
                            are in getRaterRebuildVersion’s places and
                            citations.
                        title:
                          type: string
                        why:
                          type: string
                          description: >-
                            Why it needs a person, from the log’s words and
                            facts.
                        accept:
                          type: string
                          description: What accepting records.
                        decline:
                          type: string
                          description: What declining records.
                        evidence:
                          type: array
                          items:
                            oneOf:
                              - type: object
                                properties:
                                  kind:
                                    type: string
                                    enum:
                                      - document
                                  fact:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The ISO fact it supports. Null when it
                                      names none.
                                  filing:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The SERFF tracking number. Null for no
                                      filing.
                                  document:
                                    type: string
                                  artifactId:
                                    type: string
                                    nullable: true
                                    format: uuid
                                    description: Null when it is not a Vault artifact.
                                  page:
                                    type: integer
                                    nullable: true
                                    minimum: 1
                                    description: Null when the page is not known.
                                  says:
                                    type: string
                                required:
                                  - kind
                                  - fact
                                  - filing
                                  - document
                                  - artifactId
                                  - page
                                  - says
                              - type: object
                                properties:
                                  kind:
                                    type: string
                                    enum:
                                      - rater_file
                                  raterId:
                                    type: string
                                    minLength: 1
                                    maxLength: 200
                                  release:
                                    type: integer
                                    minimum: 1
                                    maximum: 1000000
                                  file:
                                    type: string
                                  lines:
                                    type: string
                                    nullable: true
                                    description: Null when it is the whole file.
                                  says:
                                    type: string
                                required:
                                  - kind
                                  - raterId
                                  - release
                                  - file
                                  - lines
                                  - says
                          maxItems: 8
                          description: >-
                            ISO’s pages it rests on, at most 8. Empty when the
                            log names none.
                        decided:
                          type: object
                          nullable: true
                          properties:
                            outcome:
                              type: string
                              enum:
                                - accepted
                                - declined
                                - proposed
                            words:
                              type: string
                              nullable: true
                              description: >-
                                What the person wrote: always with proposed.
                                Null when they wrote nothing.
                            by:
                              type: object
                              properties:
                                kind:
                                  type: string
                                  enum:
                                    - user
                                    - group
                                id:
                                  type: string
                                  minLength: 1
                                name:
                                  type: string
                                  nullable: true
                                  description: >-
                                    Null when the user or group no longer
                                    exists.
                              required:
                                - kind
                                - id
                                - name
                            at:
                              type: string
                              format: date-time
                          required:
                            - outcome
                            - words
                            - by
                            - at
                          description: >-
                            The answer on this version. Null while nobody has
                            answered it.
                        previous:
                          type: object
                          nullable: true
                          properties:
                            version:
                              type: string
                              pattern: ^V[1-9][0-9]{0,5}$
                            outcome:
                              type: string
                              enum:
                                - accepted
                                - declined
                                - proposed
                            words:
                              type: string
                              nullable: true
                              description: >-
                                What the person wrote: always with proposed.
                                Null when they wrote nothing.
                            by:
                              type: object
                              properties:
                                kind:
                                  type: string
                                  enum:
                                    - user
                                    - group
                                id:
                                  type: string
                                  minLength: 1
                                name:
                                  type: string
                                  nullable: true
                                  description: >-
                                    Null when the user or group no longer
                                    exists.
                              required:
                                - kind
                                - id
                                - name
                            at:
                              type: string
                              format: date-time
                          required:
                            - version
                            - outcome
                            - words
                            - by
                            - at
                          description: >-
                            The last answer to the same item on an earlier
                            version, for context: a new version opens every item
                            again. Null when there is none.
                        kind:
                          type: string
                          enum:
                            - edit
                      required:
                        - id
                        - changes
                        - title
                        - why
                        - accept
                        - decline
                        - evidence
                        - decided
                        - previous
                        - kind
                      description: >-
                        An edit the agent made to a carrier change in a version
                        it built.
                    - type: object
                      properties:
                        id:
                          type: string
                          minLength: 1
                          maxLength: 200
                          description: >-
                            A decision item, as decisions.groups[].items[].id
                            names it: notice:<rule>, rebase, edit:<change>,
                            cite:<change>:<cite key>, or
                            cite:<change>:item:<item> for a flag that names no
                            cite key.
                        changes:
                          type: array
                          items:
                            type: string
                            pattern: ^[a-z][a-z0-9_]{0,63}$
                            description: >-
                              One of the carrier’s changes to ISO, as its
                              guideline names it, such as d01.
                          description: >-
                            The carrier changes it is about: the changes a
                            notice is raised on, the change an edit or the cites
                            are of. Empty for rebase. Their lines in the rater
                            are in getRaterRebuildVersion’s places and
                            citations.
                        title:
                          type: string
                        why:
                          type: string
                          description: >-
                            Why it needs a person, from the log’s words and
                            facts.
                        accept:
                          type: string
                          description: What accepting records.
                        decline:
                          type: string
                          description: What declining records.
                        evidence:
                          type: array
                          items:
                            oneOf:
                              - type: object
                                properties:
                                  kind:
                                    type: string
                                    enum:
                                      - document
                                  fact:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The ISO fact it supports. Null when it
                                      names none.
                                  filing:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The SERFF tracking number. Null for no
                                      filing.
                                  document:
                                    type: string
                                  artifactId:
                                    type: string
                                    nullable: true
                                    format: uuid
                                    description: Null when it is not a Vault artifact.
                                  page:
                                    type: integer
                                    nullable: true
                                    minimum: 1
                                    description: Null when the page is not known.
                                  says:
                                    type: string
                                required:
                                  - kind
                                  - fact
                                  - filing
                                  - document
                                  - artifactId
                                  - page
                                  - says
                              - type: object
                                properties:
                                  kind:
                                    type: string
                                    enum:
                                      - rater_file
                                  raterId:
                                    type: string
                                    minLength: 1
                                    maxLength: 200
                                  release:
                                    type: integer
                                    minimum: 1
                                    maximum: 1000000
                                  file:
                                    type: string
                                  lines:
                                    type: string
                                    nullable: true
                                    description: Null when it is the whole file.
                                  says:
                                    type: string
                                required:
                                  - kind
                                  - raterId
                                  - release
                                  - file
                                  - lines
                                  - says
                          maxItems: 8
                          description: >-
                            ISO’s pages it rests on, at most 8. Empty when the
                            log names none.
                        decided:
                          type: object
                          nullable: true
                          properties:
                            outcome:
                              type: string
                              enum:
                                - accepted
                                - declined
                                - proposed
                            words:
                              type: string
                              nullable: true
                              description: >-
                                What the person wrote: always with proposed.
                                Null when they wrote nothing.
                            by:
                              type: object
                              properties:
                                kind:
                                  type: string
                                  enum:
                                    - user
                                    - group
                                id:
                                  type: string
                                  minLength: 1
                                name:
                                  type: string
                                  nullable: true
                                  description: >-
                                    Null when the user or group no longer
                                    exists.
                              required:
                                - kind
                                - id
                                - name
                            at:
                              type: string
                              format: date-time
                          required:
                            - outcome
                            - words
                            - by
                            - at
                          description: >-
                            The answer on this version. Null while nobody has
                            answered it.
                        previous:
                          type: object
                          nullable: true
                          properties:
                            version:
                              type: string
                              pattern: ^V[1-9][0-9]{0,5}$
                            outcome:
                              type: string
                              enum:
                                - accepted
                                - declined
                                - proposed
                            words:
                              type: string
                              nullable: true
                              description: >-
                                What the person wrote: always with proposed.
                                Null when they wrote nothing.
                            by:
                              type: object
                              properties:
                                kind:
                                  type: string
                                  enum:
                                    - user
                                    - group
                                id:
                                  type: string
                                  minLength: 1
                                name:
                                  type: string
                                  nullable: true
                                  description: >-
                                    Null when the user or group no longer
                                    exists.
                              required:
                                - kind
                                - id
                                - name
                            at:
                              type: string
                              format: date-time
                          required:
                            - version
                            - outcome
                            - words
                            - by
                            - at
                          description: >-
                            The last answer to the same item on an earlier
                            version, for context: a new version opens every item
                            again. Null when there is none.
                        kind:
                          type: string
                          enum:
                            - cite
                        items:
                          type: array
                          items:
                            type: string
                          minItems: 1
                          description: >-
                            The rater items, as the change’s flags name them, in
                            their order.
                      required:
                        - id
                        - changes
                        - title
                        - why
                        - accept
                        - decline
                        - evidence
                        - decided
                        - previous
                        - kind
                        - items
                      description: >-
                        A change’s rater items that cite one source the
                        circulars replaced, such as two rows citing `lc`.
            required:
              - kind
              - items
          description: Both groups, conflicts first. A group may be empty.
      required:
        - version
        - toDecide
        - groups
    V2CodedError:
      allOf:
        - $ref: '#/components/schemas/V2Error'
        - type: object
          properties:
            code:
              type: string
              minLength: 1
              description: Stable error code. Clients must tolerate unknown future codes.
            details:
              type: array
              items:
                type: object
                properties:
                  location:
                    type: string
                    enum:
                      - path
                      - query
                      - header
                      - body
                  path:
                    type: array
                    items:
                      type: string
                      maxLength: 64
                    maxItems: 12
                  code:
                    type: string
                    enum:
                      - required
                      - invalid_type
                      - invalid_value
                      - unknown_field
                  message:
                    type: string
                    minLength: 1
                    maxLength: 200
                required:
                  - location
                  - path
                  - code
                  - message
              minItems: 1
              maxItems: 20
              description: Bounded safe validation issues; may omit some invalid fields.
            requestId:
              type: string
              minLength: 1
              maxLength: 128
              description: >-
                Existing server correlation for this HTTP attempt, when
                available.
            dataset:
              type: string
              enum:
                - naic
                - osha
              description: Dataset needed for dataset_not_enabled.
            businessCode:
              type: string
              description: The rater’s own refusal code, for business_rejection.
            violations:
              type: array
              items:
                type: object
                properties:
                  code:
                    type: string
                    description: Authored or built-in constraint code
                  message:
                    type: string
                    description: Authored message for the failed constraint
                  path:
                    type: string
                    description: Input path of the offending value; empty for the request
                  value:
                    nullable: true
                    description: Offending input value, size-bounded by the runtime
                  constraint:
                    type: string
                    description: The constraint the value failed, as text
                  cite:
                    type: string
                    nullable: true
                    description: >-
                      Filing citation of the constraint, when the source cites
                      one
                required:
                  - code
                  - message
                  - path
                  - value
                  - constraint
                  - cite
                additionalProperties: false
              maxItems: 256
              description: >-
                Each input constraint the submission failed, for invalid_inputs
                and business_rejection.
            violationsTruncated:
              type: boolean
              description: >-
                True when the rater reported more violations than violations
                holds.
            executionId:
              type: string
              description: >-
                The recorded execution of a failed rating, for rater rating
                failures.
            accessUrl:
              type: string
              nullable: true
              format: uri
              description: Not currently returned.
          required:
            - code
    RaterRebuildError:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
          description: >-
            rebuild_open, rebuild_inputs_invalid, idempotency_conflict and so
            on.
        problems:
          type: array
          items:
            type: object
            properties:
              path:
                type: array
                items:
                  type: string
                maxItems: 12
                description: The body path, such as ["rater"].
              code:
                type: string
                enum:
                  - not_a_circular_project
                  - product_mismatch
                  - state_mismatch
                  - product_not_available
                  - setup_missing
                  - input_missing
                  - input_unreadable
                  - release_not_found
                  - not_a_rebuild_guideline
                  - guideline_needs_review
                  - runner_not_installed
                  - circular_not_filed
                  - line_mismatch
                  - circular_repeated
              message:
                type: string
                minLength: 1
            required:
              - path
              - code
              - message
          description: 'Only with 422 rebuild_inputs_invalid: every failed check.'
        raterRebuildId:
          type: string
          format: uuid
          description: 'Only with 409 rebuild_open: the open rebuild.'
        requestId:
          type: string
      required:
        - error
        - code
    V2Error:
      type: object
      properties:
        error:
          type: string
          minLength: 1
          description: Human-readable explanation of the failure.
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Effective API key. Send Authorization: Bearer sk-eai-...'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.