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

# Get one version of a rater rebuild

> 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. One version as getRaterRebuild shows it (`V1`, `V2` and so on; V0 is `inputs.rater`), plus its whole `edit` against its parent. `edit` is null while the version builds.

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



## OpenAPI

````yaml /openapi.json get /insurance/rater-rebuilds/{id}/versions/{name}
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.canary.effectiveai.app/api/v2
    description: Canary
security:
  - bearerAuth: []
paths:
  /insurance/rater-rebuilds/{id}/versions/{name}:
    get:
      tags:
        - Rater rebuilds
      summary: Get one version of a rater rebuild
      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. One version as getRaterRebuild shows it (`V1`, `V2` and so on; V0
        is `inputs.rater`), plus its whole `edit` against its parent. `edit` is
        null while the version builds.


        Alpha: this operation may change or be removed without notice.
      operationId: getRaterRebuildVersion
      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
        - schema:
            type: string
            pattern: ^V[1-9][0-9]{0,5}$
          required: true
          name: name
          in: path
      responses:
        '200':
          description: The version.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RaterRebuildVersion'
        '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'
        '404':
          description: >-
            No such rebuild or version, a draft, or a rebuild whose project the
            caller cannot read.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '409':
          description: >-
            rebuild_log_unreadable: the person who built the rebuild is no
            longer an active member, or can no longer read its guideline.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RaterRebuildError'
      security:
        - bearerAuth: []
