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

# Update passport

> Update a passport's fields: at least one is required. Sending public_enabled also needs the execute scope, and then the key's creator must still be a member.

Key scope: ingest. Module: dpp.



## OpenAPI

````yaml /openapi.json patch /v1/passports/{id}
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}:
    patch:
      tags:
        - Product passports
      summary: Update passport
      description: >-
        Update a passport's fields: at least one is required. Sending
        public_enabled also needs the execute scope, and then the key's creator
        must still be a member.


        Key scope: ingest. Module: dpp.
      operationId: updatePassport
      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
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  oneOf:
                    - type: string
                    - type: object
                      additionalProperties:
                        type: string
                  description: >-
                    The product's name: a string (read as English), or one
                    string per language, keyed by language tag (en, fr, pt-BR)
                brand:
                  type:
                    - string
                    - 'null'
                  maxLength: 200
                  description: null clears it
                category:
                  type:
                    - string
                    - 'null'
                  maxLength: 200
                  description: null clears it
                public_enabled:
                  type: boolean
                  description: >-
                    Whether the published passport can be opened by anyone with
                    its link
                gtin:
                  type:
                    - string
                    - 'null'
                  pattern: ^([0-9]{8}|[0-9]{12,14})$
                  description: >-
                    GTIN-8, 12, 13 or 14: digits only, with a valid check digit.
                    Returned as 14 digits. null clears it
                batch_lot:
                  type:
                    - string
                    - 'null'
                  minLength: 1
                  maxLength: 20
                  pattern: ^[A-Za-z0-9!"%&'()*+,./:;<=>?_-]+$
                  description: >-
                    Batch or lot number: letters, digits and ! " % & ' ( ) * + ,
                    - . / : ; < = > ? _ (no spaces). null clears it
                serial:
                  type:
                    - string
                    - 'null'
                  minLength: 1
                  maxLength: 20
                  pattern: ^[A-Za-z0-9!"%&'()*+,./:;<=>?_-]+$
                  description: >-
                    Serial number: letters, digits and ! " % & ' ( ) * + , - . /
                    : ; < = > ? _ (no spaces). null clears it
                draft_data:
                  type: object
                  description: >-
                    Passport content beyond the fields above, merged key by key
                    over what is stored (a key you send replaces that key
                    whole). Keys: economic_operator {legal_name, eori,
                    registered_address, contact_email}, manufacturing
                    {facility_external_id, facility_country, assembly_country,
                    manufactured_on}, stage_origins [{stage, country_code,
                    facility_external_id}], care_instructions (a string or one
                    per language), durability [{metric, value, standard_ref}],
                    repairability {score, summary, spare_parts_url,
                    disassembly_steps[], disassembly_tools[]}, circularity
                    {recyclability_route, material_routes [{material, route}],
                    takeback_scheme_name, takeback_url,
                    epr_registration_number}, impact {carbon_kg_co2e, method,
                    boundary, water_m3, energy_kwh, methodology_note},
                    svhc_declaration_made (boolean), image_urls []
              additionalProperties: false
              minProperties: 1
            example:
              category: Tops
              draft_data:
                care_instructions: Machine wash cold. Do not tumble dry.
                manufacturing:
                  facility_country: VN
                  assembly_country: VN
                  manufactured_on: '2026-10-12'
      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:
                  passport:
                    $ref: '#/components/schemas/Passport'
                  completeness:
                    $ref: '#/components/schemas/PassportCompleteness'
                  request_id:
                    type: string
                    description: >-
                      Quote this when asking about the request; also the
                      X-Request-ID header
                required:
                  - passport
                  - completeness
                  - request_id
              example:
                passport:
                  id: 5f042be4-0cce-4a7f-ab93-bbcb8c35ef81
                  org_id: 4fc7a944-6245-4491-b6af-694bd6bd14cf
                  external_id: TOTE-MAT-00000023
                  granularity: model
                  item_id: 221641ba-5901-43de-bacd-998771b3a578
                  variant_id: null
                  lot_id: null
                  tracked_unit_id: null
                  item_external_id: MAT-00000023
                  lot_external_id: null
                  gtin: '00012345678905'
                  batch_lot: null
                  serial: null
                  title:
                    en: Canvas tote
                    fr: Cabas en toile
                  brand: Northwind Atelier
                  category: Handbags
                  status: draft
                  published_version_id: null
                  draft_data:
                    impact:
                      water_m3: 0.4
                      energy_kwh: 3.2
                    durability:
                      - value: Grade 5
                        metric: abrasion
                        standard_ref: ISO 12947-2
                    image_urls:
                      - images/canvas-tote-front.jpg
                    circularity:
                      takeback_url: https://example.com/takeback
                      material_routes:
                        - route: metal_recycling
                          material: Brass
                      recyclability_route:
                        en: Leather is repurposable; hardware is recyclable.
                      takeback_scheme_name: Take-back
                      epr_registration_number: IT-EPR-0001
                    manufacturing:
                      assembly_country: IT
                      facility_country: IT
                      facility_external_id: FAC-IT-0001
                    repairability:
                      score: 8
                      summary:
                        en: Straps and hardware are replaceable.
                      spare_parts_url: https://example.com/spares
                      disassembly_steps:
                        - Unclip the strap.
                      disassembly_tools:
                        - Screwdriver
                    stage_origins:
                      - stage: fibre
                        country_code: IT
                    care_instructions:
                      en: Wipe with a soft, dry cloth.
                  completeness_score: 5.88
                  compliance_state: incomplete
                  ruleset_version: 2026.08-textile-v1
                  public_enabled: false
                  registry_ref: null
                  created_at: '2026-11-21T10:55:55.212128+00:00'
                  updated_at: '2026-11-21T10:55:55.240945+00:00'
                completeness:
                  score: 45.88
                  sections:
                    - section: materials
                      label: Materials & composition
                      score: 0
                      met: 0
                      total: 6
                      weight: 20
                  gaps:
                    - id: materials.composition_present
                      label: Fibre composition declared
                      section: materials
                      sectionLabel: Materials & composition
                      severity: blocking
                      weight: 5
                      remediation: Add at least one material with its share of total mass.
                      regulationRefs:
                        - Reg. (EU) 1007/2011 Art.14
                  blockingGaps: 2
                  requiredGaps: 10
                  applicable: 34
                  met: 17
                  rulesetVersion: 2026.08-textile-v1
                request_id: 236c9e98-0048-44d9-8e42-34ea95befa49
        '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'
        '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:
    Passport:
      type: object
      properties:
        id:
          type: string
          format: uuid
        external_id:
          type: string
          description: Your id for the passport
        granularity:
          type: string
          enum:
            - model
            - batch
            - item
          description: >-
            What one passport covers: a product model, a production batch, or a
            single 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'
          description: GTIN, 8 to 14 digits
        batch_lot:
          type:
            - string
            - 'null'
        serial:
          type:
            - string
            - 'null'
        status:
          type: string
          enum:
            - draft
            - published
            - archived
        compliance_state:
          type: string
          enum:
            - incomplete
            - ready
            - registered
            - failing
          description: >-
            incomplete: requirements are open; ready: nothing blocking or
            required is open; registered: ready and carrying a registry
            reference; failing: published with a blocking requirement open
        completeness_score:
          type: number
          description: How complete the passport is, 0 to 100
        public_enabled:
          type: boolean
          description: Whether the published passport answers anonymous scans
        updated_at:
          type: string
          format: date-time
        org_id:
          type: string
          format: uuid
        item_id:
          type: string
          format: uuid
          description: The item the passport is for
        variant_id:
          type:
            - string
            - 'null'
          format: uuid
        lot_id:
          type:
            - string
            - 'null'
          format: uuid
        tracked_unit_id:
          type:
            - string
            - 'null'
          format: uuid
        item_external_id:
          type:
            - string
            - 'null'
        lot_external_id:
          type:
            - string
            - 'null'
        published_version_id:
          type:
            - string
            - 'null'
          format: uuid
          description: The version of record; null until the passport is published
        draft_data:
          type: object
          additionalProperties: true
          description: >-
            The editorial fields you sent in draft_data, merged key by key and
            stored as sent: economic_operator, manufacturing, stage_origins,
            care_instructions, durability, repairability, circularity, impact,
            svhc_declaration_made, image_urls
        ruleset_version:
          type:
            - string
            - 'null'
          description: The version of the requirement set the score was taken against
        registry_ref:
          type:
            - string
            - 'null'
          description: The passport's reference in the registry, once registered
        created_at:
          type: string
          format: date-time
      required:
        - id
        - external_id
        - granularity
        - title
        - brand
        - category
        - gtin
        - batch_lot
        - serial
        - status
        - compliance_state
        - completeness_score
        - public_enabled
        - updated_at
        - org_id
        - item_id
        - variant_id
        - lot_id
        - tracked_unit_id
        - item_external_id
        - lot_external_id
        - published_version_id
        - draft_data
        - ruleset_version
        - registry_ref
        - created_at
    PassportCompleteness:
      type: object
      properties:
        score:
          type: number
          description: >-
            How complete the passport is, 0 to 100, over the requirements that
            apply to it
        sections:
          type: array
          items:
            type: object
            properties:
              section:
                type: string
                enum:
                  - identity
                  - materials
                  - substances
                  - circularity
                  - impact
                  - supply_chain
                  - compliance
                  - lifecycle
              label:
                type: string
              score:
                type: number
                description: 0 to 100 within the section
              met:
                type: integer
              total:
                type: integer
                description: Requirements of the section that apply to this passport
              weight:
                type: number
            required:
              - section
              - label
              - score
              - met
              - total
              - weight
        gaps:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: The requirement, for example identity.gtin
              label:
                type: string
              section:
                type: string
                enum:
                  - identity
                  - materials
                  - substances
                  - circularity
                  - impact
                  - supply_chain
                  - compliance
                  - lifecycle
              sectionLabel:
                type: string
              severity:
                type: string
                enum:
                  - blocking
                  - required
                  - recommended
                description: >-
                  blocking: the passport cannot be published without it;
                  required: expected; recommended: good practice
              weight:
                type: number
                description: The requirement's share of the 0 to 100 score
              remediation:
                type: string
                description: What to do to meet it
              regulationRefs:
                type: array
                items:
                  type: string
            required:
              - id
              - label
              - section
              - sectionLabel
              - severity
              - weight
              - remediation
              - regulationRefs
          description: The requirements not met, most severe first
        blockingGaps:
          type: integer
        requiredGaps:
          type: integer
        applicable:
          type: integer
          description: Requirements that apply to this passport
        met:
          type: integer
        rulesetVersion:
          type: string
      required:
        - score
        - sections
        - gaps
        - blockingGaps
        - requiredGaps
        - applicable
        - met
        - rulesetVersion
    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'
    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.