> ## 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 a carrier’s Schedule P interrogatories

> Requires the organization’s NAIC dataset grant after acceptance of the NAIC terms. The grant is checked before carrier lookup on every request. Read the reported Schedule P interrogatory answers for one statement year, such as whether reserves are discounted (question 4), fidelity and surety premiums in force (5.1 and 5.2) and the claim count basis (6). Each source NAIC company keeps a separate section, including codes without answers. Questions keep their reported numbering; topic is a short label, not the filed question text. Monetary answers are whole US dollars; 5.1 and 5.2 are scaled from reported thousands. Blank text is null. Loads for 2018 and 2019 store blank numbers as 0. One successful document counts as one billed row: $0.07 per call ($0.02 request + $0.05 row). Failed reads are not charged; repeated successful reads are charged again. Read-only; private, no-store. At most 200 source-company sections; larger identities return 409 without truncation. Use listCarrierLossDevelopmentRows for triangles.



## OpenAPI

````yaml /openapi.json get /insurance/carriers/{carrierId}/loss-development/interrogatories
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/carriers/{carrierId}/loss-development/interrogatories:
    get:
      tags:
        - NAIC statutory data
      summary: Get a carrier’s Schedule P interrogatories
      description: >-
        Requires the organization’s NAIC dataset grant after acceptance of the
        NAIC terms. The grant is checked before carrier lookup on every request.
        Read the reported Schedule P interrogatory answers for one statement
        year, such as whether reserves are discounted (question 4), fidelity and
        surety premiums in force (5.1 and 5.2) and the claim count basis (6).
        Each source NAIC company keeps a separate section, including codes
        without answers. Questions keep their reported numbering; topic is a
        short label, not the filed question text. Monetary answers are whole US
        dollars; 5.1 and 5.2 are scaled from reported thousands. Blank text is
        null. Loads for 2018 and 2019 store blank numbers as 0. One successful
        document counts as one billed row: $0.07 per call ($0.02 request + $0.05
        row). Failed reads are not charged; repeated successful reads are
        charged again. Read-only; private, no-store. At most 200 source-company
        sections; larger identities return 409 without truncation. Use
        listCarrierLossDevelopmentRows for triangles.
      operationId: getCarrierLossDevelopmentInterrogatories
      parameters:
        - schema:
            type: string
            minLength: 1
            maxLength: 100
            description: >-
              Managed carrier_ ID or bare checked code. Legacy five-digit NAIC
              codes and naic: codes are also accepted.
          required: true
          description: >-
            Managed carrier_ ID or bare checked code. Legacy five-digit NAIC
            codes and naic: codes are also accepted.
          name: carrierId
          in: path
        - schema:
            type: string
            pattern: ^\d{4}$
            description: >-
              Annual statement year. Omit for the latest year with loaded
              interrogatory answers across this carrier’s source NAIC codes.
              Missing companies never fall back to an older year.
          required: false
          description: >-
            Annual statement year. Omit for the latest year with loaded
            interrogatory answers across this carrier’s source NAIC codes.
            Missing companies never fall back to an older year.
          name: year
          in: query
      responses:
        '200':
          description: One annual interrogatory document with explicit company coverage.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CarrierLossDevelopmentInterrogatories'
        '400':
          description: >-
            invalid_request for invalid, missing, unknown or repeated scalar
            inputs; invalid_id for a malformed carrier; invalid_cursor requires
            restarting traversal.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '401':
          description: Authentication required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '403':
          description: >-
            dataset_not_enabled: NAIC terms and organization entitlement are
            required. No charge. Other credential restrictions use forbidden.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '404':
          description: >-
            not_found for an unknown carrier; statutory_data_not_found when no
            source company has loaded answers for the selected year. Does not
            establish non-filing.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '409':
          description: >-
            inventory_limit_exceeded: the carrier has more than 200 source NAIC
            company codes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '500':
          description: Unexpected source or server failure; no charge.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '503':
          description: A dependency is unavailable; respect Retry-After.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
      security:
        - bearerAuth: []
components:
  schemas:
    V2CarrierLossDevelopmentInterrogatories:
      type: object
      properties:
        carrier:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
          required:
            - id
            - name
        year:
          type: integer
          minimum: 1900
          maximum: 9999
        coverage:
          type: string
          enum:
            - complete
            - partial
          description: >-
            Complete means every source company has loaded answers for the year.
            Partial means at least one has none.
        companies:
          type: array
          items:
            type: object
            properties:
              naicCompanyCode:
                type: string
              answers:
                type: array
                items:
                  type: object
                  properties:
                    question:
                      type: string
                      description: >-
                        Reported question number, such as 04 or 05.1, in source
                        text order.
                    topic:
                      type: string
                      nullable: true
                      description: >-
                        Short orientation label, not the filed question text.
                        Null if unknown.
                    yesNoResponse:
                      type: string
                      nullable: true
                      description: Reported YES, NO or N/A. Null when blank.
                    numericResponse:
                      type: integer
                      nullable: true
                      description: >-
                        Reported number. Questions 1.2, 5.1 and 5.2 are whole US
                        dollars; 5.1 and 5.2 are scaled from reported thousands.
                        Null when blank. Loads for 2018 and 2019 store blanks as
                        0.
                    occurrenceAmount:
                      type: integer
                      nullable: true
                      description: >-
                        Question 1.6 occurrence (section 1) amount in whole US
                        dollars.
                    claimsMadeAmount:
                      type: integer
                      nullable: true
                      description: >-
                        Question 1.6 claims-made (section 2) amount in whole US
                        dollars.
                    explanation:
                      type: string
                      nullable: true
                      description: >-
                        Reported text, such as the claim count basis. Null when
                        blank.
                  required:
                    - question
                    - topic
                    - yesNoResponse
                    - numericResponse
                    - occurrenceAmount
                    - claimsMadeAmount
                    - explanation
                description: >-
                  Answers as reported; empty when this company has none for the
                  year.
              sources:
                type: array
                items:
                  $ref: '#/components/schemas/V2NaicSource'
            required:
              - naicCompanyCode
              - answers
              - sources
          maxItems: 200
          description: >-
            Embedded source-company sections ordered by NAIC code, including
            codes without answers. Parts of one document, not a paginated
            collection.
      required:
        - carrier
        - year
        - coverage
        - companies
    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
              description: Dataset needed for dataset_not_enabled.
          required:
            - code
    V2NaicSource:
      type: object
      properties:
        exhibit:
          type: string
        statementYear:
          type: integer
          minimum: 1900
          maximum: 9999
      required:
        - exhibit
        - statementYear
    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.