{"openapi":"3.1.0","info":{"title":"UBOAT \u2014 Deep-Sourced OSINT & Decision Intelligence API","version":"0.1.0","description":"Intelligence beneath the surface. Living knowledge graph of technological progress and civilization infrastructure with cryptographic sources, evidence excerpts, epistemic uncertainty, and agent decision support. Access: a key goes in X-API-Key or as a Bearer token. UBOAT_API_KEY is an admin key named 'operator'; named keys (uboat keys create) have a role: viewer (reads), analyst (cases, watchers, alerts, monitors, AOIs, claims, decisions, screening and ownership lookups) or admin (ingestion, maintenance, QAMP delegations, node sync, keys). Each operation's x-uboat-role is the least role it needs and x-uboat-public says when it needs none; a node without any key is open. Agent tools (MCP tools/call, POST /api/v1/agent/tools/{name}) need analyst to write and admin to ingest."},"servers":[{"url":"http://uboat.app"}],"paths":{"/health":{"get":{"summary":"Engine health check","tags":["System"],"responses":{"200":{"description":"OK"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"always","x-uboat-rate-class":null,"security":[],"description":"Open to everyone, with or without a key."}},"/api/v1/stats":{"get":{"summary":"Global graph & epistemic health stats","tags":["System"],"responses":{"200":{"description":"Stats"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/connectors":{"get":{"summary":"List registered OSINT connectors","tags":["Ingestion"],"responses":{"200":{"description":"Connector list"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/ingest":{"post":{"summary":"Run an OSINT connector and ingest documents into the living graph","tags":["Ingestion"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"connector":{"type":"string","example":"arxiv"},"query":{"type":"string","example":"solid state battery"},"limit":{"type":"integer","default":10}},"required":["connector","query"]}}}},"responses":{"200":{"description":"Ingestion run report"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/documents":{"get":{"summary":"List raw sourced documents","tags":["Provenance"],"responses":{"200":{"description":"Documents"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":50,"minimum":0,"maximum":500}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0,"maximum":1000000000}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."},"post":{"summary":"Ingest a custom raw OSINT document","tags":["Ingestion"],"responses":{"201":{"description":"Ingested"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/documents/{id}":{"get":{"summary":"Get document by ID with content hash","tags":["Provenance"],"responses":{"200":{"description":"Document"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/entities":{"get":{"summary":"List canonical knowledge graph entities","tags":["Graph"],"responses":{"200":{"description":"Entities"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":0,"maximum":1000}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0,"maximum":1000000000}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/entities/{id}":{"get":{"summary":"Get full entity dossier with uncertainty & relations","tags":["Graph"],"responses":{"200":{"description":"Entity dossier"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/entities/{id}/graph":{"get":{"summary":"Extract N-hop subgraph around an entity","tags":["Graph"],"responses":{"200":{"description":"Subgraph"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"depth","in":"query","schema":{"type":"integer","default":2,"minimum":0,"maximum":6}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/actors":{"get":{"summary":"Actor directory: every entity with kind, country, reports naming it in the last ?days=30 (mentions.window / all_time), latest report and sanctions status (pending until screened in the background; see screening.complete). Filters ?q= ?kind= ?country= ?sanctions= (or flagged), ?sort=mentions|name|kind|country|last_seen|sanctions ?order=asc|desc ?limit= ?offset=; flagged junk hidden unless ?include_suppressed=1","tags":["Graph"],"responses":{"200":{"description":"Actors"},"400":{"description":"Bad sort or order"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":500}},{"name":"limit","in":"query","schema":{"type":"integer","default":1000,"minimum":1,"maximum":5000}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0,"maximum":1000000000}},{"name":"days","in":"query","schema":{"type":"integer","default":30,"minimum":1,"maximum":365}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/entities/{id}/profile":{"get":{"summary":"Actor profile: daily mentions (?days=30), recent reports, co-mentions, places, situations (?situations=0 skips), typed relations, uncertainty, source diversity, actor signals","tags":["Graph"],"responses":{"200":{"description":"Entity profile"},"404":{"description":"Unknown entity"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"days","in":"query","schema":{"type":"integer","default":30,"minimum":1,"maximum":365}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/actors/signals":{"get":{"summary":"Actor signals: mention spikes against a baseline share and first co-mentions of established actors, each with explanation, reports and false-alarm reading (?days=2&kind=all|mention_spike|new_co_mention&alerts=1&limit=50)","tags":["Graph"],"responses":{"200":{"description":"Signals with calibration"},"400":{"description":"Bad parameter"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/actors/office-check":{"get":{"summary":"Office-holder drift report: each curated office holder checked against Wikidata about weekly (confirmed, left_office, successor_reported, unverifiable, check_failed) with QIDs, dates, rank and a suggested edit, plus reports calling someone else by the office. Never applied automatically. ?status= filters; ?all=1 includes confirmed","tags":["Graph"],"responses":{"200":{"description":"Drift report"},"400":{"description":"Bad status"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/relations":{"get":{"summary":"List typed evidenced relationships","tags":["Graph"],"responses":{"200":{"description":"Relations"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":200,"minimum":0,"maximum":1000}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/claims":{"post":{"summary":"Submit a sourced claim and recompute Bayesian belief","tags":["Graph"],"responses":{"201":{"description":"Claim recorded"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/search":{"get":{"summary":"Full-text search across entities & documents","tags":["Graph"],"responses":{"200":{"description":"Search results"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":500}},{"name":"limit","in":"query","schema":{"type":"integer","default":20,"minimum":0,"maximum":100}},{"name":"min_confidence","in":"query","schema":{"type":"number","default":0.0,"minimum":0.0,"maximum":1.0}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/path":{"get":{"summary":"Find shortest evidenced path between two entities (?from=&to=)","tags":["Graph"],"responses":{"200":{"description":"Path"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"max_depth","in":"query","schema":{"type":"integer","default":6,"minimum":0,"maximum":10}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/entities/{id}/same-as":{"get":{"summary":"Entity resolution: rows that are the same organization or actor (gazetteer identity, LEI/UEI, GLEIF, legal name with country, aliases), each link graded confirmed / probable / candidate with its signals and explanation, and the confirmed cluster profiles aggregate over. Links are stored beside the entities; nothing is merged. ?min_grade=confirmed|probable|candidate","tags":["Graph"],"responses":{"200":{"description":"Links and cluster"},"400":{"description":"Bad min_grade"},"404":{"description":"Unknown entity"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/connect":{"get":{"summary":"How is X connected to Y? Up to k shortest paths (?from=&to=&max_hops=4&k=3) over live relations, crossing confirmed same-as links for free; grouped as stated (contracts, funding, supply...), mixed and co-mention only (weak), every hop with relation type, direction, strength and evidence (excerpt, source, date, link). Bounded by hops, neighbours per node, expansions and a time budget (limits.truncated)","tags":["Graph"],"responses":{"200":{"description":"Paths"},"400":{"description":"Missing from/to or bad parameter"},"404":{"description":"Unknown entity"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"from","in":"query","schema":{"type":"string","maxLength":500}},{"name":"to","in":"query","schema":{"type":"string","maxLength":500}},{"name":"max_hops","in":"query","schema":{"type":"integer","default":4,"minimum":1,"maximum":6}},{"name":"k","in":"query","schema":{"type":"integer","default":3,"minimum":1,"maximum":5}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/same-as":{"get":{"summary":"Every stored same-as link for review, strongest first (?grade=confirmed|probable|candidate&limit=&offset=)","tags":["Graph"],"responses":{"200":{"description":"Links"},"400":{"description":"Bad grade"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":50,"minimum":0,"maximum":500}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0,"maximum":1000000000}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/signals":{"get":{"summary":"List synthesized intelligence signals","tags":["Intelligence"],"responses":{"200":{"description":"Signals"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"min_confidence","in":"query","schema":{"type":"number","default":0.0,"minimum":0.0,"maximum":1.0}},{"name":"limit","in":"query","schema":{"type":"integer","default":50,"minimum":0,"maximum":500}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/analytics/supply-chain/{entity}":{"get":{"summary":"Multi-hop supply chain trace with chokepoints & geo HHI","tags":["Analytics"],"responses":{"200":{"description":"Supply chain trace"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"max_depth","in":"query","schema":{"type":"integer","default":5,"minimum":0,"maximum":10}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/analytics/bottlenecks":{"get":{"summary":"Detect & rank technological and supply-chain bottlenecks","tags":["Analytics"],"responses":{"200":{"description":"Bottlenecks"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":15,"minimum":0,"maximum":200}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/analytics/emerging":{"get":{"summary":"Track emerging technologies, TRL & hype-vs-reality gap","tags":["Analytics"],"responses":{"200":{"description":"Emerging tech"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":15,"minimum":0,"maximum":200}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/analytics/deployments":{"get":{"summary":"Verify commercial deployment evidence","tags":["Analytics"],"responses":{"200":{"description":"Deployments"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":15,"minimum":0,"maximum":200}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/analytics/opportunities":{"get":{"summary":"Discover underexplored high-leverage opportunities","tags":["Analytics"],"responses":{"200":{"description":"Opportunities"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":15,"minimum":0,"maximum":200}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/audit/{target_type}/{target_id}":{"get":{"summary":"Deep provenance lineage & leave-one-out sensitivity audit","tags":["Provenance"],"responses":{"200":{"description":"Audit report"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/accountability/log":{"get":{"summary":"The node's hash-chained log of its own actions (state-changing requests, refused ones too, and API-key exports; never public reads). Public unless UBOAT_ACCOUNTABILITY_PUBLIC=0","tags":["Accountability"],"parameters":[{"name":"after","in":"query","schema":{"type":"integer","default":0},"description":"Entries with seq greater than this"},{"name":"limit","in":"query","schema":{"type":"integer","default":50,"maximum":500}},{"name":"order","in":"query","schema":{"type":"string","enum":["asc","desc"],"default":"asc"}}],"responses":{"200":{"description":"Entries with seq, prev_hash and hash"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/accountability/head":{"get":{"summary":"Chain head and the latest checkpoint signed with the node key (save it to pin the history)","tags":["Accountability"],"responses":{"200":{"description":"Head, signed checkpoint and recording policy"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/accountability/verify":{"get":{"summary":"Recompute the chain and check every checkpoint signature; reports the first bad seq","tags":["Accountability"],"parameters":[{"name":"pin","in":"query","schema":{"type":"string"},"description":"SEQ:HASH of a head saved earlier"}],"responses":{"200":{"description":"ok, first_bad_seq and reason"},"400":{"description":"Malformed pin"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/accountability/checkpoint":{"post":{"summary":"Sign the chain head now (API key)","tags":["Accountability"],"responses":{"200":{"description":"Latest checkpoint"},"401":{"description":"API key required"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/decisions/evaluate":{"post":{"summary":"Evaluate a decision or compare candidate options for agents & automated systems","tags":["Agent Decisions"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"question":{"type":"string"},"candidates":{"type":"array","items":{"type":"string"}},"risk_tolerance":{"type":"string","enum":["conservative","moderate","aggressive"]},"constraints":{"type":"object"}},"required":["question"]}}}},"responses":{"200":{"description":"Structured Decision Brief"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/agent/tools":{"get":{"summary":"Export machine-readable agent tool schemas (?format=mcp|openai|anthropic)","tags":["Agent Decisions"],"responses":{"200":{"description":"Tool schemas"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/agent/tools/{name}":{"post":{"summary":"Execute an agent tool directly over HTTP","tags":["Agent Decisions"],"responses":{"200":{"description":"Tool output"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role."}},"/api/v1/export":{"get":{"summary":"Export knowledge graph (?format=json|graphml)","tags":["System"],"responses":{"200":{"description":"Export"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/stream":{"get":{"summary":"Server-Sent Events (SSE) real-time intelligence stream","tags":["Streaming"],"responses":{"200":{"description":"text/event-stream"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/qamp/identity":{"get":{"summary":"Get UBOAT QAMP v0.2 cryptographic identity (did:key, SPKI, ALPNs)","tags":["QAMP v0.2"],"responses":{"200":{"description":"QAMP Identity"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/qamp/manifest":{"get":{"summary":"Get QAMP v0.2 MANIFEST (tools, skills, limits, wire frame)","tags":["QAMP v0.2"],"responses":{"200":{"description":"QAMP Manifest"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/qamp/delegations/mint":{"post":{"summary":"Mint an attenuated Q-AMP Delegation Token (qdt1.) for an autonomous agent","tags":["QAMP v0.2"],"responses":{"201":{"description":"Minted QDT"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/qamp/delegations/verify":{"post":{"summary":"Verify a QDT delegation chain and argument policy","tags":["QAMP v0.2"],"responses":{"200":{"description":"Verification result"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role."}},"/api/v1/qamp/delegations/revoke":{"post":{"summary":"Revoke a QDT delegation token by SHA-256 token_id","tags":["QAMP v0.2"],"responses":{"200":{"description":"Revoked"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/qamp/invoke":{"post":{"summary":"Execute a wire-framed QAMP v0.2 tool invocation with QDT proofs & collab context","tags":["QAMP v0.2"],"responses":{"200":{"description":"Invocation result"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/qamp/reachability":{"post":{"summary":"Mint a signed QAMP Reachability Record (qrr1.)","tags":["QAMP v0.2"],"responses":{"200":{"description":"Reachability record"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/analytics/simulate":{"post":{"summary":"Simulate counterfactual supply shock, export restriction, or breakthrough","tags":["Analytics"],"responses":{"200":{"description":"Simulation report"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/swarm/investigate":{"post":{"summary":"Run 4-agent QAMP Red-Team Swarm Investigation","tags":["Agent Decisions"],"responses":{"200":{"description":"Swarm consensus report"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/watchers":{"get":{"summary":"List continuous OSINT watchers","tags":["Watchers"],"responses":{"200":{"description":"Watchers"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."},"post":{"summary":"Create a persistent OSINT watcher","tags":["Watchers"],"responses":{"201":{"description":"Created"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/watchers/{id}/run":{"post":{"summary":"Run a watcher and detect epistemic belief deltas","tags":["Watchers"],"responses":{"200":{"description":"Watcher run & alerts"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/watchers/{id}/toggle":{"post":{"summary":"Pause or resume a continuous OSINT watcher","tags":["Watchers"],"responses":{"200":{"description":"Updated watcher"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/watchers/{id}":{"delete":{"summary":"Delete a persistent OSINT watcher","tags":["Watchers"],"responses":{"200":{"description":"Deleted watcher"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"default","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/workers":{"get":{"summary":"Inspect continuous watcher fleet, embedded background worker heartbeat, recent runs & federated peers","tags":["Watchers"],"responses":{"200":{"description":"Worker fleet status"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/workers/run-due":{"post":{"summary":"Trigger one immediate worker cycle executing all due active watchers","tags":["Watchers"],"responses":{"200":{"description":"Worker cycle report"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/ask":{"post":{"summary":"Ask any natural-language intelligence question grounded in indexed OSINT documents, conflicts, transport corridors & Bayesian forecasts","tags":["Intelligence"],"responses":{"200":{"description":"Grounded OSINT answer"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/events/search":{"get":{"summary":"Unified cross-layer live event search across news, conflicts, transport, hazards, cyber, sanctions, BGP, AIS ships, ADS-B aircraft & live trains","tags":["Intelligence"],"responses":{"200":{"description":"Event search results"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":500}},{"name":"limit","in":"query","schema":{"type":"integer","default":35,"minimum":0,"maximum":200}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/places/search":{"get":{"summary":"Global street-address, landmark, port, station & lat/lon geocoder (local hubs + live OSM Photon/Nominatim)","tags":["Geospatial"],"responses":{"200":{"description":"Geocoded places"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":500}},{"name":"limit","in":"query","schema":{"type":"integer","default":10,"minimum":0,"maximum":50}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/orgs/ownership":{"get":{"summary":"Who owns an organization: LEI record, direct and ultimate parent (or GLEIF's reporting exception), parent chain and direct children (GLEIF, cached 7 days)","tags":["Follow the money"],"parameters":[{"name":"name","in":"query","schema":{"type":"string"},"description":"Organization name; the best-matching LEI is used and the candidates are listed"},{"name":"lei","in":"query","schema":{"type":"string"},"description":"A 20-character LEI (instead of name)"},{"name":"country","in":"query","schema":{"type":"string"},"description":"ISO 3166-1 alpha-2 hint for ranking name candidates"},{"name":"children","in":"query","schema":{"type":"integer","default":10,"maximum":50,"minimum":0}}],"responses":{"200":{"description":"Ownership"},"400":{"description":"Bad name or LEI"},"404":{"description":"Unknown LEI"},"502":{"description":"GLEIF did not answer"},"503":{"description":"Lookups busy; retry"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/orgs/contracts":{"get":{"summary":"Public contracts an organization wins: USAspending awards to matching recipients (recent fiscal years) and stored EU TED award notices it won, with totals and how the name was matched","tags":["Follow the money"],"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"}},{"name":"fiscal_years","in":"query","schema":{"type":"integer","default":4,"maximum":10,"minimum":1},"description":"Current US fiscal year and the ones before it"},{"name":"limit","in":"query","schema":{"type":"integer","default":25,"maximum":100,"minimum":1}}],"responses":{"200":{"description":"Contracts by organization"},"400":{"description":"Bad name"},"502":{"description":"USAspending did not answer"},"503":{"description":"Lookups busy; retry"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/alerts":{"get":{"summary":"List epistemic delta & bottleneck alerts","tags":["Watchers"],"responses":{"200":{"description":"Alerts"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":50,"minimum":0,"maximum":500}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/watchlists":{"get":{"summary":"Official sanctions lists (OFAC SDN, UN SC, UK FCDO, EU FSF): entry counts, freshness, fetch errors and licence","tags":["Watchlists"],"responses":{"200":{"description":"Watchlist sources"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/screen":{"get":{"summary":"Screen a name or IMO/MMSI against the sanctions lists; ranked candidates with a score and an explanation","tags":["Watchlists"],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","maxLength":200}},{"name":"kind","in":"query","schema":{"type":"string","enum":["person","organization","vessel","aircraft"]}},{"name":"limit","in":"query","schema":{"type":"integer","default":10,"maximum":50,"minimum":1}}],"responses":{"200":{"description":"Screening candidates"},"400":{"description":"Missing or invalid query"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/watchlists/vessel-hits":{"get":{"summary":"AIS vessels matching sanctioned vessels: confirmed (IMO/MMSI) and weak (name only) hits with last position (?hours=48&confidence=)","tags":["Watchlists"],"responses":{"200":{"description":"Vessel hits"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/graph/overview":{"get":{"summary":"Fetch graph nodes and edges for visual topology rendering","tags":["Graph"],"responses":{"200":{"description":"Graph overview"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":120,"minimum":0,"maximum":1000}},{"name":"edge_limit","in":"query","schema":{"type":"integer","default":250,"minimum":0,"maximum":5000}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/nodes/info":{"get":{"summary":"Get distributed node identity, role, region, and stats","tags":["Nodes"],"responses":{"200":{"description":"Node info"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/nodes/peers":{"get":{"summary":"List registered federated UBOAT peer nodes","tags":["Nodes"],"responses":{"200":{"description":"Peers"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."},"post":{"summary":"Register a federated peer node by QAMP did:key","tags":["Nodes"],"responses":{"201":{"description":"Peer added"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/nodes/sync-bundle":{"get":{"summary":"Export QAMP-signed incremental knowledge graph sync bundle","tags":["Nodes"],"responses":{"200":{"description":"Signed sync bundle"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":500,"minimum":0,"maximum":1200}}],"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"default","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."},"post":{"summary":"Verify and import a QAMP-signed peer sync bundle with belief-delta alerts","tags":["Nodes"],"responses":{"200":{"description":"Import report"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/planetary/state":{"get":{"summary":"Unified live 3D planetary globe state (chokepoints, shipping routes, currents, weather, ADS-B, hazards, markets, sentiment, threads)","tags":["Planetary"],"responses":{"200":{"description":"Planetary state"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"window_days","in":"query","schema":{"type":"number","minimum":0.0,"maximum":3650.0}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/planetary/refresh":{"post":{"summary":"Refresh live planetary weather, ocean currents, ADS-B air traffic, seismic/EONET hazards & market volatility","tags":["Planetary"],"responses":{"200":{"description":"Refresh summary"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/threads":{"get":{"summary":"Smart-sorted, filterable multi-thread living intelligence reports (?sort=&thread=&region=&sentiment=&q=)","tags":["Planetary"],"responses":{"200":{"description":"Living intelligence threads"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":500}},{"name":"limit_docs","in":"query","schema":{"type":"integer","default":350,"minimum":0,"maximum":2000}},{"name":"limit","in":"query","schema":{"type":"integer","default":20,"minimum":0,"maximum":200}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/sentiment":{"get":{"summary":"Real-time geopolitical & sector sentiment analysis and tension index","tags":["Planetary"],"responses":{"200":{"description":"Sentiment summary"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":350,"minimum":0,"maximum":2000}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/markets":{"get":{"summary":"Live financial, energy, semiconductor & shipping market volatility benchmarks","tags":["Planetary"],"responses":{"200":{"description":"Market volatility summary"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/monitors":{"get":{"summary":"List built-in and custom user Monitor Suites","tags":["Monitors"],"responses":{"200":{"description":"Monitor suites"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."},"post":{"summary":"Create and persist a custom Monitor Suite","tags":["Monitors"],"responses":{"201":{"description":"Created monitor suite"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/monitors/{id}":{"delete":{"summary":"Delete a custom Monitor Suite","tags":["Monitors"],"responses":{"200":{"description":"Deleted"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"default","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/atlas":{"get":{"summary":"Bundled Natural Earth 110m 177-country vector atlas","tags":["Planetary"],"responses":{"200":{"description":"Vector atlas"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/watches/copenhagen":{"get":{"summary":"Real empirical Copenhagen Lynetteholm watch brief, Sentinel-2 lineage, SCL quality & recipient receipt","tags":["Watches"],"responses":{"200":{"description":"Watch brief"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/watches/copenhagen/disposition":{"post":{"summary":"Record an analyst review disposition on the Copenhagen Lynetteholm watch","tags":["Watches"],"responses":{"201":{"description":"Disposition recorded"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/snapshots/freeze":{"post":{"summary":"Freeze an immutable RFC 8785 canonical JSON SHA-256 evidence snapshot","tags":["Watches"],"responses":{"201":{"description":"Frozen snapshot"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/source-atlas":{"get":{"summary":"Query the 52-source institutional Source Atlas with live UBOAT coverage status","tags":["Provenance"],"responses":{"200":{"description":"Source Atlas"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":500}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/decisions/expected-loss":{"post":{"summary":"Analytical expected-loss & EVPI decision threshold evaluator","tags":["Agent Decisions"],"responses":{"200":{"description":"Expected-loss analysis"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/search/spatial":{"get":{"summary":"Haversine multi-layer spatial reconnaissance (?lat=&lon=&radius_km=)","tags":["Geospatial"],"responses":{"200":{"description":"Spatial recon"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"radius_km","in":"query","schema":{"type":"number","default":350.0,"minimum":0.0,"maximum":20040.0}},{"name":"limit","in":"query","schema":{"type":"integer","default":30,"minimum":0,"maximum":200}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/transport":{"get":{"summary":"44 live-enriched Sea, Land (rail/pipeline/highway) and Air transport corridors (?mode=all|sea|land|air)","tags":["Geospatial"],"responses":{"200":{"description":"Transport corridors"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/conflicts":{"get":{"summary":"14 active Areas of Conflict with live escalation, military ADS-B & corridor impacts","tags":["Geospatial"],"responses":{"200":{"description":"Conflict zones"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/aoi":{"get":{"summary":"List built-in strategic hubs and custom monitored Areas of Interest","tags":["Geospatial"],"responses":{"200":{"description":"Areas of Interest"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."},"post":{"summary":"Create a persistent custom geospatial Area of Interest","tags":["Geospatial"],"responses":{"201":{"description":"Created AOI"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/aoi/{id}":{"delete":{"summary":"Delete a custom Area of Interest","tags":["Geospatial"],"responses":{"200":{"description":"Deleted"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"default","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/forecasts":{"get":{"summary":"Calibrated Bayesian 7d/30d/90d disruption forecasts with Beta CIs and Brier calibration ledger","tags":["Forecasting"],"responses":{"200":{"description":"Forecasts"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":16,"minimum":0,"maximum":100}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/forecasts/backtest":{"get":{"summary":"Backtest of the scorable auto-verifiable questions on stored sensor history: Brier, log loss and reliability vs climatology, with sample size and history span (cached; optional horizon_hours in 6, 12, 24, 48, 72, 120, 168)","tags":["Forecasting"],"responses":{"200":{"description":"Backtest"},"400":{"description":"horizon_hours not allowed"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/forecasts/run":{"post":{"summary":"Run calibrated Bayesian disruption forecast for any target or topic","tags":["Forecasting"],"responses":{"200":{"description":"Target forecast"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/forecasts/{id}/resolve":{"post":{"summary":"Resolve a recorded forecast and compute Brier calibration score","tags":["Forecasting"],"responses":{"200":{"description":"Resolution & Brier score"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/analytics/simulate-mc":{"post":{"summary":"Run stochastic Monte Carlo supply & multimodal transport cascade simulation (P10/P50/P90)","tags":["Analytics"],"responses":{"200":{"description":"Monte Carlo distribution"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/mcp":{"post":{"summary":"Live Streamable HTTP MCP JSON-RPC 2.0 endpoint (initialize, tools/list, tools/call, resources/list, resources/read)","tags":["MCP & Agents"],"responses":{"200":{"description":"JSON-RPC 2.0 response"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/.well-known/qamp.json":{"get":{"summary":"QAMP v0.2 Agent-to-Agent P2P discovery & reachability document","tags":["QAMP v0.2"],"responses":{"200":{"description":"QAMP well-known metadata"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"always","x-uboat-rate-class":"default","security":[],"description":"Open to everyone, with or without a key."}},"/api/v1/qamp/p2p/handshake":{"post":{"summary":"Zero-trust cryptographic QAMP v0.2 Agent-to-Agent P2P challenge/verify handshake issuing session QDT","tags":["QAMP v0.2"],"responses":{"200":{"description":"Challenge or authenticated QDT session"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/qamp/p2p/relay":{"post":{"summary":"QDT-authenticated Agent-to-Agent P2P tool invocation relay","tags":["QAMP v0.2"],"responses":{"200":{"description":"Relayed QAMP tool result"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/nodes/peers/sync":{"post":{"summary":"Trigger live pull/push QAMP-signed graph sync with a peer node","tags":["Nodes"],"responses":{"200":{"description":"Sync result"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/index/rebuild":{"post":{"summary":"Rebuild Porter-stemmed FTS5 search indexes across all documents and entities","tags":["System"],"responses":{"200":{"description":"Index counts"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/admin/reextract":{"post":{"summary":"Re-extract stored reports with the current rules (body: since_days, limit<=5000, curate, dry_run); needs UBOAT_API_KEY","tags":["System"],"responses":{"200":{"description":"Before/after counts and top actors"},"403":{"description":"No API key configured"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/omni-search":{"get":{"summary":"One search box: actors, places, situations and reports (?q=)","tags":["Intelligence"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":500}},{"name":"limit","in":"query","schema":{"type":"integer","default":18,"minimum":4,"maximum":40}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/situations":{"get":{"summary":"Situations: clusters of related reports and sensor events, ranked","tags":["Intelligence"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":12,"minimum":1,"maximum":30}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/area-brief":{"get":{"summary":"What is happening around a point (?lat=&lon=&radius_km=)","tags":["Geospatial"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"radius_km","in":"query","schema":{"type":"number","default":250.0,"minimum":0.0,"maximum":20040.0}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/forecasts/calibration":{"get":{"summary":"Forecast calibration summary and the recorded forecast ledger","tags":["Forecasting"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":30,"minimum":0,"maximum":500}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/analytics/fragility":{"get":{"summary":"Structural fragility of the supply graph","tags":["Analytics"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":20,"minimum":0,"maximum":200}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/anomalies":{"get":{"summary":"Anomalies across telemetry domains (?domain=&severity=)","tags":["Intelligence"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":40,"minimum":0,"maximum":200}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/tracks":{"get":{"summary":"Recent position tracks per vessel, aircraft or train (?entity_key=&domain=&hours=)","tags":["Geospatial"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"hours","in":"query","schema":{"type":"number","default":24.0,"minimum":0.0,"maximum":87600}},{"name":"limit","in":"query","schema":{"type":"integer","default":60,"minimum":0,"maximum":500}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/timeseries":{"get":{"summary":"Hourly metric timeseries (?metric=&domain=&days=)","tags":["Planetary"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"days","in":"query","schema":{"type":"integer","default":30,"minimum":1,"maximum":3650}},{"name":"limit","in":"query","schema":{"type":"integer","default":500,"minimum":0,"maximum":5000}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/graph/as-of":{"get":{"summary":"The knowledge graph as it stood at a time (?at=ISO-8601)","tags":["Graph"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":120,"minimum":0,"maximum":1000}},{"name":"edge_limit","in":"query","schema":{"type":"integer","default":250,"minimum":0,"maximum":5000}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/cases":{"get":{"summary":"Investigation case files (?status=)","tags":["Cases"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":50,"minimum":0,"maximum":500}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."},"post":{"summary":"POST /api/v1/cases","tags":["Cases"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/analytics/timeline":{"get":{"summary":"Evidence timeline in buckets","tags":["Analytics"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":18,"minimum":0,"maximum":200}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/geopolitics/feed":{"get":{"summary":"Geopolitical news feed by region and category","tags":["Intelligence"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":80,"minimum":0,"maximum":500}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/watchers/runs":{"get":{"summary":"Recent watcher runs (?watcher_id=)","tags":["Watchers"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":30,"minimum":0,"maximum":500}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/viewport/local-news":{"get":{"summary":"Local news for a map viewport (?west=&south=&east=&north=&zoom=)","tags":["Geospatial"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"zoom","in":"query","schema":{"type":"number","default":7.0,"minimum":0.0,"maximum":24.0}},{"name":"limit","in":"query","schema":{"type":"integer","default":36,"minimum":0,"maximum":100}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/snapshots":{"get":{"summary":"Frozen evidence snapshots (?watch_id=)","tags":["Watches"],"responses":{"200":{"description":"OK"},"400":{"description":"A parameter is not a finite number, or text is too long"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","default":20,"minimum":0,"maximum":500}}],"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/":{"get":{"summary":"GET /","tags":["System"],"responses":{"200":{"description":"OK"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"always","x-uboat-rate-class":null,"security":[],"description":"Open to everyone, with or without a key."}},"/openapi.json":{"get":{"summary":"GET /openapi.json","tags":["System"],"responses":{"200":{"description":"OK"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"always","x-uboat-rate-class":"default","security":[],"description":"Open to everyone, with or without a key."}},"/api/v1/qamp/well-known":{"get":{"summary":"GET /api/v1/qamp/well-known","tags":["Qamp"],"responses":{"200":{"description":"OK"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"always","x-uboat-rate-class":"default","security":[],"description":"Open to everyone, with or without a key."}},"/favicon.svg":{"get":{"summary":"GET /favicon.svg","tags":["System"],"responses":{"200":{"description":"OK"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"always","x-uboat-rate-class":null,"security":[],"description":"Open to everyone, with or without a key."}},"/favicon.ico":{"get":{"summary":"GET /favicon.ico","tags":["System"],"responses":{"200":{"description":"OK"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"always","x-uboat-rate-class":null,"security":[],"description":"Open to everyone, with or without a key."}},"/assets/{name}":{"get":{"summary":"GET /assets/{name}","tags":["System"],"responses":{"200":{"description":"OK"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"always","x-uboat-rate-class":null,"security":[],"description":"Open to everyone, with or without a key."}},"/api/v1/tiles/stats":{"get":{"summary":"GET /api/v1/tiles/stats","tags":["Tiles"],"responses":{"200":{"description":"OK"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"always","x-uboat-rate-class":"tiles","security":[],"description":"Open to everyone, with or without a key."}},"/api/v1/tiles/{tile}":{"get":{"summary":"GET /api/v1/tiles/{tile}","tags":["Tiles"],"responses":{"200":{"description":"OK"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"always","x-uboat-rate-class":"tiles","security":[],"description":"Open to everyone, with or without a key."}},"/api/v1/auth/whoami":{"get":{"summary":"GET /api/v1/auth/whoami","tags":["Auth"],"responses":{"200":{"description":"OK"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"always","x-uboat-rate-class":"default","security":[],"description":"Open to everyone, with or without a key."}},"/api/v1/situations/{id}/deep":{"get":{"summary":"GET /api/v1/situations/{id}/deep","tags":["Situations"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/graph/diff":{"get":{"summary":"GET /api/v1/graph/diff","tags":["Graph"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/verify/document/{id}":{"get":{"summary":"GET /api/v1/verify/document/{id}","tags":["Verify"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/radar/latest":{"get":{"summary":"GET /api/v1/radar/latest","tags":["Radar"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/health/sources":{"get":{"summary":"GET /api/v1/health/sources","tags":["Health"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/decisions/portfolio-joint":{"post":{"summary":"POST /api/v1/decisions/portfolio-joint","tags":["Decisions"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/verify/claim":{"post":{"summary":"POST /api/v1/verify/claim","tags":["Verify"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/watchers/evaluate":{"post":{"summary":"POST /api/v1/watchers/evaluate","tags":["Watchers"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"heavy","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/cases/{id}/brief":{"get":{"summary":"GET /api/v1/cases/{id}/brief","tags":["Cases"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."}},"/api/v1/cases/{id}/items/{item_id}":{"delete":{"summary":"DELETE /api/v1/cases/{id}/items/{item_id}","tags":["Cases"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"default","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/cases/{id}/items":{"post":{"summary":"POST /api/v1/cases/{id}/items","tags":["Cases"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/cases/{id}":{"get":{"summary":"GET /api/v1/cases/{id}","tags":["Cases"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"viewer","x-uboat-public":"read","x-uboat-rate-class":"default","security":[{},{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the viewer role, or none at all on a public-read node (UBOAT_PUBLIC_READ=1)."},"delete":{"summary":"DELETE /api/v1/cases/{id}","tags":["Cases"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"default","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/alerts/{id}/ack":{"post":{"summary":"POST /api/v1/alerts/{id}/ack","tags":["Alerts"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below analyst"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"analyst","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the analyst role."}},"/api/v1/ingest/multi":{"post":{"summary":"POST /api/v1/ingest/multi","tags":["Ingest"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/signals/refresh":{"post":{"summary":"POST /api/v1/signals/refresh","tags":["Signals"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/admin/compact":{"post":{"summary":"POST /api/v1/admin/compact","tags":["Admin"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/forecasts/auto-calibrate":{"post":{"summary":"POST /api/v1/forecasts/auto-calibrate","tags":["Forecasts"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/forecasts/seed-backtests":{"post":{"summary":"POST /api/v1/forecasts/seed-backtests","tags":["Forecasts"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/keys":{"get":{"summary":"GET /api/v1/keys","tags":["Keys"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"default","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."},"post":{"summary":"POST /api/v1/keys","tags":["Keys"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}},"/api/v1/keys/{id}/revoke":{"post":{"summary":"POST /api/v1/keys/{id}/revoke","tags":["Keys"],"responses":{"200":{"description":"OK"},"401":{"description":"No valid key (unknown, wrong, revoked and expired keys alike)"},"403":{"description":"The key's role is below admin"},"405":{"description":"A method this path does not take (see the Allow header)"}},"x-uboat-role":"admin","x-uboat-public":"never","x-uboat-rate-class":"heavy","security":[{"apiKey":[]},{"bearer":[]}],"description":"Needs a key with the admin role."}}},"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"UBOAT_API_KEY or a named key"},"bearer":{"type":"http","scheme":"bearer","description":"The same key, as Authorization: Bearer <key>"}}}}