{
  "components": {
    "schemas": {
      "ActorIn": {
        "additionalProperties": false,
        "description": "Who is recording this. An unattributed record is not evidence.",
        "properties": {
          "identifier": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Identifier",
            "type": "string"
          },
          "kind": {
            "default": "person",
            "enum": [
              "person",
              "service",
              "automation"
            ],
            "title": "Kind",
            "type": "string"
          },
          "role": {
            "default": "",
            "maxLength": 200,
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "identifier"
        ],
        "title": "ActorIn",
        "type": "object"
      },
      "AdvanceIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "description": "optional with an operator key (then it must match the operator); required with an account-level key on non-decision steps",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          }
        },
        "title": "AdvanceIn",
        "type": "object"
      },
      "AdvisoryCheckIn": {
        "additionalProperties": false,
        "properties": {
          "advisory": {
            "additionalProperties": true,
            "title": "Advisory",
            "type": "object"
          },
          "manifest": {
            "additionalProperties": true,
            "title": "Manifest",
            "type": "object"
          }
        },
        "required": [
          "advisory",
          "manifest"
        ],
        "title": "AdvisoryCheckIn",
        "type": "object"
      },
      "AdvisoryFindingIn": {
        "additionalProperties": false,
        "properties": {
          "advisory_id": {
            "maxLength": 200,
            "title": "Advisory Id",
            "type": "string"
          },
          "case_id": {
            "default": "",
            "maxLength": 200,
            "title": "Case Id",
            "type": "string"
          },
          "functions_in_question": {
            "items": {
              "maxLength": 200,
              "type": "string"
            },
            "maxItems": 200,
            "title": "Functions In Question",
            "type": "array"
          },
          "impact": {
            "default": "",
            "maxLength": 40,
            "title": "Impact",
            "type": "string"
          },
          "inspect_only": {
            "default": false,
            "title": "Inspect Only",
            "type": "boolean"
          },
          "machines": {
            "items": {
              "maxLength": 400,
              "type": "string"
            },
            "maxItems": 200,
            "title": "Machines",
            "type": "array"
          },
          "severity": {
            "default": "",
            "maxLength": 40,
            "title": "Severity",
            "type": "string"
          },
          "state": {
            "default": "",
            "maxLength": 40,
            "title": "State",
            "type": "string"
          },
          "supplier_id": {
            "default": "",
            "maxLength": 200,
            "title": "Supplier Id",
            "type": "string"
          },
          "trust_basis": {
            "default": "",
            "maxLength": 60,
            "title": "Trust Basis",
            "type": "string"
          },
          "trust_state": {
            "default": "",
            "maxLength": 80,
            "title": "Trust State",
            "type": "string"
          }
        },
        "required": [
          "advisory_id"
        ],
        "title": "AdvisoryFindingIn",
        "type": "object"
      },
      "AmendEnrolmentIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Actor",
            "type": "string"
          },
          "changes": {
            "additionalProperties": {
              "type": "string"
            },
            "maxProperties": 20,
            "minProperties": 1,
            "title": "Changes",
            "type": "object"
          },
          "machine": {
            "maxLength": 400,
            "minLength": 1,
            "title": "Machine",
            "type": "string"
          },
          "reason": {
            "maxLength": 1000,
            "minLength": 1,
            "title": "Reason",
            "type": "string"
          },
          "role": {
            "default": "",
            "maxLength": 200,
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "machine",
          "actor",
          "reason",
          "changes"
        ],
        "title": "AmendEnrolmentIn",
        "type": "object"
      },
      "AttestIn": {
        "additionalProperties": false,
        "description": "Three numbers the customer reads out of their own ledger.\n\nNothing else is accepted, and nothing else is wanted. The point of this\nendpoint is that the records stay where they are. In particular there is no\n``rotating`` flag: acknowledging that the signing key changed is the operator's\nact (``assurance attest sign --rotating``), and a tenant who could set it would\nswitch off the key-change guard on the log it shares with the operator.",
        "properties": {
          "head_link_hash": {
            "description": "link hash of the last record, hex SHA-256",
            "maxLength": 64,
            "minLength": 64,
            "title": "Head Link Hash",
            "type": "string"
          },
          "head_seq": {
            "description": "sequence number of the last record",
            "maximum": 10000000.0,
            "minimum": 0.0,
            "title": "Head Seq",
            "type": "integer"
          },
          "ledger_length": {
            "description": "how many records the chain holds",
            "maximum": 10000000.0,
            "minimum": 0.0,
            "title": "Ledger Length",
            "type": "integer"
          },
          "note": {
            "default": "",
            "description": "free text, signed along with the head. It is YOUR text: verification reports it as `note_is_tenant_supplied`, not as a statement by the key holder about your ledger.",
            "maxLength": 500,
            "title": "Note",
            "type": "string"
          }
        },
        "required": [
          "ledger_length",
          "head_seq",
          "head_link_hash"
        ],
        "title": "AttestIn",
        "type": "object"
      },
      "AvailabilityIn": {
        "additionalProperties": false,
        "description": "Product, versions, and the Member States where it was made available.",
        "properties": {
          "actor": {
            "$ref": "#/components/schemas/ActorIn"
          },
          "annex_category": {
            "default": "",
            "title": "Annex Category",
            "type": "string"
          },
          "components": {
            "items": {
              "type": "string"
            },
            "title": "Components",
            "type": "array"
          },
          "end_of_support": {
            "default": false,
            "title": "End Of Support",
            "type": "boolean"
          },
          "evidence_source": {
            "default": "",
            "title": "Evidence Source",
            "type": "string"
          },
          "member_states": {
            "items": {
              "type": "string"
            },
            "title": "Member States",
            "type": "array"
          },
          "other_markets": {
            "items": {
              "type": "string"
            },
            "title": "Other Markets",
            "type": "array"
          },
          "owner": {
            "default": "",
            "title": "Owner",
            "type": "string"
          },
          "placed_on_market_from": {
            "default": "",
            "title": "Placed On Market From",
            "type": "string"
          },
          "placed_on_market_to": {
            "default": "",
            "title": "Placed On Market To",
            "type": "string"
          },
          "product_name": {
            "maxLength": 255,
            "minLength": 1,
            "title": "Product Name",
            "type": "string"
          },
          "product_type": {
            "default": "",
            "title": "Product Type",
            "type": "string"
          },
          "units_in_field": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Units In Field"
          },
          "version_range": {
            "default": "",
            "title": "Version Range",
            "type": "string"
          }
        },
        "required": [
          "product_name",
          "actor"
        ],
        "title": "AvailabilityIn",
        "type": "object"
      },
      "AwarenessIn": {
        "additionalProperties": false,
        "description": "The moment every deadline runs from.\n\n``reasoning`` is required. Commission guidance C(2026) 5252 \u00a7213 makes this\na judgement about reasonable certainty after an initial assessment; a\ntimestamp with no judgement behind it cannot be defended.",
        "properties": {
          "actor": {
            "$ref": "#/components/schemas/ActorIn"
          },
          "assessment_completed_at": {
            "format": "date-time",
            "title": "Assessment Completed At",
            "type": "string"
          },
          "assessment_started_at": {
            "format": "date-time",
            "title": "Assessment Started At",
            "type": "string"
          },
          "determined_by": {
            "default": "",
            "title": "Determined By",
            "type": "string"
          },
          "established_at": {
            "format": "date-time",
            "title": "Established At",
            "type": "string"
          },
          "reasoning": {
            "maxLength": 4000,
            "minLength": 1,
            "title": "Reasoning",
            "type": "string"
          },
          "track": {
            "enum": [
              "actively_exploited_vulnerability",
              "severe_incident"
            ],
            "title": "Track",
            "type": "string"
          }
        },
        "required": [
          "established_at",
          "assessment_started_at",
          "assessment_completed_at",
          "track",
          "reasoning",
          "actor"
        ],
        "title": "AwarenessIn",
        "type": "object"
      },
      "BundleCheckIn": {
        "additionalProperties": false,
        "properties": {
          "bundle": {
            "additionalProperties": true,
            "title": "Bundle",
            "type": "object"
          },
          "envelope": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Envelope"
          },
          "limits": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "the body-region limits table the bundle was verified against, if its envelope names one; without it a power-and-force bundle cannot be replayed and is reported as integrity-only",
            "title": "Limits"
          },
          "limits_trust": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "YOUR reviewer trust list (format assurance.machine.limits-trust.v1), obtained independently of the bundle, to re-assess the limits review sealed in it. Without it a validated limits tier is not reproduced",
            "title": "Limits Trust"
          },
          "machine_serial": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "the unit you say the bundle is about; default: the one it records",
            "title": "Machine Serial"
          },
          "recorder_trust": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "YOUR recorder trust list (format assurance.machine.recorder-trust.v1), obtained independently of the bundle, to re-assess the recorder attestation sealed in it (\"check as me\"). It affects only this answer, never what the server seals. Without it a bundle that claims `recorder_attested` is not believed: its tier is capped at community and reported as unverifiable",
            "title": "Recorder Trust"
          },
          "trace": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trace"
          }
        },
        "required": [
          "bundle"
        ],
        "title": "BundleCheckIn",
        "type": "object"
      },
      "CaseOut": {
        "additionalProperties": true,
        "description": "The full case view, including deadlines and what is still owed.",
        "properties": {
          "case_id": {
            "title": "Case Id",
            "type": "string"
          },
          "state": {
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "case_id",
          "state"
        ],
        "title": "CaseOut",
        "type": "object"
      },
      "CheckoutIn": {
        "additionalProperties": false,
        "properties": {
          "company": {
            "default": "",
            "maxLength": 200,
            "title": "Company",
            "type": "string"
          },
          "email": {
            "maxLength": 320,
            "pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
            "title": "Email",
            "type": "string"
          },
          "org_ref": {
            "default": "",
            "pattern": "^$|^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "title": "Org Ref",
            "type": "string"
          },
          "period": {
            "default": "monthly",
            "pattern": "^(monthly|annual)$",
            "title": "Period",
            "type": "string"
          },
          "tier": {
            "pattern": "^(register|cell|payg|evidence_pack)$",
            "title": "Tier",
            "type": "string"
          }
        },
        "required": [
          "tier",
          "email"
        ],
        "title": "CheckoutIn",
        "type": "object"
      },
      "CheckoutOut": {
        "properties": {
          "checkout_url": {
            "title": "Checkout Url",
            "type": "string"
          },
          "claim_token": {
            "default": "",
            "title": "Claim Token",
            "type": "string"
          },
          "price": {
            "title": "Price",
            "type": "string"
          },
          "session_id": {
            "default": "",
            "title": "Session Id",
            "type": "string"
          },
          "tier": {
            "title": "Tier",
            "type": "string"
          }
        },
        "required": [
          "checkout_url",
          "tier",
          "price"
        ],
        "title": "CheckoutOut",
        "type": "object"
      },
      "CoverageIn": {
        "additionalProperties": false,
        "properties": {
          "manifest": {
            "additionalProperties": true,
            "title": "Manifest",
            "type": "object"
          }
        },
        "required": [
          "manifest"
        ],
        "title": "CoverageIn",
        "type": "object"
      },
      "CsafIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "allow_draft": {
            "default": false,
            "title": "Allow Draft",
            "type": "boolean"
          },
          "document": {
            "maxLength": 8388608,
            "minLength": 1,
            "title": "Document",
            "type": "string"
          },
          "dry_run": {
            "default": false,
            "title": "Dry Run",
            "type": "boolean"
          },
          "role": {
            "default": "",
            "maxLength": 200,
            "title": "Role",
            "type": "string"
          },
          "source_name": {
            "anyOf": [
              {
                "maxLength": 300,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Name"
          },
          "source_sha256": {
            "anyOf": [
              {
                "pattern": "^[0-9a-fA-F]{64}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Sha256"
          },
          "source_url": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Url"
          },
          "supplied_at": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supplied At"
          }
        },
        "required": [
          "document"
        ],
        "title": "CsafIn",
        "type": "object"
      },
      "DecisionIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "description": "optional with an operator key (then it must match the operator); required with an account-level key on non-decision steps",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "disposition": {
            "pattern": "^(closed|rejected|deferred)$",
            "title": "Disposition",
            "type": "string"
          },
          "reason": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "disposition",
          "reason"
        ],
        "title": "DecisionIn",
        "type": "object"
      },
      "DeclarationCheckIn": {
        "additionalProperties": false,
        "properties": {
          "declaration": {
            "additionalProperties": true,
            "title": "Declaration",
            "type": "object"
          },
          "manifest": {
            "additionalProperties": true,
            "title": "Manifest",
            "type": "object"
          },
          "with_coverage": {
            "default": false,
            "title": "With Coverage",
            "type": "boolean"
          }
        },
        "required": [
          "declaration",
          "manifest"
        ],
        "title": "DeclarationCheckIn",
        "type": "object"
      },
      "DeclareIn": {
        "additionalProperties": false,
        "properties": {
          "doc_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Doc Id",
            "type": "string"
          },
          "issued_by": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Issued By",
            "type": "string"
          },
          "legislation": {
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "title": "Legislation",
            "type": "array"
          },
          "manifest": {
            "additionalProperties": true,
            "title": "Manifest",
            "type": "object"
          },
          "notified_body": {
            "default": "",
            "title": "Notified Body",
            "type": "string"
          },
          "notified_body_number": {
            "default": "",
            "title": "Notified Body Number",
            "type": "string"
          },
          "place": {
            "default": "",
            "title": "Place",
            "type": "string"
          },
          "signatory": {
            "default": "",
            "title": "Signatory",
            "type": "string"
          },
          "standards": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Standards",
            "type": "array"
          }
        },
        "required": [
          "manifest",
          "doc_id",
          "issued_by",
          "legislation"
        ],
        "title": "DeclareIn",
        "type": "object"
      },
      "DiffIn": {
        "additionalProperties": false,
        "properties": {
          "baseline": {
            "additionalProperties": true,
            "title": "Baseline",
            "type": "object"
          },
          "observed": {
            "additionalProperties": true,
            "title": "Observed",
            "type": "object"
          }
        },
        "required": [
          "baseline",
          "observed"
        ],
        "title": "DiffIn",
        "type": "object"
      },
      "DocumentIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "document": {
            "maxLength": 8388608,
            "minLength": 1,
            "title": "Document",
            "type": "string"
          },
          "dry_run": {
            "default": false,
            "title": "Dry Run",
            "type": "boolean"
          },
          "role": {
            "default": "",
            "maxLength": 200,
            "title": "Role",
            "type": "string"
          },
          "source_name": {
            "anyOf": [
              {
                "maxLength": 300,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Name"
          },
          "source_sha256": {
            "anyOf": [
              {
                "pattern": "^[0-9a-fA-F]{64}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Sha256"
          },
          "source_url": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Url"
          },
          "supplied_at": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supplied At"
          }
        },
        "required": [
          "document"
        ],
        "title": "DocumentIn",
        "type": "object"
      },
      "DriftIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "baseline": {
            "additionalProperties": true,
            "title": "Baseline",
            "type": "object"
          },
          "observed": {
            "additionalProperties": true,
            "title": "Observed",
            "type": "object"
          }
        },
        "required": [
          "baseline",
          "observed"
        ],
        "title": "DriftIn",
        "type": "object"
      },
      "EnrolBatchIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Actor",
            "type": "string"
          },
          "export_date": {
            "anyOf": [
              {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Export Date"
          },
          "file_sha256": {
            "anyOf": [
              {
                "pattern": "^[0-9a-fA-F]{64}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Sha256"
          },
          "functions": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "maxItems": 100,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Functions"
          },
          "role": {
            "default": "",
            "maxLength": 200,
            "title": "Role",
            "type": "string"
          },
          "rows": {
            "items": {},
            "minItems": 1,
            "title": "Rows",
            "type": "array"
          },
          "source_system": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Source System",
            "type": "string"
          }
        },
        "required": [
          "rows",
          "source_system",
          "actor"
        ],
        "title": "EnrolBatchIn",
        "type": "object"
      },
      "EnrolIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Actor",
            "type": "string"
          },
          "manifest": {
            "additionalProperties": true,
            "title": "Manifest",
            "type": "object"
          },
          "owner": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner"
          },
          "role": {
            "default": "",
            "maxLength": 200,
            "title": "Role",
            "type": "string"
          },
          "site": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Site"
          }
        },
        "required": [
          "manifest",
          "actor"
        ],
        "title": "EnrolIn",
        "type": "object"
      },
      "EvaluateIn": {
        "additionalProperties": false,
        "properties": {
          "candidate_public_key_pem": {
            "default": "",
            "maxLength": 4096,
            "title": "Candidate Public Key Pem",
            "type": "string"
          },
          "expect_supplier": {
            "default": "",
            "maxLength": 200,
            "title": "Expect Supplier",
            "type": "string"
          },
          "feed": {
            "default": "",
            "maxLength": 4194304,
            "title": "Feed",
            "type": "string"
          },
          "hosted_feed_id": {
            "default": "",
            "maxLength": 128,
            "title": "Hosted Feed Id",
            "type": "string"
          }
        },
        "title": "EvaluateIn",
        "type": "object"
      },
      "FeedBaselineIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "candidate_public_key_pem": {
            "default": "",
            "maxLength": 4096,
            "title": "Candidate Public Key Pem",
            "type": "string"
          },
          "expect_supplier": {
            "default": "",
            "maxLength": 200,
            "title": "Expect Supplier",
            "type": "string"
          },
          "feed": {
            "default": "",
            "maxLength": 4194304,
            "title": "Feed",
            "type": "string"
          },
          "hosted_feed_id": {
            "default": "",
            "maxLength": 128,
            "title": "Hosted Feed Id",
            "type": "string"
          },
          "reason": {
            "maxLength": 1000,
            "minLength": 1,
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "title": "FeedBaselineIn",
        "type": "object"
      },
      "FeedIn": {
        "additionalProperties": false,
        "properties": {
          "status": {
            "default": "",
            "maxLength": 40,
            "title": "Status",
            "type": "string"
          },
          "supplier_id": {
            "default": "",
            "maxLength": 200,
            "title": "Supplier Id",
            "type": "string"
          },
          "trust_basis": {
            "default": "",
            "maxLength": 60,
            "title": "Trust Basis",
            "type": "string"
          }
        },
        "title": "FeedIn",
        "type": "object"
      },
      "FilingIn": {
        "additionalProperties": false,
        "description": "A submission to the reporting platform.\n\n``payload`` is keyed by platform field *name*. ``GET /v1/spec/fields``\nreturns the names, the stage at which each is required, and the length\nlimits.",
        "properties": {
          "actor": {
            "$ref": "#/components/schemas/ActorIn"
          },
          "payload": {
            "additionalProperties": true,
            "title": "Payload",
            "type": "object"
          },
          "platform_reference": {
            "default": "",
            "title": "Platform Reference",
            "type": "string"
          },
          "stage": {
            "enum": [
              "early_warning",
              "notification",
              "final",
              "intermediate"
            ],
            "title": "Stage",
            "type": "string"
          },
          "submitted_at": {
            "format": "date-time",
            "title": "Submitted At",
            "type": "string"
          }
        },
        "required": [
          "stage",
          "submitted_at",
          "payload",
          "actor"
        ],
        "title": "FilingIn",
        "type": "object"
      },
      "FilingOut": {
        "properties": {
          "case_id": {
            "title": "Case Id",
            "type": "string"
          },
          "content_hash": {
            "title": "Content Hash",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "ledger_seq": {
            "title": "Ledger Seq",
            "type": "integer"
          },
          "outstanding": {
            "items": {
              "type": "string"
            },
            "title": "Outstanding",
            "type": "array"
          },
          "validation": {
            "$ref": "#/components/schemas/ValidationOut"
          }
        },
        "required": [
          "case_id",
          "content_hash",
          "kind",
          "ledger_seq",
          "outstanding",
          "validation"
        ],
        "title": "FilingOut",
        "type": "object"
      },
      "FleetMachineCheckIn": {
        "additionalProperties": false,
        "properties": {
          "advisory": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Advisory"
          },
          "machine_key": {
            "maxLength": 300,
            "minLength": 1,
            "title": "Machine Key",
            "type": "string"
          }
        },
        "required": [
          "machine_key"
        ],
        "title": "FleetMachineCheckIn",
        "type": "object"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "title": "Detail",
            "type": "array"
          }
        },
        "title": "HTTPValidationError",
        "type": "object"
      },
      "IntelAssessIn": {
        "additionalProperties": false,
        "description": "A named person asks to open a case from one public-intel candidate.",
        "properties": {
          "accept_unsigned": {
            "default": false,
            "title": "Accept Unsigned",
            "type": "boolean"
          },
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "advisory_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Advisory Id",
            "type": "string"
          },
          "reason": {
            "default": "",
            "maxLength": 500,
            "title": "Reason",
            "type": "string"
          },
          "role": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Role",
            "type": "string"
          },
          "sources": {
            "items": {
              "enum": [
                "nvd",
                "csaf"
              ],
              "type": "string"
            },
            "maxItems": 2,
            "minItems": 1,
            "title": "Sources",
            "type": "array"
          }
        },
        "required": [
          "advisory_id",
          "role"
        ],
        "title": "IntelAssessIn",
        "type": "object"
      },
      "InterventionAssessIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "intervention_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Intervention Id",
            "type": "string"
          },
          "manifest": {
            "additionalProperties": true,
            "title": "Manifest",
            "type": "object"
          }
        },
        "required": [
          "manifest",
          "intervention_id"
        ],
        "title": "InterventionAssessIn",
        "type": "object"
      },
      "InterventionIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "intervention": {
            "additionalProperties": true,
            "title": "Intervention",
            "type": "object"
          },
          "role": {
            "default": "",
            "maxLength": 200,
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "intervention"
        ],
        "title": "InterventionIn",
        "type": "object"
      },
      "KeyIssueIn": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "default": "",
            "maxLength": 100,
            "title": "Label",
            "type": "string"
          }
        },
        "title": "KeyIssueIn",
        "type": "object"
      },
      "KeyRevokeIn": {
        "additionalProperties": false,
        "properties": {
          "key_prefix": {
            "default": "",
            "pattern": "^(asr_[A-Za-z0-9_-]{6})?$",
            "title": "Key Prefix",
            "type": "string"
          }
        },
        "title": "KeyRevokeIn",
        "type": "object"
      },
      "MachineCheckIn": {
        "additionalProperties": false,
        "properties": {
          "advisory": {
            "additionalProperties": true,
            "title": "Advisory",
            "type": "object"
          },
          "manifest": {
            "additionalProperties": true,
            "title": "Manifest",
            "type": "object"
          }
        },
        "required": [
          "manifest",
          "advisory"
        ],
        "title": "MachineCheckIn",
        "type": "object"
      },
      "MachineReportIn": {
        "additionalProperties": false,
        "properties": {
          "collection_complete": {
            "title": "Collection Complete",
            "type": "boolean"
          },
          "detail": {
            "default": "",
            "maxLength": 2000,
            "title": "Detail",
            "type": "string"
          },
          "machine_key": {
            "default": "",
            "maxLength": 400,
            "title": "Machine Key",
            "type": "string"
          },
          "manifest": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manifest"
          },
          "manifest_relayed": {
            "default": false,
            "title": "Manifest Relayed",
            "type": "boolean"
          },
          "missing_items": {
            "items": {
              "maxLength": 200,
              "type": "string"
            },
            "maxItems": 500,
            "title": "Missing Items",
            "type": "array"
          },
          "observed_at": {
            "maxLength": 40,
            "minLength": 10,
            "title": "Observed At",
            "type": "string"
          },
          "serial": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Serial",
            "type": "string"
          },
          "status": {
            "enum": [
              "unchanged",
              "changed",
              "uncollectable",
              "incomplete"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "serial",
          "status",
          "observed_at",
          "collection_complete"
        ],
        "title": "MachineReportIn",
        "type": "object"
      },
      "ManifestIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "manifest": {
            "additionalProperties": true,
            "title": "Manifest",
            "type": "object"
          },
          "role": {
            "default": "",
            "maxLength": 200,
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "manifest"
        ],
        "title": "ManifestIn",
        "type": "object"
      },
      "MeasureIn": {
        "additionalProperties": false,
        "description": "The moment a corrective **or mitigating** measure became available.\n\nThis starts the 14-day final-report clock for a vulnerability. A documented\nworkaround starts it exactly as a patch does.",
        "properties": {
          "actor": {
            "$ref": "#/components/schemas/ActorIn"
          },
          "available_at": {
            "format": "date-time",
            "title": "Available At",
            "type": "string"
          },
          "description": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Description",
            "type": "string"
          }
        },
        "required": [
          "available_at",
          "description",
          "actor"
        ],
        "title": "MeasureIn",
        "type": "object"
      },
      "OperatorIn": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "pattern": "\\S",
            "title": "Name",
            "type": "string"
          },
          "role": {
            "default": "contributor",
            "pattern": "^(contributor|decider)$",
            "title": "Role",
            "type": "string"
          },
          "signing_public_key_pem": {
            "default": "",
            "maxLength": 4096,
            "title": "Signing Public Key Pem",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "OperatorIn",
        "type": "object"
      },
      "OperatorSigningKeyIn": {
        "additionalProperties": false,
        "properties": {
          "public_key_pem": {
            "maxLength": 4096,
            "minLength": 1,
            "title": "Public Key Pem",
            "type": "string"
          },
          "rotate": {
            "default": false,
            "title": "Rotate",
            "type": "boolean"
          }
        },
        "required": [
          "public_key_pem"
        ],
        "title": "OperatorSigningKeyIn",
        "type": "object"
      },
      "OverrideIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "advisory_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Advisory Id",
            "type": "string"
          },
          "candidate_public_key_pem": {
            "default": "",
            "maxLength": 4096,
            "title": "Candidate Public Key Pem",
            "type": "string"
          },
          "expect_supplier": {
            "default": "",
            "maxLength": 200,
            "title": "Expect Supplier",
            "type": "string"
          },
          "feed": {
            "default": "",
            "maxLength": 4194304,
            "title": "Feed",
            "type": "string"
          },
          "hosted_feed_id": {
            "default": "",
            "maxLength": 128,
            "title": "Hosted Feed Id",
            "type": "string"
          },
          "reason": {
            "maxLength": 1000,
            "minLength": 1,
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "advisory_id",
          "reason"
        ],
        "title": "OverrideIn",
        "type": "object"
      },
      "PackIn": {
        "additionalProperties": false,
        "properties": {
          "manifest": {
            "additionalProperties": true,
            "title": "Manifest",
            "type": "object"
          }
        },
        "required": [
          "manifest"
        ],
        "title": "PackIn",
        "type": "object"
      },
      "PassportCheckIn": {
        "additionalProperties": false,
        "properties": {
          "passport": {
            "additionalProperties": true,
            "title": "Passport",
            "type": "object"
          }
        },
        "required": [
          "passport"
        ],
        "title": "PassportCheckIn",
        "type": "object"
      },
      "PassportIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Actor",
            "type": "string"
          },
          "manifest": {
            "additionalProperties": true,
            "title": "Manifest",
            "type": "object"
          },
          "role": {
            "default": "verification engineer",
            "maxLength": 200,
            "title": "Role",
            "type": "string"
          },
          "seal": {
            "default": true,
            "title": "Seal",
            "type": "boolean"
          }
        },
        "required": [
          "manifest",
          "actor"
        ],
        "title": "PassportIn",
        "type": "object"
      },
      "PinIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "expected_fingerprint": {
            "default": "",
            "maxLength": 64,
            "title": "Expected Fingerprint",
            "type": "string"
          },
          "obtained_via": {
            "maxLength": 500,
            "minLength": 1,
            "title": "Obtained Via",
            "type": "string"
          },
          "public_key_pem": {
            "maxLength": 4096,
            "minLength": 1,
            "title": "Public Key Pem",
            "type": "string"
          },
          "reason": {
            "default": "",
            "maxLength": 1000,
            "title": "Reason",
            "type": "string"
          },
          "supplier_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Supplier Id",
            "type": "string"
          }
        },
        "required": [
          "supplier_id",
          "public_key_pem",
          "obtained_via"
        ],
        "title": "PinIn",
        "type": "object"
      },
      "RecordedOut": {
        "description": "What was written, and what is now outstanding.",
        "properties": {
          "case_id": {
            "title": "Case Id",
            "type": "string"
          },
          "content_hash": {
            "title": "Content Hash",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "ledger_seq": {
            "title": "Ledger Seq",
            "type": "integer"
          },
          "outstanding": {
            "items": {
              "type": "string"
            },
            "title": "Outstanding",
            "type": "array"
          }
        },
        "required": [
          "case_id",
          "content_hash",
          "kind",
          "ledger_seq",
          "outstanding"
        ],
        "title": "RecordedOut",
        "type": "object"
      },
      "ResolveDecisionIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "description": "optional with an operator key (then it must match the operator); required with an account-level key on non-decision steps",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "decision": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Decision",
            "type": "string"
          },
          "resolution": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Resolution",
            "type": "string"
          }
        },
        "required": [
          "decision",
          "resolution"
        ],
        "title": "ResolveDecisionIn",
        "type": "object"
      },
      "ResumeIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "description": "optional with an operator key (then it must match the operator); required with an account-level key on non-decision steps",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "reason": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "title": "ResumeIn",
        "type": "object"
      },
      "ReverificationIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "description": "optional with an operator key (then it must match the operator); required with an account-level key on non-decision steps",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "manifest": {
            "additionalProperties": true,
            "title": "Manifest",
            "type": "object"
          },
          "verification_content_hash": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Verification Content Hash",
            "type": "string"
          }
        },
        "required": [
          "manifest",
          "verification_content_hash"
        ],
        "title": "ReverificationIn",
        "type": "object"
      },
      "ReviewIn": {
        "additionalProperties": true,
        "description": "A named person's decision on a draft. The fields are checked by the domain function,\nwhich says what is wrong with each in ``violations``; ``extra`` is left open so an unknown\nfield is reported there, in the same words as on the command line.",
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "components": {
            "items": {},
            "maxItems": 5000,
            "title": "Components",
            "type": "array"
          },
          "decision": {
            "maxLength": 20,
            "minLength": 1,
            "title": "Decision",
            "type": "string"
          },
          "functions": {
            "items": {},
            "maxItems": 100,
            "title": "Functions",
            "type": "array"
          },
          "identity": {
            "additionalProperties": true,
            "title": "Identity",
            "type": "object"
          },
          "reason": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Reason",
            "type": "string"
          },
          "role": {
            "default": "",
            "maxLength": 200,
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "decision",
          "reason"
        ],
        "title": "ReviewIn",
        "type": "object"
      },
      "RevokeIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "fingerprint": {
            "maxLength": 64,
            "minLength": 1,
            "title": "Fingerprint",
            "type": "string"
          },
          "reason": {
            "maxLength": 1000,
            "minLength": 1,
            "title": "Reason",
            "type": "string"
          },
          "supplier_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Supplier Id",
            "type": "string"
          }
        },
        "required": [
          "supplier_id",
          "fingerprint",
          "reason"
        ],
        "title": "RevokeIn",
        "type": "object"
      },
      "RotateIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "effective_at": {
            "maxLength": 40,
            "minLength": 1,
            "title": "Effective At",
            "type": "string"
          },
          "expected_fingerprint": {
            "default": "",
            "maxLength": 64,
            "title": "Expected Fingerprint",
            "type": "string"
          },
          "new_public_key_pem": {
            "maxLength": 4096,
            "minLength": 1,
            "title": "New Public Key Pem",
            "type": "string"
          },
          "obtained_via": {
            "maxLength": 500,
            "minLength": 1,
            "title": "Obtained Via",
            "type": "string"
          },
          "reason": {
            "default": "",
            "maxLength": 1000,
            "title": "Reason",
            "type": "string"
          },
          "retire_fingerprint": {
            "maxLength": 64,
            "minLength": 1,
            "title": "Retire Fingerprint",
            "type": "string"
          },
          "supplier_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Supplier Id",
            "type": "string"
          }
        },
        "required": [
          "supplier_id",
          "new_public_key_pem",
          "retire_fingerprint",
          "effective_at",
          "obtained_via"
        ],
        "title": "RotateIn",
        "type": "object"
      },
      "RunSummaryIn": {
        "additionalProperties": false,
        "properties": {
          "advisory_findings": {
            "items": {
              "$ref": "#/components/schemas/AdvisoryFindingIn"
            },
            "maxItems": 100,
            "title": "Advisory Findings",
            "type": "array"
          },
          "checks_skipped": {
            "items": {
              "maxLength": 500,
              "type": "string"
            },
            "maxItems": 50,
            "title": "Checks Skipped",
            "type": "array"
          },
          "feeds": {
            "items": {
              "$ref": "#/components/schemas/FeedIn"
            },
            "maxItems": 50,
            "title": "Feeds",
            "type": "array"
          },
          "local_case_ids": {
            "items": {
              "maxLength": 200,
              "type": "string"
            },
            "maxItems": 200,
            "title": "Local Case Ids",
            "type": "array"
          },
          "local_finished_at": {
            "default": "",
            "maxLength": 40,
            "title": "Local Finished At",
            "type": "string"
          },
          "stale_observations": {
            "items": {
              "maxLength": 400,
              "type": "string"
            },
            "maxItems": 100,
            "title": "Stale Observations",
            "type": "array"
          }
        },
        "title": "RunSummaryIn",
        "type": "object"
      },
      "SelfPinIn": {
        "additionalProperties": true,
        "description": "Extra fields are collected, then refused by name: a supplier id here is a 422,\nand the value of an unexpected field is never echoed (it could be a private key).",
        "properties": {
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "effective_at": {
            "default": "",
            "title": "Effective At",
            "type": "string"
          },
          "effective_from": {
            "default": "",
            "title": "Effective From",
            "type": "string"
          },
          "public_key_pem": {
            "default": "",
            "title": "Public Key Pem",
            "type": "string"
          },
          "reason": {
            "default": "",
            "maxLength": 1000,
            "title": "Reason",
            "type": "string"
          }
        },
        "title": "SelfPinIn",
        "type": "object"
      },
      "SeparationIn": {
        "additionalProperties": false,
        "description": "The six inputs an integrator already has written down somewhere.",
        "properties": {
          "human_position_uncertainty_mm": {
            "default": 0.0,
            "description": "Zd",
            "minimum": 0.0,
            "title": "Human Position Uncertainty Mm",
            "type": "number"
          },
          "human_speed_mm_s": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "closing speed if the sensing system reports it; omit for the ISO 13855 walking figure",
            "title": "Human Speed Mm S"
          },
          "intrusion_distance_mm": {
            "description": "C, per ISO 13855, for the body part that can reach in",
            "minimum": 0.0,
            "title": "Intrusion Distance Mm",
            "type": "number"
          },
          "measured_at_speed_mm_s": {
            "description": "the speed the stop distance was actually measured at",
            "exclusiveMinimum": 0.0,
            "title": "Measured At Speed Mm S",
            "type": "number"
          },
          "reaction_time_s": {
            "description": "Tr: detection to stop command",
            "minimum": 0.0,
            "title": "Reaction Time S",
            "type": "number"
          },
          "robot_position_uncertainty_mm": {
            "default": 0.0,
            "description": "Zr",
            "minimum": 0.0,
            "title": "Robot Position Uncertainty Mm",
            "type": "number"
          },
          "robot_speed_mm_s": {
            "description": "TCP speed under SSM, mm/s",
            "minimum": 0.0,
            "title": "Robot Speed Mm S",
            "type": "number"
          },
          "stop_distance_mm": {
            "description": "travel during Ts",
            "minimum": 0.0,
            "title": "Stop Distance Mm",
            "type": "number"
          },
          "stop_time_s": {
            "description": "Ts: stop command to standstill",
            "minimum": 0.0,
            "title": "Stop Time S",
            "type": "number"
          }
        },
        "required": [
          "robot_speed_mm_s",
          "reaction_time_s",
          "stop_time_s",
          "stop_distance_mm",
          "measured_at_speed_mm_s",
          "intrusion_distance_mm"
        ],
        "title": "SeparationIn",
        "type": "object"
      },
      "SignalIn": {
        "additionalProperties": false,
        "description": "A report or observation that might turn out to be reportable.",
        "properties": {
          "actor": {
            "$ref": "#/components/schemas/ActorIn"
          },
          "channel": {
            "default": "other",
            "title": "Channel",
            "type": "string"
          },
          "description": {
            "maxLength": 4000,
            "minLength": 1,
            "title": "Description",
            "type": "string"
          },
          "product_name": {
            "default": "",
            "title": "Product Name",
            "type": "string"
          },
          "received_at": {
            "format": "date-time",
            "title": "Received At",
            "type": "string"
          },
          "received_by": {
            "default": "",
            "title": "Received By",
            "type": "string"
          },
          "reference": {
            "default": "",
            "title": "Reference",
            "type": "string"
          },
          "version": {
            "default": "",
            "title": "Version",
            "type": "string"
          }
        },
        "required": [
          "received_at",
          "description",
          "actor"
        ],
        "title": "SignalIn",
        "type": "object"
      },
      "SignedAdvisoryIn": {
        "additionalProperties": false,
        "description": "A supplier feed to assess against the fleet, under the account's pinned keys.",
        "properties": {
          "advisory_ids": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Advisory Ids",
            "type": "array"
          },
          "candidate_public_key_pem": {
            "default": "",
            "maxLength": 4096,
            "title": "Candidate Public Key Pem",
            "type": "string"
          },
          "expect_supplier": {
            "default": "",
            "maxLength": 200,
            "title": "Expect Supplier",
            "type": "string"
          },
          "feed": {
            "default": "",
            "maxLength": 4194304,
            "title": "Feed",
            "type": "string"
          },
          "hosted_feed_id": {
            "default": "",
            "maxLength": 128,
            "title": "Hosted Feed Id",
            "type": "string"
          }
        },
        "title": "SignedAdvisoryIn",
        "type": "object"
      },
      "SignedAssessIn": {
        "additionalProperties": false,
        "description": "A signed supplier feed, and the one advisory in it to open a case from.",
        "properties": {
          "accept_unsigned": {
            "default": false,
            "title": "Accept Unsigned",
            "type": "boolean"
          },
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "advisory_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Advisory Id",
            "type": "string"
          },
          "candidate_public_key_pem": {
            "default": "",
            "maxLength": 4096,
            "title": "Candidate Public Key Pem",
            "type": "string"
          },
          "expect_supplier": {
            "default": "",
            "maxLength": 200,
            "title": "Expect Supplier",
            "type": "string"
          },
          "feed": {
            "default": "",
            "maxLength": 4194304,
            "title": "Feed",
            "type": "string"
          },
          "hosted_feed_id": {
            "default": "",
            "maxLength": 128,
            "title": "Hosted Feed Id",
            "type": "string"
          },
          "reason": {
            "default": "",
            "maxLength": 500,
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "advisory_id"
        ],
        "title": "SignedAssessIn",
        "type": "object"
      },
      "SupersedeAwarenessIn": {
        "additionalProperties": false,
        "description": "A correction of a wrongly recorded awareness: a NEW record that supersedes the one in force.\n\nThe earlier record is never edited or deleted. ``supersedes`` is the content hash of the\nawareness record in force (``awareness_record`` on the case); ``reason`` says why the earlier\none was wrong. Art. 14 and guidance C(2026) 5252 do not provide for such a correction; the\nregister keeps the original, applies the newest record and lists every deadline it moves.",
        "properties": {
          "actor": {
            "$ref": "#/components/schemas/ActorIn"
          },
          "assessment_completed_at": {
            "format": "date-time",
            "title": "Assessment Completed At",
            "type": "string"
          },
          "assessment_started_at": {
            "format": "date-time",
            "title": "Assessment Started At",
            "type": "string"
          },
          "determined_by": {
            "default": "",
            "title": "Determined By",
            "type": "string"
          },
          "established_at": {
            "format": "date-time",
            "title": "Established At",
            "type": "string"
          },
          "reason": {
            "maxLength": 4000,
            "minLength": 1,
            "title": "Reason",
            "type": "string"
          },
          "reasoning": {
            "maxLength": 4000,
            "minLength": 1,
            "title": "Reasoning",
            "type": "string"
          },
          "supersedes": {
            "maxLength": 64,
            "minLength": 12,
            "title": "Supersedes",
            "type": "string"
          }
        },
        "required": [
          "supersedes",
          "reason",
          "established_at",
          "assessment_started_at",
          "assessment_completed_at",
          "reasoning",
          "actor"
        ],
        "title": "SupersedeAwarenessIn",
        "type": "object"
      },
      "TriageIn": {
        "additionalProperties": false,
        "description": "Answers to the reportability decision path.\n\nUnanswered questions default to *undetermined*; an undetermined answer is\nnever treated as a negative.",
        "properties": {
          "actor": {
            "$ref": "#/components/schemas/ActorIn"
          },
          "answers": {
            "additionalProperties": {
              "enum": [
                "yes",
                "no",
                "undetermined"
              ],
              "type": "string"
            },
            "title": "Answers",
            "type": "object"
          },
          "reasoning": {
            "default": "",
            "title": "Reasoning",
            "type": "string"
          },
          "reopen_trigger": {
            "default": "",
            "title": "Reopen Trigger",
            "type": "string"
          }
        },
        "required": [
          "answers",
          "actor"
        ],
        "title": "TriageIn",
        "type": "object"
      },
      "UsageLimitsIn": {
        "additionalProperties": false,
        "properties": {
          "budget_alert_pct": {
            "anyOf": [
              {
                "maximum": 100.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Budget Alert Pct"
          },
          "spend_limit_units": {
            "anyOf": [
              {
                "maximum": 1000000.0,
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spend Limit Units"
          }
        },
        "title": "UsageLimitsIn",
        "type": "object"
      },
      "UserNotificationIn": {
        "additionalProperties": false,
        "description": "The Article 14(8) notification to users.\n\nThe trigger is becoming aware, not the availability of a fix. Guidance\n\u00a7\u00a7219-221: this is not an obligation to publish.",
        "properties": {
          "actor": {
            "$ref": "#/components/schemas/ActorIn"
          },
          "at": {
            "format": "date-time",
            "title": "At",
            "type": "string"
          },
          "content": {
            "maxLength": 8000,
            "minLength": 1,
            "title": "Content",
            "type": "string"
          },
          "public_disclosure": {
            "default": false,
            "title": "Public Disclosure",
            "type": "boolean"
          },
          "scope": {
            "maxLength": 500,
            "minLength": 1,
            "title": "Scope",
            "type": "string"
          }
        },
        "required": [
          "at",
          "scope",
          "content",
          "actor"
        ],
        "title": "UserNotificationIn",
        "type": "object"
      },
      "ValidateIn": {
        "additionalProperties": false,
        "description": "Check a draft submission without recording anything.",
        "properties": {
          "payload": {
            "additionalProperties": true,
            "title": "Payload",
            "type": "object"
          },
          "stage": {
            "enum": [
              "early_warning",
              "notification",
              "final",
              "intermediate"
            ],
            "title": "Stage",
            "type": "string"
          },
          "track": {
            "enum": [
              "actively_exploited_vulnerability",
              "severe_incident"
            ],
            "title": "Track",
            "type": "string"
          }
        },
        "required": [
          "track",
          "stage",
          "payload"
        ],
        "title": "ValidateIn",
        "type": "object"
      },
      "ValidationError": {
        "properties": {
          "ctx": {
            "title": "Context",
            "type": "object"
          },
          "input": {
            "title": "Input"
          },
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location",
            "type": "array"
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError",
        "type": "object"
      },
      "ValidationOut": {
        "properties": {
          "checks_skipped": {
            "items": {
              "type": "string"
            },
            "title": "Checks Skipped",
            "type": "array"
          },
          "glossary_date": {
            "title": "Glossary Date",
            "type": "string"
          },
          "glossary_version": {
            "title": "Glossary Version",
            "type": "string"
          },
          "issues": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Issues",
            "type": "array"
          },
          "stage": {
            "title": "Stage",
            "type": "string"
          },
          "submittable": {
            "title": "Submittable",
            "type": "boolean"
          },
          "track": {
            "title": "Track",
            "type": "string"
          }
        },
        "required": [
          "submittable",
          "track",
          "stage",
          "glossary_version",
          "glossary_date",
          "issues",
          "checks_skipped"
        ],
        "title": "ValidationOut",
        "type": "object"
      },
      "WaiveIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "description": "optional with an operator key (then it must match the operator); required with an account-level key on non-decision steps",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "entry": {
            "maxLength": 400,
            "minLength": 1,
            "title": "Entry",
            "type": "string"
          },
          "reason": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "entry",
          "reason"
        ],
        "title": "WaiveIn",
        "type": "object"
      },
      "WatchReportIn": {
        "additionalProperties": false,
        "properties": {
          "batch_count": {
            "anyOf": [
              {
                "maximum": 10000.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Batch Count"
          },
          "batch_index": {
            "anyOf": [
              {
                "maximum": 10000.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Batch Index"
          },
          "machines": {
            "items": {
              "$ref": "#/components/schemas/MachineReportIn"
            },
            "maxItems": 200,
            "minItems": 1,
            "title": "Machines",
            "type": "array"
          },
          "max_age_hours": {
            "anyOf": [
              {
                "maximum": 720.0,
                "minimum": 1.0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Age Hours"
          },
          "run_started_at": {
            "maxLength": 40,
            "minLength": 10,
            "title": "Run Started At",
            "type": "string"
          },
          "run_summary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RunSummaryIn"
              },
              {
                "type": "null"
              }
            ]
          },
          "verdict": {
            "anyOf": [
              {
                "enum": [
                  "quiet",
                  "findings",
                  "degraded"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Verdict"
          },
          "watch_id": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Watch Id",
            "type": "string"
          }
        },
        "required": [
          "watch_id",
          "run_started_at",
          "machines"
        ],
        "title": "WatchReportIn",
        "type": "object"
      },
      "assurance__api__attest_routes__VerifyIn": {
        "additionalProperties": false,
        "properties": {
          "attestations": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "minItems": 1,
            "title": "Attestations",
            "type": "array"
          },
          "public_key_pem": {
            "default": "",
            "description": "the key to check against. Omit to use this service's key \u2014 but obtaining it from GET /v1/ledger/attest/key over the same connection proves less than obtaining it elsewhere.",
            "title": "Public Key Pem",
            "type": "string"
          }
        },
        "required": [
          "attestations"
        ],
        "title": "VerifyIn",
        "type": "object"
      },
      "assurance__api__billing_routes__ClaimIn": {
        "additionalProperties": false,
        "properties": {
          "claim_token": {
            "default": "",
            "maxLength": 256,
            "title": "Claim Token",
            "type": "string"
          },
          "session_id": {
            "pattern": "^[A-Za-z0-9_\\-]{1,255}$",
            "title": "Session Id",
            "type": "string"
          }
        },
        "required": [
          "session_id"
        ],
        "title": "ClaimIn",
        "type": "object"
      },
      "assurance__api__change_routes__AdvisoryIn": {
        "additionalProperties": false,
        "properties": {
          "accept_unsigned": {
            "default": false,
            "title": "Accept Unsigned",
            "type": "boolean"
          },
          "actor": {
            "default": "",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "advisory": {
            "additionalProperties": true,
            "title": "Advisory",
            "type": "object"
          },
          "reason": {
            "default": "",
            "maxLength": 500,
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "advisory"
        ],
        "title": "AdvisoryIn",
        "type": "object"
      },
      "assurance__api__change_routes__ClaimIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "default": "",
            "description": "optional with an operator key (then it must match the operator); required with an account-level key on non-decision steps",
            "maxLength": 200,
            "title": "Actor",
            "type": "string"
          },
          "owner": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Owner",
            "type": "string"
          }
        },
        "required": [
          "owner"
        ],
        "title": "ClaimIn",
        "type": "object"
      },
      "assurance__api__fleet_routes__AdvisoryIn": {
        "additionalProperties": false,
        "properties": {
          "advisory": {
            "additionalProperties": true,
            "title": "Advisory",
            "type": "object"
          }
        },
        "required": [
          "advisory"
        ],
        "title": "AdvisoryIn",
        "type": "object"
      },
      "assurance__api__machine_routes__VerifyIn": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "description": "who is signing this verification",
            "maxLength": 200,
            "minLength": 1,
            "title": "Actor",
            "type": "string"
          },
          "configuration_hash": {
            "default": "",
            "description": "the SafetyManifest.configuration_hash of the machine configuration this run was made against (64 hex digits; `POST /v1/machinery/diff` and the manifest routes return it). It is the filer's statement, sealed into the bundle. WITHOUT it the verification is unbound: coverage never reads a safety function `current` on an unbound verification, only `stale`, because nothing but dates would tie it to the machine's configuration",
            "maxLength": 64,
            "pattern": "^([0-9a-fA-F]{64})?$",
            "title": "Configuration Hash",
            "type": "string"
          },
          "envelope": {
            "additionalProperties": true,
            "title": "Envelope",
            "type": "object"
          },
          "limits": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Limits"
          },
          "limits_reviews": {
            "description": "signed reviews of the limits table. They are assessed against the reviewer trust list the SERVER is configured with (ASSURANCE_LIMITS_REVIEW_TRUST); a caller cannot supply its own trust, which would let a table's author vouch for the table",
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "maxItems": 32,
            "title": "Limits Reviews",
            "type": "array"
          },
          "machine_serial": {
            "default": "",
            "description": "the unit this verification is about; a recorder attestation that names a different serial is not accepted. Defaults to the serial in a machine-key `subject` (maker/model#serial); if both are given they must be the same (422 `invalid_subject` otherwise)",
            "maxLength": 200,
            "title": "Machine Serial",
            "type": "string"
          },
          "recorder_attestations": {
            "description": "signed recorder attestations of the trace (format assurance.machine.recorder-attestation.v1, signed offline by the recorder operator with `assurance machine recorder-sign`). They are assessed against the recorder trust list the SERVER is configured with (ASSURANCE_RECORDER_TRUST); a caller cannot supply its own trust or a provenance basis, which would let a trace's filer vouch for the trace. With no server trust nothing is accepted and the trace's provenance stays declared by the filer (tier capped at community). An accepted attestation proves a trusted key signed these exact trace bytes; not that the recording is physically true",
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "maxItems": 8,
            "title": "Recorder Attestations",
            "type": "array"
          },
          "role": {
            "default": "verification engineer",
            "maxLength": 200,
            "title": "Role",
            "type": "string"
          },
          "seal": {
            "default": true,
            "description": "append the sealed bundle to the evidence ledger",
            "title": "Seal",
            "type": "boolean"
          },
          "subject": {
            "default": "",
            "description": "file the sealed bundle under this ledger subject. Give the machine's key (manufacturer/model#serial) for the verification to count as evidence for that unit in coverage, re-verification and the passport; omitted, it is filed under product@version, a product line. A key is read one way: the serial is everything after the first '#', it must be present and must not contain another '#'",
            "maxLength": 400,
            "title": "Subject",
            "type": "string"
          },
          "trace": {
            "additionalProperties": true,
            "title": "Trace",
            "type": "object"
          }
        },
        "required": [
          "envelope",
          "trace",
          "actor"
        ],
        "title": "VerifyIn",
        "type": "object"
      },
      "assurance__api__supplier_routes__AdvisoryIn": {
        "additionalProperties": true,
        "description": "A pre-signed advisory record, exactly as `SignedAdvisory.to_dict()` emits it.\n\nThis service never sees a private key: the caller signs locally (the same\nmachinery `assurance supplier publish` uses) and hands over the already-\nsigned, already-chained record. Structural validation happens on load via\n`SignedAdvisory.from_dict`; this model only proves the body is a JSON\nobject before it gets there.",
        "properties": {},
        "title": "AdvisoryIn",
        "type": "object"
      }
    }
  },
  "info": {
    "description": "\nRegister for **Regulation (EU) 2024/2847, Article 14** \u2014 reporting of actively\nexploited vulnerabilities and severe incidents.\n\nArticle 14 has applied since **11 September 2026**, and by Article 69(3) it\napplies to every in-scope product placed on the market **before 11 December\n2027**. There is no grandfathering for reporting. Reports go from the manufacturer\nto the CSIRT designated as coordinator and to ENISA, through ENISA's single reporting\nplatform (Art. 14(1), (3), (7); Art. 16); this service files nothing.\n\n**What this service does that a spreadsheet cannot**\n\n* Records the awareness timestamp independently. The reporting platform does\n  not yet capture it for vulnerabilities and records *detection* for incidents,\n  and awareness is the fact every deadline runs from.\n* Computes both final-report clocks correctly: 14 days from a corrective **or\n  mitigating** measure for a vulnerability, one calendar month from\n  **submission** of the 72-hour notification for an incident.\n* Validates a draft submission against the platform's 39-field specification\n  before anyone opens the platform.\n* Keeps every record in a hash-chained ledger, and refuses to export one that\n  does not verify.\n\nIt does not give legal advice, and it does not decide a judgement for you:\ntriage returns *undetermined* until a human answers.\n\n**What runs where.** This API is the service in this repository: an operator runs it\n(hosted, or self-hosted from the same code) and each account's ledger lives there. That\nthe code exists is not a statement that a deployment is reachable (`docs/GO-LIVE.md`).\nCollection from a machine, the Watch run, the offline kit and everything that needs a\nprivate key are NOT done by this API: they run on the customer's own machine\n(`assurance collect`, `kit`, `watch run`, `machinery enrol` from files) and reach the\nservice only when a person chooses to push a result (`POST /v1/watch/report`). There is\nno hosted scheduler and no hosted collection. `GET /v1/capabilities` states, for every\ncapability, whether it is hosted, offline-only or operator-host-only.\n",
    "title": "Industrial Autonomous Assurance API",
    "version": "0.1.1"
  },
  "openapi": "3.1.0",
  "paths": {
    "/": {
      "get": {
        "description": "The front door.\n\nSomeone who reaches the bare URL should learn what this is, and what they\ncan try without an account, in one response.",
        "operationId": "root__get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Root  Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "What this service is",
        "tags": [
          "service"
        ]
      }
    },
    "/healthz": {
      "get": {
        "description": "Readiness for an orchestrator: ``ok`` or ``unavailable`` (503), and nothing else.\n\nUnauthenticated and polled every few seconds, so it is cheap, does no chain\nverification (O(n); that is the authenticated ``GET /v1/ledger/verify``) and says\nnothing about the deployment: no auth mode, no ledger entry count, no signing-key\nstate, no warnings, no error text, no path. It carries only the pass/fail booleans\nreadiness is made of (``ledger_ok``, ``accounts_ok``, ``storage_ok``). The detail\nan operator needs lives behind the operator key at ``GET /ops/health``.",
        "operationId": "healthz_healthz_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Healthz Healthz Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Readiness (anonymous, minimal)",
        "tags": [
          "service"
        ]
      }
    },
    "/livez": {
      "get": {
        "description": "The process is up and the event loop answers. Depends on nothing.\n\nNot a statement that the service can do its job: that is ``/healthz``. A platform\nshould restart on this one and stop routing traffic on the other.",
        "operationId": "livez_livez_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Livez Livez Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Liveness: the process answers",
        "tags": [
          "service"
        ]
      }
    },
    "/v1/billing/portal": {
      "post": {
        "description": "A self-service portal, so cancelling never requires emailing a human.",
        "operationId": "post_portal_v1_billing_portal_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Portal V1 Billing Portal Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Manage your subscription",
        "tags": [
          "billing"
        ]
      }
    },
    "/v1/billing/webhook": {
      "post": {
        "description": "Grant, downgrade and cancel entitlements from signed Stripe events.\n\nUnverified payloads are refused. Without that, this endpoint is a way for\nanyone on the internet to grant themselves a paid subscription.",
        "operationId": "post_webhook_v1_billing_webhook_post",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Webhook V1 Billing Webhook Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Stripe webhook (signature verified)",
        "tags": [
          "billing"
        ]
      }
    },
    "/v1/capabilities": {
      "get": {
        "description": "The catalogue, computed from the running service and cached for its lifetime.\n\n``present`` means the command, route or tool exists in this build; it does not prove they\nbehave identically. ``planned`` marks a known gap and ``by_design`` a deliberate absence,\neach with its reason.",
        "operationId": "capabilities_v1_capabilities_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Capabilities V1 Capabilities Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Everything this service can do, and on which surface",
        "tags": [
          "free"
        ]
      }
    },
    "/v1/cases": {
      "get": {
        "operationId": "get_cases_v1_cases_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "title": "Response Get Cases V1 Cases Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List case ids",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/cases/{case_id}": {
      "get": {
        "operationId": "get_case_v1_cases__case_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaseOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "One case, with deadlines",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/cases/{case_id}/availability": {
      "post": {
        "operationId": "post_availability_v1_cases__case_id__availability_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AvailabilityIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordedOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Attach the product and Member State record the filing needs",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/cases/{case_id}/awareness": {
      "post": {
        "operationId": "post_awareness_v1_cases__case_id__awareness_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AwarenessIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordedOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Establish the moment every deadline runs from",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/cases/{case_id}/awareness/supersede": {
      "post": {
        "description": "Append-only: the earlier awareness stays; the newest record is the one in force.\n\nRefused (409) on a closed case and on any case with a filing recorded, and when\n``supersedes`` does not name the record in force. The response lists each deadline the\ncorrection moved, with the person and the reason; one that had already passed and moved\nlater keeps appearing in ``GET /v1/register/breaches``.",
        "operationId": "post_awareness_supersession_v1_cases__case_id__awareness_supersede_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupersedeAwarenessIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Awareness Supersession V1 Cases  Case Id  Awareness Supersede Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Correct a wrongly recorded awareness by appending a superseding record",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/cases/{case_id}/export": {
      "get": {
        "description": "Refuses if the chain does not verify.\n\n``?skeleton=true`` adds a ``skeleton`` of the account's other entries\n(positions, kinds, subjects, times and hashes; no evidence) so removed entries\nare visible. It is **off by default**: the link hash covers the plain subject,\nso the skeleton cannot be anonymised and names every other case and incident of\nthe account. Without it the bundle is internally consistent but its\ncompleteness cannot be checked. The bundle carries the account's newest\n*server-read* signed attestation as ``anchor`` when it has one (409\n``anchor_contradicts_ledger`` if that does not match this ledger; counter-signed\nheads the customer declared are never embedded). Records after the anchor are\ncovered by no signature; for a hosted ledger the service holds the signing key\ntoo, so the anchor helps only a customer who kept their own copy of a signed\nattestation.\n\nAn export is the moment records leave the system and start being relied on.\nFor a paying account it is gated on the plan's ``export`` entitlement as\nwell as on the register itself, so the ``verifiable_export`` limit on\n``GET /v1/plans`` is a statement about code that runs. A customer whose\nsubscription has ended still gets it (``require_evidence_readout``): their\nevidence is not held hostage to a payment.\n\n**Completeness.** Without ``skeleton`` a bundle is internally consistent but a\nremoved entry of the case cannot be seen, and a verifier reports completeness as\n*not checked*. With ``skeleton`` and a signed ``anchor``, a verifier holding the\nsigner's public key can show nothing was removed up to the anchor; records after\nit are covered by no signature.\n\n**Anchor.** ``anchor`` is the newest attestation the service *read from this\naccount's own ledger* (``read_from_ledger``). No customer route creates one: the\noperator runs ``assurance attest sign`` against the hosted ledger\n(``deploy/assurance/ATTEST.md``). Until then the export carries no ``anchor`` and\nits completeness is not checked. Counter-signed heads you declared about your own\nledger (``POST /v1/ledger/attest``) are never embedded. If the embedded\nattestation does not match this ledger the answer is 409\n``anchor_contradicts_ledger``, a rewind signal, and nothing is exported. A damaged\nattestation log is 500 ``attestation_log_damaged``, never a silently unanchored\nexport; ``?anchor=false`` is the explicit way to export without one.",
        "operationId": "get_case_export_v1_cases__case_id__export_get",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "description": "embed the newest signed attestation from this account's own attestation log as the bundle's `anchor`, so a verifier holding the signer's public key can check the bundle is complete up to it. Set false to export without one.",
            "in": "query",
            "name": "anchor",
            "required": false,
            "schema": {
              "default": true,
              "description": "embed the newest signed attestation from this account's own attestation log as the bundle's `anchor`, so a verifier holding the signer's public key can check the bundle is complete up to it. Set false to export without one.",
              "title": "Anchor",
              "type": "boolean"
            }
          },
          {
            "description": "true to also carry `skeleton`: the position, kind, subject, time and hashes of every OTHER entry of this account's ledger (no evidence), so a verifier can see a removed entry and check completeness. Off by default because it discloses the id, kind and time of this account's other cases and incidents to whoever receives the file.",
            "in": "query",
            "name": "skeleton",
            "required": false,
            "schema": {
              "default": false,
              "description": "true to also carry `skeleton`: the position, kind, subject, time and hashes of every OTHER entry of this account's ledger (no evidence), so a verifier can see a removed entry and check completeness. Off by default because it discloses the id, kind and time of this account's other cases and incidents to whoever receives the file.",
              "title": "Skeleton",
              "type": "boolean"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Case Export V1 Cases  Case Id  Export Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "401": {
            "description": "No API key, or one that is not valid (`WWW-Authenticate: ApiKey`)."
          },
          "402": {
            "description": "Authenticated, but the plan does not include this (`plan_does_not_include_*`; the body names the plan that does)."
          },
          "404": {
            "description": "`case_not_found`: the ledger holds no entry of a case kind under this id, so an export is never an empty bundle that reads clean."
          },
          "409": {
            "description": "`anchor_contradicts_ledger`: the newest server-read signed attestation in this account's log does not match this ledger (shorter, or different history at a signed position). A rewind signal; nothing is exported. `?anchor=false` exports without the anchor but does not make the finding go away."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          },
          "500": {
            "description": "`ledger_integrity` (the account's chain does not verify) or `attestation_log_damaged` (the account's attestation log cannot be read, or ends in an unterminated line that may be the newest record, so the anchor cannot be chosen; never a silently unanchored export)."
          },
          "503": {
            "description": "`attestation_busy`: the attestation log ends in an unfinished line and a signer holds its lock right now. Retry after `Retry-After`; nothing was decided or exported."
          }
        },
        "summary": "A verifiable evidence bundle for one case",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/cases/{case_id}/filings": {
      "post": {
        "description": "Recording a filing that is not submittable is allowed and flagged.\n\nA manufacturer who has already submitted something incomplete needs that\nfact in the record, not a refusal. ``validation.submittable`` is false and\nthe response carries ``X-Assurance-Submittable: false``.",
        "operationId": "post_filing_v1_cases__case_id__filings_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FilingIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FilingOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Record a submission, validated against the platform field spec",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/cases/{case_id}/history": {
      "get": {
        "description": "Who recorded what and when, from the ledger itself.\n\nIncludes every awareness record (the original and each supersession, with which is in\nforce) and the deadlines a supersession moved. A filing appears as the manufacturer's\ndeclaration; nothing here verifies it against the reporting platform.",
        "operationId": "get_case_history_v1_cases__case_id__history_get",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Case History V1 Cases  Case Id  History Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "The audit history of one case: every ledger record, oldest first",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/cases/{case_id}/measure": {
      "post": {
        "description": "Starts the 14-day final-report clock for a vulnerability, Art. 14(2)(c).\n\nA documented workaround starts it as surely as a patch does.",
        "operationId": "post_measure_v1_cases__case_id__measure_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeasureIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordedOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Record a corrective or mitigating measure becoming available",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/cases/{case_id}/signal": {
      "post": {
        "description": "No deadline starts here.\n\nThe clock starts at awareness, which is a separate, reasoned record. The\ninterval between the two is what a market surveillance authority asks\nabout, and it cannot be reconstructed if the signal was never recorded.",
        "operationId": "post_signal_v1_cases__case_id__signal_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignalIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordedOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Open a case with the first thing anyone heard",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/cases/{case_id}/triage": {
      "post": {
        "operationId": "post_triage_v1_cases__case_id__triage_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TriageIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Triage V1 Cases  Case Id  Triage Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Work the reportability decision path",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/cases/{case_id}/user-notification": {
      "post": {
        "operationId": "post_user_notification_v1_cases__case_id__user_notification_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserNotificationIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordedOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Record the Article 14(8) notification to users",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/change/assess/advisory": {
      "post": {
        "operationId": "assess_advisory_route_v1_change_assess_advisory_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/assurance__api__change_routes__AdvisoryIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Assess Advisory Route V1 Change Assess Advisory Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Turn a fleet impact report into a case",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/assess/advisory/intel": {
      "post": {
        "description": "The hosted twin of ``assurance watch open-case``: same domain function, same rules.\n\nReads the operator's intel store read-only (503 ``no_intel_store_configured`` /\n``intel_store_unreadable``), re-derives the candidate for the CALLER'S fleet with the\nwatch's own matcher, and opens the case through\n:func:`~assurance.change.service.assess_advisory` as an unauthenticated public-source,\ninspect-only advisory: a named person is required, a CSAF-derived candidate needs\n``accept_unsigned`` with a reason and an operator key with the ``decider`` role, an\nexisting open case is returned untouched (never re-attributed), a settled case is never\nreopened. Nothing is closed, decided, waived or advanced here, and no MCP tool calls it.",
        "operationId": "assess_advisory_intel_route_v1_change_assess_advisory_intel_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntelAssessIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Assess Advisory Intel Route V1 Change Assess Advisory Intel Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "A named person opens a case from a public-intel (unauthenticated) finding",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/assess/advisory/signed": {
      "post": {
        "description": "Same case as ``/assess/advisory``, but the advisory arrives with its signature.\n\nThe feed is judged by the same function as ``/v1/fleet/advisory/signed``, under the\naccount's own pinned keys. Only an advisory whose policy is satisfied by a *pinned*\nkey and valid signatures opens without a named person, and the case records that\nbasis. Anything else (unknown key, bad signature, unreadable, a translation) is\nhandled exactly as the bare route handles it: a named person is required. Nothing\nhere closes a case; closing stays a named decider's act.",
        "operationId": "assess_advisory_signed_route_v1_change_assess_advisory_signed_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignedAssessIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Assess Advisory Signed Route V1 Change Assess Advisory Signed Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Turn one advisory of a signed supplier feed into a case, with its trust",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/assess/drift": {
      "post": {
        "operationId": "assess_drift_route_v1_change_assess_drift_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DriftIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Assess Drift Route V1 Change Assess Drift Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Turn a manifest divergence into a case",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/assess/intervention": {
      "post": {
        "description": "The same call ``assurance change assess-intervention`` makes.\n\nThe intervention is looked up in the caller's own ledger by id; its\nverifications and interventions come from that ledger and not from the body.",
        "operationId": "assess_intervention_route_v1_change_assess_intervention_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InterventionAssessIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Assess Intervention Route V1 Change Assess Intervention Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Did a recorded intervention invalidate evidence?",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/cases": {
      "get": {
        "operationId": "list_cases_v1_change_cases_get",
        "parameters": [
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "default": "",
              "title": "Status",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response List Cases V1 Change Cases Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "The Active Assurance Cases queue",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/cases/{case_id}": {
      "get": {
        "operationId": "get_case_v1_change_cases__case_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Case V1 Change Cases  Case Id  Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "One case in full",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/cases/{case_id}/advance": {
      "post": {
        "operationId": "advance_case_route_v1_change_cases__case_id__advance_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdvanceIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Advance Case Route V1 Change Cases  Case Id  Advance Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Move to the next required stop",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/cases/{case_id}/claim": {
      "post": {
        "operationId": "claim_case_route_v1_change_cases__case_id__claim_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/assurance__api__change_routes__ClaimIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Claim Case Route V1 Change Cases  Case Id  Claim Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "OPEN -> IN_REVIEW",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/cases/{case_id}/decision": {
      "post": {
        "operationId": "decide_case_route_v1_change_cases__case_id__decision_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DecisionIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Decide Case Route V1 Change Cases  Case Id  Decision Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Close, reject or defer \u2014 a human decision",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/cases/{case_id}/export": {
      "get": {
        "description": "The case's ledger entries as ``assurance evidence verify`` expects them.\n\nRefuses (500 ``ledger_integrity``) if the account's chain does not verify,\nand says no such case (404) when the ledger holds no entry of a case kind\nunder this id, so an export is never an empty bundle that reads as clean.\n``?skeleton=true`` adds a ``skeleton`` of the account's other entries (ids,\nkinds, times and hashes; no evidence) so removed entries are visible; it is off\nby default because it names every other case and incident of the account.\n\n**Completeness.** Without ``skeleton`` a bundle is internally consistent but a\nremoved entry of the case cannot be seen, and a verifier reports completeness as\n*not checked*. With ``skeleton`` and a signed ``anchor``, a verifier holding the\nsigner's public key can show nothing was removed up to the anchor; records after\nit are covered by no signature.\n\n**Anchor.** ``anchor`` is the newest attestation the service *read from this\naccount's own ledger* (``read_from_ledger``). No customer route creates one: the\noperator runs ``assurance attest sign`` against the hosted ledger\n(``deploy/assurance/ATTEST.md``). Until then the export carries no ``anchor`` and\nits completeness is not checked. Counter-signed heads you declared about your own\nledger (``POST /v1/ledger/attest``) are never embedded. If the embedded\nattestation does not match this ledger the answer is 409\n``anchor_contradicts_ledger``, a rewind signal, and nothing is exported. A damaged\nattestation log is 500 ``attestation_log_damaged``, never a silently unanchored\nexport; ``?anchor=false`` is the explicit way to export without one.",
        "operationId": "export_case_v1_change_cases__case_id__export_get",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "description": "embed the newest signed attestation from this account's own attestation log as the bundle's `anchor`, so a verifier holding the signer's public key can check the bundle is complete up to it. Set false to export without one.",
            "in": "query",
            "name": "anchor",
            "required": false,
            "schema": {
              "default": true,
              "description": "embed the newest signed attestation from this account's own attestation log as the bundle's `anchor`, so a verifier holding the signer's public key can check the bundle is complete up to it. Set false to export without one.",
              "title": "Anchor",
              "type": "boolean"
            }
          },
          {
            "description": "true to also carry `skeleton`: the position, kind, subject, time and hashes of every OTHER entry of this account's ledger (no evidence), so a verifier can see a removed entry and check completeness. Off by default because it discloses the id, kind and time of this account's other cases and incidents to whoever receives the file.",
            "in": "query",
            "name": "skeleton",
            "required": false,
            "schema": {
              "default": false,
              "description": "true to also carry `skeleton`: the position, kind, subject, time and hashes of every OTHER entry of this account's ledger (no evidence), so a verifier can see a removed entry and check completeness. Off by default because it discloses the id, kind and time of this account's other cases and incidents to whoever receives the file.",
              "title": "Skeleton",
              "type": "boolean"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Export Case V1 Change Cases  Case Id  Export Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "401": {
            "description": "No API key, or one that is not valid (`WWW-Authenticate: ApiKey`)."
          },
          "402": {
            "description": "Authenticated, but the plan does not include this (`plan_does_not_include_*`; the body names the plan that does)."
          },
          "404": {
            "description": "`case_not_found`: the ledger holds no entry of a case kind under this id, so an export is never an empty bundle that reads clean."
          },
          "409": {
            "description": "`anchor_contradicts_ledger`: the newest server-read signed attestation in this account's log does not match this ledger (shorter, or different history at a signed position). A rewind signal; nothing is exported. `?anchor=false` exports without the anchor but does not make the finding go away."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          },
          "500": {
            "description": "`ledger_integrity` (the account's chain does not verify) or `attestation_log_damaged` (the account's attestation log cannot be read, or ends in an unterminated line that may be the newest record, so the anchor cannot be chosen; never a silently unanchored export)."
          },
          "503": {
            "description": "`attestation_busy`: the attestation log ends in an unfinished line and a signer holds its lock right now. Retry after `Retry-After`; nothing was decided or exported."
          }
        },
        "summary": "A verifiable evidence bundle for one case",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/cases/{case_id}/replay": {
      "get": {
        "operationId": "replay_case_v1_change_cases__case_id__replay_get",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Replay Case V1 Change Cases  Case Id  Replay Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Rebuild the case from the ledger alone and check every step",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/cases/{case_id}/resolve-decision": {
      "post": {
        "operationId": "resolve_decision_route_v1_change_cases__case_id__resolve_decision_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveDecisionIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Resolve Decision Route V1 Change Cases  Case Id  Resolve Decision Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Answer one of the case's open human questions \u2014 a human decision",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/cases/{case_id}/resume": {
      "post": {
        "operationId": "resume_case_route_v1_change_cases__case_id__resume_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResumeIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Resume Case Route V1 Change Cases  Case Id  Resume Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "DEFERRED -> IN_REVIEW \u2014 a human decision",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/cases/{case_id}/reverification": {
      "post": {
        "description": "Submit fresh verification evidence for the entries a case is waiting on.\n\n``200`` means the submission was accepted and recorded, **not** that it cleared\nanything. When the case is still waiting the response carries ``blocked_reason``\n(absent when nothing is outstanding): ``code`` is ``below_validated_tier`` when a\nrequired entry was read current on evidence under the floor (no accepted recorder\nattestation), ``below_validated_unit_binding`` when the evidence is held down by its\nunit key (sealed for another key or none: re-seal it under the exact key, an attestation\nis not what is missing), or ``evidence_not_current`` when coverage did not read the\nentry current at all;\n``entries`` maps each outstanding entry to its recorded reason and ``message``\nsays what would clear it. A decider may waive an entry\n(``waive-reverification``); a waiver is recorded as one and never reads as\ncurrent.",
        "operationId": "reverify_case_route_v1_change_cases__case_id__reverification_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReverificationIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Reverify Case Route V1 Change Cases  Case Id  Reverification Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Supply fresh verification evidence; blocked_reason says why a case still waits",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/change/cases/{case_id}/waive-reverification": {
      "post": {
        "description": "The only way to close an entry nothing verified. It reads ``waived``,\nnever ``current``, in the case and in every export.",
        "operationId": "waive_reverification_route_v1_change_cases__case_id__waive_reverification_post",
        "parameters": [
          {
            "in": "path",
            "name": "case_id",
            "required": true,
            "schema": {
              "title": "Case Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WaiveIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Waive Reverification Route V1 Change Cases  Case Id  Waive Reverification Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Close one re-verification entry WITHOUT evidence \u2014 a human decision",
        "tags": [
          "change"
        ]
      }
    },
    "/v1/check/fleet-machine": {
      "post": {
        "description": "The paid product: this machine's own evidence, and the fleet fan-out.\n\nRequires the Cell plan (the same gate as machine safety verification and\nthe machinery passport) because it reads the ledger: the machine must\nalready be enrolled via ``POST /v1/machinery/manifest``.",
        "operationId": "check_fleet_machine_v1_check_fleet_machine_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FleetMachineCheckIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Check Fleet Machine V1 Check Fleet Machine Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Machine Assurance Check \u2014 an enrolled machine, its ledger history",
        "tags": [
          "check"
        ]
      }
    },
    "/v1/check/machine": {
      "post": {
        "description": "What changed, does it match this machine, what should happen next.\n\nThis is the free entry point: no ledger is read, so the result cannot say\nwhether standing safety evidence is still valid \u2014 only whether the change\nmatches what you told it is on the machine. ``checks_skipped`` says so.",
        "operationId": "check_machine_v1_check_machine_post",
        "parameters": [
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MachineCheckIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Check Machine V1 Check Machine Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Machine Assurance Check \u2014 one manifest, one advisory, no account",
        "tags": [
          "check"
        ]
      }
    },
    "/v1/check/services": {
      "get": {
        "description": "A machine-readable catalogue an agent can discover before calling anything.\n\nGenerated from the same models and the same ``PLANS`` table every other\nroute enforces \u2014 nothing here is a price or a capability this deployment\ncannot actually execute. See ``GET /v1/plans`` for the full pricing table\nthis catalogue's ``required_plan``/``price`` fields are drawn from.",
        "operationId": "services_v1_check_services_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Services V1 Check Services Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "What NeuralBridge can execute for a machine right now",
        "tags": [
          "check"
        ]
      }
    },
    "/v1/checkout": {
      "post": {
        "operationId": "post_checkout_v1_checkout_post",
        "parameters": [
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckoutIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckoutOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Start a subscription",
        "tags": [
          "billing"
        ]
      }
    },
    "/v1/checkout/complete": {
      "post": {
        "description": "Hand over, once, the key the webhook minted for this checkout session.\n\nThe browser's redirect proves nothing about payment and this route mints nothing: the key\nexists only after a signed ``checkout.session.completed``. What this adds is who may\ncollect it: the caller must present the session id **and** the claim token that ``POST\n/v1/checkout`` returned, bound to that session and stored hashed. A leaked session id\nalone (history, ``Referer``, an analytics beacon, a log) claims nothing.\n\nThe limit, stated plainly: the token is still a bearer secret. Whoever holds both values\n(anyone who saw the reply to ``POST /v1/checkout``, a script or extension that can read the\nbuyer's tab ``sessionStorage``, a shared screen) can collect the key first. Stripe holds the\nsession id but never the token.\n\n* 200: the key, exactly once.\n* 202 ``pending``: the webhook has not landed. Poll again.\n* 403 ``claim_token_required`` / ``claim_token_invalid``: a key is staged and this caller\n  is not its holder. **Nothing is consumed**, so a stranger's guess does not lock the real\n  buyer out.\n* 410 ``already_collected_or_expired``: the key was collected (by the buyer, or by whoever\n  held both values), expired after 24 hours, or was lost in a restore. The buyer does not\n  wait on this: an operator re-issues a key (``python -m assurance.billing.issue_key\n  --account acc_...``, with ``--discard-staged cs_...`` first if one is still staged), and\n  a key someone else collected is to be treated as exposed.",
        "operationId": "post_checkout_complete_v1_checkout_complete_post",
        "parameters": [
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/assurance__api__billing_routes__ClaimIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Checkout Complete V1 Checkout Complete Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Collect the key after paying",
        "tags": [
          "billing"
        ]
      }
    },
    "/v1/evidence/verify": {
      "post": {
        "description": "The body is the raw JSON file itself (not wrapped in anything).\n\nSend ``Content-Type: application/json``. Nothing is stored. The body is read\ninto memory, checked and dropped; the only record is the ordinary access log\nline (method, path, status). The answer separates facts established\n(`verified`), what is taken on trust (`assumptions`) and every limit\n(`not_checked`); there is no bare \"valid\".\n\nRead these beside `ok` (which means only \"no inconsistency was found in the checks\nthat ran\"):\n\n* `outcome`: `no_inconsistency_found`, `signatures_not_checked`, `not_established`\n  (nothing wrong was found but a check asked for could not be completed, listed in\n  `unestablished`; not a finding of tampering), `inconsistent` (listed in `problems`),\n  `unreadable`, `unsupported`, `check_failed`.\n* `completeness` (ledger exports): `anchored` only when the file agrees with a signed\n  head the signer READ from the ledger, over at least one record, under the public key\n  you supplied in `X-Issuer-Public-Key`, and that head signs the last record;\n  `anchored_partial` when records follow that head (`anchor.records_after_anchor`\n  are covered by no signature); `declared_head` when the only agreeing signed head was\n  `declared_by_holder` (the signer was told three numbers and never read the chain, so\n  it is not an anchor); `not_checked` (no key, no anchor, or a head over zero records);\n  `failed` (the file contradicts a signed head, or one is dated after it was signed).\n  A one-case export is checked against its anchor only if it carries the opt-in ledger\n  skeleton (`?skeleton=true` at export); otherwise a key gives `not_established`.\n* `anchor` (ledger exports): the signed head completeness rests on, with its `basis`\n  (`read_from_ledger` or `declared_by_holder`), `head_seq` and `records_after_anchor`.\n* `level` (machine bundles): `integrity_only` here (the original envelope and trace are\n  not supplied), never `reproduced`; `rejected` when a check failed.",
        "operationId": "verify_evidence_v1_evidence_verify_post",
        "parameters": [
          {
            "description": "the issuer's Ed25519 PUBLIC key (PEM, line breaks as spaces), to check attestation signatures, or a ledger export's signed anchor (which is what shows nothing was removed). Never a private key: those are refused unread.",
            "in": "header",
            "name": "x-issuer-public-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "the issuer's Ed25519 PUBLIC key (PEM, line breaks as spaces), to check attestation signatures, or a ledger export's signed anchor (which is what shows nothing was removed). Never a private key: those are refused unread.",
              "title": "X-Issuer-Public-Key"
            }
          },
          {
            "description": "YOUR recorder trust list (JSON, format assurance.machine.recorder-trust.v1, on one line), to re-assess the recorder attestation in a machine bundle. Without it a bundle that claims `recorder_attested` is reported as unverifiable and its tier is not believed. Public keys only: a private key is refused unread.",
            "in": "header",
            "name": "x-recorder-trust",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YOUR recorder trust list (JSON, format assurance.machine.recorder-trust.v1, on one line), to re-assess the recorder attestation in a machine bundle. Without it a bundle that claims `recorder_attested` is reported as unverifiable and its tier is not believed. Public keys only: a private key is refused unread.",
              "title": "X-Recorder-Trust"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Verify Evidence V1 Evidence Verify Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Check an evidence file you were handed. Free, anonymous, stores nothing.",
        "tags": [
          "free"
        ]
      }
    },
    "/v1/fleet/advisory": {
      "post": {
        "description": "The fan-out: one advisory, every enrolled machine, down to safety functions.\n\nA machine whose coverage was already stale is reported, and is not counted\nas newly in question \u2014 an advisory does not make it worse, and mixing the two\nhides the machines that were fine until this morning.",
        "operationId": "advisory_impact_v1_fleet_advisory_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/assurance__api__fleet_routes__AdvisoryIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Advisory Impact V1 Fleet Advisory Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Which of your machines does this advisory touch?",
        "tags": [
          "fleet"
        ]
      }
    },
    "/v1/fleet/advisory/check": {
      "post": {
        "description": "One advisory, one manifest, no account.\n\nThe match basis is always reported. ``hash`` settles it; ``version`` rests on\na label, and this system has already shown a label can be wrong;\n``hash_mismatch`` means the machine's own label and artefact disagree against\nthe supplier's published figures, which is neither affected nor clear.\nCounted once the answer is complete (``billing/metering.py``).",
        "operationId": "advisory_check_v1_fleet_advisory_check_post",
        "parameters": [
          {
            "in": "header",
            "name": "idempotency-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdvisoryCheckIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Advisory Check V1 Fleet Advisory Check Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Is this one machine affected by this advisory?",
        "tags": [
          "fleet"
        ]
      }
    },
    "/v1/fleet/advisory/signed": {
      "post": {
        "description": "The fan-out for a feed, under the account's pinned keys.\n\nEvery advisory is assessed so an operator can inspect it, and each carries\nits own trust basis. An advisory that does not meet the policy has\n``automated_consequences_permitted: false`` and a report marked\n``inspect_only``: it must not drive stop-use or open a case as a trusted\nsupplier statement. The pin store is the account's own; the operator's\nshared ledger holds none, so an operator sees every feed as untrusted.\n\n``trust`` keeps readable / signature / key / chain apart. A signed advisory\nproves who signed the bytes, not that the advisory is correct, complete or\ntimely.",
        "operationId": "advisory_impact_signed_v1_fleet_advisory_signed_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignedAdvisoryIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Advisory Impact Signed V1 Fleet Advisory Signed Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Assess a signed supplier feed against your fleet, with its trust state",
        "tags": [
          "fleet"
        ]
      }
    },
    "/v1/fleet/declaration/check": {
      "post": {
        "description": "Free, because the person who most needs this is the buyer, not the seller.\n\nWhether a changed configuration amounts to a substantial modification is a\nquestion for the manufacturer and their notified body. What this settles is\nthe fact that question rests on.\n\n``verdict`` is ``describes_the_machine`` only when the configuration is the declared\none AND the evidence was assessed (``evidence_assessed: true``: the caller has a plan\nthat reads its ledger and asked for ``with_coverage``) and every declared safety\nfunction is current at ``validated`` or better. Without that, the answer is\n``configuration_matches_coverage_not_assessed`` (the evidence was not looked at; this is\nthe default for an anonymous caller) or\n``configuration_intact_evidence_below_validated``: neither is a pass.",
        "operationId": "declaration_check_v1_fleet_declaration_check_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeclarationCheckIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Declaration Check V1 Fleet Declaration Check Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Does this declaration still describe the machine? Free for anyone.",
        "tags": [
          "fleet"
        ]
      }
    },
    "/v1/fleet/declare": {
      "post": {
        "operationId": "declare_v1_fleet_declare_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeclareIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Declare V1 Fleet Declare Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Bind a declaration to a configuration",
        "tags": [
          "fleet"
        ]
      }
    },
    "/v1/fleet/machines": {
      "get": {
        "operationId": "machines_v1_fleet_machines_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Machines V1 Fleet Machines Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Every enrolled machine, worst coverage first",
        "tags": [
          "fleet"
        ]
      }
    },
    "/v1/fleet/observations": {
      "get": {
        "description": "Per machine: last successful observation, last attempt, staleness, open cases.\n\nReads the ``watch.observation`` records in the caller's own ledger, which\nare there only because the account holder reported them\n(``POST /v1/watch/report``). A failed attempt is never a positive one, and\na machine is stale once its last *successful* observation is older than the\ncadence the customer declared. Nothing is derived here that Watch did not\nalready record.",
        "operationId": "observations_v1_fleet_observations_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Observations V1 Fleet Observations Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "When was each machine last looked at, and did the last attempt work?",
        "tags": [
          "fleet"
        ]
      }
    },
    "/v1/fleet/report": {
      "get": {
        "description": "One self-contained HTML page: no network, no scripts, and it prints.\n\nEvery other output here is JSON or terminal text, which means the only\npeople who ever see it are engineers. This is the surface for everyone who\nsigns the cheque \u2014 and it carries every ``checks_skipped`` line verbatim,\nbecause a report that hides its own limits is worth less than no report.",
        "operationId": "report_v1_fleet_report_get",
        "parameters": [
          {
            "in": "query",
            "name": "organisation",
            "required": false,
            "schema": {
              "default": "",
              "title": "Organisation",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "prepared_by",
            "required": false,
            "schema": {
              "default": "",
              "title": "Prepared By",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "The whole fleet on one page a plant manager can read",
        "tags": [
          "fleet"
        ]
      }
    },
    "/v1/ingest/csaf": {
      "get": {
        "operationId": "get_csaf_advisories_v1_ingest_csaf_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Csaf Advisories V1 Ingest Csaf Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "The CSAF supplier advisories recorded in your ledger",
        "tags": [
          "ingest"
        ]
      },
      "post": {
        "description": "Validate and record a CSAF 2.0 document: its SHA-256, publisher, tracking and dates, and\neach vulnerability's product statuses. It is unsigned third-party content and inspect-only.\n`GET /v1/ingest/csaf/{advisory_ref}/impact` matches it to the enrolled fleet.",
        "operationId": "post_csaf_v1_ingest_csaf_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CsafIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Csaf V1 Ingest Csaf Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "413": {
            "description": "`too_large`."
          },
          "422": {
            "description": "`invalid_csaf` (the violations list every CSAF 2.0 structural rule broken), `document_not_final`, `too_deep`, `invalid_source`, `source_hash_mismatch`. Nothing was recorded."
          }
        },
        "summary": "Import a CSAF 2.0 advisory as a recorded, unsigned supplier advisory",
        "tags": [
          "ingest"
        ]
      }
    },
    "/v1/ingest/csaf/{advisory_ref}": {
      "get": {
        "operationId": "get_csaf_advisory_v1_ingest_csaf__advisory_ref__get",
        "parameters": [
          {
            "in": "path",
            "name": "advisory_ref",
            "required": true,
            "schema": {
              "title": "Advisory Ref",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Csaf Advisory V1 Ingest Csaf  Advisory Ref  Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "404": {
            "description": "`advisory_not_found`."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "One recorded CSAF advisory in full",
        "tags": [
          "ingest"
        ]
      }
    },
    "/v1/ingest/csaf/{advisory_ref}/impact": {
      "get": {
        "description": "Every enrolled machine is `affected`, `under_investigation`, `fixed`, `not_affected` or\n`unknown`, with the reason and the evidence. A match that is not certain is `unknown`; a\nmachine the advisory does not name is `unknown` with the reason `not_named`. Inspect-only.",
        "operationId": "get_csaf_impact_v1_ingest_csaf__advisory_ref__impact_get",
        "parameters": [
          {
            "in": "path",
            "name": "advisory_ref",
            "required": true,
            "schema": {
              "title": "Advisory Ref",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Csaf Impact V1 Ingest Csaf  Advisory Ref  Impact Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "404": {
            "description": "`advisory_not_found`."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "What a recorded CSAF advisory says about each enrolled machine",
        "tags": [
          "ingest"
        ]
      }
    },
    "/v1/ingest/sbom": {
      "get": {
        "operationId": "get_sbom_drafts_v1_ingest_sbom_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Sbom Drafts V1 Ingest Sbom Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "The SBOM drafts in your ledger and their review state",
        "tags": [
          "ingest"
        ]
      },
      "post": {
        "description": "Validate a CycloneDX JSON SBOM (1.4, 1.5, 1.6) and record it as a draft.\n\nThe draft never carries a machine serial number, never marks a component safety-relevant and\nnever marks one as read from the machine; a missing version, purl, supplier or digest is\nrecorded as unknown. Every decision in it is `pending_review` until a named person reviews it\n(`POST /v1/ingest/sbom/{draft_id}/review`). The same bytes again are `already_imported`.",
        "operationId": "post_sbom_v1_ingest_sbom_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Sbom V1 Ingest Sbom Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "413": {
            "description": "`too_large`: the document is over the size this importer reads."
          },
          "422": {
            "description": "`invalid_sbom` (the violations list every structural rule broken), `unsupported_spec_version`, `no_components`, `too_deep`, `invalid_source`, `source_hash_mismatch`. Nothing was recorded."
          }
        },
        "summary": "Import a CycloneDX SBOM as a DRAFT inventory pending named human review",
        "tags": [
          "ingest"
        ]
      }
    },
    "/v1/ingest/sbom/{draft_id}": {
      "get": {
        "operationId": "get_sbom_draft_v1_ingest_sbom__draft_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "draft_id",
            "required": true,
            "schema": {
              "title": "Draft Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Sbom Draft V1 Ingest Sbom  Draft Id  Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "404": {
            "description": "`draft_not_found`."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "One SBOM draft in full, with its review state and a blank review template",
        "tags": [
          "ingest"
        ]
      }
    },
    "/v1/ingest/sbom/{draft_id}/review": {
      "post": {
        "description": "Approve or reject a draft. Approval enrols the machine through the enrolment front door.\n\nA human decision: it needs an operator key with the `decider` role. The machine's\nmanufacturer, model and serial number, and an explicit include/exclude, kind and safety\nfunction for every component, are the reviewer's; nothing is defaulted. A review is made once.",
        "operationId": "post_sbom_review_v1_ingest_sbom__draft_id__review_post",
        "parameters": [
          {
            "in": "path",
            "name": "draft_id",
            "required": true,
            "schema": {
              "title": "Draft Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Sbom Review V1 Ingest Sbom  Draft Id  Review Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "403": {
            "description": "`operator_required` / `decider_role_required`: an account-level key cannot make a human decision."
          },
          "404": {
            "description": "`draft_not_found`."
          },
          "409": {
            "description": "`already_reviewed`, `configuration_differs`, `identity_conflict` or `ledger_chain_unverified`. Nothing was recorded."
          },
          "422": {
            "description": "`invalid_review`: the violations say what each decision lacks."
          }
        },
        "summary": "A named decider approves (and enrols) or rejects an SBOM draft",
        "tags": [
          "ingest"
        ]
      }
    },
    "/v1/intel/candidates": {
      "get": {
        "description": "Unsigned, inspect-only advisory candidates built from the recorded CSAF and NVD\nobservations, plus every statement a source made that the advisory model cannot hold\n(``not_representable``: bounded version ranges and similar, as text) and NVD-versus-vendor\nconflicts. KEV carries no versions and never yields a candidate. Candidates are drafts for a\nperson to read; severity defaults to ``safety_relevant`` and nothing is matched here.",
        "operationId": "intel_candidates_v1_intel_candidates_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Intel Candidates V1 Intel Candidates Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "401": {
            "description": "No API key, or one that is not valid (`WWW-Authenticate: ApiKey`)."
          },
          "402": {
            "description": "Authenticated, but the plan does not include this (`plan_does_not_include_machine_verification`; the body names the plan)."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          },
          "503": {
            "description": "`no_intel_store_configured` or `intel_store_unreadable`: the operator's observation store is not available. This is not an empty answer; nothing is known from this service until it is."
          }
        },
        "summary": "Advisory candidates the model can represent, and what it cannot (read-only)",
        "tags": [
          "intel"
        ]
      }
    },
    "/v1/intel/cve/{cve_id}": {
      "get": {
        "description": "KEV ``listed`` / ``not_listed_in_kev`` / ``unchecked``; EPSS ``available`` (with its score\ndate) / ``unavailable``; NVD ``present`` / ``rejected`` / ``unknown``; NVD-versus-vendor\nconflicts. ``summary.status`` is ``unknown`` when no recorded source mentions the CVE.",
        "operationId": "intel_cve_v1_intel_cve__cve_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "cve_id",
            "required": true,
            "schema": {
              "title": "Cve Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Intel Cve V1 Intel Cve  Cve Id  Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "401": {
            "description": "No API key, or one that is not valid (`WWW-Authenticate: ApiKey`)."
          },
          "402": {
            "description": "Authenticated, but the plan does not include this (`plan_does_not_include_machine_verification`; the body names the plan)."
          },
          "422": {
            "description": "`invalid_cve_id`: not `CVE-YYYY-NNNN+`."
          },
          "503": {
            "description": "`no_intel_store_configured` or `intel_store_unreadable`: the operator's observation store is not available. This is not an empty answer; nothing is known from this service until it is."
          }
        },
        "summary": "What every recorded public source says about one CVE (KEV, EPSS, NVD, conflicts)",
        "tags": [
          "intel"
        ]
      }
    },
    "/v1/intel/history": {
      "get": {
        "description": "Every recorded observation: accepted, unchanged and rejected alike.\n\nPage with ``after_seq`` (the last ``seq`` you have). ``status`` is ``empty`` when the store\nexists but nothing was recorded, which means nothing is known, not that nothing exists.",
        "operationId": "intel_history_v1_intel_history_get",
        "parameters": [
          {
            "in": "query",
            "name": "source",
            "required": false,
            "schema": {
              "default": "",
              "title": "Source",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 200,
              "maximum": 1000,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "after_seq",
            "required": false,
            "schema": {
              "default": 0,
              "maximum": 1000000000000000000,
              "minimum": 0,
              "title": "After Seq",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Intel History V1 Intel History Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "401": {
            "description": "No API key, or one that is not valid (`WWW-Authenticate: ApiKey`)."
          },
          "402": {
            "description": "Authenticated, but the plan does not include this (`plan_does_not_include_machine_verification`; the body names the plan)."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          },
          "503": {
            "description": "`no_intel_store_configured` or `intel_store_unreadable`: the operator's observation store is not available. This is not an empty answer; nothing is known from this service until it is."
          }
        },
        "summary": "Intel observation history, oldest first (read-only, operator-owned public data)",
        "tags": [
          "intel"
        ]
      }
    },
    "/v1/intel/observations/{seq}": {
      "get": {
        "operationId": "intel_observation_v1_intel_observations__seq__get",
        "parameters": [
          {
            "in": "path",
            "name": "seq",
            "required": true,
            "schema": {
              "title": "Seq",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Intel Observation V1 Intel Observations  Seq  Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "401": {
            "description": "No API key, or one that is not valid (`WWW-Authenticate: ApiKey`)."
          },
          "402": {
            "description": "Authenticated, but the plan does not include this (`plan_does_not_include_machine_verification`; the body names the plan)."
          },
          "404": {
            "description": "`observation_not_found`."
          },
          "422": {
            "description": "`invalid_observation_seq`: not a positive integer."
          },
          "503": {
            "description": "`no_intel_store_configured` or `intel_store_unreadable`: the operator's observation store is not available. This is not an empty answer; nothing is known from this service until it is."
          }
        },
        "summary": "One intel observation in full, with its provenance",
        "tags": [
          "intel"
        ]
      }
    },
    "/v1/keys": {
      "get": {
        "description": "Prefixes, labels and dates. Never a key and never a hash.",
        "operationId": "get_keys_v1_keys_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Keys V1 Keys Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List your API keys",
        "tags": [
          "billing"
        ]
      },
      "post": {
        "description": "For rotation: issue the new key, move your systems over, revoke the old.",
        "operationId": "post_key_v1_keys_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KeyIssueIn"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Body"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Key V1 Keys Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Issue an additional API key for your account",
        "tags": [
          "billing"
        ]
      }
    },
    "/v1/keys/revoke": {
      "post": {
        "description": "Revoke the key you present, or another of your own by ``key_prefix``.\n\nA prefix that belongs to a different account is reported exactly like one\nthat does not exist.",
        "operationId": "post_key_revoke_v1_keys_revoke_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/KeyRevokeIn"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Body"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Key Revoke V1 Keys Revoke Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Revoke one of your API keys; it stops working immediately",
        "tags": [
          "billing"
        ]
      }
    },
    "/v1/ledger/attest": {
      "post": {
        "description": "Sign three numbers, refuse the three cases that would be a lie.\n\nThe refusals return 409, not 422: a shorter ledger is not a malformed\nrequest, it is the finding. The body of the refusal is the sentence to put\nin front of whoever runs the database.\n\nHeads you declare are compared only with heads you declared earlier: they\ndescribe your ledger, not any ledger this service holds. ``note`` is signed\nbut is your text; the response and every later verification say so.\n\nThis is a plain ``def`` so FastAPI runs it in its thread pool: waiting for the\nlog's lock (bounded, then 503) must never hold up the event loop.",
        "operationId": "counter_sign_v1_ledger_attest_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttestIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Counter Sign V1 Ledger Attest Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "401": {
            "description": "No API key, or one that is not valid (`WWW-Authenticate: ApiKey`)."
          },
          "402": {
            "description": "Authenticated, but the plan does not include this (`plan_does_not_include_*`; the body names the plan that does)."
          },
          "409": {
            "description": "`attestation_refused`: a finding, not a malformed request. The head is shorter than, behind, or a different history from one already signed *for the same kind of head* (your own declared heads), or the service key is not the one that signed this log (only the operator can acknowledge a rotation, with the CLI). The `finding` is the sentence to show whoever runs the database."
          },
          "422": {
            "description": "Not a ledger head (`not_a_ledger_head`), a length or sequence beyond the declared-head bound, or a field this request does not take (`rotating` is not one it does)."
          },
          "500": {
            "description": "`attestation_log_damaged`: this account's attestation log cannot be read or ends in an unfinished write. A fault to repair, not a finding about your ledger; nothing was signed."
          },
          "503": {
            "description": "`attestation_busy` (retry after `Retry-After`; the log's lock was not free in time, nothing was signed) or a missing or unusable service key."
          }
        },
        "summary": "Counter-sign the head of your ledger, without sending us the ledger",
        "tags": [
          "attestation"
        ]
      }
    },
    "/v1/ledger/attest/key": {
      "get": {
        "description": "Fetch the verifying key and its fingerprint.\n\nRead the fingerprint against one published somewhere this service does not\ncontrol. A signature checked against a key that arrived over the same\nconnection as the signature proves only that one party was consistent.",
        "operationId": "service_key_v1_ledger_attest_key_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Service Key V1 Ledger Attest Key Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "503": {
            "description": "`no_attestation_key_configured`, `attestation_key_unsafe` or `attestation_key_unusable`: the service has no usable signing key. The message never names a server path."
          }
        },
        "summary": "The public key this service counter-signs with. No account needed.",
        "tags": [
          "attestation"
        ]
      }
    },
    "/v1/ledger/attest/log": {
      "get": {
        "description": "The account's attestation log. Reads without the writer's lock, so it never\nwaits; an unfinished last line is reported in ``warnings`` and left out.",
        "operationId": "account_log_v1_ledger_attest_log_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Account Log V1 Ledger Attest Log Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "401": {
            "description": "No API key, or one that is not valid (`WWW-Authenticate: ApiKey`)."
          },
          "402": {
            "description": "Authenticated, but the plan does not include this (`plan_does_not_include_*`; the body names the plan that does)."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          },
          "500": {
            "description": "`attestation_log_damaged`: a line other than the last cannot be read. The message never names a server path."
          }
        },
        "summary": "Every attestation this service has made for your account",
        "tags": [
          "attestation"
        ]
      }
    },
    "/v1/ledger/attest/verify": {
      "post": {
        "description": "Verify signatures and internal consistency. No account, no quota.\n\nDeliberately free: the audience for an attestation is a regulator, an\ninsurer, or a customer's customer \u2014 none of whom will ever hold an API key\nhere, and all of whom must be able to check the thing without asking us.\n\nThis endpoint cannot see the caller's ledger, so it cannot answer the\nquestion that matters most \u2014 whether the ledger still holds what was signed\nfor. That join happens locally, with ``assurance attest verify --ledger``,\nand its absence here is named rather than glossed.\n\n``notes`` lists every note with ``note_is_tenant_supplied``: on a counter-signature\nthe note is the requester's free text, covered by the signature but not a statement\nby the key holder about the ledger.",
        "operationId": "verify_v1_ledger_attest_verify_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/assurance__api__attest_routes__VerifyIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Verify V1 Ledger Attest Verify Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "413": {
            "description": "`too_many_attestations`: verify larger logs locally."
          },
          "422": {
            "description": "`unreadable_attestation` or `unreadable_public_key`."
          },
          "503": {
            "description": "No public key was supplied and the service has no usable key."
          }
        },
        "summary": "Check an attestation log. Free and unmetered, for anyone.",
        "tags": [
          "attestation"
        ]
      }
    },
    "/v1/ledger/entries": {
      "get": {
        "description": "Read-only cursor page of this account's hash-chained ledger entries.\n\nVerifies the chain before returning any row; omits raw platform filing payloads\nso audit and run-history views can page safely without exporting full case files.",
        "operationId": "get_ledger_entries_v1_ledger_entries_get",
        "parameters": [
          {
            "description": "Return entries strictly after this sequence number",
            "in": "query",
            "name": "after_seq",
            "required": false,
            "schema": {
              "default": 0,
              "description": "Return entries strictly after this sequence number",
              "minimum": 0,
              "title": "After Seq",
              "type": "integer"
            }
          },
          {
            "description": "Maximum entries to return",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "description": "Maximum entries to return",
              "maximum": 200,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "Optional evidence kind filter",
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 128,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional evidence kind filter",
              "title": "Kind"
            }
          },
          {
            "description": "Optional subject filter",
            "in": "query",
            "name": "subject",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 256,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional subject filter",
              "title": "Subject"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Ledger Entries V1 Ledger Entries Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Page through your ledger's chained records",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/ledger/verify": {
      "get": {
        "description": "Chain check, plus a completeness check against the service's own counter-signature.\n\n``completeness`` is ``checked_against_anchor`` only when this account has an\nattestation log whose every record verifies against the *service's* public key and\nwhose newest server-read head this ledger still contains; ``contradicted_by_anchor``\n(and ``verified`` false) when it does not. Otherwise ``not_checked``, and\n``not_checked`` names the missing prerequisite. ``anchor_meaning`` says what that\ndoes and does not prove.",
        "operationId": "get_ledger_verify_v1_ledger_verify_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Ledger Verify V1 Ledger Verify Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Verify the evidence chain",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/machine/bundle/check": {
      "post": {
        "description": "Check somebody else's bundle without trusting them or us.\n\nDeliberately outside every paywall. If a bundle can only be checked by\nsomeone with a subscription, it is a vendor certificate rather than\nevidence, and the customer's auditor is right to ignore it.\n\n``ok`` means no inconsistency was found. ``level`` says how far the check got:\n``integrity_only`` (seal and coherence, the engine was not re-run on the\noriginals, so nothing shows the machine behaved as recorded), ``reproduced``\n(the original envelope, trace and, if needed, limits table were supplied and\nre-running the engine reproduced every sealed field) or ``rejected``. Each flag\nunder ``checked`` is true only if that check ran and passed. A seal is not a\nsignature.\n\nThe checking is CPU work, so it runs in a worker thread and cannot stall the\nevent loop; the request size cap is unchanged.",
        "operationId": "check_bundle_v1_machine_bundle_check_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BundleCheckIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Check Bundle V1 Machine Bundle Check Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Re-verify an evidence bundle. Free, permanently, for anyone.",
        "tags": [
          "machine safety"
        ]
      }
    },
    "/v1/machine/separation": {
      "post": {
        "description": "S(t0) = Sh + Sr + Ss + C + Zd + Zr, term by term.\n\nTwo things this returns that a spreadsheet usually gets wrong: Sh runs over\nthe reaction time as well as the stop time, and Ss is flagged when the\nrequested speed is above the speed the stopping distance was measured at.\nCounted once the answer is complete (``billing/metering.py``).",
        "operationId": "separation_v1_machine_separation_post",
        "parameters": [
          {
            "in": "header",
            "name": "idempotency-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SeparationIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Separation V1 Machine Separation Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "The protective separation distance your cell actually needs",
        "tags": [
          "machine safety"
        ]
      }
    },
    "/v1/machine/verify": {
      "post": {
        "description": "Compare what the machine did against what its manufacturer declared.",
        "operationId": "verify_run_v1_machine_verify_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/assurance__api__machine_routes__VerifyIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Verify Run V1 Machine Verify Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          },
          "429": {
            "description": "`too_many_verifications`: this account already has 2 runs in flight. `Retry-After` says when."
          },
          "503": {
            "description": "`verification_queue_full`: the service is running its limit and its queue is full. `Retry-After` says when."
          }
        },
        "summary": "Verify a recorded run against a declared safety envelope",
        "tags": [
          "machine safety"
        ]
      }
    },
    "/v1/machinery/coverage": {
      "post": {
        "description": "The join: verification bundles against intervention records.\n\nA verification recorded before an intervention that touched an item\nimplementing the same safety function no longer describes the machine, and\nthis says so by name and by date.",
        "operationId": "coverage_v1_machinery_coverage_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CoverageIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Coverage V1 Machinery Coverage Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "409": {
            "description": "`ledger_chain_unverified`: this account's ledger chain does not verify, so no function is assessed. A coverage read from a store whose records can be deleted or edited could be made to pass. Nothing is assessed."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Which safety functions a recorded verification still stands for, at what tier",
        "tags": [
          "machinery"
        ]
      }
    },
    "/v1/machinery/diff": {
      "post": {
        "description": "Compare an as-declared baseline against what was found on the machine.\n\nA version string changing while the artefact stays byte-identical is graded\nadministrative; a hash changing on an item that implements a safety function\nis the finding. An item carrying no hash is reported as uncomparable \u2014 never\nas unchanged. Counted once the answer is complete (``billing/metering.py``).",
        "operationId": "diff_v1_machinery_diff_post",
        "parameters": [
          {
            "in": "header",
            "name": "idempotency-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DiffIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Diff V1 Machinery Diff Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Is the machine still the configuration you signed off?",
        "tags": [
          "machinery"
        ]
      }
    },
    "/v1/machinery/enrol": {
      "post": {
        "description": "The front door of the lifecycle: one call that makes a machine an enrolled machine.\n\nIdempotent: the same key with the same configuration is ``already_enrolled`` and\nwrites nothing. The receipt lists what enrolment does **not** establish (not verified\nsafe, no verification run yet, manifest completeness not shown, identity as declared and\nnot authenticated to a physical unit). Gated exactly like ``POST /v1/machinery/manifest``.",
        "operationId": "post_enrol_v1_machinery_enrol_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnrolIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Enrol V1 Machinery Enrol Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "409": {
            "description": "`configuration_differs`: this key is already enrolled with a different configuration (that is drift, not an enrolment: see `POST /v1/machinery/diff`); `identity_conflict`: it is enrolled with different declared attributes; `ledger_chain_unverified`. Nothing was written. The body carries the receipt."
          },
          "422": {
            "description": "`invalid_manifest`, or `invalid_enrolment`: the actor is not a named person, or the declared site contradicts the manifest."
          }
        },
        "summary": "Enrol a machine: declare its identity, seal its baseline, get a receipt",
        "tags": [
          "machinery"
        ]
      }
    },
    "/v1/machinery/enrol/amend": {
      "post": {
        "description": "Change the declared ``site`` / ``owner`` of an enrolled machine, as a new record.\n\nThe enrolment is never rewritten: the amendment names it and the amendment before it, and\nthe previous value stays in the ledger. Same values as in force write nothing\n(`no_change`). The identity remains as declared, not authenticated to a physical unit.\nGated exactly like ``POST /v1/machinery/enrol``. No MCP tool: it is a named person's act.",
        "operationId": "post_amend_enrolment_v1_machinery_enrol_amend_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AmendEnrolmentIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Amend Enrolment V1 Machinery Enrol Amend Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "409": {
            "description": "`not_enrolled`, `unknown_attribute` or `key_change_refused` (the body carries the receipt), or `ledger_chain_unverified`. Nothing was written."
          },
          "422": {
            "description": "`invalid_amendment`: the actor is not a named person, the reason is empty, or a value is empty or malformed."
          }
        },
        "summary": "Amend a machine's declared site or owner, as a new record",
        "tags": [
          "machinery"
        ]
      }
    },
    "/v1/machinery/enrol/batch": {
      "post": {
        "description": "Enrol up to 200 machines through the same domain function as ``POST /enrol``.\n\nPer-row outcomes are exactly enrol's (`enrolled`, `already_enrolled`,\n`configuration_differs`, `identity_conflict`) plus `rejected` with a reason. The response\nis 200 whenever the batch was processed, because some rows may have been written; read\n`counts` and `outcomes`. The data is customer-provided and as declared: it is not collected\nfrom the machines and no verification is run. Gated exactly like `POST /enrol`. No MCP\ntool; no CSV upload (a server that parses arbitrary uploaded files is a larger attack\nsurface than one that takes canonical rows).",
        "operationId": "post_enrol_batch_v1_machinery_enrol_batch_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnrolBatchIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Enrol Batch V1 Machinery Enrol Batch Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "409": {
            "description": "`ledger_chain_unverified`: nothing was written."
          },
          "413": {
            "description": "`too_many_rows`: more rows than one request takes; split the batch. Nothing was written."
          },
          "422": {
            "description": "`invalid_enrolment`: the actor is not a named person, or the request is malformed. A bad ROW is not a 422: it is reported as `rejected` in the outcomes and the other rows proceed."
          }
        },
        "summary": "Enrol many machines from canonical rows of an inventory export",
        "tags": [
          "machinery"
        ]
      }
    },
    "/v1/machinery/export": {
      "get": {
        "description": "The machine's own ledger subject as ``assurance evidence verify`` expects it.\n\n``GET /v1/cases`` lists a machine key beside the case ids, but ``/v1/cases/{id}/export``\ncannot name one (the key holds ``/`` and ``#``), so a machine's manifests, interventions,\nverifications and passports could not be exported over HTTP. This route does. Same rules as\nthe case exports: the chain must verify (500 ``ledger_integrity`` otherwise), an anchor that\ncontradicts the ledger is 409, completeness is *not checked* without ``skeleton`` and a\nsigned ``anchor``, and a machine with no entry at all is 404 so an export is never an empty\nbundle that reads as clean. Gated like the other machinery routes (Cell): a lapsed\nsubscription answers 402 here, unlike the four case read-out routes.",
        "operationId": "export_machine_v1_machinery_export_get",
        "parameters": [
          {
            "description": "the machine key exactly as enrolled, `manufacturer/model#serial`. It is a query parameter because the key holds `/` and `#`, which cannot be a path segment",
            "in": "query",
            "name": "machine",
            "required": true,
            "schema": {
              "description": "the machine key exactly as enrolled, `manufacturer/model#serial`. It is a query parameter because the key holds `/` and `#`, which cannot be a path segment",
              "maxLength": 400,
              "minLength": 1,
              "title": "Machine",
              "type": "string"
            }
          },
          {
            "description": "embed the newest signed attestation the service read from this account's own ledger as `anchor` (see `GET /v1/change/cases/{case_id}/export`)",
            "in": "query",
            "name": "anchor",
            "required": false,
            "schema": {
              "default": true,
              "description": "embed the newest signed attestation the service read from this account's own ledger as `anchor` (see `GET /v1/change/cases/{case_id}/export`)",
              "title": "Anchor",
              "type": "boolean"
            }
          },
          {
            "description": "also carry the position, kind, subject, time and hashes of every OTHER entry of this account's ledger (no evidence), so a verifier can see a removed entry. Off by default: it names the account's other subjects",
            "in": "query",
            "name": "skeleton",
            "required": false,
            "schema": {
              "default": false,
              "description": "also carry the position, kind, subject, time and hashes of every OTHER entry of this account's ledger (no evidence), so a verifier can see a removed entry. Off by default: it names the account's other subjects",
              "title": "Skeleton",
              "type": "boolean"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Export Machine V1 Machinery Export Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "401": {
            "description": "No API key, or one that is not valid (`WWW-Authenticate: ApiKey`)."
          },
          "402": {
            "description": "Authenticated, but the plan does not include this (`plan_does_not_include_*`; the body names the plan that does)."
          },
          "404": {
            "description": "`case_not_found`: the ledger holds no entry of a case kind under this id, so an export is never an empty bundle that reads clean."
          },
          "409": {
            "description": "`anchor_contradicts_ledger`: the newest server-read signed attestation in this account's log does not match this ledger (shorter, or different history at a signed position). A rewind signal; nothing is exported. `?anchor=false` exports without the anchor but does not make the finding go away."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          },
          "500": {
            "description": "`ledger_integrity` (the account's chain does not verify) or `attestation_log_damaged` (the account's attestation log cannot be read, or ends in an unterminated line that may be the newest record, so the anchor cannot be chosen; never a silently unanchored export)."
          },
          "503": {
            "description": "`attestation_busy`: the attestation log ends in an unfinished line and a signer holds its lock right now. Retry after `Retry-After`; nothing was decided or exported."
          }
        },
        "summary": "A verifiable evidence bundle for one machine (manifests, changes, verifications, passports)",
        "tags": [
          "machinery"
        ]
      }
    },
    "/v1/machinery/intervention": {
      "post": {
        "description": "Record a change to safety-relevant software.\n\nA change with no authorisation and no re-validation is recorded, not\nrefused \u2014 and its findings travel with it. Refusing would push the change\nback to where it lives now, which is nowhere.\n\nWhat is refused is a change that could not be about anything the ledger holds:\n``409 unknown_machine`` when no manifest is sealed under exactly this unit key (a key\nwith another case or serial is a different unit), ``422 unknown_function`` naming any\nsafety function the sealed manifest does not declare. Function ids are written back\nas the manifest spells them (``sf-1`` is ``SF-1``), and a blank list is accepted: the\nfunctions the manifest says the changed item implements are disturbed regardless\n(``effective_affects_functions``).",
        "operationId": "post_intervention_v1_machinery_intervention_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InterventionIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Intervention V1 Machinery Intervention Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "409": {
            "description": "`unknown_machine`: no manifest is sealed under exactly this unit key (another case, another serial, another unit, a product line). Nothing was written."
          },
          "422": {
            "description": "`invalid_intervention`, or `unknown_function`: the record names a safety function the sealed manifest does not declare (`unknown_functions` lists them). Nothing was written."
          }
        },
        "summary": "Seal an intervention record",
        "tags": [
          "machinery"
        ]
      }
    },
    "/v1/machinery/manifest": {
      "post": {
        "operationId": "post_manifest_v1_machinery_manifest_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ManifestIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Manifest V1 Machinery Manifest Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Seal a safety software manifest",
        "tags": [
          "machinery"
        ]
      }
    },
    "/v1/machinery/pack": {
      "post": {
        "description": "A deterministic zip and HTML cover of one machine's recorded evidence.\n\nSoftware drafts; a named person decides. Not a certificate or conformity assessment.\nIncluded in the Cell plan or bought once; otherwise 402. A ledger whose chain does not\nverify yields a pack in state BLOCKED, never a clean one.",
        "operationId": "evidence_pack_v1_machinery_pack_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PackIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Assemble the Annex III 1.1.9 evidence pack (zip)",
        "tags": [
          "machinery"
        ]
      }
    },
    "/v1/machinery/passport": {
      "post": {
        "operationId": "passport_v1_machinery_passport_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PassportIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Passport V1 Machinery Passport Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Seal the machine's evidence position",
        "tags": [
          "machinery"
        ]
      }
    },
    "/v1/machinery/passport/check": {
      "post": {
        "description": "Check somebody else's passport without trusting them or us.\n\nNo ledger is supplied over HTTP, so this confirms the seal and the passport's\ninternal consistency and says plainly that it confirmed nothing else. Use\n``assurance machinery check --ledger`` to check the records it names.",
        "operationId": "check_passport_v1_machinery_passport_check_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PassportCheckIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Check Passport V1 Machinery Passport Check Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Re-verify a machine passport. Free, permanently, for anyone.",
        "tags": [
          "machinery"
        ]
      }
    },
    "/v1/machinery/passport/check-ledger": {
      "post": {
        "description": "The hosted twin of ``assurance machinery check PASSPORT --ledger LEDGER``.\n\n``POST /v1/machinery/passport/check`` has no ledger, so it cannot see that a passport has\nbeen overtaken. This reads the CALLER'S OWN ledger (never another account's, never the\noperator's) and applies the same rules as the command: the named records must exist and\nmatch, the printed blocks must repeat the sealed body, and a passport the ledger shows has\nbeen superseded (a later look at another configuration, a later declared baseline, a\nrecorded change) is not ok. Reads only; seals nothing; not metered. An ``ok`` here says\nthe passport matches THIS ledger as it stands now, not that the machine is safe.",
        "operationId": "check_passport_against_ledger_v1_machinery_passport_check_ledger_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PassportCheckIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Check Passport Against Ledger V1 Machinery Passport Check Ledger Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "409": {
            "description": "`ledger_chain_unverified`: the account's chain does not verify, so nothing was judged against it."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Re-verify a passport against YOUR account's ledger (is it still the machine?)",
        "tags": [
          "machinery"
        ]
      }
    },
    "/v1/me": {
      "get": {
        "description": "What this key is entitled to, and what it has spent today.",
        "operationId": "get_me_v1_me_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Me V1 Me Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Your account, plan and usage",
        "tags": [
          "billing"
        ]
      }
    },
    "/v1/operators": {
      "get": {
        "operationId": "list_operators_v1_operators_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response List Operators V1 Operators Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "The account's operators",
        "tags": [
          "operators"
        ]
      },
      "post": {
        "operationId": "create_operator_v1_operators_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OperatorIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Create Operator V1 Operators Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create an operator and issue its key (shown once)",
        "tags": [
          "operators"
        ]
      }
    },
    "/v1/operators/{operator_id}/disable": {
      "post": {
        "operationId": "disable_operator_v1_operators__operator_id__disable_post",
        "parameters": [
          {
            "in": "path",
            "name": "operator_id",
            "required": true,
            "schema": {
              "title": "Operator Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Disable Operator V1 Operators  Operator Id  Disable Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Disable an operator and revoke its keys",
        "tags": [
          "operators"
        ]
      }
    },
    "/v1/operators/{operator_id}/signing-key": {
      "post": {
        "operationId": "pin_operator_signing_key_v1_operators__operator_id__signing_key_post",
        "parameters": [
          {
            "in": "path",
            "name": "operator_id",
            "required": true,
            "schema": {
              "title": "Operator Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OperatorSigningKeyIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Pin Operator Signing Key V1 Operators  Operator Id  Signing Key Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Pin or rotate an operator's Ed25519 decision-signing public key",
        "tags": [
          "operators"
        ]
      }
    },
    "/v1/plans": {
      "get": {
        "description": "Every tier and exactly what it permits.\n\n``limits`` is generated from the same objects the service enforces, so the\npricing page cannot drift from the software.\n\n``X-Assurance-Billing-Mode`` (``test`` / ``live`` / ``unconfigured`` / ``unknown``) says\nwhich Stripe mode a checkout started here would run in, so a client can tell a visitor\nwhether real money moves. It is read from the checkout's own configuration, never guessed.",
        "operationId": "get_plans_v1_plans_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {},
                  "title": "Response Get Plans V1 Plans Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response",
            "headers": {
              "X-Assurance-Billing-Mode": {
                "description": "The Stripe mode a checkout started here would run in: `test`, `live`, `unconfigured` (no Stripe key) or `unknown` (a key whose mode cannot be read). A mode word only, never any part of a key.",
                "schema": {
                  "enum": [
                    "test",
                    "live",
                    "unconfigured",
                    "unknown"
                  ],
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "What is on sale",
        "tags": [
          "billing"
        ]
      }
    },
    "/v1/register": {
      "get": {
        "operationId": "get_register_report_v1_register_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Register Report V1 Register Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Readiness across every case",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/register/breaches": {
      "get": {
        "operationId": "get_breaches_v1_register_breaches_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {},
                  "title": "Response Get Breaches V1 Register Breaches Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Deadlines missed or overdue",
        "tags": [
          "article 14"
        ]
      }
    },
    "/v1/spec/fields": {
      "get": {
        "description": "Free, and deliberately so. The specification is not the product.",
        "operationId": "get_fields_v1_spec_fields_get",
        "parameters": [
          {
            "in": "query",
            "name": "track",
            "required": true,
            "schema": {
              "pattern": "^(actively_exploited_vulnerability|severe_incident)$",
              "title": "Track",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "stage",
            "required": true,
            "schema": {
              "pattern": "^(early_warning|notification|final|intermediate)$",
              "title": "Stage",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {},
                  "title": "Response Get Fields V1 Spec Fields Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "The platform field specification",
        "tags": [
          "free"
        ]
      }
    },
    "/v1/spec/validate": {
      "post": {
        "description": "The free tier, and the demo that sells the register behind it.\n\nNothing is recorded about the filing. A prospect can paste a draft filing\nand immediately see which of the 39 fields are missing, which exceed a\ncharacter limit, and which listed territories are not EU Member States.\nThe call is counted (see ``billing/metering.py``) once the answer is\ncomplete; a draft that is not submittable is a successful answer.",
        "operationId": "post_validate_v1_spec_validate_post",
        "parameters": [
          {
            "in": "header",
            "name": "idempotency-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Validate a draft submission without recording it",
        "tags": [
          "free"
        ]
      }
    },
    "/v1/supplier/advisory": {
      "post": {
        "description": "Host an advisory you signed locally.\n\nThis checks structure and the feed's chain (sequence, predecessor hash, one\nsupplier per feed, no repeated advisory id) and refuses what it cannot parse.\nIt does not verify the signature: it holds no supplier key. Readers verify\nthe feed against a key fingerprint they obtained from you by another route.",
        "operationId": "post_advisory_v1_supplier_advisory_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/assurance__api__supplier_routes__AdvisoryIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Advisory V1 Supplier Advisory Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Publish a signed advisory to your hosted feed (Supplier tier); readers verify the signature",
        "tags": [
          "supplier"
        ]
      }
    },
    "/v1/supplier/advisory/key": {
      "post": {
        "description": "Pin the public key this account publishes with, for the supplier id it publishes as.\n\nSame Supplier-tier gate as publish. It calls the same trust store as\n``/trust/pin`` and ``/trust/rotate`` and can only name this account's own\nsupplier id. It is the account holder's declaration, not proof of identity,\nand never trusts another supplier. A repeat of the active key is a 200 that\nwrites nothing; a different key while one is active is a rotation and needs\n``effective_at``; the old key is retired, never deleted. Revocation stays on\n``/trust/revoke`` (Machine tier).",
        "operationId": "post_self_pin_v1_supplier_advisory_key_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SelfPinIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Self Pin V1 Supplier Advisory Key Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Pin your own publishing public key in your own account (Supplier tier; as declared by you)",
        "tags": [
          "supplier"
        ]
      }
    },
    "/v1/supplier/advisory/withdraw": {
      "post": {
        "description": "Host a withdrawal you signed locally (`assurance supplier withdraw` on a copy of the feed).\n\nUnlike publish, this verifies the signature, under the key your account pinned for\nthe supplier: a withdrawal changes what readers believe stands. The original\nadvisory is never edited or removed; the withdrawal is appended as the next record.\nA repeat for an advisory already withdrawn is a 200 that writes nothing.",
        "operationId": "post_withdrawal_v1_supplier_advisory_withdraw_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/assurance__api__supplier_routes__AdvisoryIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Withdrawal V1 Supplier Advisory Withdraw Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Withdraw an advisory of your hosted feed with a signed withdrawal (Supplier tier)",
        "tags": [
          "supplier"
        ]
      }
    },
    "/v1/supplier/feed/{supplier_account_id}": {
      "get": {
        "operationId": "get_feed_v1_supplier_feed__supplier_account_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "supplier_account_id",
            "required": true,
            "schema": {
              "title": "Supplier Account Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Read a hosted supplier feed (no account needed)",
        "tags": [
          "supplier"
        ]
      }
    },
    "/v1/supplier/trust": {
      "get": {
        "operationId": "get_trust_v1_supplier_trust_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Trust V1 Supplier Trust Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Pinned supplier keys and every trust decision (your account)",
        "tags": [
          "supplier"
        ]
      }
    },
    "/v1/supplier/trust/evaluate": {
      "post": {
        "description": "Readable / signature valid / key pinned for this supplier / chain intact,\neach on its own. Always 200: an untrusted feed is a result, not an error.",
        "operationId": "post_evaluate_v1_supplier_trust_evaluate_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvaluateIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Evaluate V1 Supplier Trust Evaluate Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "What is this feed, state by state, under your pinned keys?",
        "tags": [
          "supplier"
        ]
      }
    },
    "/v1/supplier/trust/feed-baseline": {
      "post": {
        "operationId": "post_feed_baseline_v1_supplier_trust_feed_baseline_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FeedBaselineIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Feed Baseline V1 Supplier Trust Feed Baseline Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Accept a re-issued, trusted feed as the new baseline for rollback detection",
        "tags": [
          "supplier"
        ]
      }
    },
    "/v1/supplier/trust/override": {
      "post": {
        "operationId": "post_override_v1_supplier_trust_override_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OverrideIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Override V1 Supplier Trust Override Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Explicitly accept ONE untrusted advisory; attributed and written to the ledger",
        "tags": [
          "supplier"
        ]
      }
    },
    "/v1/supplier/trust/pin": {
      "post": {
        "operationId": "post_pin_v1_supplier_trust_pin_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PinIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Pin V1 Supplier Trust Pin Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Pin a supplier's public key (fingerprint obtained outside the feed)",
        "tags": [
          "supplier"
        ]
      }
    },
    "/v1/supplier/trust/revoke": {
      "post": {
        "operationId": "post_revoke_v1_supplier_trust_revoke_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RevokeIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Revoke V1 Supplier Trust Revoke Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Revoke a pinned key: everything it signed becomes untrusted",
        "tags": [
          "supplier"
        ]
      }
    },
    "/v1/supplier/trust/rotate": {
      "post": {
        "operationId": "post_rotate_v1_supplier_trust_rotate_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RotateIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Rotate V1 Supplier Trust Rotate Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Pin a new key and retire the old one from an effective date",
        "tags": [
          "supplier"
        ]
      }
    },
    "/v1/usage": {
      "get": {
        "description": "Your own metered usage: per-scope totals, allowance, remaining, pay-as-you-go\nstate and your recent events with their idempotency keys.\n\nEverything is read from the account store for the account the key belongs\nto. There is no parameter that names another account, and no total is ever\ntaken from the client. The operator and anonymous callers have no account\nusage (anonymous gets a 401).",
        "operationId": "get_usage_v1_usage_get",
        "parameters": [
          {
            "description": "'current' (this UTC month, default), 'today' or YYYY-MM",
            "in": "query",
            "name": "period",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "'current' (this UTC month, default), 'today' or YYYY-MM",
              "title": "Period"
            }
          },
          {
            "description": "how many recent events",
            "in": "query",
            "name": "events",
            "required": false,
            "schema": {
              "default": 50,
              "description": "how many recent events",
              "maximum": 200,
              "minimum": 1,
              "title": "Events",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Usage V1 Usage Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "What your account has used",
        "tags": [
          "billing"
        ]
      }
    },
    "/v1/usage/dimensions": {
      "get": {
        "description": "Your own usage by dimension, as measurements. Nothing here is a price.\n\nThe four metered operations (period total, the billable part, the plan's daily allowance),\nthe machines enrolled in your own ledger, the verifications sealed for them, and the evidence\npacks you hold, with the units used per UTC day. Only the operations are metered: the other\nthree are measurements and are never billed. A dimension that could not be measured says\n``unchecked`` and has no quantity; it is never zero. No plan is needed: every account, the\nfree Validator account included, reads its own measurements, with the same ``period`` and the\nsame key rules as ``GET /v1/usage`` (anonymous gets a 401; an operator key gets\n``metered: false`` and no dimensions).\n\nThe ledger part is read-only, never creates a ledger, and is cached for 30 seconds per\naccount. ``invoice`` is an estimate of the pay-as-you-go overage for the current UTC month, read\nfrom the unit price Stripe itself holds and shown only where the deployment offers pay-as-you-go and\nthe account may be billed; otherwise it says why there is none. It is never an invoice, and this\nrepository holds no price.",
        "operationId": "get_usage_dimensions_v1_usage_dimensions_get",
        "parameters": [
          {
            "description": "'current' (this UTC month, default), 'today' or YYYY-MM",
            "in": "query",
            "name": "period",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "'current' (this UTC month, default), 'today' or YYYY-MM",
              "title": "Period"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Get Usage Dimensions V1 Usage Dimensions Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "What your account has used, by dimension",
        "tags": [
          "billing"
        ]
      }
    },
    "/v1/usage/limits": {
      "post": {
        "description": "Your guard against a surprise bill, in billable units per UTC month.\n\nTakes effect on the next call. Lowering it below what you have used stops\nbilling at once. Setting a limit does not turn billing on: that needs the\npay-as-you-go plan (a free or lapsed account stays at its daily cap).",
        "operationId": "post_usage_limits_v1_usage_limits_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsageLimitsIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Usage Limits V1 Usage Limits Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Set your monthly spend limit and alert",
        "tags": [
          "billing"
        ]
      }
    },
    "/v1/value": {
      "get": {
        "operationId": "position_v1_value_get",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Position V1 Value Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Your assurance position, derived from your own ledger",
        "tags": [
          "value"
        ]
      }
    },
    "/v1/watch/report": {
      "post": {
        "description": "Opt-in and idempotent. Records observations; derives no finding of its own.\n\nThe response says, per machine, whether the entry was ``recorded``,\n``already_recorded`` (a retry: nothing was written) or ``refused`` and why,\nwhich case a drift opened or found, and what this does not establish.\n\nA plain ``def`` on purpose: FastAPI runs it in the threadpool, so a large report\nfrom one tenant cannot hold the event loop and stall every other caller.",
        "operationId": "post_report_v1_watch_report_post",
        "parameters": [
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "in": "header",
            "name": "fly-client-ip",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fly-Client-Ip"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WatchReportIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Post Report V1 Watch Report Post",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Report what your Watch saw, to your own ledger",
        "tags": [
          "watch"
        ]
      }
    }
  },
  "tags": [
    {
      "description": "The field specification and the dry-run validator. No account needed.",
      "name": "free"
    },
    {
      "description": "The register. Needs a plan that includes it. Hosted records only: the service files nothing with ENISA or a CSIRT, and awareness, triage and filings are a named person's acts.",
      "name": "article 14"
    },
    {
      "description": "Verify a recorded machine run against its declared safety envelope, on the trace you post (the service does not collect it; the offline `assurance machine verify` does the same on local files). The separation calculator and the bundle re-checker need no account.",
      "name": "machine safety"
    },
    {
      "description": "Machinery Regulation Annex III 1.1.9: safety software identity, evidence of intervention, and which safety functions a recorded verification still stands for, at what tier.",
      "name": "machinery"
    },
    {
      "description": "Every enrolled machine at once: component advisories fanned out to serial numbers, and Declarations of Conformity bound to a configuration. Hosted views of what the account enrolled or pushed; the service reads no machine.",
      "name": "fleet"
    },
    {
      "description": "Record what a Watch run on YOUR machine chose to report. There is no hosted Watch: no scheduler, no collection, no reading of a machine. A machine absent from a push is stale, not clear.",
      "name": "watch"
    },
    {
      "description": "Active Assurance Cases on the account's hosted ledger. Drift and intervention cases are opened from manifests and records the caller supplies; closure, waiver and answering a decision are a named person's, and no agent tool does them.",
      "name": "change"
    },
    {
      "description": "Read-only views of the operator's shared public-source store (KEV, NVD, EPSS, CSAF). Nothing here fetches or records a feed: that is the operator's `intel refresh/ingest` on the host. Every answer carries the store's age (`store_freshness`); a stale or unknown store is not an all-clear.",
      "name": "intel"
    },
    {
      "description": "The service counter-signs the head of a ledger it holds with its own key. Making or holding YOUR signing key, and the recorder trust list, are offline and not offered over HTTP.",
      "name": "attestation"
    },
    {
      "description": "Publish a signed component advisory to a hosted feed (Supplier tier, sales-assigned). Reading any feed needs no account.",
      "name": "supplier"
    },
    {
      "description": "Plans, checkout, and your own account.",
      "name": "billing"
    },
    {
      "description": "Liveness and configuration.",
      "name": "service"
    }
  ]
}
