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

# List compliance verdicts

> Your stored admissibility verdicts, by country then item, with scope and reasons. Each carries unknown_causes: coverage (we hold no rules for the country or chapter) or item_data (the item's data can fix it), review, source.

Key scope: read (or execute). Module: product_compliance. Answers the list object (object, data, has_more, next_cursor).



## OpenAPI

````yaml /openapi.json get /v1/compliance/verdicts
openapi: 3.1.0
info:
  title: InsightChain API
  version: 2.0.0
  description: 'The InsightChain API. Send your key as `Authorization: Bearer <key>`.'
  contact:
    name: InsightChain
    url: https://insightchain.ai/docs
  license:
    name: Proprietary
    url: https://insightchain.ai/terms
servers:
  - url: https://api.insightchain.ai
security: []
tags:
  - name: Data ingestion
  - name: Tariff check
  - name: Landed cost
  - name: Import taxes
  - name: Customs documents
  - name: Denied party screening
  - name: Location risk
  - name: Tariff impact and trade data
  - name: Recommendations
  - name: Orders and approval
  - name: Explanations
  - name: Alerts
  - name: Inventory
  - name: Forecast check
  - name: Disruptions
  - name: Product compliance
  - name: Product recalls
  - name: Product passports
  - name: Webhooks
  - name: Connections
  - name: Sync runs
  - name: API keys
  - name: Usage
  - name: Request log
  - name: Agent (MCP) server
paths:
  /v1/compliance/verdicts:
    get:
      tags:
        - Product compliance
      summary: List compliance verdicts
      description: >-
        Your stored admissibility verdicts, by country then item, with scope and
        reasons. Each carries unknown_causes: coverage (we hold no rules for the
        country or chapter) or item_data (the item's data can fix it), review,
        source.


        Key scope: read (or execute). Module: product_compliance. Answers the
        list object (object, data, has_more, next_cursor).
      operationId: listComplianceVerdicts
      parameters:
        - name: country
          in: query
          required: false
          schema:
            type: string
            pattern: ^[A-Za-z]{2}$
          description: >-
            ISO 3166-1 alpha-2 country code (UK is read as GB; an EU member
            state, not EU)
        - name: verdict
          in: query
          required: false
          schema:
            type: string
            enum:
              - blocked
              - conditional
              - clear
              - unknown
        - name: unknown_cause
          in: query
          required: false
          schema:
            type: string
            enum:
              - coverage
              - item_data
              - review
              - source
          description: >-
            Only verdicts with an unknown of this cause: coverage (no rule set
            or no coverage for the country and chapter; nothing in your data
            changes it), item_data (code, origin, attributes), review (a person
            must judge a fact), source (an official tariff could not be read)
        - name: item
          in: query
          required: false
          schema:
            type: string
            maxLength: 128
          description: The item's external id
        - name: q
          in: query
          required: false
          schema:
            type: string
            maxLength: 64
          description: >-
            Search: part of the item's external id or description: letters,
            digits, spaces, . _ - / (not with item)
        - name: search
          in: query
          required: false
          schema:
            type: string
            maxLength: 64
          description: 'Deprecated: use q'
          deprecated: true
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
        - name: cursor
          in: query
          required: false
          schema:
            type: string
            maxLength: 200
          description: next_cursor of the previous page
      responses:
        '200':
          description: OK
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-RateLimit-Limit-Day:
              $ref: '#/components/headers/X-RateLimit-Limit-Day'
            X-RateLimit-Remaining-Day:
              $ref: '#/components/headers/X-RateLimit-Remaining-Day'
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
            X-Client-Request-ID:
              $ref: '#/components/headers/X-Client-Request-ID'
            X-InsightChain-Sandbox:
              $ref: '#/components/headers/X-InsightChain-Sandbox'
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    const: list
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ComplianceVerdict'
                  has_more:
                    type: boolean
                    description: Whether a further page exists
                  next_cursor:
                    type:
                      - string
                      - 'null'
                    description: Send as `cursor` for the next page; null on the last page
                  filters:
                    type: object
                    properties:
                      country:
                        type:
                          - string
                          - 'null'
                      verdict:
                        type:
                          - string
                          - 'null'
                        enum:
                          - blocked
                          - conditional
                          - clear
                          - unknown
                          - null
                      unknown_cause:
                        type:
                          - string
                          - 'null'
                        enum:
                          - coverage
                          - item_data
                          - review
                          - source
                          - null
                      item:
                        type:
                          - string
                          - 'null'
                      search:
                        type:
                          - string
                          - 'null'
                    required:
                      - country
                      - verdict
                      - unknown_cause
                      - item
                      - search
                    description: The filters the request applied
                  disclaimer:
                    type: string
                    description: >-
                      A fixed sentence: not legal advice, and what a clear
                      verdict does and does not cover
                  request_id:
                    type: string
                    description: >-
                      Quote this when asking about the request; also the
                      X-Request-ID header
                required:
                  - object
                  - data
                  - has_more
                  - next_cursor
                  - filters
                  - disclaimer
                  - request_id
              example:
                request_id: af781bdd-1cee-494e-900c-80068c3200a9
                filters:
                  country: null
                  verdict: null
                  unknown_cause: null
                  item: null
                  search: null
                data:
                  - item:
                      id: 3fa708bf-2388-47df-8cfa-7e975c1a28a8
                      external_id: MAT-00000412
                      description: Travel adapter, 4 plug types
                    country: AE
                    computed: true
                    verdict: unknown
                    scope: []
                    unknown_codes:
                      - not_covered
                    reasons:
                      - fix: >-
                          Treat as not checked: nothing in the item's data
                          changes it. Any rule that does match is still listed.
                        code: not_covered
                        kind: unknown
                        detail: >-
                          AE: chapter 85 is not fully covered for import
                          prohibitions and licences.
                        message: >-
                          Rules are on file for the destination, but the item's
                          chapter is not fully covered for import prohibitions
                          and licences, so the answer...
                    unknown_causes:
                      - coverage
                    rule_ids: []
                    rule_set_version: v-f1aa266ecc247025
                    commodity_code: '853669'
                    origins: []
                    computed_at: '2026-11-21T09:47:49.614+00:00'
                    stale: false
                    stale_reasons: []
                has_more: true
                next_cursor: example-token
                disclaimer: >-
                  Not legal advice. A verdict reports the rules and official
                  measures on file for the date shown, with their sources. A
                  clear verdict cover...
                object: list
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '502':
          $ref: '#/components/responses/UpstreamError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
      security:
        - apiKey: []
components:
  headers:
    RateLimit-Limit:
      schema:
        type: integer
      description: Requests allowed per minute. On every answer to an accepted API key
    RateLimit-Remaining:
      schema:
        type: integer
      description: Requests left in the current minute window
    RateLimit-Reset:
      schema:
        type: integer
      description: Seconds until the minute window resets
    X-RateLimit-Limit-Day:
      schema:
        type: integer
      description: The key's daily quota
    X-RateLimit-Remaining-Day:
      schema:
        type: integer
      description: Requests left today (resets 00:00 UTC)
    X-Request-ID:
      schema:
        type: string
      description: Quote this when asking about a request
    X-Client-Request-ID:
      schema:
        type: string
      description: Your own X-Request-ID request header, echoed. Absent when you sent none
    X-InsightChain-Sandbox:
      schema:
        type: string
        enum:
          - 'true'
      description: >-
        Present, and true, on every answer to a test key: the data is the
        sandbox's
    Allow:
      schema:
        type: string
      description: The methods the path takes
    Retry-After:
      schema:
        type: integer
      description: Seconds to wait before trying again
  schemas:
    ComplianceVerdict:
      type: object
      properties:
        item:
          type: object
          properties:
            id:
              type: string
              format: uuid
            external_id:
              type:
                - string
                - 'null'
            description:
              type:
                - string
                - 'null'
          required:
            - id
            - external_id
            - description
        country:
          type: string
          description: ISO 3166-1 alpha-2
        computed:
          const: true
        verdict:
          type: string
          enum:
            - blocked
            - conditional
            - clear
            - unknown
        scope:
          type: array
          items:
            type: string
            enum:
              - import_measures
              - conformity
              - technical_fit
          description: >-
            The dimensions the answer is complete for. A clear verdict says
            nothing beyond them
        unknown_codes:
          type: array
          items:
            type: string
            enum:
              - commodity_code_not_found
              - commodity_code_too_general
              - destination_code_mismatch
              - destination_code_not_found
              - invalid_commodity_code
              - invalid_destination
              - invalid_rule_conditions
              - lookup_failed
              - no_commodity_code
              - no_origin
              - not_covered
              - rule_needs_attributes
              - rule_needs_review
              - stale_rule_set
              - unreviewed_rule_set
              - unsupported_destination
          description: Every unknown found; never empty when the verdict is unknown
        reasons:
          type: array
          items:
            $ref: '#/components/schemas/ComplianceReason'
        unknown_causes:
          type: array
          items:
            type: string
            enum:
              - coverage
              - item_data
              - review
              - source
          description: >-
            Why the unknowns: coverage (nothing in your data changes it),
            item_data (the item's data can fix it), review (a person must judge
            a fact), source (an official tariff could not be read)
        rule_ids:
          type: array
          items:
            type: string
            format: uuid
          description: The rules behind the answer
        rule_set_version:
          type: string
          description: >-
            An opaque version of what the verdict was computed from. Compare it
            for equality: it changes when the rules or the tariff reads behind
            the verdict change
        commodity_code:
          type:
            - string
            - 'null'
          description: The item's commodity code the verdict was computed for, digits only
        origins:
          type: array
          items:
            type: string
          description: The origin countries the verdict was computed for
        computed_at:
          type: string
          format: date-time
        stale:
          type: boolean
          description: true when the verdict may no longer describe the item
        stale_reasons:
          type: array
          items:
            type: string
            enum:
              - computed_over_48h_ago
              - commodity_code_changed
      required:
        - item
        - country
        - computed
        - verdict
        - scope
        - unknown_codes
        - reasons
        - unknown_causes
        - rule_ids
        - rule_set_version
        - commodity_code
        - origins
        - computed_at
        - stale
        - stale_reasons
    ComplianceReason:
      oneOf:
        - type: object
          properties:
            kind:
              const: rule
            verdict:
              type: string
              enum:
                - blocked
                - conditional
            rule_id:
              type: string
              format: uuid
            rule_ref:
              type: string
              description: An opaque reference to the rule, the same for the same rule
            rule_type:
              type: string
              enum:
                - prohibition
                - licence
                - conformity
                - technical_fit
            requirement:
              type: string
              description: What the rule requires
            satisfied_by:
              type:
                - object
                - 'null'
              additionalProperties: true
              description: >-
                What satisfies the rule, as the rule states it (document kinds,
                standards)
            authority:
              type: string
              description: The authority behind the rule
            source_url:
              type: string
            source_read_on:
              type: string
              format: date
              description: When the rule's source was last read
            origins:
              type:
                - array
                - 'null'
              items:
                type: string
              description: >-
                The origins the rule was applied for; null when it applies
                whatever the origin
            applies_when:
              type: string
              description: The fact a person must judge for the rule to apply
            certificate:
              type: object
              properties:
                status:
                  type: string
                  enum:
                    - satisfied
                    - not_satisfied
                    - expired
                    - not_specified
                  description: 'not_specified: the rule names no document kind or standard'
                documents:
                  type: array
                  items:
                    type: string
                    enum:
                      - certificate_of_conformity
                      - declaration_of_conformity
                      - test_report
                      - type_approval
                      - children_product_certificate
                      - general_certificate_of_conformity
                      - import_licence
                      - permit
                      - registration
                      - other
                  description: The document kinds the rule asks for
                standards:
                  type: array
                  items:
                    type: string
                certificate_id:
                  type:
                    - string
                    - 'null'
                  format: uuid
                certificate_valid_from:
                  type:
                    - string
                    - 'null'
                  format: date
                certificate_valid_until:
                  type:
                    - string
                    - 'null'
                  format: date
                check:
                  type:
                    - string
                    - 'null'
                  enum:
                    - valid
                    - not_yet_valid
                    - expired
                    - missing
                    - null
              required:
                - status
                - documents
                - standards
                - certificate_id
                - certificate_valid_from
                - certificate_valid_until
                - check
              description: >-
                Conformity and licence rules: whether one of the item's
                certificates satisfies the rule today
          required:
            - kind
            - verdict
            - rule_id
            - rule_ref
            - rule_type
            - requirement
            - satisfied_by
            - authority
            - source_url
            - source_read_on
            - origins
          description: A rule on file that applies to the item
        - type: object
          properties:
            kind:
              const: official_measure
            verdict:
              type: string
              enum:
                - blocked
                - conditional
            authority:
              type: string
              enum:
                - UK tariff
                - EU tariff
              description: The official tariff the measure is in
            measure:
              type: string
              description: The measure, in the tariff's own words
            measure_type_id:
              type:
                - string
                - 'null'
            measure_kind:
              type: string
              enum:
                - prohibition
                - control
            area:
              type: string
              description: The geographical area the measure names
            detail:
              type:
                - string
                - 'null'
            origin:
              type: string
              description: The origin the measure applied to
            resolved_code:
              type: string
              description: The tariff line (or subheading) read
            source_url:
              type: string
            as_of:
              type: string
              format: date
            subheading:
              type: string
              description: >-
                Present when the tariff was read by six-digit subheading because
                the code is not one of its lines
            lines:
              type: array
              items:
                type: string
              description: >-
                The tariff lines read (or, on a measure, the lines that carry
                it)
            lines_total:
              type: integer
              description: Lines under the subheading
            applies_to:
              type: string
              enum:
                - every_line
                - some_lines
              description: 'some_lines: the measure may apply; the item''s own line decides'
            documents:
              type: array
              items:
                type: object
                properties:
                  code:
                    type: string
                    description: The document code as declared, e.g. C400, Y900
                  description:
                    type: string
                  waiver:
                    type: boolean
                    description: >-
                      true when the document is a statement that the goods are
                      not of the kind the measure covers (no licence needed)
                  groups:
                    type: array
                    items:
                      type: string
                    description: The measure's condition groups that offer this document
                required:
                  - code
                  - description
                  - waiver
              description: The documents the measure's conditions name
            condition:
              type: string
              description: The measure's conditions quoted in one line
            code_basis:
              type: object
              properties:
                code:
                  type: string
                  description: The code the tariff was read for, digits only
                source:
                  type: string
                  enum:
                    - item
                    - commodity_code_gb
                    - commodity_code_eu
                  description: >-
                    item: the commodity code of the item, or the one sent with
                    the request; else the confirmed destination code attribute
                confirmed_by:
                  type:
                    - string
                    - 'null'
                  format: uuid
                confirmed_at:
                  type:
                    - string
                    - 'null'
                  format: date-time
                attribute_source:
                  type:
                    - string
                    - 'null'
              required:
                - code
                - source
              description: The code the tariff was read for and where it came from
            code_needed:
              type: object
              properties:
                attribute:
                  type: string
                  enum:
                    - commodity_code_gb
                    - commodity_code_eu
                fix:
                  type: string
              required:
                - attribute
                - fix
              description: The destination commodity code that would settle the answer
            waiver:
              type: object
              properties:
                document_code:
                  type: string
                attribute:
                  type: string
                  enum:
                    - gtin
                    - brand
                    - model
                    - product_class
                    - plug_type
                    - voltage_range
                    - frequency_hz
                    - radio
                    - mains_powered
                    - battery_chemistry
                    - age_grade
                    - contains_seal_products
                    - contains_cat_dog_fur
                    - contains_cites_species
                    - is_torture_repression_goods
                    - is_waste
                    - contains_ivory
                    - commodity_code_gb
                    - commodity_code_eu
                statement:
                  type: string
                  description: What the waiver states about the goods
                status:
                  type: string
                  enum:
                    - not_confirmed
                    - contains
                  description: >-
                    not_confirmed: the attribute has no confirmed value;
                    contains: it is confirmed true, so the control's licence or
                    certificate is needed
                fix:
                  type: string
              required:
                - document_code
                - attribute
                - statement
                - status
                - fix
              description: >-
                A control that confirming the attribute as false would waive,
                not waived for this item
            waiver_not_every_group:
              type: object
              properties:
                document_code:
                  type: string
                attribute:
                  type: string
                  enum:
                    - gtin
                    - brand
                    - model
                    - product_class
                    - plug_type
                    - voltage_range
                    - frequency_hz
                    - radio
                    - mains_powered
                    - battery_chemistry
                    - age_grade
                    - contains_seal_products
                    - contains_cat_dog_fur
                    - contains_cites_species
                    - is_torture_repression_goods
                    - is_waste
                    - contains_ivory
                    - commodity_code_gb
                    - commodity_code_eu
                condition_groups:
                  type: array
                  items:
                    type: string
                groups_missing:
                  type: array
                  items:
                    type: string
                message:
                  type: string
              required:
                - document_code
                - attribute
                - condition_groups
                - groups_missing
                - message
              description: >-
                A waiver the conditions list in only some of their groups: it
                cannot satisfy the control on its own
          required:
            - kind
            - verdict
            - authority
            - measure
            - measure_type_id
            - measure_kind
            - area
            - detail
            - origin
            - resolved_code
            - source_url
            - as_of
          description: >-
            An import prohibition or control the official tariff lists for the
            code and origin
        - type: object
          properties:
            kind:
              const: measure_waived
            verdict:
              const: clear
            authority:
              type: string
              enum:
                - UK tariff
                - EU tariff
              description: The official tariff the measure is in
            measure:
              type: string
            measure_type_id:
              type: string
            area:
              type: string
            origin:
              type: string
            resolved_code:
              type: string
            source_url:
              type: string
            as_of:
              type: string
              format: date
            document_code:
              type: string
              description: The waiver document the tariff's conditions list
            attribute:
              type: string
              enum:
                - gtin
                - brand
                - model
                - product_class
                - plug_type
                - voltage_range
                - frequency_hz
                - radio
                - mains_powered
                - battery_chemistry
                - age_grade
                - contains_seal_products
                - contains_cat_dog_fur
                - contains_cites_species
                - is_torture_repression_goods
                - is_waste
                - contains_ivory
                - commodity_code_gb
                - commodity_code_eu
            value:
              const: false
            statement:
              type: string
              description: What the waiver states about the goods
            confirmed_by:
              type:
                - string
                - 'null'
              format: uuid
              description: >-
                Who confirmed the attribute; null for an attribute stated in
                POST /check
            confirmed_at:
              type:
                - string
                - 'null'
              format: date-time
            attribute_source:
              type:
                - string
                - 'null'
            code_basis:
              type: object
              properties:
                code:
                  type: string
                  description: The code the tariff was read for, digits only
                source:
                  type: string
                  enum:
                    - item
                    - commodity_code_gb
                    - commodity_code_eu
                  description: >-
                    item: the commodity code of the item, or the one sent with
                    the request; else the confirmed destination code attribute
                confirmed_by:
                  type:
                    - string
                    - 'null'
                  format: uuid
                confirmed_at:
                  type:
                    - string
                    - 'null'
                  format: date-time
                attribute_source:
                  type:
                    - string
                    - 'null'
              required:
                - code
                - source
              description: The code the tariff was read for and where it came from
            subheading:
              type: string
              description: >-
                Present when the tariff was read by six-digit subheading because
                the code is not one of its lines
            lines:
              type: array
              items:
                type: string
              description: >-
                The tariff lines read (or, on a measure, the lines that carry
                it)
            lines_total:
              type: integer
              description: Lines under the subheading
            applies_to:
              type: string
              enum:
                - every_line
                - some_lines
              description: 'some_lines: the measure may apply; the item''s own line decides'
          required:
            - kind
            - verdict
            - authority
            - measure
            - measure_type_id
            - area
            - origin
            - resolved_code
            - source_url
            - as_of
            - document_code
            - attribute
            - value
            - statement
            - confirmed_by
            - confirmed_at
            - attribute_source
          description: >-
            An import control satisfied by its waiver: the item's confirmed
            attribute states what the waiver states
        - type: object
          properties:
            kind:
              const: checked
            authority:
              type: string
              enum:
                - UK tariff
                - EU tariff
              description: The official tariff the measure is in
            origin:
              type: string
            resolved_code:
              type: string
            source_url:
              type: string
            as_of:
              type: string
              format: date
            subheading:
              type: string
              description: >-
                Present when the tariff was read by six-digit subheading because
                the code is not one of its lines
            lines:
              type: array
              items:
                type: string
              description: >-
                The tariff lines read (or, on a measure, the lines that carry
                it)
            code_basis:
              type: object
              properties:
                code:
                  type: string
                  description: The code the tariff was read for, digits only
                source:
                  type: string
                  enum:
                    - item
                    - commodity_code_gb
                    - commodity_code_eu
                  description: >-
                    item: the commodity code of the item, or the one sent with
                    the request; else the confirmed destination code attribute
                confirmed_by:
                  type:
                    - string
                    - 'null'
                  format: uuid
                confirmed_at:
                  type:
                    - string
                    - 'null'
                  format: date-time
                attribute_source:
                  type:
                    - string
                    - 'null'
              required:
                - code
                - source
              description: The code the tariff was read for and where it came from
          required:
            - kind
            - authority
            - origin
            - resolved_code
            - source_url
            - as_of
          description: >-
            Evidence for clear: the official tariff was read for this origin and
            lists no prohibition or control
        - type: object
          properties:
            kind:
              const: coverage
            review_by:
              type:
                - string
                - 'null'
              format: date
            dimensions:
              type: array
              items:
                type: string
                enum:
                  - import_measures
                  - conformity
                  - technical_fit
          required:
            - kind
            - review_by
            - dimensions
          description: >-
            Evidence for scope: reviewed rules cover the code for these
            dimensions
        - type: object
          properties:
            kind:
              const: unknown
            code:
              type: string
              enum:
                - commodity_code_not_found
                - commodity_code_too_general
                - destination_code_mismatch
                - destination_code_not_found
                - invalid_commodity_code
                - invalid_destination
                - invalid_rule_conditions
                - lookup_failed
                - no_commodity_code
                - no_origin
                - not_covered
                - rule_needs_attributes
                - rule_needs_review
                - stale_rule_set
                - unreviewed_rule_set
                - unsupported_destination
            message:
              type: string
            fix:
              type: string
              description: What would settle it
            origin:
              type: string
            rule_id:
              type: string
              format: uuid
            rule_ref:
              type: string
              description: An opaque reference to the rule, the same for the same rule
            would_be:
              type: string
              enum:
                - blocked
                - conditional
              description: 'For a rule that could not count: what it would have said'
            source_url:
              type:
                - string
                - 'null'
            attributes:
              type: array
              items:
                type: string
                enum:
                  - gtin
                  - brand
                  - model
                  - product_class
                  - plug_type
                  - voltage_range
                  - frequency_hz
                  - radio
                  - mains_powered
                  - battery_chemistry
                  - age_grade
                  - contains_seal_products
                  - contains_cat_dog_fur
                  - contains_cites_species
                  - is_torture_repression_goods
                  - is_waste
                  - contains_ivory
                  - commodity_code_gb
                  - commodity_code_eu
              description: 'rule_needs_attributes: the attributes the item needs confirmed'
            applies_when:
              type: string
              description: 'rule_needs_review: the fact a person must judge'
            detail:
              type: string
              description: This finding in particular (message is the code's general one)
            read_on:
              type: string
              format: date
              description: 'lookup_failed on an old read: the day it was read'
            subheading:
              type: string
            lines:
              type: array
              items:
                type: string
            lines_total:
              type: integer
            measure:
              type: string
            code_basis:
              type: object
              properties:
                code:
                  type: string
                  description: The code the tariff was read for, digits only
                source:
                  type: string
                  enum:
                    - item
                    - commodity_code_gb
                    - commodity_code_eu
                  description: >-
                    item: the commodity code of the item, or the one sent with
                    the request; else the confirmed destination code attribute
                confirmed_by:
                  type:
                    - string
                    - 'null'
                  format: uuid
                confirmed_at:
                  type:
                    - string
                    - 'null'
                  format: date-time
                attribute_source:
                  type:
                    - string
                    - 'null'
              required:
                - code
                - source
              description: The code the tariff was read for and where it came from
            code_needed:
              type: object
              properties:
                attribute:
                  type: string
                  enum:
                    - commodity_code_gb
                    - commodity_code_eu
                fix:
                  type: string
              required:
                - attribute
                - fix
              description: The destination commodity code that would settle the answer
          required:
            - kind
            - code
            - message
            - fix
          description: Something that could not be determined, with its fix
        - type: object
          properties:
            kind:
              const: technical_fit
            verdict:
              type: string
              enum:
                - clear
                - conditional
            result:
              type: string
              enum:
                - match
                - mismatch
                - not_applicable
            country:
              type: string
              description: ISO 3166-1 alpha-2
            mismatches:
              type: array
              items:
                type: object
                properties:
                  attribute:
                    type: string
                    enum:
                      - plug_type
                      - voltage_range
                      - frequency_hz
                  item:
                    description: >-
                      The item's value of the attribute (a plug letter, a
                      voltage range, a list of frequencies)
                  destination:
                    description: >-
                      The destination's values (plug letters, voltages,
                      frequencies)
                  message:
                    type: string
                required:
                  - attribute
                  - item
                  - destination
                  - message
            source_url:
              type:
                - string
                - 'null'
            source_read_on:
              type:
                - string
                - 'null'
              format: date
            review_by:
              type:
                - string
                - 'null'
              format: date
          required:
            - kind
            - verdict
            - result
            - country
            - mismatches
            - source_url
            - source_read_on
            - review_by
          description: >-
            The item's plug, voltage and frequency against the destination's
            mains
        - type: object
          properties:
            kind:
              const: not_checked
            dimension:
              const: technical_fit
            code:
              type: string
              enum:
                - no_technical_profile
                - stale_technical_profile
                - technical_fit_needs_attributes
            message:
              type: string
            fix:
              type: string
            country:
              type: string
              description: ISO 3166-1 alpha-2
            attributes:
              type: array
              items:
                type: string
                enum:
                  - gtin
                  - brand
                  - model
                  - product_class
                  - plug_type
                  - voltage_range
                  - frequency_hz
                  - radio
                  - mains_powered
                  - battery_chemistry
                  - age_grade
                  - contains_seal_products
                  - contains_cat_dog_fur
                  - contains_cites_species
                  - is_torture_repression_goods
                  - is_waste
                  - contains_ivory
                  - commodity_code_gb
                  - commodity_code_eu
              description: 'technical_fit_needs_attributes: the attributes to confirm'
            source_url:
              type:
                - string
                - 'null'
          required:
            - kind
            - dimension
            - code
            - message
            - fix
            - country
          description: >-
            A dimension that was not checked; it is left out of scope and the
            verdict is otherwise unchanged
      description: One reason behind a verdict; `kind` says which fields it carries
    Error:
      type: object
      description: The body of every non-2xx answer
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - invalid_request_error
                - authentication_error
                - permission_error
                - rate_limit_error
                - api_error
            code:
              type: string
              description: >-
                Stable machine-readable code, e.g. parameter_invalid,
                scope_missing, rate_limit_exceeded. Every code is listed at
                /docs/errors
            message:
              type: string
              description: For people; what `error` used to be as a plain string
            param:
              type:
                - string
                - 'null'
              description: The parameter the error is about, when there is one
            doc_url:
              type: string
              description: Where the code is documented
          required:
            - type
            - code
            - message
            - param
            - doc_url
        request_id:
          type: string
        details:
          type: array
          items: {}
          description: >-
            On a 400 for input with several problems: one entry per problem, a
            sentence or an object with `field` and `message`
        limit:
          type: integer
          description: 'On a 429: the limit that was reached'
        code:
          type: string
          deprecated: true
          description: 'Deprecated: use error.code'
        field:
          type: string
          deprecated: true
          description: 'Deprecated: use error.param'
      required:
        - error
        - request_id
      additionalProperties: true
  responses:
    BadRequest:
      description: >-
        Invalid input: an unknown or invalid parameter (error.param names it) or
        a body the route does not accept
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: >-
        The key lacks the scope, or the organization lacks the module or is
        suspended
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: No such record in your organization
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    MethodNotAllowed:
      description: The route does not take this method; Allow lists the ones it takes
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
        Allow:
          $ref: '#/components/headers/Allow'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    TooManyRequests:
      description: Per-minute or daily key limit; Retry-After is the real reset
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
        Retry-After:
          $ref: '#/components/headers/Retry-After'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: Internal error; quote request_id
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    UpstreamError:
      description: >-
        The API could not be reached, or a service this route depends on failed.
        Try again shortly
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServiceUnavailable:
      description: The API, or this route, is not available right now
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        X-RateLimit-Limit-Day:
          $ref: '#/components/headers/X-RateLimit-Limit-Day'
        X-RateLimit-Remaining-Day:
          $ref: '#/components/headers/X-RateLimit-Remaining-Day'
        X-Client-Request-ID:
          $ref: '#/components/headers/X-Client-Request-ID'
        X-InsightChain-Sandbox:
          $ref: '#/components/headers/X-InsightChain-Sandbox'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        An InsightChain API key: ic_live_... for your organization, ic_test_...
        for its sandbox

````

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