components:
  schemas:
    RaterRebuildVersion:
      oneOf:
        - type: object
          properties:
            name:
              type: string
              pattern: ^V[1-9][0-9]{0,5}$
            parent:
              type: string
              pattern: ^V(0|[1-9][0-9]{0,5})$
            reason:
              type: object
              properties:
                words:
                  type: string
                role:
                  type: string
                  nullable: true
                  pattern: ^[a-z][a-z0-9_]{0,63}$
                  description: >-
                    The role the log names for the reason: runner for V1. Null
                    when the log names none.
              required:
                - words
                - role
            change:
              oneOf:
                - type: object
                  properties:
                    kind:
                      type: string
                      enum:
                        - hold_rate_change
                    segments:
                      type: array
                      items:
                        type: string
                        pattern: ^[a-z][a-z0-9_]{0,63}$
                        description: >-
                          One company and subline of the guideline, such as
                          fcci_premops.
                    target:
                      type: number
                  required:
                    - kind
                    - segments
                    - target
                - type: object
                  properties:
                    kind:
                      type: string
                      enum:
                        - edit
                    diff:
                      type: string
                  required:
                    - kind
                    - diff
                - nullable: true
              description: What was asked. Null for V1.
            edited:
              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 this version edits.
            requestedAt:
              type: string
              format: date-time
            requestedBy:
              type: object
              nullable: true
              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
              description: Null for V1, which the runner makes.
            run:
              type: object
              nullable: true
              properties:
                id:
                  type: string
                  format: uuid
                  description: The procedure run’s id, as `getProcedureRun` reads it.
                webUrl:
                  type: string
                  format: uri
                  description: The run’s page.
              required:
                - id
                - webUrl
              description: >-
                The job that makes this version. Null for V1, which the first
                pass makes (the rebuild’s `run`), until the job is recorded,
                when the caller cannot open it, and when its lookup failed for
                this read.
            status:
              type: string
              enum:
                - building
            rater:
              nullable: true
            cases:
              nullable: true
            book:
              nullable: true
            exhibits:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  artifactId:
                    type: string
                    format: uuid
                    description: A Vault artifact id.
                  sha256:
                    type: string
                    pattern: ^[0-9a-f]{64}$
                required:
                  - name
                  - artifactId
                  - sha256
              maxItems: 0
            edit:
              type: object
              nullable: true
              properties:
                files:
                  type: array
                  items:
                    oneOf:
                      - type: object
                        properties:
                          path:
                            type: string
                          kind:
                            type: string
                            enum:
                              - code
                          linesAdded:
                            type: integer
                            minimum: 0
                          linesRemoved:
                            type: integer
                            minimum: 0
                          hunks:
                            type: array
                            items:
                              type: object
                              properties:
                                at:
                                  type: string
                                  description: >-
                                    The hunk header, such as "@@ -14,10 +14,15
                                    @@".
                                lines:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      kind:
                                        type: string
                                        enum:
                                          - added
                                          - removed
                                          - context
                                      text:
                                        type: string
                                    required:
                                      - kind
                                      - text
                              required:
                                - at
                                - lines
                        required:
                          - path
                          - kind
                          - linesAdded
                          - linesRemoved
                          - hunks
                      - type: object
                        properties:
                          path:
                            type: string
                          kind:
                            type: string
                            enum:
                              - table
                          rowsChanged:
                            type: integer
                            minimum: 0
                          rowsTotal:
                            type: integer
                            minimum: 0
                          header:
                            type: string
                          samples:
                            type: array
                            items:
                              type: object
                              properties:
                                old:
                                  type: string
                                new:
                                  type: string
                              required:
                                - old
                                - new
                            maxItems: 3
                        required:
                          - path
                          - kind
                          - rowsChanged
                          - rowsTotal
                          - header
                          - samples
              required:
                - files
              description: The edit against the parent. Null while the version builds.
            tables:
              type: object
              nullable: true
              properties:
                lossCosts:
                  type: object
                  nullable: true
                  properties:
                    rows:
                      type: array
                      items:
                        type: object
                        properties:
                          subline:
                            type: string
                            enum:
                              - premops
                              - products
                          territory:
                            type: string
                            nullable: true
                            description: >-
                              The territory, such as "501". Null for products,
                              which have one loss cost.
                          classes:
                            type: integer
                            minimum: 0
                            description: >-
                              The classes with an ISO loss cost in both
                              releases, `filed_as` `loss_cost` in V0 and this
                              version and V0’s loss cost not zero.
                          up:
                            type: integer
                            minimum: 0
                          down:
                            type: integer
                            minimum: 0
                          same:
                            type: integer
                            minimum: 0
                          median:
                            type: number
                            nullable: true
                            description: The median move. Null when `classes` is 0.
                          lowest:
                            type: number
                            nullable: true
                            description: The lowest move. Null when `classes` is 0.
                          highest:
                            type: number
                            nullable: true
                            description: The highest move. Null when `classes` is 0.
                        required:
                          - subline
                          - territory
                          - classes
                          - up
                          - down
                          - same
                          - median
                          - lowest
                          - highest
                      description: Prem/Ops by territory, then products.
                    referred:
                      type: object
                      properties:
                        premops:
                          type: integer
                          minimum: 0
                        products:
                          type: integer
                          minimum: 0
                      required:
                        - premops
                        - products
                      description: Classes ISO a-rates (refers to the company), by subline.
                    productsIncluded:
                      type: integer
                      minimum: 0
                      description: >-
                        Classes whose products exposure is in the Prem/Ops loss
                        cost (`not_applicable`).
                  required:
                    - rows
                    - referred
                    - productsIncluded
                  description: Null unless both loss cost tables are in ISO’s layout.
                limitFactors:
                  type: object
                  nullable: true
                  properties:
                    tables:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          label:
                            type: string
                        required:
                          - id
                          - label
                      description: >-
                        The Prem/Ops limit tables, such as `table_1`, in the
                        order of `cells`.
                    rows:
                      type: array
                      items:
                        type: object
                        properties:
                          limits:
                            type: string
                            description: >-
                              Occurrence/aggregate in thousands, such as
                              "100/200".
                          basic:
                            type: boolean
                            description: 'The basic limit: every factor is 1.'
                          cells:
                            type: array
                            items:
                              type: object
                              properties:
                                before:
                                  type: number
                                  nullable: true
                                  description: V0’s factor. Null when V0 has none.
                                after:
                                  type: number
                                  nullable: true
                                  description: This version’s. Null when it has none.
                              required:
                                - before
                                - after
                        required:
                          - limits
                          - basic
                          - cells
                  required:
                    - tables
                    - rows
                  description: >-
                    Prem/Ops increased limit factors at the common limits, V0
                    and this version. Null unless `IncreasedLimitFactor` is in
                    ISO’s layout.
                files:
                  type: array
                  items:
                    type: object
                    properties:
                      path:
                        type: string
                        description: The table, such as "tables/PremOpsLossCost.csv".
                      part:
                        type: string
                        nullable: true
                        description: >-
                          The part of the file counted, such as "Prem/Ops tables
                          1–3". Null for the whole file.
                      unit:
                        type: string
                        enum:
                          - rows
                          - cells
                      total:
                        type: integer
                        minimum: 0
                        description: How many rows or cells the version has, by `unit`.
                      updated:
                        type: integer
                        minimum: 0
                        description: Rows or cells with an ISO value that differ from V0’s.
                      same:
                        type: integer
                        minimum: 0
                        description: Rows or cells with an ISO value equal to V0’s.
                      noIsoValue:
                        type: integer
                        minimum: 0
                        description: >-
                          Rows or cells ISO gives no value for: a-rated or not
                          applicable.
                      carrierKept:
                        type: array
                        items:
                          type: string
                        description: >-
                          The classes whose rows hold the carrier’s own value
                          (`company_loss_cost`), kept.
                    required:
                      - path
                      - part
                      - unit
                      - total
                      - updated
                      - same
                      - noIsoValue
                      - carrierKept
                  description: >-
                    The ISO tables, row by row: what took ISO’s value, and what
                    the carrier kept.
                unchanged:
                  type: array
                  items:
                    type: string
                  description: >-
                    The tables whose bytes are the same in V0 and this version,
                    by path.
                watched:
                  type: array
                  items:
                    type: object
                    properties:
                      item:
                        type: string
                        description: As `iso.watched` names it, such as "class_10012".
                      premOps:
                        anyOf:
                          - type: array
                            items:
                              type: object
                              properties:
                                territory:
                                  type: string
                                value:
                                  type: number
                              required:
                                - territory
                                - value
                          - type: string
                            enum:
                              - a_rated
                          - nullable: true
                        description: >-
                          ISO’s Prem/Ops loss cost in each territory, or
                          `a_rated`. Null when the version has no such class.
                      products:
                        anyOf:
                          - type: number
                          - type: string
                            enum:
                              - a_rated
                          - type: string
                            enum:
                              - included
                          - nullable: true
                        description: >-
                          ISO’s products loss cost, `a_rated`, or `included` (in
                          the Prem/Ops loss cost). Null when the version has no
                          such class.
                    required:
                      - item
                      - premOps
                      - products
                  description: ISO’s values of the classes in `iso.watched`, in its order.
              required:
                - lossCosts
                - limitFactors
                - files
                - unchanged
                - watched
              description: >-
                What ISO changed, V0 to this version. Null unless the version is
                ready, and when either release cannot be read.
          required:
            - name
            - parent
            - reason
            - change
            - edited
            - requestedAt
            - requestedBy
            - run
            - status
            - rater
            - cases
            - book
            - exhibits
            - edit
            - tables
        - type: object
          properties:
            name:
              type: string
              pattern: ^V[1-9][0-9]{0,5}$
            parent:
              type: string
              pattern: ^V(0|[1-9][0-9]{0,5})$
            reason:
              type: object
              properties:
                words:
                  type: string
                role:
                  type: string
                  nullable: true
                  pattern: ^[a-z][a-z0-9_]{0,63}$
                  description: >-
                    The role the log names for the reason: runner for V1. Null
                    when the log names none.
              required:
                - words
                - role
            change:
              oneOf:
                - type: object
                  properties:
                    kind:
                      type: string
                      enum:
                        - hold_rate_change
                    segments:
                      type: array
                      items:
                        type: string
                        pattern: ^[a-z][a-z0-9_]{0,63}$
                        description: >-
                          One company and subline of the guideline, such as
                          fcci_premops.
                    target:
                      type: number
                  required:
                    - kind
                    - segments
                    - target
                - type: object
                  properties:
                    kind:
                      type: string
                      enum:
                        - edit
                    diff:
                      type: string
                  required:
                    - kind
                    - diff
                - nullable: true
              description: What was asked. Null for V1.
            edited:
              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 this version edits.
            requestedAt:
              type: string
              format: date-time
            requestedBy:
              type: object
              nullable: true
              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
              description: Null for V1, which the runner makes.
            run:
              type: object
              nullable: true
              properties:
                id:
                  type: string
                  format: uuid
                  description: The procedure run’s id, as `getProcedureRun` reads it.
                webUrl:
                  type: string
                  format: uri
                  description: The run’s page.
              required:
                - id
                - webUrl
              description: >-
                The job that makes this version. Null for V1, which the first
                pass makes (the rebuild’s `run`), until the job is recorded,
                when the caller cannot open it, and when its lookup failed for
                this read.
            status:
              type: string
              enum:
                - ready
            rater:
              type: object
              properties:
                raterId:
                  type: string
                  minLength: 1
                  maxLength: 200
                release:
                  type: integer
                  minimum: 1
                  maximum: 1000000
                bundleId:
                  type: string
                  pattern: ^[0-9a-f]{64}$
              required:
                - raterId
                - release
                - bundleId
            cases:
              type: object
              nullable: true
              properties:
                total:
                  type: integer
                  minimum: 0
                passed:
                  type: integer
                  minimum: 0
                newPremium:
                  type: integer
                  minimum: 0
              required:
                - total
                - passed
                - newPremium
              description: >-
                The worked cases rated on this version. Null when the rebuild
                has no worked cases.
            book:
              type: object
              properties:
                policies:
                  type: integer
                  minimum: 0
                policiesFailed:
                  type: integer
                  minimum: 0
                policiesChanged:
                  type: integer
                  minimum: 0
                premium:
                  type: integer
                  minimum: 0
                  description: Written premium on V0, in dollars.
                premiumChange:
                  type: number
                lossCostChange:
                  type: number
                multiplierChange:
                  type: number
                lowestChange:
                  type: number
                highestChange:
                  type: number
                segments:
                  type: array
                  items:
                    type: object
                    properties:
                      segment:
                        type: string
                        pattern: ^[a-z][a-z0-9_]{0,63}$
                        description: >-
                          One company and subline of the guideline, such as
                          fcci_premops.
                      label:
                        type: string
                      premium:
                        type: integer
                        minimum: 0
                      premiumChange:
                        type: number
                        description: Exhibit 1 line 22.
                      lossCostChange:
                        type: number
                        description: Exhibit 1 line 23.
                      multiplierChange:
                        type: number
                        description: Exhibit 1 line 24.
                      multiplierBefore:
                        type: number
                        description: 'Exhibit 1 line 25: V0’s multiplier.'
                      multiplierAfter:
                        type: number
                        description: Exhibit 1 line 26.
                    required:
                      - segment
                      - label
                      - premium
                      - premiumChange
                      - lossCostChange
                      - multiplierChange
                      - multiplierBefore
                      - multiplierAfter
                bands:
                  type: array
                  items:
                    type: object
                    properties:
                      band:
                        type: string
                        enum:
                          - down_over_10
                          - down_5_to_10
                          - down_0_to_5
                          - no_change
                          - up_0_to_5
                          - up_5_to_10
                          - up_10_to_20
                          - up_over_20
                      policies:
                        type: integer
                        minimum: 0
                    required:
                      - band
                      - policies
                coverages:
                  type: array
                  items:
                    type: object
                    properties:
                      change:
                        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.
                      label:
                        type: string
                      policies:
                        type: integer
                        minimum: 0
                      largestMove:
                        type: number
                    required:
                      - change
                      - label
                      - policies
                      - largestMove
              required:
                - policies
                - policiesFailed
                - policiesChanged
                - premium
                - premiumChange
                - lossCostChange
                - multiplierChange
                - lowestChange
                - highestChange
                - segments
                - bands
                - coverages
            exhibits:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  artifactId:
                    type: string
                    format: uuid
                    description: A Vault artifact id.
                  sha256:
                    type: string
                    pattern: ^[0-9a-f]{64}$
                required:
                  - name
                  - artifactId
                  - sha256
            edit:
              type: object
              nullable: true
              properties:
                files:
                  type: array
                  items:
                    oneOf:
                      - type: object
                        properties:
                          path:
                            type: string
                          kind:
                            type: string
                            enum:
                              - code
                          linesAdded:
                            type: integer
                            minimum: 0
                          linesRemoved:
                            type: integer
                            minimum: 0
                          hunks:
                            type: array
                            items:
                              type: object
                              properties:
                                at:
                                  type: string
                                  description: >-
                                    The hunk header, such as "@@ -14,10 +14,15
                                    @@".
                                lines:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      kind:
                                        type: string
                                        enum:
                                          - added
                                          - removed
                                          - context
                                      text:
                                        type: string
                                    required:
                                      - kind
                                      - text
                              required:
                                - at
                                - lines
                        required:
                          - path
                          - kind
                          - linesAdded
                          - linesRemoved
                          - hunks
                      - type: object
                        properties:
                          path:
                            type: string
                          kind:
                            type: string
                            enum:
                              - table
                          rowsChanged:
                            type: integer
                            minimum: 0
                          rowsTotal:
                            type: integer
                            minimum: 0
                          header:
                            type: string
                          samples:
                            type: array
                            items:
                              type: object
                              properties:
                                old:
                                  type: string
                                new:
                                  type: string
                              required:
                                - old
                                - new
                            maxItems: 3
                        required:
                          - path
                          - kind
                          - rowsChanged
                          - rowsTotal
                          - header
                          - samples
              required:
                - files
              description: The edit against the parent. Null while the version builds.
            tables:
              type: object
              nullable: true
              properties:
                lossCosts:
                  type: object
                  nullable: true
                  properties:
                    rows:
                      type: array
                      items:
                        type: object
                        properties:
                          subline:
                            type: string
                            enum:
                              - premops
                              - products
                          territory:
                            type: string
                            nullable: true
                            description: >-
                              The territory, such as "501". Null for products,
                              which have one loss cost.
                          classes:
                            type: integer
                            minimum: 0
                            description: >-
                              The classes with an ISO loss cost in both
                              releases, `filed_as` `loss_cost` in V0 and this
                              version and V0’s loss cost not zero.
                          up:
                            type: integer
                            minimum: 0
                          down:
                            type: integer
                            minimum: 0
                          same:
                            type: integer
                            minimum: 0
                          median:
                            type: number
                            nullable: true
                            description: The median move. Null when `classes` is 0.
                          lowest:
                            type: number
                            nullable: true
                            description: The lowest move. Null when `classes` is 0.
                          highest:
                            type: number
                            nullable: true
                            description: The highest move. Null when `classes` is 0.
                        required:
                          - subline
                          - territory
                          - classes
                          - up
                          - down
                          - same
                          - median
                          - lowest
                          - highest
                      description: Prem/Ops by territory, then products.
                    referred:
                      type: object
                      properties:
                        premops:
                          type: integer
                          minimum: 0
                        products:
                          type: integer
                          minimum: 0
                      required:
                        - premops
                        - products
                      description: Classes ISO a-rates (refers to the company), by subline.
                    productsIncluded:
                      type: integer
                      minimum: 0
                      description: >-
                        Classes whose products exposure is in the Prem/Ops loss
                        cost (`not_applicable`).
                  required:
                    - rows
                    - referred
                    - productsIncluded
                  description: Null unless both loss cost tables are in ISO’s layout.
                limitFactors:
                  type: object
                  nullable: true
                  properties:
                    tables:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          label:
                            type: string
                        required:
                          - id
                          - label
                      description: >-
                        The Prem/Ops limit tables, such as `table_1`, in the
                        order of `cells`.
                    rows:
                      type: array
                      items:
                        type: object
                        properties:
                          limits:
                            type: string
                            description: >-
                              Occurrence/aggregate in thousands, such as
                              "100/200".
                          basic:
                            type: boolean
                            description: 'The basic limit: every factor is 1.'
                          cells:
                            type: array
                            items:
                              type: object
                              properties:
                                before:
                                  type: number
                                  nullable: true
                                  description: V0’s factor. Null when V0 has none.
                                after:
                                  type: number
                                  nullable: true
                                  description: This version’s. Null when it has none.
                              required:
                                - before
                                - after
                        required:
                          - limits
                          - basic
                          - cells
                  required:
                    - tables
                    - rows
                  description: >-
                    Prem/Ops increased limit factors at the common limits, V0
                    and this version. Null unless `IncreasedLimitFactor` is in
                    ISO’s layout.
                files:
                  type: array
                  items:
                    type: object
                    properties:
                      path:
                        type: string
                        description: The table, such as "tables/PremOpsLossCost.csv".
                      part:
                        type: string
                        nullable: true
                        description: >-
                          The part of the file counted, such as "Prem/Ops tables
                          1–3". Null for the whole file.
                      unit:
                        type: string
                        enum:
                          - rows
                          - cells
                      total:
                        type: integer
                        minimum: 0
                        description: How many rows or cells the version has, by `unit`.
                      updated:
                        type: integer
                        minimum: 0
                        description: Rows or cells with an ISO value that differ from V0’s.
                      same:
                        type: integer
                        minimum: 0
                        description: Rows or cells with an ISO value equal to V0’s.
                      noIsoValue:
                        type: integer
                        minimum: 0
                        description: >-
                          Rows or cells ISO gives no value for: a-rated or not
                          applicable.
                      carrierKept:
                        type: array
                        items:
                          type: string
                        description: >-
                          The classes whose rows hold the carrier’s own value
                          (`company_loss_cost`), kept.
                    required:
                      - path
                      - part
                      - unit
                      - total
                      - updated
                      - same
                      - noIsoValue
                      - carrierKept
                  description: >-
                    The ISO tables, row by row: what took ISO’s value, and what
                    the carrier kept.
                unchanged:
                  type: array
                  items:
                    type: string
                  description: >-
                    The tables whose bytes are the same in V0 and this version,
                    by path.
                watched:
                  type: array
                  items:
                    type: object
                    properties:
                      item:
                        type: string
                        description: As `iso.watched` names it, such as "class_10012".
                      premOps:
                        anyOf:
                          - type: array
                            items:
                              type: object
                              properties:
                                territory:
                                  type: string
                                value:
                                  type: number
                              required:
                                - territory
                                - value
                          - type: string
                            enum:
                              - a_rated
                          - nullable: true
                        description: >-
                          ISO’s Prem/Ops loss cost in each territory, or
                          `a_rated`. Null when the version has no such class.
                      products:
                        anyOf:
                          - type: number
                          - type: string
                            enum:
                              - a_rated
                          - type: string
                            enum:
                              - included
                          - nullable: true
                        description: >-
                          ISO’s products loss cost, `a_rated`, or `included` (in
                          the Prem/Ops loss cost). Null when the version has no
                          such class.
                    required:
                      - item
                      - premOps
                      - products
                  description: ISO’s values of the classes in `iso.watched`, in its order.
              required:
                - lossCosts
                - limitFactors
                - files
                - unchanged
                - watched
              description: >-
                What ISO changed, V0 to this version. Null unless the version is
                ready, and when either release cannot be read.
          required:
            - name
            - parent
            - reason
            - change
            - edited
            - requestedAt
            - requestedBy
            - run
            - status
            - rater
            - cases
            - book
            - exhibits
            - edit
            - tables
        - type: object
          properties:
            name:
              type: string
              pattern: ^V[1-9][0-9]{0,5}$
            parent:
              type: string
              pattern: ^V(0|[1-9][0-9]{0,5})$
            reason:
              type: object
              properties:
                words:
                  type: string
                role:
                  type: string
                  nullable: true
                  pattern: ^[a-z][a-z0-9_]{0,63}$
                  description: >-
                    The role the log names for the reason: runner for V1. Null
                    when the log names none.
              required:
                - words
                - role
            change:
              oneOf:
                - type: object
                  properties:
                    kind:
                      type: string
                      enum:
                        - hold_rate_change
                    segments:
                      type: array
                      items:
                        type: string
                        pattern: ^[a-z][a-z0-9_]{0,63}$
                        description: >-
                          One company and subline of the guideline, such as
                          fcci_premops.
                    target:
                      type: number
                  required:
                    - kind
                    - segments
                    - target
                - type: object
                  properties:
                    kind:
                      type: string
                      enum:
                        - edit
                    diff:
                      type: string
                  required:
                    - kind
                    - diff
                - nullable: true
              description: What was asked. Null for V1.
            edited:
              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 this version edits.
            requestedAt:
              type: string
              format: date-time
            requestedBy:
              type: object
              nullable: true
              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
              description: Null for V1, which the runner makes.
            run:
              type: object
              nullable: true
              properties:
                id:
                  type: string
                  format: uuid
                  description: The procedure run’s id, as `getProcedureRun` reads it.
                webUrl:
                  type: string
                  format: uri
                  description: The run’s page.
              required:
                - id
                - webUrl
              description: >-
                The job that makes this version. Null for V1, which the first
                pass makes (the rebuild’s `run`), until the job is recorded,
                when the caller cannot open it, and when its lookup failed for
                this read.
            status:
              type: string
              enum:
                - failed
            rater:
              type: object
              nullable: true
              properties:
                raterId:
                  type: string
                  minLength: 1
                  maxLength: 200
                release:
                  type: integer
                  minimum: 1
                  maximum: 1000000
                bundleId:
                  type: string
                  pattern: ^[0-9a-f]{64}$
              required:
                - raterId
                - release
                - bundleId
              description: Null when the build did not finish.
            cases:
              type: object
              nullable: true
              properties:
                total:
                  type: integer
                  minimum: 0
                passed:
                  type: integer
                  minimum: 0
                newPremium:
                  type: integer
                  minimum: 0
              required:
                - total
                - passed
                - newPremium
              description: >-
                Null when the cases were not rated, and when the rebuild has no
                worked cases.
            book:
              type: object
              nullable: true
              properties:
                policies:
                  type: integer
                  minimum: 0
                policiesFailed:
                  type: integer
                  minimum: 0
                policiesChanged:
                  type: integer
                  minimum: 0
                premium:
                  type: integer
                  minimum: 0
                  description: Written premium on V0, in dollars.
                premiumChange:
                  type: number
                lossCostChange:
                  type: number
                multiplierChange:
                  type: number
                lowestChange:
                  type: number
                highestChange:
                  type: number
                segments:
                  type: array
                  items:
                    type: object
                    properties:
                      segment:
                        type: string
                        pattern: ^[a-z][a-z0-9_]{0,63}$
                        description: >-
                          One company and subline of the guideline, such as
                          fcci_premops.
                      label:
                        type: string
                      premium:
                        type: integer
                        minimum: 0
                      premiumChange:
                        type: number
                        description: Exhibit 1 line 22.
                      lossCostChange:
                        type: number
                        description: Exhibit 1 line 23.
                      multiplierChange:
                        type: number
                        description: Exhibit 1 line 24.
                      multiplierBefore:
                        type: number
                        description: 'Exhibit 1 line 25: V0’s multiplier.'
                      multiplierAfter:
                        type: number
                        description: Exhibit 1 line 26.
                    required:
                      - segment
                      - label
                      - premium
                      - premiumChange
                      - lossCostChange
                      - multiplierChange
                      - multiplierBefore
                      - multiplierAfter
                bands:
                  type: array
                  items:
                    type: object
                    properties:
                      band:
                        type: string
                        enum:
                          - down_over_10
                          - down_5_to_10
                          - down_0_to_5
                          - no_change
                          - up_0_to_5
                          - up_5_to_10
                          - up_10_to_20
                          - up_over_20
                      policies:
                        type: integer
                        minimum: 0
                    required:
                      - band
                      - policies
                coverages:
                  type: array
                  items:
                    type: object
                    properties:
                      change:
                        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.
                      label:
                        type: string
                      policies:
                        type: integer
                        minimum: 0
                      largestMove:
                        type: number
                    required:
                      - change
                      - label
                      - policies
                      - largestMove
              required:
                - policies
                - policiesFailed
                - policiesChanged
                - premium
                - premiumChange
                - lossCostChange
                - multiplierChange
                - lowestChange
                - highestChange
                - segments
                - bands
                - coverages
              description: Null when the book was not rated.
            exhibits:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  artifactId:
                    type: string
                    format: uuid
                    description: A Vault artifact id.
                  sha256:
                    type: string
                    pattern: ^[0-9a-f]{64}$
                required:
                  - name
                  - artifactId
                  - sha256
              maxItems: 0
            failure:
              type: object
              properties:
                code:
                  type: string
                  enum:
                    - edit_does_not_apply
                    - edit_has_no_effect
                    - unexpected_case
                    - book_not_rated
                    - build_failed
                message:
                  type: string
                step:
                  type: string
                  description: The step of the job that failed, when one did.
              required:
                - code
                - message
            edit:
              type: object
              nullable: true
              properties:
                files:
                  type: array
                  items:
                    oneOf:
                      - type: object
                        properties:
                          path:
                            type: string
                          kind:
                            type: string
                            enum:
                              - code
                          linesAdded:
                            type: integer
                            minimum: 0
                          linesRemoved:
                            type: integer
                            minimum: 0
                          hunks:
                            type: array
                            items:
                              type: object
                              properties:
                                at:
                                  type: string
                                  description: >-
                                    The hunk header, such as "@@ -14,10 +14,15
                                    @@".
                                lines:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      kind:
                                        type: string
                                        enum:
                                          - added
                                          - removed
                                          - context
                                      text:
                                        type: string
                                    required:
                                      - kind
                                      - text
                              required:
                                - at
                                - lines
                        required:
                          - path
                          - kind
                          - linesAdded
                          - linesRemoved
                          - hunks
                      - type: object
                        properties:
                          path:
                            type: string
                          kind:
                            type: string
                            enum:
                              - table
                          rowsChanged:
                            type: integer
                            minimum: 0
                          rowsTotal:
                            type: integer
                            minimum: 0
                          header:
                            type: string
                          samples:
                            type: array
                            items:
                              type: object
                              properties:
                                old:
                                  type: string
                                new:
                                  type: string
                              required:
                                - old
                                - new
                            maxItems: 3
                        required:
                          - path
                          - kind
                          - rowsChanged
                          - rowsTotal
                          - header
                          - samples
              required:
                - files
              description: The edit against the parent. Null while the version builds.
            tables:
              type: object
              nullable: true
              properties:
                lossCosts:
                  type: object
                  nullable: true
                  properties:
                    rows:
                      type: array
                      items:
                        type: object
                        properties:
                          subline:
                            type: string
                            enum:
                              - premops
                              - products
                          territory:
                            type: string
                            nullable: true
                            description: >-
                              The territory, such as "501". Null for products,
                              which have one loss cost.
                          classes:
                            type: integer
                            minimum: 0
                            description: >-
                              The classes with an ISO loss cost in both
                              releases, `filed_as` `loss_cost` in V0 and this
                              version and V0’s loss cost not zero.
                          up:
                            type: integer
                            minimum: 0
                          down:
                            type: integer
                            minimum: 0
                          same:
                            type: integer
                            minimum: 0
                          median:
                            type: number
                            nullable: true
                            description: The median move. Null when `classes` is 0.
                          lowest:
                            type: number
                            nullable: true
                            description: The lowest move. Null when `classes` is 0.
                          highest:
                            type: number
                            nullable: true
                            description: The highest move. Null when `classes` is 0.
                        required:
                          - subline
                          - territory
                          - classes
                          - up
                          - down
                          - same
                          - median
                          - lowest
                          - highest
                      description: Prem/Ops by territory, then products.
                    referred:
                      type: object
                      properties:
                        premops:
                          type: integer
                          minimum: 0
                        products:
                          type: integer
                          minimum: 0
                      required:
                        - premops
                        - products
                      description: Classes ISO a-rates (refers to the company), by subline.
                    productsIncluded:
                      type: integer
                      minimum: 0
                      description: >-
                        Classes whose products exposure is in the Prem/Ops loss
                        cost (`not_applicable`).
                  required:
                    - rows
                    - referred
                    - productsIncluded
                  description: Null unless both loss cost tables are in ISO’s layout.
                limitFactors:
                  type: object
                  nullable: true
                  properties:
                    tables:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          label:
                            type: string
                        required:
                          - id
                          - label
                      description: >-
                        The Prem/Ops limit tables, such as `table_1`, in the
                        order of `cells`.
                    rows:
                      type: array
                      items:
                        type: object
                        properties:
                          limits:
                            type: string
                            description: >-
                              Occurrence/aggregate in thousands, such as
                              "100/200".
                          basic:
                            type: boolean
                            description: 'The basic limit: every factor is 1.'
                          cells:
                            type: array
                            items:
                              type: object
                              properties:
                                before:
                                  type: number
                                  nullable: true
                                  description: V0’s factor. Null when V0 has none.
                                after:
                                  type: number
                                  nullable: true
                                  description: This version’s. Null when it has none.
                              required:
                                - before
                                - after
                        required:
                          - limits
                          - basic
                          - cells
                  required:
                    - tables
                    - rows
                  description: >-
                    Prem/Ops increased limit factors at the common limits, V0
                    and this version. Null unless `IncreasedLimitFactor` is in
                    ISO’s layout.
                files:
                  type: array
                  items:
                    type: object
                    properties:
                      path:
                        type: string
                        description: The table, such as "tables/PremOpsLossCost.csv".
                      part:
                        type: string
                        nullable: true
                        description: >-
                          The part of the file counted, such as "Prem/Ops tables
                          1–3". Null for the whole file.
                      unit:
                        type: string
                        enum:
                          - rows
                          - cells
                      total:
                        type: integer
                        minimum: 0
                        description: How many rows or cells the version has, by `unit`.
                      updated:
                        type: integer
                        minimum: 0
                        description: Rows or cells with an ISO value that differ from V0’s.
                      same:
                        type: integer
                        minimum: 0
                        description: Rows or cells with an ISO value equal to V0’s.
                      noIsoValue:
                        type: integer
                        minimum: 0
                        description: >-
                          Rows or cells ISO gives no value for: a-rated or not
                          applicable.
                      carrierKept:
                        type: array
                        items:
                          type: string
                        description: >-
                          The classes whose rows hold the carrier’s own value
                          (`company_loss_cost`), kept.
                    required:
                      - path
                      - part
                      - unit
                      - total
                      - updated
                      - same
                      - noIsoValue
                      - carrierKept
                  description: >-
                    The ISO tables, row by row: what took ISO’s value, and what
                    the carrier kept.
                unchanged:
                  type: array
                  items:
                    type: string
                  description: >-
                    The tables whose bytes are the same in V0 and this version,
                    by path.
                watched:
                  type: array
                  items:
                    type: object
                    properties:
                      item:
                        type: string
                        description: As `iso.watched` names it, such as "class_10012".
                      premOps:
                        anyOf:
                          - type: array
                            items:
                              type: object
                              properties:
                                territory:
                                  type: string
                                value:
                                  type: number
                              required:
                                - territory
                                - value
                          - type: string
                            enum:
                              - a_rated
                          - nullable: true
                        description: >-
                          ISO’s Prem/Ops loss cost in each territory, or
                          `a_rated`. Null when the version has no such class.
                      products:
                        anyOf:
                          - type: number
                          - type: string
                            enum:
                              - a_rated
                          - type: string
                            enum:
                              - included
                          - nullable: true
                        description: >-
                          ISO’s products loss cost, `a_rated`, or `included` (in
                          the Prem/Ops loss cost). Null when the version has no
                          such class.
                    required:
                      - item
                      - premOps
                      - products
                  description: ISO’s values of the classes in `iso.watched`, in its order.
              required:
                - lossCosts
                - limitFactors
                - files
                - unchanged
                - watched
              description: >-
                What ISO changed, V0 to this version. Null unless the version is
                ready, and when either release cannot be read.
          required:
            - name
            - parent
            - reason
            - change
            - edited
            - requestedAt
            - requestedBy
            - run
            - status
            - rater
            - cases
            - book
            - exhibits
            - failure
            - edit
            - tables
    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.