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

# List rebuild guidelines

> The rebuild guidelines you can read, each at its latest release: a guideline program whose contract declares the role `runner` and the notes `start` and `runner`. Each gives its segments (one company and subline), its changes to ISO, and the roles it can ask, with what it asks each one and when; `runner` and `captain` are not listed, because a person cannot hold them. Send `guideline.guidelineId` (the slug, `id` here) and `latestRelease` to updateRaterRebuild. `state` keeps the guidelines for that state; a guideline that names no state is kept for every state. In order of `id`. One request reads at most 25 guideline programs, so a page can be short, or empty, before the end of the list; to page, pass `nextCursor` as `cursor` with the same filters and `limit`, and stop when it is null.

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



## OpenAPI

````yaml /openapi.json get /insurance/rebuild-guidelines
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/rebuild-guidelines:
    get:
      tags:
        - Rater rebuilds
      summary: List rebuild guidelines
      description: >-
        The rebuild guidelines you can read, each at its latest release: a
        guideline program whose contract declares the role `runner` and the
        notes `start` and `runner`. Each gives its segments (one company and
        subline), its changes to ISO, and the roles it can ask, with what it
        asks each one and when; `runner` and `captain` are not listed, because a
        person cannot hold them. Send `guideline.guidelineId` (the slug, `id`
        here) and `latestRelease` to updateRaterRebuild. `state` keeps the
        guidelines for that state; a guideline that names no state is kept for
        every state. In order of `id`. One request reads at most 25 guideline
        programs, so a page can be short, or empty, before the end of the list;
        to page, pass `nextCursor` as `cursor` with the same filters and
        `limit`, and stop when it is null.


        Alpha: this operation may change or be removed without notice.
      operationId: listRebuildGuidelines
      parameters:
        - schema:
            type: string
            enum:
              - AL
              - AK
              - AZ
              - AR
              - CA
              - CO
              - CT
              - DE
              - DC
              - FL
              - GA
              - HI
              - ID
              - IL
              - IN
              - IA
              - KS
              - KY
              - LA
              - ME
              - MD
              - MA
              - MI
              - MN
              - MS
              - MO
              - MT
              - NE
              - NV
              - NH
              - NJ
              - NM
              - NY
              - NC
              - ND
              - OH
              - OK
              - OR
              - PA
              - RI
              - SC
              - SD
              - TN
              - TX
              - UT
              - VT
              - VA
              - WA
              - WV
              - WI
              - WY
            description: A state, by its two-letter USPS code in capitals, such as VA.
          required: false
          description: A state, by its two-letter USPS code in capitals, such as VA.
          name: state
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 50
          required: false
          name: limit
          in: query
        - schema:
            type: string
            minLength: 1
            maxLength: 8192
            description: >-
              Opaque nextCursor from this operation. Repeat every other query
              parameter unchanged; a cursor from a different query returns
              invalid_cursor.
          required: false
          description: >-
            Opaque nextCursor from this operation. Repeat every other query
            parameter unchanged; a cursor from a different query returns
            invalid_cursor.
          name: cursor
          in: query
      responses:
        '200':
          description: One page of rebuild guidelines.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RebuildGuidelineList'
        '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'
      security:
        - bearerAuth: []
components:
  schemas:
    RebuildGuidelineList:
      type: object
      properties:
        rebuildGuidelines:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                minLength: 1
                maxLength: 128
                pattern: ^[a-z0-9][a-z0-9._-]{0,127}$
                description: >-
                  The program id. A product’s rating setup names it as its
                  guidelineId.
              title:
                type: string
              state:
                type: string
                nullable: true
                enum:
                  - AL
                  - AK
                  - AZ
                  - AR
                  - CA
                  - CO
                  - CT
                  - DE
                  - DC
                  - FL
                  - GA
                  - HI
                  - ID
                  - IL
                  - IN
                  - IA
                  - KS
                  - KY
                  - LA
                  - ME
                  - MD
                  - MA
                  - MI
                  - MN
                  - MS
                  - MO
                  - MT
                  - NE
                  - NV
                  - NH
                  - NJ
                  - NM
                  - NY
                  - NC
                  - ND
                  - OH
                  - OK
                  - OR
                  - PA
                  - RI
                  - SC
                  - SD
                  - TN
                  - TX
                  - UT
                  - VT
                  - VA
                  - WA
                  - WV
                  - WI
                  - WY
                  - null
                description: Null when the guideline names no one state.
              latestRelease:
                type: integer
                minimum: 1
                maximum: 1000000
              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
                  required:
                    - segment
                    - label
              changes:
                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
                  required:
                    - change
                    - label
              roles:
                type: array
                items:
                  type: object
                  properties:
                    role:
                      type: string
                      pattern: ^[a-z][a-z0-9_]{0,63}$
                      description: A role that the guideline declares.
                    label:
                      type: string
                    actsFor:
                      type: array
                      items:
                        type: string
                        pattern: ^[a-z][a-z0-9_]{0,63}$
                        description: A role that the guideline declares.
                    asks:
                      type: array
                      items:
                        type: object
                        properties:
                          decision:
                            type: string
                            pattern: ^[a-z][a-z0-9_]{0,63}$
                            description: >-
                              A decision: the guideline rule that fired, such as
                              multiplier_changed, or peer_review.
                          label:
                            type: string
                          when:
                            type: string
                        required:
                          - decision
                          - label
                          - when
                  required:
                    - role
                    - label
                    - actsFor
                    - asks
            required:
              - id
              - title
              - state
              - latestRelease
              - segments
              - changes
              - roles
        nextCursor:
          type: string
          nullable: true
      required:
        - rebuildGuidelines
        - nextCursor
    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
    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.