{"openapi":"3.1.0","info":{"title":"av9n API","version":"1.0"},"paths":{"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/verifier":{"get":{"summary":"Verifier Status Endpoint","description":"Which verifier is actually live. If production_grade is False, scores are NOT board-grade.","operationId":"verifier_status_endpoint_v1_verifier_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/signup":{"post":{"summary":"Signup","operationId":"signup_v1_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/login":{"post":{"summary":"Login","operationId":"login_v1_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/github/start":{"get":{"summary":"Github Oauth Start","description":"Begin GitHub OAuth. Returns the URL to redirect the user to. Requires GITHUB_CLIENT_ID.","operationId":"github_oauth_start_v1_auth_github_start_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/auth/github/callback":{"get":{"summary":"Github Oauth Callback","description":"GitHub redirects here after authorize. Exchange code → token → identity, find-or-create the\nav9n account, mint a session, hand off to the dashboard.","operationId":"github_oauth_callback_v1_auth_github_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/keys":{"post":{"summary":"Mint Key","operationId":"mint_key_v1_keys_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"label","in":"query","required":false,"schema":{"type":"string","default":"default","title":"Label"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Keys","operationId":"list_keys_v1_keys_get","security":[{"HTTPBearer":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/agents":{"get":{"summary":"List Agents","operationId":"list_agents_v1_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Create Agent","operationId":"create_agent_v1_agents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/score":{"post":{"summary":"Score","operationId":"score_v1_score_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScoreIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/task-completion":{"post":{"summary":"Verify Task Completion","description":"Verify claimed task completions against independent evidence.\n\nReturns a *verified* completion rate with the three-state breakdown\n(verified / refuted / unsupported). An agent's own 'Done' is never\ncounted as completion — only evidence is.","operationId":"verify_task_completion_v1_task_completion_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskCompletionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/whoami":{"get":{"summary":"Admin Whoami","description":"Lets the dashboard know whether to show the owner section.","operationId":"admin_whoami_v1_admin_whoami_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/subscribers":{"get":{"summary":"Admin Subscribers","operationId":"admin_subscribers_v1_admin_subscribers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/users":{"get":{"summary":"Admin Users","description":"The real users of the platform (accounts), each with a summary of what they've done:\nagents registered, verdicts issued, API keys, usage this month, and last activity. This is\nthe 'who are my users and what have they done' view — distinct from newsletter subscribers.","operationId":"admin_users_v1_admin_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/users/{user_id}":{"get":{"summary":"Admin User Detail","description":"Full activity detail for one user: their agents and recent verdicts, so the owner can see\nexactly what a given account has done on the platform.","operationId":"admin_user_detail_v1_admin_users__user_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stats":{"get":{"summary":"Admin Stats","operationId":"admin_stats_v1_admin_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/verdicts":{"get":{"summary":"List Verdicts","operationId":"list_verdicts_v1_verdicts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/monitors":{"get":{"summary":"List Monitors","description":"The live dashboard feed — every monitored agent with its rolling, evidence-backed state.","operationId":"list_monitors_v1_monitors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Create Monitor","description":"Put an agent under continuous verification. `evidence_source` names the INDEPENDENT\nsystem av9n reconciles its claims against (e.g. github-actions, zendesk) — never the agent.","operationId":"create_monitor_v1_monitors_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorCreateIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/monitors/claims":{"post":{"summary":"Ingest Claim","description":"Stream a CLAIM from an agent (what it says it did). Recorded as pending — never trusted\nuntil reconciled against independent evidence. Idempotent on monitor+external_id.","operationId":"ingest_claim_v1_monitors_claims_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorClaimIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/monitors/evidence":{"post":{"summary":"Ingest Evidence","description":"Stream INDEPENDENT evidence (ground truth from a system the agent doesn't control).\nReconciliation checks claims against these. Idempotent on monitor+source+ref.","operationId":"ingest_evidence_v1_monitors_evidence_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/monitors/{monitor_id}/reconcile":{"post":{"summary":"Reconcile Monitor","description":"Run the reconciliation loop for one agent — match pending claims against independent\nevidence and update its live state. A scheduler calls this continuously for 24/7 verification;\nalso exposed so the dashboard can refresh on demand.","operationId":"reconcile_monitor_v1_monitors__monitor_id__reconcile_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"integer","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/monitors/{monitor_id}/diagnostics":{"get":{"summary":"Monitor Diagnostics","description":"Evidence-grounded REASONING about a monitored agent: where and why its claims diverge from\nevidence. This is deeper verification, not advice — av9n explains what the evidence shows and\nwhat such patterns typically indicate; it never prescribes changes to the agent.","operationId":"monitor_diagnostics_v1_monitors__monitor_id__diagnostics_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"integer","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/diagnostics/run":{"post":{"summary":"Run Diagnostics","description":"Self-serve diagnostic testing: submit your own claim+evidence pairs and get evidence-grounded\nreasoning about where they diverge — run it against your systems whenever you want. Each item is\nreconciled (claim vs the independent evidence you supply), then reasoned over. Still reasoning,\nnot advice: we explain what the evidence shows, not what to change.","operationId":"run_diagnostics_v1_diagnostics_run_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticRunIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/monitors/{monitor_id}":{"get":{"summary":"Monitor Detail","description":"Full live detail for one monitored agent: its state plus recent claims and their\nverification status against evidence.","operationId":"monitor_detail_v1_monitors__monitor_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"integer","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/connectors":{"get":{"summary":"List Connectors","description":"List available evidence connectors (systems av9n can pull independent evidence from).","operationId":"list_connectors_v1_connectors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/connectors/pull":{"post":{"summary":"Connector Pull","description":"Pull fresh INDEPENDENT evidence from the monitor's configured source system into av9n,\nthen reconcile. This is the active side of continuous verification: av9n reaches out to the\nground-truth system (e.g. GitHub Actions) and checks the agent's claims against what really\nhappened.","operationId":"connector_pull_v1_connectors_pull_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorPullIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/badges":{"get":{"summary":"List Badges","operationId":"list_badges_v1_badges_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"summary":"Issue Badge","description":"Issue a verification badge for an AI system/agent/bot. The badge is a continuously\nre-verified trust mark — not an accredited certification. Requires a paid plan\n(certification is the paid unlock).","operationId":"issue_badge_v1_badges_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeIssueIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/badges/{badge_id}/revoke":{"post":{"summary":"Revoke Badge","operationId":"revoke_badge_v1_badges__badge_id__revoke_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"badge_id","in":"path","required":true,"schema":{"type":"string","title":"Badge Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/security/redteam":{"post":{"summary":"Security Redteam","description":"Run av9n's adversarial suite against an agent to check it resists gaming and manipulation\nrelevant to verification integrity: self-score inflation, instruction override, eval-detection,\nand held-out exfiltration. An agent that complies with these cannot hold a certified badge.\n\nTwo modes: supply `agent_endpoint` (av9n probes it live) or `responses` (score responses you\ncollected). This is a transparent built-in suite — not a substitute for a full PyRIT engagement,\nwhich is the enterprise pen-testing tier.","operationId":"security_redteam_v1_security_redteam_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedTeamIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/verify-badge/{badge_id}":{"get":{"summary":"Public Verify Badge","description":"PUBLIC — anyone can verify a badge's authenticity and current status. This is what\nmakes the badge trustworthy: it can be checked against av9n, and a stale/revoked badge\nshows as invalid. Also flags when a badge is overdue for its monthly re-verification.","operationId":"public_verify_badge_v1_verify_badge__badge_id__get","parameters":[{"name":"badge_id","in":"path","required":true,"schema":{"type":"string","title":"Badge Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/badges/{badge_id}/svg":{"get":{"summary":"Badge Svg","description":"PUBLIC — the embeddable badge image. Customers put this on their site; it links back\nto the public verification page. Color reflects live status.","operationId":"badge_svg_v1_badges__badge_id__svg_get","parameters":[{"name":"badge_id","in":"path","required":true,"schema":{"type":"string","title":"Badge Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/verify/{seal}":{"get":{"summary":"Verify Verdict","description":"Public verification — anyone can confirm a sealed verdict and INDEPENDENTLY verify its\nEd25519 signature against av9n's published public key. No secret required.","operationId":"verify_verdict_v1_verify__seal__get","parameters":[{"name":"seal","in":"path","required":true,"schema":{"type":"string","title":"Seal"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/verify-document":{"post":{"summary":"Verify Document","description":"Stateless, fully-independent verification. An auditor pastes the public signed document\n(which av9n gave the customer) and this recomputes the canonical hash and checks the\nEd25519 signature — no database, no secret, no account. This is the court-grade path:\nthe same check an auditor could run offline with any Ed25519 library.","operationId":"verify_document_v1_verify_document_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyDocumentIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/demo/url":{"post":{"summary":"Demo Url","description":"Verify a claim against evidence at a PUBLIC url the user chooses — real external evidence the\nagent doesn't control. SSRF-guarded, size-capped, rate-limited (unauthenticated).","operationId":"demo_url_v1_demo_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoURLIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/demo/consistency":{"post":{"summary":"Demo Consistency","description":"Consistency check: paste an agent's own transcript/log + what it claimed, and av9n flags\ncontradictions WITHIN the log (e.g. claims success but the log shows an error). This is not full\nindependent verification (it's the agent's own record) — it's an honesty check on the record.","operationId":"demo_consistency_v1_demo_consistency_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoLogIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/demo/scenarios":{"get":{"summary":"Demo Scenarios","description":"List the pre-built 'catch the gap' scenarios (agent report vs. independent evidence).","operationId":"demo_scenarios_v1_demo_scenarios_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/demo/scenario/{scenario_id}":{"post":{"summary":"Demo Run Scenario","description":"Run a pre-built scenario through av9n's real verifier and reveal the gap between what the\nagent REPORTED and what the independent evidence actually shows.","operationId":"demo_run_scenario_v1_demo_scenario__scenario_id__post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/demo/github":{"post":{"summary":"Demo Github","description":"Real independent verification: pull the actual latest GitHub Actions run for a PUBLIC repo\n(evidence the agent can't fabricate) and check the visitor's claim against it. This is the\ngenuine article — external ground truth, live.","operationId":"demo_github_v1_demo_github_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoGitHubIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/demo/verify":{"post":{"summary":"Public Demo Verify","description":"Interactive, no-signup demo: a visitor supplies their OWN claim + evidence and watches av9n\nverify it live through the real pipeline. Uses the deterministic/directional verifier (no LLM\ncost), rate-limited by IP and input-capped so an unauthenticated endpoint can't run up cost or\nbe abused as a free API. The verdict is genuine — same logic as the paid product.","operationId":"public_demo_verify_v1_demo_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoVerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/demo":{"get":{"summary":"Public Demo","description":"Public, self-contained live demo — no login, no billing. Runs a fixed sample scenario\nthrough the REAL scoring + signing pipeline and returns a genuinely signed verdict plus a\ntask-completion example, so a visitor can watch av9n actually work. The signature is real\nand independently verifiable; only the input scenario is canned.","operationId":"public_demo_v1_demo_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/agents/{agent_id}/drift":{"get":{"summary":"Agent Drift","description":"Detect whether an agent's verified performance is degrading — early warning before failures\ncompound. Uses two-sided CUSUM statistical process control. Reports outcome drift (verified\nsuccess rate) AND evidence-coverage drift (are claims still backed by independent evidence?).","operationId":"agent_drift_v1_agents__agent_id__drift_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"integer","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/independence/score":{"post":{"summary":"Independence Score","description":"Score how independent the evidence behind a verdict is — and discount confidence when the\nevidence is agent-controlled. Flows from av9n's core thesis: verify against evidence the agent\ndoesn't control.","operationId":"independence_score_v1_independence_score_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndependenceIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/agents/{agent_id}/score":{"get":{"summary":"Agent Score","description":"Compute the av9n Score for an agent from its independently-verified track record. Transparent\nand explainable — the component breakdown is always included.","operationId":"agent_score_v1_agents__agent_id__score_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"integer","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/agents/{agent_id}/credential":{"post":{"summary":"Issue Credential","description":"Issue a portable, signed performance credential for an agent — its verified track record and\nav9n Score, Ed25519-signed and bound to the Bitcoin-anchored ledger head. The credential travels\nwith the agent and is verifiable by anyone at /v1/credential/verify without trusting av9n.","operationId":"issue_credential_v1_agents__agent_id__credential_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"integer","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/credential/verify":{"post":{"summary":"Credential Verify","description":"Publicly verify a portable av9n performance credential — no login, no trust in av9n required.\nConfirms the credential is authentically signed by av9n and hasn't been altered.","operationId":"credential_verify_v1_credential_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialVerifyIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/score/batch":{"post":{"summary":"Score Batch","description":"Verify many claims in one call and commit them under a SINGLE Merkle root — one ledger\nwrite and one anchor for the whole batch, instead of N. Each claim stays independently\nverifiable via /v1/score/batch/{batch_id}/proof. Massive cost/scale win at volume.","operationId":"score_batch_v1_score_batch_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchScoreIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/monitors/stream":{"get":{"summary":"Stream Monitors","description":"Live Server-Sent Events stream of monitor state changes for the dashboard. Auth via token\nquery param (EventSource can't set headers). Pushes an event the instant reconciliation changes\nan agent's credibility — no polling.","operationId":"stream_monitors_v1_monitors_stream_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/score/batch/{batch_id}/proof":{"get":{"summary":"Batch Proof","description":"Return an inclusion proof for claim #index in the batch — ~log2(n) hashes an auditor can\ncheck against the published Merkle root WITHOUT querying av9n for the other claims.","operationId":"batch_proof_v1_score_batch__batch_id__proof_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"integer","title":"Batch Id"}},{"name":"index","in":"query","required":true,"schema":{"type":"integer","title":"Index"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ledger/head":{"get":{"summary":"Ledger Head","description":"The current HEAD of av9n's append-only verdict ledger — one hash committing the entire\nverdict history. Public so anyone (customer, auditor) can record it and later confirm av9n\nhasn't rewritten history. Only the hash is exposed, never verdict contents.","operationId":"ledger_head_v1_ledger_head_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/ledger/verify":{"get":{"summary":"Ledger Verify","description":"Recompute the entire hash chain and report whether it's intact. Detects any alteration,\nreorder, insertion, or deletion of a past verdict. Needs no secret — anyone can call it.","operationId":"ledger_verify_v1_ledger_verify_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/ledger/anchor":{"post":{"summary":"Ledger Anchor","description":"Commit the current ledger HEAD to an EXTERNAL witness (the anchor av9n doesn't control),\nmaking the tamper-evidence provable to outsiders. Owner-only.","operationId":"ledger_anchor_v1_ledger_anchor_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"method","in":"query","required":false,"schema":{"type":"string","default":"public-publish","title":"Method"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/calibration/label":{"post":{"summary":"Add Calibration Label","description":"Submit a human expert label paired with av9n's automated verdict, so we can measure how well\nav9n agrees with human judgment. This is how av9n proves its scores are accurate, not just\nconsistent.","operationId":"add_calibration_label_v1_calibration_label_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalibrationLabelIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/calibration":{"get":{"summary":"Calibration Status","description":"Report how well av9n's automated verdicts agree with human expert labels (Cohen's kappa),\nwith an honest reliability statement. Until enough labels exist, scores are reported as advisory\nrather than validated.","operationId":"calibration_status_v1_calibration_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/judge":{"get":{"summary":"Judge Status","description":"Show av9n's active judge configuration — the owned judgment layer. Reports the mode\n(deterministic / native / ensemble) and which backends are in play, so it's transparent\nthat av9n owns the judgment logic and isn't locked to any single provider.","operationId":"judge_status_v1_judge_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/pubkey":{"get":{"summary":"Public Signing Key","description":"Publish the current active public verification key + id, so third parties can verify\nsignatures out of band.","operationId":"public_signing_key_v1_pubkey_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/decision/{agent_id}":{"get":{"summary":"Agent Decision","description":"Advisory: should a control plane trust this agent for a task class right now?\nBuilt from the agent's latest verdict. av9n recommends; the caller decides.","operationId":"agent_decision_v1_decision__agent_id__get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"integer","title":"Agent Id"}},{"name":"task_class","in":"query","required":false,"schema":{"type":"string","default":"general","title":"Task Class"}},{"name":"require_certified","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Require Certified"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/disputes":{"post":{"summary":"File Dispute","description":"A builder contests a verdict's claim with evidence. Routed to independent review —\nthe builder can contest, but can never decide the outcome.","operationId":"file_dispute_v1_disputes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/subscribe":{"post":{"summary":"Subscribe","description":"Capture a newsletter/methodology subscriber. Idempotent on email.","operationId":"subscribe_v1_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscribeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/password/reset-request":{"post":{"summary":"Reset Request","description":"Begin a password reset. Always returns success (doesn't leak whether an email exists).\nStores only a HASH of the token; the raw token is emailed once and never logged.","operationId":"reset_request_v1_password_reset_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetRequestIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/password/reset-confirm":{"post":{"summary":"Reset Confirm","description":"Complete a password reset with a valid, unexpired, unused token.","operationId":"reset_confirm_v1_password_reset_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetConfirmIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/usage":{"get":{"summary":"Usage","operationId":"usage_v1_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/reports/generate":{"post":{"summary":"Generate Report","description":"Generate and STORE a period report. Retained + tamper-evident (document hash).","operationId":"generate_report_v1_reports_generate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"query","required":false,"schema":{"type":"string","default":"weekly","title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/reports":{"get":{"summary":"List Reports","description":"The audit archive: every stored report, retrievable for later review.","operationId":"list_reports_v1_reports_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/reports/{report_id}":{"get":{"summary":"Get Report","description":"Retrieve a stored report and re-verify its integrity (tamper-evident check).","operationId":"get_report_v1_reports__report_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"integer","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/reports/schedule":{"post":{"summary":"Set Schedule","description":"Set a standing report cadence. A deployed worker fires it; this is the schedule of record.","operationId":"set_schedule_v1_reports_schedule_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"cadence","in":"query","required":false,"schema":{"type":"string","default":"weekly","title":"Cadence"}},{"name":"deliver_email","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Deliver Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/status":{"get":{"summary":"Billing Status","operationId":"billing_status_v1_billing_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/billing/checkout":{"post":{"summary":"Billing Checkout","operationId":"billing_checkout_v1_billing_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/billing/audit-checkout":{"post":{"summary":"Audit Checkout","description":"Public — start a one-time $2,500 audit purchase. No login required; a buyer can\npurchase before creating an account. Returns {checkout_url} to redirect to Stripe.","operationId":"audit_checkout_v1_billing_audit_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditCheckoutIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/badge-checkout":{"post":{"summary":"Badge Checkout","description":"Start a badge subscription checkout ($99/yr individual or $299/yr pro), sold\nseparately from the usage plans.","operationId":"badge_checkout_v1_billing_badge_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadgeCheckoutIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/billing/portal":{"post":{"summary":"Billing Portal","description":"Give the logged-in customer a link to Stripe's billing portal to manage their own\nsubscription — change plan, update card, view invoices, cancel.","operationId":"billing_portal_v1_billing_portal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/history":{"get":{"summary":"Account History","description":"The account's activity: agents registered, verdicts issued, reports stored —\na running record of everything this account has put through av9n.","operationId":"account_history_v1_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/otel":{"post":{"summary":"Otel Ingest","description":"Receive OpenTelemetry spans from a customer's OTel Collector or SDK exporter.\n\nThis is the hybrid integration path: instead of assembling a submission, the customer\npoints their existing OTel telemetry at this endpoint (one exporter config line). Their\nagents' real actions stream in live. We translate the agent-relevant spans into sealed\nav9n events. Verification against independent evidence is unchanged — capture lowers\nintegration friction, not the verification bar.","operationId":"otel_ingest_v1_otel_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/webhook":{"post":{"summary":"Billing Webhook","operationId":"billing_webhook_v1_billing_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AgentIn":{"properties":{"name":{"type":"string","title":"Name"},"domain":{"type":"string","title":"Domain","default":"general"}},"type":"object","required":["name"],"title":"AgentIn"},"AuditCheckoutIn":{"properties":{"email":{"type":"string","title":"Email","default":""},"company":{"type":"string","title":"Company","default":""}},"type":"object","title":"AuditCheckoutIn"},"BadgeCheckoutIn":{"properties":{"tier":{"type":"string","title":"Tier"}},"type":"object","required":["tier"],"title":"BadgeCheckoutIn"},"BadgeIssueIn":{"properties":{"subject":{"type":"string","title":"Subject"},"subject_kind":{"type":"string","title":"Subject Kind","default":"agent"},"seal":{"type":"string","title":"Seal","default":""}},"type":"object","required":["subject"],"title":"BadgeIssueIn"},"BatchScoreIn":{"properties":{"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"subject":{"type":"string","title":"Subject","default":"batch"}},"type":"object","required":["items"],"title":"BatchScoreIn"},"CalibrationLabelIn":{"properties":{"claim_text":{"type":"string","title":"Claim Text"},"evidence_text":{"type":"string","title":"Evidence Text"},"av9n_label":{"type":"string","title":"Av9N Label"},"human_label":{"type":"string","title":"Human Label"},"labeled_by":{"type":"string","title":"Labeled By","default":""}},"type":"object","required":["claim_text","evidence_text","av9n_label","human_label"],"title":"CalibrationLabelIn"},"CheckoutIn":{"properties":{"plan":{"type":"string","title":"Plan"}},"type":"object","required":["plan"],"title":"CheckoutIn"},"ClaimIn":{"properties":{"text":{"type":"string","title":"Text"},"sources":{"items":{"type":"string"},"type":"array","title":"Sources","default":[]},"importance":{"type":"number","title":"Importance","default":1.0}},"type":"object","required":["text"],"title":"ClaimIn"},"ConnectorPullIn":{"properties":{"monitor_id":{"type":"integer","title":"Monitor Id"},"config":{"additionalProperties":true,"type":"object","title":"Config","default":{}},"limit":{"type":"integer","title":"Limit","default":50}},"type":"object","required":["monitor_id"],"title":"ConnectorPullIn"},"CredentialVerifyIn":{"properties":{"credential":{"additionalProperties":true,"type":"object","title":"Credential"},"signature":{"type":"string","title":"Signature"},"signature_algorithm":{"type":"string","title":"Signature Algorithm","default":"Ed25519"},"key_id":{"type":"string","title":"Key Id","default":""},"public_key":{"type":"string","title":"Public Key"},"payload_sha256":{"type":"string","title":"Payload Sha256","default":""}},"type":"object","required":["credential","signature","public_key"],"title":"CredentialVerifyIn"},"DemoGitHubIn":{"properties":{"repo":{"type":"string","title":"Repo"},"claim":{"type":"string","title":"Claim"}},"type":"object","required":["repo","claim"],"title":"DemoGitHubIn"},"DemoLogIn":{"properties":{"claim":{"type":"string","title":"Claim"},"log":{"type":"string","title":"Log"}},"type":"object","required":["claim","log"],"title":"DemoLogIn"},"DemoURLIn":{"properties":{"url":{"type":"string","title":"Url"},"claim":{"type":"string","title":"Claim"}},"type":"object","required":["url","claim"],"title":"DemoURLIn"},"DemoVerifyIn":{"properties":{"claim":{"type":"string","title":"Claim"},"evidence":{"type":"string","title":"Evidence"}},"type":"object","required":["claim","evidence"],"title":"DemoVerifyIn"},"DiagnosticRunIn":{"properties":{"subject":{"type":"string","title":"Subject","default":"AI system"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"DiagnosticRunIn"},"DisputeIn":{"properties":{"verdict_seal":{"type":"string","title":"Verdict Seal"},"claim":{"type":"string","title":"Claim"},"original_status":{"type":"string","title":"Original Status","default":"refuted"},"argument":{"type":"string","title":"Argument"},"evidence":{"items":{"type":"string"},"type":"array","title":"Evidence","default":[]}},"type":"object","required":["verdict_seal","claim","argument"],"title":"DisputeIn"},"EvidenceIn":{"properties":{"monitor_id":{"type":"integer","title":"Monitor Id"},"source":{"type":"string","title":"Source"},"ref":{"type":"string","title":"Ref","default":""},"body":{"type":"string","title":"Body"}},"type":"object","required":["monitor_id","source","body"],"title":"EvidenceIn"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IndependenceIn":{"properties":{"base_confidence":{"type":"number","title":"Base Confidence","default":1.0},"sources":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Sources"}},"type":"object","required":["sources"],"title":"IndependenceIn"},"LoginIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginIn"},"MonitorClaimIn":{"properties":{"monitor_id":{"type":"integer","title":"Monitor Id"},"external_id":{"type":"string","title":"External Id","default":""},"claim_text":{"type":"string","title":"Claim Text"},"claimed_value":{"type":"number","title":"Claimed Value","default":0.0}},"type":"object","required":["monitor_id","claim_text"],"title":"MonitorClaimIn"},"MonitorCreateIn":{"properties":{"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind","default":"agent"},"evidence_source":{"type":"string","title":"Evidence Source","default":""}},"type":"object","required":["name"],"title":"MonitorCreateIn"},"RedTeamIn":{"properties":{"agent_endpoint":{"type":"string","title":"Agent Endpoint","default":""},"responses":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Responses"}},"type":"object","title":"RedTeamIn"},"ResetConfirmIn":{"properties":{"token":{"type":"string","title":"Token"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["token","new_password"],"title":"ResetConfirmIn"},"ResetRequestIn":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"ResetRequestIn"},"ScoreIn":{"properties":{"agent_id":{"type":"integer","title":"Agent Id"},"workflow":{"type":"string","title":"Workflow","default":"default"},"claims":{"items":{"$ref":"#/components/schemas/ClaimIn"},"type":"array","title":"Claims","default":[]},"gross_value":{"type":"number","title":"Gross Value"},"cost":{"type":"number","title":"Cost"},"baseline_method":{"type":"string","title":"Baseline Method","default":"holdout"},"baseline_by":{"type":"string","title":"Baseline By","default":"independent"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},"type":"object","required":["agent_id","gross_value","cost"],"title":"ScoreIn"},"SignupIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"name":{"type":"string","title":"Name","default":""},"company":{"type":"string","title":"Company","default":""}},"type":"object","required":["email","password"],"title":"SignupIn"},"SubscribeIn":{"properties":{"email":{"type":"string","title":"Email"},"source":{"type":"string","title":"Source","default":"landing"}},"type":"object","required":["email"],"title":"SubscribeIn"},"TaskClaimIn":{"properties":{"task_id":{"type":"string","title":"Task Id"},"claim":{"type":"string","title":"Claim"},"evidence":{"items":{"type":"string"},"type":"array","title":"Evidence","default":[]},"agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"},"cost":{"type":"number","title":"Cost","default":0.0},"evidence_is_independent":{"type":"boolean","title":"Evidence Is Independent","default":true}},"type":"object","required":["task_id","claim"],"title":"TaskClaimIn"},"TaskCompletionIn":{"properties":{"tasks":{"items":{"$ref":"#/components/schemas/TaskClaimIn"},"type":"array","title":"Tasks"}},"type":"object","required":["tasks"],"title":"TaskCompletionIn"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerifyDocumentIn":{"properties":{"verdict":{"additionalProperties":true,"type":"object","title":"Verdict"},"canonical_payload_hash":{"type":"string","title":"Canonical Payload Hash","default":""},"signature":{"type":"string","title":"Signature"},"signature_algorithm":{"type":"string","title":"Signature Algorithm","default":"Ed25519"},"public_key":{"type":"string","title":"Public Key"},"key_id":{"type":"string","title":"Key Id","default":""}},"type":"object","required":["verdict","signature","public_key"],"title":"VerifyDocumentIn"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}