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

# Create passport UFLPA package

> Assemble a UFLPA evidence package.

Key scope: ingest. Module: dpp.



## OpenAPI

````yaml /openapi.json post /v1/passports/{id}/uflpa/package
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/passports/{id}/uflpa/package:
    post:
      tags:
        - Product passports
      summary: Create passport UFLPA package
      description: |-
        Assemble a UFLPA evidence package.

        Key scope: ingest. Module: dpp.
      operationId: createPassportUflpaPackage
      parameters:
        - name: id
          in: path
          required: true
          schema:
            oneOf:
              - type: string
                format: uuid
              - type: string
                pattern: ^ext:.{1,256}$
          description: >-
            The record's id (a UUID), or `ext:<external_id>` with your own id
            for it, URL-encoded
        - name: Idempotency-Key
          in: header
          required: false
          schema:
            type: string
            minLength: 1
            maxLength: 128
            pattern: ^[\x21-\x7E]{1,128}$
          description: >-
            Makes a retry safe for 24 hours: the same key and body replays the
            first answer (Idempotency-Replayed: true), another body is 422
            idempotency_key_reused, a request still running is 409
            idempotency_key_in_use
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                note:
                  type: string
                  maxLength: 500
              additionalProperties: false
            example:
              note: Prepared for the December shipment
      responses:
        '201':
          description: Created
          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'
            Idempotency-Replayed:
              $ref: '#/components/headers/Idempotency-Replayed'
          content:
            application/json:
              schema:
                type: object
                properties:
                  package:
                    $ref: '#/components/schemas/PassportUflpaPackage'
                  request_id:
                    type: string
                    description: >-
                      Quote this when asking about the request; also the
                      X-Request-ID header
                required:
                  - package
                  - request_id
              example:
                package:
                  id: 39d73102-320f-4f8f-aa5a-abe38b59b78b
                  external_ref: UFLPA-001
                  checksum: >-
                    5ca626876244569d1263af559a64352d9afdea886813ea512a05f31d9c94c1bf
                  verdict: gaps_found
                  note: Prepared for the customs broker
                  generated_at: '2026-11-21T10:55:55.5+00:00'
                  created_at: '2026-11-21T10:55:55.503407+00:00'
                  package:
                    eudr:
                      ready: true
                      inScope: true
                      plotCount: 2
                      coveredMaterials:
                        - MAT-BODY
                      uncoveredMaterials: []
                    drill:
                      asOf: '2026-11-21'
                      basis: >-
                        Based on the UFLPA (Pub. L. 117-78) rebuttable
                        presumption and CBP's Operational Guidance for Importers
                        (June 2022) on admissibility pack...
                      checks:
                        - id: custody.chain_present
                          label: Chain of custody recorded
                          detail: null
                          status: pass
                          remediation: null
                          regulationRefs:
                            - UFLPA §3
                      counts:
                        fail: 3
                        pass: 6
                        manualReview: 0
                        notApplicable: 0
                      verdict: gaps_found
                      effectiveDate: '2026-08-20'
                      regionsVersion: 2026.08-uflpa-regions-v1
                      rulesetVersion: 2026.08-uflpa-v1
                    schema: dpp.uflpa.package.v1
                    product:
                      gtin: '00012345678905'
                      brand: Northwind Atelier
                      title:
                        en: Canvas tote
                        fr: Cabas en toile
                      serial: null
                      batchLot: null
                      category: Handbags
                      externalId: TOTE-MAT-00000023
                      granularity: model
                    generatedAt: '2026-11-21T10:55:55.500Z'
                    custodyChain:
                      - uom: kg
                        toParty: Conceria Esempio S.p.A.
                        evidence:
                          - evidenceKind: certificate
                            documentExternalId: DOC-TANNERY-DECLARATION
                        quantity: 1200
                        fromParty: Azienda Agricola Esempio
                        externalId: XFER-1
                        fromRegion: null
                        fromCountry: IT
                        transferDate: '2026-01-12'
                        materialExternalId: MAT-BODY
                        supplierExternalId: null
                    regionsVersion: 2026.08-uflpa-regions-v1
                    rulesetVersion: 2026.08-uflpa-v1
                    billOfMaterials:
                      - supplier:
                          name: Guangzhou Footwear Mfg 0131
                          externalId: VEND-000131
                          countryCode: MX
                        externalId: MAT-BODY
                        provenance: brand_declared
                        massSharePct: 80
                        materialName: Full-grain cowhide leather
                        originRegion: null
                        componentName: Body
                        materialClass: leather
                        originCountry: IT
                        certificateRef: null
                        parentExternalId: null
                    referencedDocuments:
                      - kind: certificate
                        title: Tannery declaration of origin
                        issuer: Conceria Esempio S.p.A.
                        validFrom: '2026-01-01'
                        externalId: DOC-TANNERY-DECLARATION
                        validUntil: '2028-12-31'
                        standardRef: LWG Gold
                    supplierAttestations:
                      suppliers:
                        - name: Guangzhou Footwear Mfg 0131
                          externalId: VEND-000131
                          countryCode: MX
                      byProvenance:
                        certificate: 0
                        brand_declared: 2
                        supplier_attested: 0
                      inScopeMaterials: 2
                request_id: 71e19d00-ef55-473d-91e2-7780591e2eae
        '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'
        '409':
          $ref: '#/components/responses/Conflict'
        '413':
          $ref: '#/components/responses/PayloadTooLarge'
        '415':
          $ref: '#/components/responses/UnsupportedMediaType'
        '422':
          $ref: '#/components/responses/Unprocessable'
        '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
    Idempotency-Replayed:
      schema:
        type: string
        enum:
          - 'true'
      description: >-
        Present, and true, when the answer is the stored answer of an earlier
        request with the same Idempotency-Key
    Allow:
      schema:
        type: string
      description: The methods the path takes
    Retry-After:
      schema:
        type: integer
      description: Seconds to wait before trying again
  schemas:
    PassportUflpaPackage:
      type: object
      properties:
        id:
          type: string
          format: uuid
        external_ref:
          type: string
          description: UFLPA-001, UFLPA-002, ... per passport
        checksum:
          type: string
          description: SHA-256 of the package, hex
        verdict:
          type: string
          enum:
            - would_clear
            - gaps_found
            - manual_review
          description: The check's verdict when the package was made
        note:
          type:
            - string
            - 'null'
        generated_at:
          type: string
          format: date-time
        created_at:
          type: string
          format: date-time
        package:
          type: object
          properties:
            schema:
              type: string
              description: The package format, for example dpp.uflpa.package.v1
            rulesetVersion:
              type: string
            regionsVersion:
              type: string
            generatedAt:
              type: string
              format: date-time
            product:
              type: object
              properties:
                externalId:
                  type: string
                granularity:
                  type: string
                  enum:
                    - model
                    - batch
                    - item
                title:
                  type: object
                  additionalProperties:
                    type: string
                  description: Text by language tag (en, fr, ...)
                brand:
                  type:
                    - string
                    - 'null'
                category:
                  type:
                    - string
                    - 'null'
                gtin:
                  type:
                    - string
                    - 'null'
                batchLot:
                  type:
                    - string
                    - 'null'
                serial:
                  type:
                    - string
                    - 'null'
              required:
                - externalId
                - granularity
                - title
                - brand
                - category
                - gtin
                - batchLot
                - serial
            billOfMaterials:
              type: array
              items:
                type: object
                properties:
                  externalId:
                    type: string
                  parentExternalId:
                    type:
                      - string
                      - 'null'
                  componentName:
                    type:
                      - string
                      - 'null'
                  materialName:
                    type: string
                  materialClass:
                    type:
                      - string
                      - 'null'
                  massSharePct:
                    type:
                      - number
                      - 'null'
                  originCountry:
                    type:
                      - string
                      - 'null'
                    description: ISO 3166-1 alpha-2 country code
                  originRegion:
                    type:
                      - string
                      - 'null'
                    description: ISO 3166-2 subdivision code, for example IT-52
                  provenance:
                    type:
                      - string
                      - 'null'
                    enum:
                      - brand_declared
                      - supplier_attested
                      - certificate
                      - null
                  certificateRef:
                    type:
                      - string
                      - 'null'
                  supplier:
                    type:
                      - object
                      - 'null'
                    properties:
                      externalId:
                        type: string
                      name:
                        type: string
                      countryCode:
                        type:
                          - string
                          - 'null'
                        description: ISO 3166-1 alpha-2 country code
                    required:
                      - externalId
                      - name
                      - countryCode
                required:
                  - externalId
                  - parentExternalId
                  - componentName
                  - materialName
                  - materialClass
                  - massSharePct
                  - originCountry
                  - originRegion
                  - provenance
                  - certificateRef
                  - supplier
            custodyChain:
              type: array
              items:
                type: object
                properties:
                  externalId:
                    type: string
                  fromParty:
                    type: string
                  toParty:
                    type: string
                  fromCountry:
                    type:
                      - string
                      - 'null'
                    description: ISO 3166-1 alpha-2 country code
                  fromRegion:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Absent in packages assembled before transfers carried a
                      region
                  transferDate:
                    type: string
                    format: date
                  materialExternalId:
                    type:
                      - string
                      - 'null'
                  supplierExternalId:
                    type:
                      - string
                      - 'null'
                  quantity:
                    type:
                      - number
                      - 'null'
                  uom:
                    type:
                      - string
                      - 'null'
                  evidence:
                    type: array
                    items:
                      type: object
                      properties:
                        documentExternalId:
                          type: string
                        evidenceKind:
                          type: string
                          enum:
                            - purchase_order
                            - invoice
                            - bill_of_lading
                            - packing_list
                            - certificate
                            - other
                      required:
                        - documentExternalId
                        - evidenceKind
                required:
                  - externalId
                  - fromParty
                  - toParty
                  - fromCountry
                  - transferDate
                  - materialExternalId
                  - supplierExternalId
                  - quantity
                  - uom
                  - evidence
            referencedDocuments:
              type: array
              items:
                type: object
                properties:
                  externalId:
                    type: string
                  kind:
                    type: string
                    enum:
                      - certificate
                      - test_report
                      - declaration_of_conformity
                      - care_label
                      - image
                      - repair_manual
                      - disassembly_guide
                      - other
                  title:
                    type: string
                  issuer:
                    type:
                      - string
                      - 'null'
                  standardRef:
                    type:
                      - string
                      - 'null'
                  validFrom:
                    type:
                      - string
                      - 'null'
                    format: date
                  validUntil:
                    type:
                      - string
                      - 'null'
                    format: date
                required:
                  - externalId
                  - kind
                  - title
                  - issuer
                  - standardRef
                  - validFrom
                  - validUntil
            eudr:
              type:
                - object
                - 'null'
              properties:
                inScope:
                  type: boolean
                ready:
                  type: boolean
                plotCount:
                  type: integer
                coveredMaterials:
                  type: array
                  items:
                    type: string
                uncoveredMaterials:
                  type: array
                  items:
                    type: string
              required:
                - inScope
                - ready
                - plotCount
                - coveredMaterials
                - uncoveredMaterials
            supplierAttestations:
              type: object
              properties:
                inScopeMaterials:
                  type: integer
                byProvenance:
                  type: object
                  properties:
                    brand_declared:
                      type: integer
                    supplier_attested:
                      type: integer
                    certificate:
                      type: integer
                  required:
                    - brand_declared
                    - supplier_attested
                    - certificate
                suppliers:
                  type: array
                  items:
                    type: object
                    properties:
                      externalId:
                        type: string
                      name:
                        type: string
                      countryCode:
                        type:
                          - string
                          - 'null'
                        description: ISO 3166-1 alpha-2 country code
                    required:
                      - externalId
                      - name
                      - countryCode
              required:
                - inScopeMaterials
                - byProvenance
                - suppliers
            drill:
              $ref: '#/components/schemas/PassportUflpaReport'
          required:
            - schema
            - rulesetVersion
            - regionsVersion
            - generatedAt
            - product
            - billOfMaterials
            - custodyChain
            - referencedDocuments
            - eudr
            - supplierAttestations
            - drill
          description: The evidence as assembled, kept unchanged
      required:
        - id
        - external_ref
        - checksum
        - verdict
        - note
        - generated_at
        - created_at
        - package
    PassportUflpaReport:
      type: object
      properties:
        rulesetVersion:
          type: string
        regionsVersion:
          type: string
        effectiveDate:
          type: string
          format: date
        basis:
          type: string
        asOf:
          type: string
          format: date
        verdict:
          type: string
          enum:
            - would_clear
            - gaps_found
            - manual_review
          description: >-
            would_clear: every check passes; gaps_found: at least one fails;
            manual_review: nothing fails but a person must look
        checks:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              label:
                type: string
              status:
                type: string
                enum:
                  - pass
                  - fail
                  - manual_review
                  - not_applicable
              detail:
                type:
                  - string
                  - 'null'
              remediation:
                type:
                  - string
                  - 'null'
                description: What to do; null when the check passes or does not apply
              regulationRefs:
                type: array
                items:
                  type: string
            required:
              - id
              - label
              - status
              - detail
              - remediation
              - regulationRefs
        counts:
          type: object
          properties:
            pass:
              type: integer
            fail:
              type: integer
            manualReview:
              type: integer
            notApplicable:
              type: integer
          required:
            - pass
            - fail
            - manualReview
            - notApplicable
      required:
        - rulesetVersion
        - regionsVersion
        - effectiveDate
        - basis
        - asOf
        - verdict
        - checks
        - counts
    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'
    Conflict:
      description: >-
        The request conflicts with the record's current state, or its
        Idempotency-Key is still in use
      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'
    PayloadTooLarge:
      description: >-
        The body, or the data the request would read, is larger than the route
        allows
      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'
    UnsupportedMediaType:
      description: The Content-Type is not one the route reads
      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'
    Unprocessable:
      description: >-
        Well formed, but it cannot be carried out as sent; or the
        Idempotency-Key was used with another request
      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'
    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.