{"openapi":"3.1.0","jsonSchemaDialect":"https://spec.openapis.org/oas/3.1/dialect/base","info":{"title":"mobilepublisher.ai Autonomous Publishing OS API","version":"1.0.0","summary":"Deterministic Spend-Safe Multi-Network Publishing, Clean-Room DP, Billing & AdOps Studio API","description":"Machine-verified OpenAPI 3.1.0 contract covering both the Plane-4 Multi-Tenant Observatory Control Plane (`mobilepublisher-observatory-pwa`) and the Invite-Only Access Intake Gateway (`mobilepublisher-landing-web`). All monetary quantities use exact Int64 USD micros (`1 USD = 1_000_000` micros) serialized strictly as base-10 integer strings to guarantee zero floating-point drift.","contact":{"name":"mobilepublisher.ai Developer Experience & API Governance","url":"https://mobilepublisher.ai"},"x-skill-manifest-version":"1.0.0","x-skill-manifest-sha256":"86988acdb7b392410dd5417ff2324bca0b9e1348ab45490efba94f0318373168"},"servers":[{"url":"https://mobilepublisher.ai","description":"Public Landing Page & Invite-Only Access Intake API (Production Cloud CDN + Cloud Run)","x-service":"landing-web"},{"url":"http://127.0.0.1:4173","description":"Local Observatory Control Plane Development Server","x-service":"observatory-pwa"},{"url":"http://127.0.0.1:4180","description":"Local Landing & Invite Access Development Server","x-service":"landing-web"}],"tags":[{"name":"System & Discovery","description":"Public liveness probes, cryptographic integrity telemetry, and OpenAPI 3.1.0 discovery."},{"name":"First-Party Telemetry","description":"Own-platform Firebase & GA4 Measurement Protocol v2 configuration discovery and zero-PII Google Consent Mode v2 UI event collection across Landing and Observatory Studio (`INV-01`, `INV-03`)."},{"name":"Invite Access","description":"Public rate-limited, honeypot-guarded studio onboarding access intake (`landing-web`)."},{"name":"Studio Authentication","description":"Multi-tenant studio registration, PBKDF2-SHA256 login, and revocable session logout backed by PostgreSQL 17 FORCE RLS (`INV-01`, `INV-03`)."},{"name":"Portfolio & Governance","description":"Tenant-scoped portfolio telemetry, hash-chained Z3 firewall audit ledger, and honest `CONSOLE` task queue (`INV-01`, `INV-02`, `INV-05`, `INV-06`, `INV-07`)."},{"name":"WebAuthn FIDO2 Approvals","description":"Single-use challenge issuance and W3C WebAuthn P-256 (`ES256`) UP+UV hardware approval verification."},{"name":"DP Clean Room","description":"Clipped Gaussian `(epsilon, delta)`-Differentially Private federated market priors enforcing hard `K >= 10` distinct publishers (`INV-03`)."},{"name":"Billing & Settlements","description":"Commercial SaaS tier metering and recoupment-first 70/30 Co-Publisher profit-split statements in exact `BigInt` micros."},{"name":"AdOps Studio","description":"Multi-network campaign planning, Z3 spend firewall preview/staging, audience fan-out, creative preflight, and asymmetric outbound safety transitions across Google Ads, Meta, TikTok, Apple Ads, DV360, and Google Ad Manager."},{"name":"Store Release Desk","description":"Autonomous binary pre-flight inspection (.aab/.apk/.ipa), Google Play Publisher API v3 & Apple App Store Connect v1 Cloud buildUploads release orchestration, Day-0 HCT-07/HCT-08 console boundaries, INV-06 Vitals rollout auto-halt, and WebAuthn ES256 production release gates."},{"name":"Neuro-Symbolic Guardrails & Retrieval","description":"Ontology-grounded Semantic SQL Firewall (INV-03, 1:N join fan-out & chasm-trap prevention, micros/bps/ppm scale checks), Embedding-Native Multimodal Creative Retrieval (Snap EGR), and dedicated GA4 property isolation & Google Ads 1:1 link parity (INV-02)."},{"name":"Cognitive Runtime & Funnel","description":"Plane-3 deterministic 4-Gate Bayesian Publishing Funnel evaluation (Gate0_TechVitals through Gate4_GlobalScale) with exact BigInt micro caps and hash-chained transition receipts."},{"name":"Client SDKs & Privacy DSAR","description":"Zero-placeholder Unity C#, iOS Swift 6, Android Kotlin, and Web H5/3D client SDK generators, hashed GDPR/KVKK/CCPA/COPPA DSAR erasure tombstones, and BigQuery D1/D2 spin-out bundles."},{"name":"FinTech & Hybrid Monetization","description":"Double-entry Co-Publisher recoupment waterfalls, Tier-3 receivables working-capital spend-locked escrow vaults, and EU DMA / Stripe D2C Web-Shop signed entitlement grants."},{"name":"Phase-3 Frontier Observatory","description":"ClickHouse D1-D30 Cohort LTV & Net-ROAS curves, Z3 QF_LIA UNSAT Farkas proof verification, Bayesian CUSUM creative fatigue telemetry, deterministic POSIX tar SDK package bundling, and 4-genre MRAID 3.0 WebGL2 playable previews."},{"name":"Apple Direct Postback Copy","description":"Zero-MMP Apple .well-known SKAdNetwork 4.0 and AdAttributionKit direct postback copy endpoints with X.509/CMS/ES256 low-S verification, single-use replay guards, and Guideline 5.1.2(i) zero-PII enforcement."}],"paths":{"/api/v1/health":{"get":{"operationId":"getServiceHealth","summary":"Inspect live service health and cryptographic integrity checks","description":"Public non-tenant liveness endpoint served by both `mobilepublisher-landing-web` and `mobilepublisher-observatory-pwa`. Response body is discriminated on the `service` property.","tags":["System & Discovery"],"security":[],"x-services":["landing-web","observatory-pwa"],"x-invariants":["INV-01","INV-03","INV-04"],"responses":{"200":{"description":"Service health and invariant verification report.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnifiedHealthResponse"}}}},"405":{"description":"HTTP method not allowed on health endpoint.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Service invariant check or durable PostgreSQL 17 connection unhealthy.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnifiedHealthResponse"}}}}}}},"/api/v1/openapi.json":{"get":{"operationId":"getOpenApiSpecification","summary":"Retrieve the live canonical OpenAPI 3.1.0 specification document","description":"Public non-tenant machine-readable OpenAPI 3.1.0 contract document used by external studio SDK generators and CI contract-parity gates.","tags":["System & Discovery"],"security":[],"x-services":["landing-web","observatory-pwa"],"x-invariants":["INV-04","INV-05"],"responses":{"200":{"description":"Canonical OpenAPI 3.1.0 JSON specification.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenApiDocument"}}}},"405":{"description":"HTTP method not allowed.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/api/v1/telemetry/firebase-config":{"get":{"operationId":"getTelemetryFirebaseConfig","summary":"Retrieve non-secret own-platform Firebase & GA4 Measurement Protocol v2 telemetry configuration","description":"Public discovery endpoint served by both `mobilepublisher-landing-web` and `mobilepublisher-observatory-pwa` (and under `/studio/api/v1/telemetry/firebase-config`). Exposes non-secret Firebase identifiers, Consent Mode v2 defaults, catalog size, and live collector counters without ever leaking `MPA_FIREBASE_API_KEY` or `MPA_GA4_API_SECRET` (`INV-01`).","tags":["First-Party Telemetry"],"security":[],"x-services":["landing-web","observatory-pwa"],"x-invariants":["INV-01","INV-03"],"responses":{"200":{"description":"Sanitized Firebase & GA4 Measurement Protocol v2 runtime configuration.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelemetryFirebaseConfigResponse"}}}},"405":{"description":"Only GET and HEAD are permitted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/api/v1/telemetry/events":{"post":{"operationId":"ingestTelemetryEvents","summary":"Ingest a zero-PII first-party UI telemetry batch with Consent Mode v2 and optional GA4 MPv2 TLS 1.3 forwarding","description":"Public rate-limited first-party telemetry endpoint served by both `mobilepublisher-landing-web` (`surface=landing`) and `mobilepublisher-observatory-pwa` (`surface=observatory_studio`). Accepts both `application/json` and `text/plain` JSON (`navigator.sendBeacon`), validates all events against the manifest-locked 40-event catalog, blocks raw credentials (`INV-01`), PII/advertising IDs (`INV-03`), and HTML/SQL WAF payloads, honors Google Consent Mode v2 `analytics_storage=DENIED` drops, and optionally forwards via GA4 Measurement Protocol v2 over TLS 1.3.","tags":["First-Party Telemetry"],"security":[],"x-services":["landing-web","observatory-pwa"],"x-invariants":["INV-01","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelemetryEventsBatchRequest"}},"text/plain":{"schema":{"$ref":"#/components/schemas/TelemetryEventsBatchRequest"}}}},"responses":{"202":{"description":"Telemetry batch validated and accepted (or dropped cleanly when analytics_storage=DENIED).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelemetryEventsBatchResponse"}}}},"400":{"description":"Invalid JSON, unsupported media type, unknown catalog event, surface mismatch, PII violation, raw credential, or unsafe payload.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"405":{"description":"Only POST is permitted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"Request body exceeds maximum allowed size.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Per-IP-hash telemetry rate limit exceeded.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/api/v1/access-requests":{"post":{"operationId":"submitInviteAccessRequest","summary":"Submit an invite-only studio onboarding access request","description":"Rate-limited public intake endpoint on `mobilepublisher-landing-web`. Normalizes work email for idempotent deduplication (`201` on first registration, `200` with `alreadyRegistered: true` on duplicates), rejects bot honeypots and raw credentials (`INV-01`), and appends a SHA-256 hash-chained record with salted IP privacy hashing.","tags":["Invite Access"],"security":[],"x-services":["landing-web"],"x-invariants":["INV-01"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessRequestInput"}}}},"responses":{"200":{"description":"Work email already registered; existing invite preview returned idempotently.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessRequestResponse"}}}},"201":{"description":"New invite access request persisted in SHA-256 hash chain.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessRequestResponse"}}}},"400":{"description":"Validation failed, invalid JSON, bot honeypot triggered, or INV-01 raw credential rejected.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandingErrorEnvelope"}}}},"405":{"description":"Only POST is permitted (fail-closed anti-scraping guard).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandingErrorEnvelope"}}}},"413":{"description":"Request body exceeds maximum allowed size (32 KB).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandingErrorEnvelope"}}}},"429":{"description":"Per-IP-hash token-bucket rate limit exceeded.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandingRateLimitErrorEnvelope"}}}},"500":{"description":"Unexpected server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandingErrorEnvelope"}}}}}}},"/api/v1/auth/register-studio":{"post":{"operationId":"registerStudioAccount","summary":"Register a new isolated commercial studio tenant, PBKDF2-SHA256 operator account, and initial revocable Bearer session","tags":["Studio Authentication"],"security":[],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioRegisterRequest"}}}},"responses":{"201":{"description":"Isolated studio tenant provisioned and initial session minted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioRegisterResponse"}}}},"400":{"description":"Invalid registration payload, weak password, or raw credential rejected.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Missing or invalid invite code when invite-gated registration is enforced.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"405":{"description":"Only POST is permitted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Work email or tenant slug is already registered.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"Request body exceeds maximum allowed size.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Per-IP authentication rate limit exceeded.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Durable authentication storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/api/v1/auth/login":{"post":{"operationId":"loginStudioUser","summary":"Authenticate a studio operator with constant-time PBKDF2-SHA256 verification and issue a tenant-scoped session token","tags":["Studio Authentication"],"security":[],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioLoginRequest"}}}},"responses":{"200":{"description":"Authenticated studio session minted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioLoginResponse"}}}},"400":{"description":"Invalid JSON request body.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Invalid credentials (uniform error to prevent email enumeration).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"405":{"description":"Only POST is permitted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"413":{"description":"Request body exceeds maximum allowed size.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Per-IP authentication rate limit exceeded.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Durable authentication storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/api/v1/auth/logout":{"post":{"operationId":"logoutStudioSession","summary":"Immediately revoke the active tenant-scoped Bearer session token","tags":["Studio Authentication"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"responses":{"200":{"description":"Active session revoked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioLogoutResponse"}}}},"401":{"description":"Missing or invalid Bearer token.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"405":{"description":"Only POST is permitted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Session revoked locally; durable revocation sync temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/api/v1/portfolio":{"get":{"operationId":"getTenantPortfolio","summary":"Fetch tenant-scoped isolated product portfolio, pending WebAuthn approvals, revenue sparkline, and MMM conflation status","tags":["Portfolio & Governance"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-02","INV-03","INV-06","INV-07"],"parameters":[{"$ref":"#/components/parameters/OptionalTenantIdQuery"},{"$ref":"#/components/parameters/OptionalAppIdQuery"}],"responses":{"200":{"description":"Authenticated tenant portfolio snapshot.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortfolioResponse"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/firewall-ledger":{"get":{"operationId":"getFirewallLedger","summary":"Fetch tenant-scoped append-only SHA-256 Spend Firewall audit ledger entries","tags":["Portfolio & Governance"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-03"],"parameters":[{"$ref":"#/components/parameters/OptionalTenantIdQuery"},{"$ref":"#/components/parameters/OptionalAppIdQuery"},{"name":"limit","in":"query","required":false,"description":"Maximum number of latest ledger entries to return (1..500, default 200).","schema":{"type":"integer","minimum":1,"maximum":500,"default":200}},{"name":"beforeSeqNo","in":"query","required":false,"description":"Exclusive upper sequence cursor for backward pagination through the hash chain.","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"Verified tenant-scoped hash-chained firewall audit entries.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallLedgerResponse"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/hct-queue":{"get":{"operationId":"getHumanConsoleTaskQueue","summary":"List queued Human Console Tasks (CONSOLE / AGENT* vendor gates) and studio onboarding packets","tags":["Portfolio & Governance"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03","INV-05"],"parameters":[{"$ref":"#/components/parameters/OptionalTenantIdQuery"},{"$ref":"#/components/parameters/OptionalAppIdQuery"}],"responses":{"200":{"description":"Tenant Human Console Task queue and onboarding packets.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HctQueueResponse"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/clean-room/priors":{"get":{"operationId":"getCleanRoomPriorsStatus","summary":"Inspect anonymized DP clean-room genre cohort readiness and authenticated tenant privacy-loss budget","tags":["DP Clean Room"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"parameters":[{"$ref":"#/components/parameters/OptionalTenantIdQuery"}],"responses":{"200":{"description":"Cohort K>=10 readiness metadata and tenant privacy budget.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CleanRoomPriorsStatusResponse"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}},"post":{"operationId":"queryCleanRoomMarketPrior","summary":"Query a clipped Gaussian (epsilon, delta)-Differentially Private federated market prior","description":"Enforces hard `K >= 10` distinct publishers (`422`), L2 per-publisher vector clipping, CSPRNG Box-Muller Gaussian noise, and atomic pre-flight privacy budget deduction (`429` when exhausted).","tags":["DP Clean Room"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CleanRoomQueryRequest"}}}},"responses":{"200":{"description":"Privatized federated market prior with cryptographic audit hash.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CleanRoomReleaseResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Unprocessable entity — deterministic guardrail blocker (e.g., DP K<10 gate, multi-channel plan blockers, or strict preflight failure).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Too many requests or tenant DP privacy-loss budget exhausted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/billing/settlement":{"get":{"operationId":"getBillingSettlementSummary","summary":"Retrieve tenant SaaS monthly invoices, Co-Publisher 70/30 settlement statements, and carry-forward deficits in exact BigInt micros","tags":["Billing & Settlements"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"parameters":[{"$ref":"#/components/parameters/OptionalTenantIdQuery"},{"$ref":"#/components/parameters/OptionalAppIdQuery"}],"responses":{"200":{"description":"Tenant billing and Co-Publisher settlement summary.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSettlementResponse"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/approvals/challenge":{"post":{"operationId":"issueWebAuthnApprovalChallenge","summary":"Issue a single-use cryptographic WebAuthn FIDO2 approval challenge bound to a pending MutationIntent policy hash","tags":["WebAuthn FIDO2 Approvals"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalChallengeRequest"}}}},"responses":{"200":{"description":"Single-use challenge bound to server-pinned origin, rpId, and intent policyHash.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalChallengeResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/approvals/verify":{"post":{"operationId":"verifyWebAuthnApproval","summary":"Verify a W3C WebAuthn P-256 (ES256) UP+UV assertion and execute the approved MutationIntent","description":"Requires both a valid tenant Bearer token AND a hardware-signed P-256 (`ES256`) WebAuthn assertion with `UP` (`0x01`) + `UV` (`0x04`) flags and strictly monotonic `signCount`. Replay or sign-count regression fails closed with `409`.","tags":["WebAuthn FIDO2 Approvals"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-03"],"x-webauthn-required":{"algorithm":"ES256","curve":"P-256","requiredFlags":["UP","UV"],"monotonicSignCount":true},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalVerifyRequest"}}}},"responses":{"200":{"description":"WebAuthn assertion verified and intent transitioned through Plane-4 execution.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalVerifyResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Conflict — WebAuthn challenge replay or non-monotonic authenticator signCount blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/adtech/overview":{"get":{"operationId":"getAdTechStudioOverview","summary":"Inspect AdOps Studio isolated channel bindings, outbound safety mode, pacing reconciliation, GAM hybrid yield, and object tree","tags":["AdOps Studio"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03","INV-06"],"parameters":[{"$ref":"#/components/parameters/OptionalTenantIdQuery"},{"$ref":"#/components/parameters/OptionalAppIdQuery"}],"responses":{"200":{"description":"Tenant AdOps Studio operational overview.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechOverviewResponse"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/adtech/catalog":{"get":{"operationId":"getAdTechStudioCatalog","summary":"Retrieve multi-network AdOps specifications, vendor copy/dimension rules, DV360/GAM enums, and audience capability matrix","tags":["AdOps Studio"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03","INV-05"],"parameters":[{"$ref":"#/components/parameters/OptionalTenantIdQuery"}],"responses":{"200":{"description":"Static AdOps Studio channel & compliance specification catalog.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechCatalogResponse"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/adtech/intents/preview":{"post":{"operationId":"previewAdTechMutationIntents","summary":"Validate a multi-channel trafficking plan, evaluate Z3 Spend Firewall invariants C1..C9, and compile vendor dry-run wire payloads","tags":["AdOps Studio"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03","INV-04"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechPlanRequest"}}}},"responses":{"200":{"description":"Deterministic plan validation, exact BigInt micros partition, firewall C1..C9 proofs, and validate-only wire previews.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechPlanPreviewResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/adtech/intents/stage":{"post":{"operationId":"stageAdTechMutationIntents","summary":"Stage validated multi-channel MutationIntents into the Plane-4 Spend Firewall in DRY_RUN mode","tags":["AdOps Studio"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03","INV-04"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechPlanRequest"}}}},"responses":{"200":{"description":"Multi-channel intents staged through Plane-4 dry-run execution.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechPlanStageResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Unprocessable entity — deterministic guardrail blocker (e.g., DP K<10 gate, multi-channel plan blockers, or strict preflight failure).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/adtech/audiences/fanout-preview":{"post":{"operationId":"previewAdTechAudienceFanout","summary":"Evaluate cross-channel audience activation, K>=1,000 anonymity floor, COPPA/ATT/consent rules, and DV360 3-list split","tags":["AdOps Studio"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechAudienceFanoutRequest"}}}},"responses":{"200":{"description":"Audience fan-out evaluation result (or non-strict report with blockers).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechAudienceFanoutResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Strict-mode audience fan-out failed K>=1,000, COPPA, ATT, consent, or DWH targeting checks.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechAudienceFanoutResponse"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/adtech/creatives/preflight":{"post":{"operationId":"preflightAdTechCreatives","summary":"Validate creative MIME types, +/-2px dimensions, placement byte ceilings, and GAM ad-unit slot fit","tags":["AdOps Studio"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechCreativePreflightRequest"}}}},"responses":{"200":{"description":"Creative preflight report and GAM slot-fit verdict.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechCreativePreflightResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Strict-mode creative preflight failed MIME, dimension, byte-cap, or GAM slot-fit checks.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechCreativePreflightResponse"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/adtech/outbound-mode/challenge":{"post":{"operationId":"issueAdTechOutboundChallenge","summary":"Issue a WebAuthn FIDO2 challenge and exact confirmation phrase for widening an app's outbound safety mode","tags":["AdOps Studio","WebAuthn FIDO2 Approvals"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechOutboundChallengeRequest"}}}},"responses":{"200":{"description":"Bound outbound-widening challenge, policyHash, and expected confirmation phrase.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechOutboundChallengeResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/adtech/outbound-mode":{"post":{"operationId":"transitionAdTechOutboundMode","summary":"Tighten or widen an app's asymmetric outbound safety mode (SHADOW < DRY_RUN_ONLY < LIVE_GATED)","description":"Tightening downward requires only a 5..500 character reason. Widening upward requires reason + exact confirmation phrase + server-verified W3C WebAuthn P-256 (`ES256`) UP+UV assertion, and can never exceed the server infrastructure ceiling.","tags":["AdOps Studio","WebAuthn FIDO2 Approvals"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-03"],"x-webauthn-required":{"conditionalOn":"wideningTransition","algorithm":"ES256","curve":"P-256","requiredFlags":["UP","UV"],"monotonicSignCount":true},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechOutboundModeRequest"}}}},"responses":{"200":{"description":"Updated per-product outbound safety state and transition history.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTechOutboundModeResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Conflict — WebAuthn challenge replay or non-monotonic authenticator signCount blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/releases/overview":{"get":{"operationId":"getStoreReleaseOverview","summary":"Inspect per-app Android (Google Play) and iOS (App Store Connect) active release tracks, rollout fractions, INV-06 Vitals health, Day-0 HCT-07/HCT-08 readiness, and release audit trail","tags":["Store Release Desk"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03","INV-05","INV-06"],"parameters":[{"$ref":"#/components/parameters/OptionalTenantIdQuery"},{"$ref":"#/components/parameters/OptionalAppIdQuery"}],"responses":{"200":{"description":"Tenant store release pipeline overview, Vitals health, and Day-0 console readiness.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseOverviewResponse"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/releases/preflight":{"post":{"operationId":"preflightStoreReleaseBinary","summary":"Run deterministic zero-dependency PKZIP binary pre-flight inspection on an .aab, .apk, or .ipa archive with optional ProGuard mapping.txt and native debug symbols","description":"Requires STUDIO_OPERATOR role (`403 FORBIDDEN_ROLE` for READ_ONLY and FINANCE_AUDITOR). Enforces Zip-Slip/Zip-Bomb guards, Android targetSdkVersion >= 35, 16 KB ELF page alignment, .aab production format policy, Apple PrivacyInfo.xcprivacy, ATT/AD_ID consent parity, monotonic versioning, and signing/provisioning checks.","tags":["Store Release Desk"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleasePreflightRequest"}}}},"responses":{"200":{"description":"Deterministic store binary pre-flight diagnostic report.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleasePreflightResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Strict-mode binary pre-flight failed one or more store policy or archive security checks.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleasePreflightResponse"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/releases/submit":{"post":{"operationId":"submitStoreRelease","summary":"Submit a Google Play v3 or Apple App Store Connect v1 Cloud buildUploads release through StoreReleaseOrchestrator","description":"Requires STUDIO_OPERATOR role (`403 FORBIDDEN_ROLE` for READ_ONLY and FINANCE_AUDITOR). Uninitialized Day-0 shells enqueue HCT-07/HCT-08 (`ENQUEUED_CONSOLE_TASK`); internal/alpha/beta/testflight execute AUTO (`201`); production and app_store_review stage as `AWAITING_APPROVAL` (`200`) requiring FIDO2 WebAuthn ES256 passkey signature via `/api/v1/approvals/challenge` + `/api/v1/approvals/verify`.","tags":["Store Release Desk","WebAuthn FIDO2 Approvals"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03","INV-04","INV-05","INV-06"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseSubmitRequest"}}}},"responses":{"200":{"description":"Release staged for FIDO2 WebAuthn ES256 approval or routed to Day-0 HCT-07/HCT-08 Console Task.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseSubmitResponse"}}}},"201":{"description":"Testing track release executed automatically in dry-run enclave mode and committed to SHA-256 ledger.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseSubmitResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Release blocked by binary pre-flight diagnostics, INV-06 Vitals circuit breaker, or Z3 policy guard.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseSubmitBlockedResponse"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/releases/rollout":{"post":{"operationId":"controlStoreReleaseRollout","summary":"Halt, pause, resume, expand, or complete an active Android staged rollout or Apple 7-day phased release","description":"Requires STUDIO_OPERATOR role (`403 FORBIDDEN_ROLE` for READ_ONLY and FINANCE_AUDITOR). HALT and PAUSE always execute immediately (`AUTO`, even during INV-06 Vitals breaches); expanding production userFraction stages for WebAuthn ES256 approval or respects learning safety.","tags":["Store Release Desk","WebAuthn FIDO2 Approvals"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03","INV-04","INV-06"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseRolloutRequest"}}}},"responses":{"200":{"description":"Rollout control transition applied or staged with SHA-256 ledger receipt.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseRolloutResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Rollout expansion or resume blocked by INV-06 Vitals breaker or guardrail policy.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseRolloutBlockedResponse"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/analytics/semantic-query":{"post":{"operationId":"evaluateSemanticCohortQuery","summary":"Evaluate an analytical SQL query through the Ontology-Grounded Semantic SQL Firewall (INV-03, 1:N fan-out/chasm traps, micros/bps/ppm scale checks)","tags":["Neuro-Symbolic Guardrails & Retrieval"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SemanticQueryRequest"}}}},"responses":{"200":{"description":"Semantic SQL Firewall evaluation verdict and ontology diagnostics.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SemanticQueryResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Strict-mode Semantic SQL query rejected due to INV-03, read-only, chasm-trap, fan-out, or unit-scale violations.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SemanticQueryResponse"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/creatives/egr-retrieve":{"post":{"operationId":"retrieveCohortCreativesEgr","summary":"Optionally index policy-cleared creatives and retrieve top-K multimodal creatives from the product's isolated EGR unit-hypersphere partition (INV-02/INV-03)","description":"Pure retrieval is permitted for all authenticated tenant roles. Indexing new creatives (`indexCreatives` or `creative`) requires `STUDIO_OPERATOR` role (`403 FORBIDDEN_ROLE`) and policy approval (`422` when `policyApproved: false`).","tags":["Neuro-Symbolic Guardrails & Retrieval"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EgrRetrieveRequest"}}}},"responses":{"200":{"description":"Indexed creative receipts and ranked top-K EGR multimodal retrieval results.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EgrRetrieveResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Unprocessable entity — deterministic guardrail blocker (e.g., DP K<10 gate, multi-channel plan blockers, or strict preflight failure).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/adtech/ga4/verify":{"post":{"operationId":"verifyProductGa4Isolation","summary":"Verify per-product dedicated GA4 property isolation (INV-02) and 1:1 Google Ads link parity","tags":["Neuro-Symbolic Guardrails & Retrieval","AdOps Studio"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-02","INV-03","INV-05"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ga4VerifyRequest"}}}},"responses":{"200":{"description":"Dedicated GA4 property isolation and Google Ads link parity verification report.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ga4VerifyResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Strict-mode GA4 isolation or Google Ads link parity check failed.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ga4VerifyErrorOrDriftResponse"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/portfolio/apps":{"post":{"operationId":"createStudioPortfolioApp","summary":"Provision an isolated commercial product with dedicated INV-02 ad accounts, GA4 property, and BigQuery dataset","tags":["Portfolio, Ledger & HCT Queue"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03","INV-05"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePortfolioAppRequest"}}}},"responses":{"201":{"description":"Isolated studio product created and persisted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePortfolioAppResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Conflict — WebAuthn challenge replay or non-monotonic authenticator signCount blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/portfolio/spin-out-export":{"post":{"operationId":"exportProductSpinOutManifest","summary":"Export a deterministic SHA-256 KMS-signed INV-02 M&A spin-out transfer bundle for a single app","tags":["Portfolio, Ledger & HCT Queue"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpinOutExportRequest"}}}},"responses":{"200":{"description":"Deterministic SHA-256 signed INV-02 spin-out transfer bundle.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpinOutExportResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/releases/store-profile":{"post":{"operationId":"configureAppStoreProfile","summary":"Configure Google Play package name, Apple ASC bundle identifier, and monotonic build baselines","tags":["Store Release & Binary Desk"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigureStoreProfileRequest"}}}},"responses":{"200":{"description":"Store release profile updated and persisted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigureStoreProfileResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Conflict — WebAuthn challenge replay or non-monotonic authenticator signCount blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/releases/upload-sessions":{"post":{"operationId":"createOrFinalizeReleaseUploadSession","summary":"Mint a >8 MiB GCS V4 signed binary upload session or finalize via HTTP Range pre-flight","tags":["Store Release & Binary Desk"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseUploadSessionRequest"}}}},"responses":{"200":{"description":"GCS upload session finalized and pre-flight inspected.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseUploadSessionResponse"}}}},"201":{"description":"GCS V4 signed binary upload session minted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseUploadSessionResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Unprocessable entity — deterministic guardrail blocker (e.g., DP K<10 gate, multi-channel plan blockers, or strict preflight failure).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/hct-queue/complete":{"post":{"operationId":"completeHumanConsoleTask","summary":"Record verified completion of an honest INV-05 Human Console Task (HCT-01..HCT-08)","tags":["Portfolio, Ledger & HCT Queue"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03","INV-05"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteHctTaskRequest"}}}},"responses":{"200":{"description":"Human Console Task marked COMPLETED_VERIFIED.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteHctTaskResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/adtech/accounts/bind":{"post":{"operationId":"bindIsolatedAdNetworkAccount","summary":"Bind a dedicated INV-02 ad-network account and seal credentials into KMS envelope storage","tags":["AdOps Studio"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindAdTechAccountRequest"}}}},"responses":{"200":{"description":"Dedicated ad-network account bound to product.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindAdTechAccountResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Conflict — WebAuthn challenge replay or non-monotonic authenticator signCount blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/adtech/oauth/authorize":{"post":{"operationId":"authorizeAdNetworkOAuth","summary":"Generate a PKCE S256 and HMAC-SHA256 signed state authorization URL for an ad network","tags":["AdOps Studio"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthAuthorizeRequest"}}}},"responses":{"200":{"description":"PKCE S256 OAuth authorization URL and state issued.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthAuthorizeResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/adtech/oauth/callback":{"post":{"operationId":"completeAdNetworkOAuthCallback","summary":"Verify single-use OAuth state and exchange authorization code into KMS envelope vault","tags":["AdOps Studio"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthCallbackRequest"}}}},"responses":{"200":{"description":"OAuth tokens sealed into KMS envelope and bound to product.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthCallbackResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Conflict — WebAuthn challenge replay or non-monotonic authenticator signCount blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/auth/passkeys/register-options":{"post":{"operationId":"issuePasskeyRegistrationOptions","summary":"Issue single-use WebAuthn FIDO2 passkey registration options pinned to server rpId and origin","tags":["Multi-Tenant Studio Authentication","WebAuthn FIDO2 Approvals"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyRegisterOptionsRequest"}}}},"responses":{"200":{"description":"Single-use WebAuthn PublicKeyCredentialCreationOptions issued.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyRegisterOptionsResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/auth/passkeys/register-verify":{"post":{"operationId":"verifyPasskeyRegistration","summary":"Verify RFC-8949 CBOR attestationObject and COSE EC2 P-256 public key for FIDO2 enrollment","tags":["Multi-Tenant Studio Authentication","WebAuthn FIDO2 Approvals"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyRegisterVerifyRequest"}}}},"responses":{"201":{"description":"Hardware FIDO2 P-256 passkey verified and registered.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyRegisterVerifyResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Conflict — WebAuthn challenge replay or non-monotonic authenticator signCount blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/auth/password-reset/request":{"post":{"operationId":"requestStudioPasswordReset","summary":"Issue a single-use SHA-256 password reset token via TransactionalMailer without user enumeration","tags":["Multi-Tenant Studio Authentication"],"security":[],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetRequestInput"}}}},"responses":{"200":{"description":"Password reset instructions spooled if registered.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetRequestResponse"}}}},"400":{"description":"Malformed email address or invalid JSON body.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"429":{"description":"Authentication rate limit exceeded.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Authentication storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/auth/password-reset/confirm":{"post":{"operationId":"confirmStudioPasswordReset","summary":"Consume single-use reset token, rotate PBKDF2 password hash, and revoke active sessions","tags":["Multi-Tenant Studio Authentication"],"security":[],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetConfirmInput"}}}},"responses":{"200":{"description":"Password rotated and existing studio sessions revoked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetConfirmResponse"}}}},"400":{"description":"Weak password or malformed payload.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Invalid, expired, or already-consumed reset token.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"429":{"description":"Authentication rate limit exceeded.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Authentication storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/auth/invite-codes/issue":{"post":{"operationId":"issueStudioInviteCode","summary":"Platform-admin endpoint minting a single-use studio invite code from an approved access request","tags":["Multi-Tenant Studio Authentication"],"security":[{"PlatformAdminKeyAuth":[]},{"TenantBearerAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteCodeIssueRequest"}}}},"responses":{"201":{"description":"Single-use studio invite code minted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteCodeIssueResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"429":{"description":"Too many requests or tenant DP privacy-loss budget exhausted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/billing/meter-events":{"post":{"operationId":"recordStripeBillingMeterEvent","summary":"Compile and dry-run Stripe 2026-09-30.clover Billing Meter, Checkout, or Portal requests with optional PG17 epoch settlement","tags":["Billing & Settlements"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingMeterEventRequest"}}}},"responses":{"200":{"description":"Compiled Stripe 2026-09-30.clover payload and optional settlement receipt.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingMeterEventResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Conflict — WebAuthn challenge replay or non-monotonic authenticator signCount blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/webhooks/stripe":{"post":{"operationId":"ingestStripeWebhook","summary":"Verify raw-body Stripe HMAC-SHA256 webhook signature with replay protection","tags":["Billing & Settlements"],"security":[{"WebhookSignatureAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-03"],"parameters":[{"name":"Stripe-Signature","in":"header","required":true,"description":"Stripe raw-body HMAC-SHA256 signature header (`t=...,v1=...`).","schema":{"type":"string","minLength":1}},{"$ref":"#/components/parameters/OptionalWebhookTenantHeader"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Stripe webhook verified.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeWebhookResponse"}}}},"400":{"description":"Empty or malformed Stripe webhook payload.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Missing, expired, or invalid Stripe-Signature HMAC.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Cross-tenant webhook metadata mismatch (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Replayed Stripe webhook delivery blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Webhook payload exceeds 1 MiB ceiling.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Webhook verification secret unconfigured or storage unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/webhooks/apple-iap":{"post":{"operationId":"ingestAppleAssnV2Webhook","summary":"Verify raw-body Apple App Store Server Notifications V2 X.509 ES256 JWS chain and ingest IAP delta","tags":["Telemetry Webhooks"],"security":[{"WebhookSignatureAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-02","INV-03"],"parameters":[{"$ref":"#/components/parameters/WebhookTenantHeader"},{"$ref":"#/components/parameters/WebhookAppHeader"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Apple ASSN V2 JWS verified and ingested into ClickHouse SSOT.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookIngestionResponse"}}}},"400":{"description":"Malformed ASSN V2 envelope or missing scope headers.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Invalid X.509 certificate chain or ES256 JWS signature.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Cross-tenant or bundleId isolation mismatch (INV-02/INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target product not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Replayed ASSN V2 notificationUUID blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Webhook payload exceeds 1 MiB ceiling.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Unprocessable transaction fields.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"ClickHouse or durable storage unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/webhooks/google-rtdn":{"post":{"operationId":"ingestGooglePlayRtdnWebhook","summary":"Verify raw-body Google Play RTDN Pub/Sub push via RS256 OIDC JWT or shared HMAC-SHA256","tags":["Telemetry Webhooks"],"security":[{"WebhookSignatureAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-02","INV-03"],"parameters":[{"$ref":"#/components/parameters/WebhookTenantHeader"},{"$ref":"#/components/parameters/WebhookAppHeader"},{"name":"X-Goog-RTDN-Signature","in":"header","required":false,"description":"Optional HMAC-SHA256 signature header when shared-secret RTDN mode is configured alongside or instead of Pub/Sub OIDC Bearer JWT.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Google Play RTDN verified and ingested.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookIngestionResponse"}}}},"400":{"description":"Malformed Pub/Sub envelope or missing scope headers.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Invalid OIDC RS256 JWT or HMAC signature.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Cross-tenant or packageName isolation mismatch (INV-02/INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target product not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Replayed Pub/Sub messageId blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Webhook payload exceeds 1 MiB ceiling.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"ClickHouse or RTDN verification configuration unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/webhooks/mmp-postback":{"post":{"operationId":"ingestMmpS2SPostbackWebhook","summary":"Verify raw-body AppsFlyer/Adjust/Singular S2S postback HMAC-SHA256, scrub PII, and update heartbeat","tags":["Telemetry Webhooks"],"security":[{"WebhookSignatureAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-02","INV-03"],"parameters":[{"$ref":"#/components/parameters/WebhookTenantHeader"},{"$ref":"#/components/parameters/WebhookAppHeader"},{"name":"X-MMP-Provider","in":"header","required":false,"description":"MMP provider identifier (`APPSFLYER`, `ADJUST`, or `SINGULAR`).","schema":{"type":"string","enum":["APPSFLYER","ADJUST","SINGULAR"]}},{"name":"X-MMP-Signature","in":"header","required":true,"description":"Raw-body HMAC-SHA256 signature hex digest.","schema":{"type":"string","minLength":1}},{"name":"X-MMP-Timestamp","in":"header","required":true,"description":"Unix epoch timestamp in seconds (`<= 300s` skew window).","schema":{"type":"string","pattern":"^[0-9]+$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"MMP S2S postback verified, scrubbed, and ingested.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookIngestionResponse"}}}},"400":{"description":"Malformed postback or missing request_id / scope headers.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Invalid HMAC-SHA256 signature or stale timestamp (>300s).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Cross-tenant or cross-app confused-deputy payload rejected (INV-02/INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target product not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Replayed request_id blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Webhook payload exceeds 1 MiB ceiling.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Residual unconsented PII blocked (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"MMP verification secret unconfigured or ClickHouse unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/webhooks/ilrd":{"post":{"operationId":"ingestMediationIlrdWebhook","summary":"Verify raw-body MAX/AdMob/LevelPlay signed ILRD batch with <=300s timestamp and exact BigInt micros","tags":["Telemetry Webhooks"],"security":[{"WebhookSignatureAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-02","INV-03"],"parameters":[{"$ref":"#/components/parameters/WebhookTenantHeader"},{"$ref":"#/components/parameters/WebhookAppHeader"},{"name":"X-ILRD-Provider","in":"header","required":false,"description":"Mediation provider identifier (`APPLOVIN_MAX`, `ADMOB`, or `LEVELPLAY`).","schema":{"type":"string","enum":["APPLOVIN_MAX","ADMOB","LEVELPLAY"]}},{"name":"X-ILRD-Signature","in":"header","required":true,"description":"Raw-body HMAC-SHA256 signature over `timestamp + '.' + rawBody`.","schema":{"type":"string","minLength":1}},{"name":"X-ILRD-Timestamp","in":"header","required":true,"description":"Unix epoch timestamp in seconds (`<= 300s` skew window).","schema":{"type":"string","pattern":"^[0-9]+$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Signed ILRD batch verified and committed to ClickHouse SSOT.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookIngestionResponse"}}}},"400":{"description":"Malformed ILRD batch, float revenue, or missing batch_id.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Invalid HMAC-SHA256 signature or missing/stale <=300s timestamp.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Cross-tenant or cross-app payload mismatch (INV-02/INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target product not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Replayed batch_id blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Webhook payload exceeds 1 MiB ceiling.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"PII detected in ILRD payload (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"ILRD verification secret unconfigured or ClickHouse unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/sdks/generate":{"post":{"operationId":"generateClientSdkSnippet","summary":"Generate a deterministic, zero-placeholder Unity C#, iOS Swift 6, Android Kotlin, or Web H5/3D client SDK bundle bound to an isolated product","tags":["Client SDKs & Privacy DSAR"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateSdkRequest"}}}},"responses":{"200":{"description":"Deterministic client SDK bundle with SHA-256 checksums.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateSdkResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/cognitive/funnel/evaluate":{"post":{"operationId":"evaluatePublishingFunnelGate","summary":"Evaluate an isolated app against its current Plane-3 Bayesian Publishing Funnel gate (Gate0..Gate4) and append a SHA-256 transition receipt","tags":["Cognitive Runtime & Funnel"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-03","INV-06"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelEvaluateRequest"}}}},"responses":{"200":{"description":"Deterministic 4-Gate funnel evaluation result and hash-chained receipt.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FunnelEvaluateResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Conflict — WebAuthn challenge replay or non-monotonic authenticator signCount blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/privacy/erase-install-uuid":{"post":{"operationId":"eraseInstallUuidDsar","summary":"Record a zero-raw-PII SHA-256 DSAR erasure tombstone with HMAC-SHA256 compliance receipt (GDPR/KVKK/CCPA/COPPA)","tags":["Client SDKs & Privacy DSAR"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DsarEraseInstallUuidRequest"}}}},"responses":{"200":{"description":"Hashed DSAR tombstone committed with HMAC-SHA256 compliance receipt.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DsarEraseInstallUuidResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/portfolio/bigquery-spinout":{"post":{"operationId":"exportBigQuerySpinOutBundle","summary":"Compile per-product BigQuery D1/D2 spin-out DDL, DSAR-redacted NDJSON table summaries, and verifiable SHA-256 Merkle audit receipt","tags":["Client SDKs & Privacy DSAR","Portfolio & Governance"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigQuerySpinOutRequest"}}}},"responses":{"200":{"description":"Verified per-product BigQuery D1/D2 spin-out DDL and Merkle audit receipt.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BigQuerySpinOutResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/fintech/copublisher/settle":{"post":{"operationId":"settleCoPublisherRecoupmentEpoch","summary":"Settle a Tier-2 Co-Publisher accounting epoch through the exact BigInt recoupment-first double-entry waterfall ledger","tags":["FinTech & Hybrid Monetization","Billing & Settlements"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoPublisherSettleRequest"}}}},"responses":{"200":{"description":"Balanced double-entry Co-Publisher waterfall settlement and hash-chained entry.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoPublisherSettleResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Conflict — WebAuthn challenge replay or non-monotonic authenticator signCount blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/fintech/working-capital/advance":{"post":{"operationId":"advanceWorkingCapitalEscrow","summary":"Compute a Tier-3 receivables underwriting quote or mint an INV-01 spend-locked UA working-capital escrow envelope","tags":["FinTech & Hybrid Monetization"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-03","INV-06"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingCapitalAdvanceRequest"}}}},"responses":{"200":{"description":"Deterministic BigInt receivables underwriting quote (QUOTE_ONLY).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingCapitalAdvanceResponse"}}}},"201":{"description":"Verified INV-01 spend-locked UA escrow envelope minted (MINT_ESCROW).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingCapitalAdvanceResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Target resource (pending intent or provisioned product) not found.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Conflict — WebAuthn challenge replay or non-monotonic authenticator signCount blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Unprocessable entity — deterministic guardrail blocker (e.g., DP K<10 gate, multi-channel plan blockers, or strict preflight failure).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"503":{"description":"Durable PostgreSQL 17 audit ledger storage temporarily unavailable.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/monetization/webshop/entitlement":{"post":{"operationId":"mintWebShopEntitlementGrant","summary":"Compare EU DMA / Stripe D2C Web-Shop checkout rail economics in exact BigInt micros and optionally mint a signed server-to-game entitlement grant token","tags":["FinTech & Hybrid Monetization"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebShopEntitlementRequest"}}}},"responses":{"200":{"description":"Checkout rail comparison or idempotent entitlement token replay.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebShopEntitlementResponse"}}}},"201":{"description":"New cryptographically signed server-to-game entitlement grant token minted.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebShopEntitlementResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Conflict — WebAuthn challenge replay or non-monotonic authenticator signCount blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/frontier/cohorts/ltv-curve":{"get":{"operationId":"getFrontierCohortLtvCurve","summary":"Query D1/D3/D7/D14/D30 cohort cumulative LTV and Net-ROAS curve in exact BigInt micros and basis points","description":"Aggregates tenant-isolated ClickHouse cohort rollup rows into aligned D1/D3/D7/D14/D30 cumulative LTV per install, Net-ROAS basis points, and retention basis points without IEEE-754 monetary floats (`INV-02`, `INV-03`, `INV-07`).","tags":["Phase-3 Frontier Observatory"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-02","INV-03","INV-07"],"parameters":[{"$ref":"#/components/parameters/OptionalTenantIdQuery"},{"$ref":"#/components/parameters/OptionalAppIdQuery"},{"name":"fromDate","in":"query","required":false,"description":"Inclusive start cohort UTC date (`YYYY-MM-DD`).","schema":{"$ref":"#/components/schemas/IsoDateString"}},{"name":"toDate","in":"query","required":false,"description":"Inclusive end cohort UTC date (`YYYY-MM-DD`).","schema":{"$ref":"#/components/schemas/IsoDateString"}},{"name":"network","in":"query","required":false,"description":"Optional ad network filter (`ALL` or supported ad network enum).","schema":{"type":"string","enum":["ALL","GOOGLE_ADS","META_ADS","APPLOVIN_AXON","UNITY_ADS","TIKTOK_ADS","APPLE_ADS","IRONSOURCE","MINTEGRAL","MOLOCO_DSP","DV360","GOOGLE_AD_MANAGER"]}}],"responses":{"200":{"description":"Exact-BigInt D1-D30 cohort LTV and Net-ROAS curve model.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontierCohortLtvCurveResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/frontier/proofs/z3-and-fatigue":{"get":{"operationId":"getFrontierProofsAndFatigue","summary":"Inspect algebraically verified Z3 QF_LIA UNSAT Farkas proofs and Bayesian CUSUM creative fatigue evaluations","description":"Returns tenant-scoped certified Spend Firewall `QF_LIA` `UNSAT` Farkas certificates re-verified through `verifySpendFirewallCertificate` alongside exact-BigInt Page-Hinkley/CUSUM creative saturation evaluations (`INV-01`, `INV-02`, `INV-03`).","tags":["Phase-3 Frontier Observatory"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03"],"parameters":[{"$ref":"#/components/parameters/OptionalTenantIdQuery"},{"$ref":"#/components/parameters/OptionalAppIdQuery"}],"responses":{"200":{"description":"Verified Z3 Farkas proofs and Bayesian CUSUM creative fatigue evaluations.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontierProofsAndFatigueResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/frontier/sdks/bundle":{"post":{"operationId":"buildFrontierSdkBundle","summary":"Compile a deterministic installable POSIX USTAR .tar SDK package with SHA-256 integrity-lock.json","description":"Compiles a reproducible POSIX USTAR `.tar` archive containing UPM (`UNITY_CSHARP`), SwiftPM (`IOS_SWIFT` + `PrivacyInfo.xcprivacy`), Gradle (`ANDROID_KOTLIN` + Play Families `AD_ID` omission), or NPM ESM+`index.d.ts` (`WEB_H5_3D`) client SDK packages with SHA-256 `integrity-lock.json`. Restricted to `STUDIO_OPERATOR` and `STUDIO_ADMIN` (`INV-01`, `INV-02`, `INV-03`).","tags":["Phase-3 Frontier Observatory"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontierSdkBundleRequest"}}}},"responses":{"200":{"description":"Deterministic installable SDK POSIX USTAR tar bundle and compliance summary.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontierSdkBundleResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Unprocessable entity — deterministic guardrail blocker (e.g., DP K<10 gate, multi-channel plan blockers, or strict preflight failure).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"501":{"description":"SDK package bundler not configured.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/api/v1/frontier/playables/preview":{"post":{"operationId":"previewFrontierPlayable","summary":"Compile and certify a zero-external-request 4-genre MRAID 3.0 WebGL2 playable preview","description":"Compiles and certifies an MRAID 3.0 WebGL2 playable across 4 studio genres (`PUZZLE_BLOCK`, `ARCADE_HYPER`, `SANDBOX_PARTY`, `STRATEGY_IDLE`) and 7 ad networks (`APPLOVIN_AXON`, `UNITY_ADS`, `IRONSOURCE`, `META_ADS`, `MINTEGRAL`, `TIKTOK_ADS`, `GOOGLE_ADS`), enforcing `< 2 MiB` HTML / `< 5 MiB` ZIP caps and frozen-VM zero-external-request compliance. Restricted to `STUDIO_OPERATOR` and `STUDIO_ADMIN` (`INV-01`, `INV-02`, `INV-03`).","tags":["Phase-3 Frontier Observatory"],"security":[{"TenantBearerAuth":[]},{"TenantHeaderAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-01","INV-02","INV-03"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontierPlayablePreviewRequest"}}}},"responses":{"200":{"description":"Certified 4-genre MRAID 3.0 playable preview metadata and digest receipt.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FrontierPlayablePreviewResponse"}}}},"400":{"description":"Bad request — invalid JSON payload, malformed fields, or WebAuthn validation failure.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Unauthenticated request — missing or invalid tenant-scoped Bearer token (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Forbidden — cross-tenant parameter/body/appId tampering or policy ceiling violation (INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on this route.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Payload too large — JSON body exceeded 128 KB server cap.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Unprocessable entity — deterministic guardrail blocker (e.g., DP K<10 gate, multi-channel plan blockers, or strict preflight failure).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"501":{"description":"Playable factory not configured.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/.well-known/skadnetwork/report-attribution":{"post":{"operationId":"ingestAppleSkan4DirectPostback","summary":"Verify direct Apple SKAdNetwork 4.0 postback copy signature, enforce single-use replay lock, and ingest cohort delta","description":"Public Apple `.well-known` direct SKAdNetwork 4.0 postback copy receiver verifying ECDSA P-256 signatures (pinned public key, X.509 `x5c` chain, or CMS PKCS#7 detached SignedData) over Apple's `\\u2063`-separated canonical string, enforcing Guideline `5.1.2(i)` zero-PII and `INV-02`/`INV-03` app isolation, and committing `SKAN4_DIRECT_COPY` into ClickHouse SSOT.","tags":["Apple Direct Postback Copy"],"security":[{"WebhookSignatureAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-02","INV-03"],"parameters":[{"name":"X-MPA-Tenant-Id","in":"header","required":false,"description":"Optional tenant UUID cross-checked against the verified `ios_adam_id` / `ios_bundle_id` binding (`INV-03`).","schema":{"$ref":"#/components/schemas/UuidString"}},{"name":"X-MPA-App-Id","in":"header","required":false,"description":"Optional isolated product app UUID cross-checked against the verified Apple app binding (`INV-02`).","schema":{"$ref":"#/components/schemas/UuidString"}},{"name":"X-Apple-Postback-X5c","in":"header","required":false,"description":"Optional base64 DER X.509 certificate chain (`1..6` certs) anchoring the Apple signing leaf to `trustedAppleRoots`.","schema":{"type":"string","minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleSkan4DirectPostbackRequest"}}}},"responses":{"200":{"description":"SKAdNetwork 4.0 direct postback copy cryptographically verified and ingested.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleDirectPostbackResponse"}}}},"400":{"description":"Malformed JSON, prototype-pollution key, or invalid header syntax.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Invalid ECDSA P-256 signature, untrusted X.509/CMS chain, or high-S malleability rejected.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Cross-tenant, cross-app, or pooled Adam ID isolation violation (INV-02/INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Unbound Apple Adam ID / bundle ID not registered in studio portfolio.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on `.well-known` endpoint.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Replayed SKAdNetwork 4.0 `transaction-id` blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Postback body exceeds 1 MiB ceiling.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Apple Guideline 5.1.2(i) PII violation or invalid SKAN 4.0 schema/window claim.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}},"/.well-known/adattributionkit/report-postback":{"post":{"operationId":"ingestAppleAakDirectPostback","summary":"Verify direct Apple AdAttributionKit compact ES256 low-S JWS postback copy and ingest cohort delta","description":"Public Apple `.well-known` direct iOS 18-26 AdAttributionKit postback copy receiver verifying compact `ES256` canonical low-S JWS signatures (via `header.x5c` anchored to `trustedAppleRoots` or pinned Apple key), supporting re-engagement, EU DMA `marketplaceIdentifier`, and cooldown metadata while enforcing zero-PII and `AAK_DIRECT_COPY` ClickHouse SSOT ingestion.","tags":["Apple Direct Postback Copy"],"security":[{"WebhookSignatureAuth":[]}],"x-services":["observatory-pwa"],"x-invariants":["INV-02","INV-03"],"parameters":[{"name":"X-MPA-Tenant-Id","in":"header","required":false,"description":"Optional tenant UUID cross-checked against the verified `ios_adam_id` / `ios_bundle_id` binding (`INV-03`).","schema":{"$ref":"#/components/schemas/UuidString"}},{"name":"X-MPA-App-Id","in":"header","required":false,"description":"Optional isolated product app UUID cross-checked against the verified Apple app binding (`INV-02`).","schema":{"$ref":"#/components/schemas/UuidString"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleAakDirectPostbackRequest"}}}},"responses":{"200":{"description":"AdAttributionKit direct postback copy cryptographically verified and ingested.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleDirectPostbackResponse"}}}},"400":{"description":"Malformed JSON, prototype-pollution key, or duplicate JWS wrapper alias.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"401":{"description":"Invalid ES256 JWS signature, high-S malleability, untrusted X.509 chain, or unsigned outer claim injection.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"403":{"description":"Cross-tenant, cross-app, or pooled Adam ID isolation violation (INV-02/INV-03).","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"404":{"description":"Unbound Apple Adam ID / bundle ID not registered in studio portfolio.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"405":{"description":"HTTP method not allowed on `.well-known` endpoint.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"},"Allow":{"$ref":"#/components/headers/Allow"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"409":{"description":"Replayed AdAttributionKit `impressionId` / `transactionId` blocked.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"413":{"description":"Postback body exceeds 1 MiB ceiling.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"422":{"description":"Apple Guideline 5.1.2(i) PII violation or invalid AdAttributionKit schema/cooldown claim.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}},"500":{"description":"Unexpected internal server error.","headers":{"Content-Security-Policy":{"$ref":"#/components/headers/ContentSecurityPolicy"},"Strict-Transport-Security":{"$ref":"#/components/headers/StrictTransportSecurity"},"X-Content-Type-Options":{"$ref":"#/components/headers/XContentTypeOptions"},"X-Frame-Options":{"$ref":"#/components/headers/XFrameOptions"},"Referrer-Policy":{"$ref":"#/components/headers/ReferrerPolicy"},"Permissions-Policy":{"$ref":"#/components/headers/PermissionsPolicy"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}}}}}}}},"components":{"securitySchemes":{"TenantBearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"mpa_obs_*","description":"Tenant-scoped Observatory bearer access token (`Authorization: Bearer mpa_obs_...`). Stored server-side exclusively as a SHA-256 digest and bound to PostgreSQL 17 FORCE RLS `tenantId` (`INV-03`)."},"TenantHeaderAuth":{"type":"apiKey","in":"header","name":"X-MPA-Auth-Token","description":"Alternative header-only tenant access token for environments where an upstream gateway reserves the `Authorization` header. Query-string tokens are strictly forbidden."},"PlatformAdminKeyAuth":{"type":"apiKey","in":"header","name":"X-MPA-Admin-Key","description":"Constant-time verified platform administration key for single-use invite issuance."},"WebhookSignatureAuth":{"type":"apiKey","in":"header","name":"X-Webhook-Signature","description":"Cryptographic raw-body signature verification (Stripe HMAC, Apple ASSN V2 X.509 JWS, Play RTDN RS256 OIDC, MMP/ILRD HMAC-SHA256)."}},"parameters":{"OptionalTenantIdQuery":{"name":"tenantId","in":"query","required":false,"description":"Optional tenant UUID assertion. If supplied, must exactly match the authenticated Bearer token's tenantId or the request fails closed with `403 INV03_CROSS_TENANT_ACCESS_DENIED`.","schema":{"$ref":"#/components/schemas/UuidString"}},"OptionalAppIdQuery":{"name":"appId","in":"query","required":false,"description":"Optional product app UUID filter. Must belong to the authenticated tenant or the request fails closed with `403 INV03_CROSS_TENANT_APP_ACCESS_DENIED`.","schema":{"$ref":"#/components/schemas/UuidString"}},"WebhookTenantHeader":{"name":"X-MPA-Tenant-Id","in":"header","required":true,"description":"Target studio tenant UUID asserted on signed S2S webhook delivery (INV-03).","schema":{"$ref":"#/components/schemas/UuidString"}},"OptionalWebhookTenantHeader":{"name":"X-MPA-Tenant-Id","in":"header","required":false,"description":"Optional tenant UUID cross-checked against signed Stripe event metadata (INV-03).","schema":{"$ref":"#/components/schemas/UuidString"}},"WebhookAppHeader":{"name":"X-MPA-App-Id","in":"header","required":true,"description":"Target isolated product app UUID asserted on signed S2S webhook delivery (INV-02).","schema":{"$ref":"#/components/schemas/UuidString"}}},"headers":{"ContentSecurityPolicy":{"description":"Zero-`'unsafe-inline'` Content-Security-Policy header.","schema":{"type":"string"}},"StrictTransportSecurity":{"description":"HSTS preload directive (`max-age=63072000; includeSubDomains; preload`).","schema":{"type":"string"}},"XContentTypeOptions":{"description":"MIME sniffing protection (`nosniff`).","schema":{"type":"string","const":"nosniff"}},"XFrameOptions":{"description":"Clickjacking protection (`DENY`).","schema":{"type":"string","const":"DENY"}},"ReferrerPolicy":{"description":"Strict referrer policy (`no-referrer` on Observatory, `strict-origin-when-cross-origin` on Landing).","schema":{"type":"string"}},"PermissionsPolicy":{"description":"Browser sensor restriction header (`camera=(), microphone=(), geolocation=()`).","schema":{"type":"string"}},"CacheControl":{"description":"Cache policy (`no-store` for all authenticated API responses; short public cache for OpenAPI discovery).","schema":{"type":"string"}},"RetryAfter":{"description":"Seconds until the caller's token bucket refills after a `429` rate-limit rejection.","schema":{"type":"string","pattern":"^[0-9]+$"}},"Allow":{"description":"RFC 9110 comma-separated list of permitted HTTP methods on `405 Method Not Allowed`.","schema":{"type":"string"}}},"schemas":{"UuidString":{"type":"string","format":"uuid","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"Sha256HexString":{"type":"string","pattern":"^[0-9a-fA-F]{64}$","description":"64-character lowercase hexadecimal SHA-256 digest."},"MicrosString":{"type":"string","pattern":"^-?[0-9]+$","description":"Signed Int64 USD micros (`1 USD = 1_000_000` micros) serialized as a base-10 integer string to prevent IEEE-754 precision loss."},"NonNegativeMicrosString":{"type":"string","pattern":"^[0-9]+$","description":"Non-negative Int64 USD micros (`1 USD = 1_000_000` micros) serialized as a base-10 integer string."},"NullableMicrosString":{"type":["string","null"],"pattern":"^-?[0-9]+$"},"UsdFormattedString":{"type":"string","pattern":"^-?\\$[0-9,]+\\.[0-9]{2}$","description":"Human-readable USD formatted string derived deterministically from BigInt micros."},"IdempotencyKeyString":{"type":"string","pattern":"^[0-9]{16,20}$","description":"Numeric 16..20-digit idempotency key compatible with TikTok v1.3 and Plane-4 execution deduplication."},"IsoDateTimeString":{"type":"string","format":"date-time"},"IsoDateString":{"type":"string","format":"date","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"},"AutonomyMode":{"type":"string","enum":["L0","L1","L2","L3","L4"]},"SurfaceClass":{"type":"string","enum":["AGENT","AGENT*","CONSOLE"]},"SupportedNetwork":{"type":"string","enum":["GOOGLE_ADS","META_ADS","TIKTOK_ADS","APPLE_ADS","APPLOVIN_AXON","UNITY_ADS","MOLOCO_DSP","DV360","GOOGLE_AD_MANAGER","APP_STORE_CONNECT","GOOGLE_PLAY"]},"StudioChannelId":{"type":"string","enum":["GOOGLE_ADS","META_ADS","TIKTOK_ADS","APPLE_ADS","DV360","GOOGLE_AD_MANAGER"]},"SkillId":{"type":"string","enum":["ua.campaign.create_app_campaign","ua.campaign.update_daily_budget","ua.campaign.update_bid_target","ua.campaign.pause_or_enable","creative.brief.propose_hook_batch","creative.asset.render_video_batch","creative.asset.stage_video_pack","creative.asset.stage_playable_mraid","store.ios.create_custom_product_page","store.ios.start_ppo_experiment","store.ios.bind_ad_variation_cpp","store.ios.upload_and_submit_release","store.ios.pause_or_resume_phased_release","store.android.update_localized_listing","store.android.upload_and_rollout_release","store.android.halt_or_resume_rollout","store.console.enqueue_human_task","causality.geox.launch_switchback","causality.mmm.update_calibration_priors","monetization.hybrid.update_ad_pacing","sentinel.policy.issue_or_reject_receipt","sentinel.emergency.trip_circuit_breaker","sentinel.revenue.upload_refund_clawback"]},"AgentId":{"type":"string","enum":["agent.marketability_scout","agent.creative_director","agent.playable_forge","agent.aso_congruence","agent.portfolio_economist","agent.causality_scientist","agent.policy_sentinel","agent.release_commander"]},"OutboundMode":{"type":"string","enum":["SHADOW","DRY_RUN_ONLY","LIVE_GATED"]},"EpistemicClass":{"type":"string","enum":["MEASURED","DERIVED","CAUSAL","FORECASTED","ESTIMATED","BOUNDED","UNIDENTIFIABLE"]},"LedgerEventType":{"type":"string","enum":["INTENT_PROPOSED","BLOCKED_Z3","DRY_RUN_PASSED","AWAITING_APPROVAL","HUMAN_APPROVED","EXECUTED","ROLLED_BACK","FAILED_QUARANTINED"]},"StudioRole":{"type":"string","enum":["STUDIO_ADMIN","STUDIO_OPERATOR","CAMPAIGN_OPERATOR","FINANCE_AUDITOR","READ_ONLY"]},"ValidationFieldError":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string"},"message":{"type":"string"}},"additionalProperties":false},"LandingErrorEnvelope":{"type":"object","required":["ok","code","error"],"properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string","minLength":1},"error":{"type":"string","minLength":1},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationFieldError"}}},"additionalProperties":true},"LandingRateLimitErrorEnvelope":{"type":"object","required":["ok","code","error","retryAfterSeconds"],"properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string","const":"RATE_LIMIT_EXCEEDED"},"error":{"type":"string","minLength":1},"retryAfterSeconds":{"type":"integer","minimum":1}},"additionalProperties":false},"ObservatoryErrorEnvelope":{"type":"object","required":["ok","error"],"properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string"},"error":{"type":"string","minLength":1}},"additionalProperties":true},"AdTechBlockerItem":{"type":"object","required":["code","message"],"properties":{"step":{"type":"string"},"channel":{"type":["string","null"]},"code":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"AdTechBlockerErrorEnvelope":{"type":"object","required":["ok","error","blockers"],"properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","minLength":1},"blockers":{"type":"array","items":{"$ref":"#/components/schemas/AdTechBlockerItem"}},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/AdTechBlockerItem"}}},"additionalProperties":true},"ErrorEnvelope":{"anyOf":[{"$ref":"#/components/schemas/LandingErrorEnvelope"},{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"},{"$ref":"#/components/schemas/AdTechBlockerErrorEnvelope"}]},"OpenApiDocument":{"type":"object","required":["openapi","info","paths","components"],"properties":{"openapi":{"type":"string","const":"3.1.0"},"jsonSchemaDialect":{"type":"string"},"info":{"type":"object"},"servers":{"type":"array"},"paths":{"type":"object"},"components":{"type":"object"}},"additionalProperties":true},"InviteStoreStats":{"type":"object","required":["totalRequests","chainOk","headHash","storageMode"],"properties":{"totalRequests":{"type":"integer","minimum":0},"chainOk":{"type":"boolean"},"headHash":{"$ref":"#/components/schemas/Sha256HexString"},"storageMode":{"type":"string","enum":["PG17+JSONL","PG17","JSONL","MEMORY"]}},"additionalProperties":false},"TelemetryConsentState":{"type":"object","required":["analytics_storage","ad_storage","ad_user_data","ad_personalization"],"properties":{"analytics_storage":{"type":"string","enum":["GRANTED","DENIED"]},"ad_storage":{"type":"string","enum":["GRANTED","DENIED"]},"ad_user_data":{"type":"string","enum":["GRANTED","DENIED"]},"ad_personalization":{"type":"string","enum":["GRANTED","DENIED"]}},"additionalProperties":false},"TelemetryHealthSummary":{"type":"object","required":["configured","projectId","appId","measurementId","forwardingMode","catalogEventCount","totalBatchesReceived","totalEventsAccepted","totalEventsSuppressedByConsent","totalBatchesRejected","totalEventsForwardedGa4","totalGa4ForwardFailures","recentBufferSize","lastEventAt"],"properties":{"configured":{"type":"boolean"},"projectId":{"type":["string","null"]},"appId":{"type":["string","null"]},"measurementId":{"type":["string","null"]},"forwardingMode":{"type":"string"},"catalogEventCount":{"type":"integer","minimum":1},"totalBatchesReceived":{"type":"integer","minimum":0},"totalEventsAccepted":{"type":"integer","minimum":0},"totalEventsSuppressedByConsent":{"type":"integer","minimum":0},"totalBatchesRejected":{"type":"integer","minimum":0},"totalEventsForwardedGa4":{"type":"integer","minimum":0},"totalGa4ForwardFailures":{"type":"integer","minimum":0},"recentBufferSize":{"type":"integer","minimum":0},"lastEventAt":{"type":["string","null"]}},"additionalProperties":false},"TelemetryFirebaseConfigResponse":{"type":"object","required":["ok","schemaVersion","configured","projectId","appId","authDomain","storageBucket","messagingSenderId","measurementId","apiKeyConfigured","ga4MeasurementProtocol","consentDefaults","catalogEventCount","summary"],"properties":{"ok":{"type":"boolean","const":true},"schemaVersion":{"type":"string"},"configured":{"type":"boolean"},"projectId":{"type":["string","null"]},"appId":{"type":["string","null"]},"authDomain":{"type":["string","null"]},"storageBucket":{"type":["string","null"]},"messagingSenderId":{"type":["string","null"]},"measurementId":{"type":["string","null"]},"apiKeyConfigured":{"type":"boolean"},"ga4MeasurementProtocol":{"type":"object","required":["endpointConfigured","forwardingMode","targetIdentifierType","tlsMinVersion"],"properties":{"endpointConfigured":{"type":"boolean"},"forwardingMode":{"type":"string"},"targetIdentifierType":{"type":"string","enum":["measurement_id","firebase_app_id","none"]},"tlsMinVersion":{"type":"string","const":"TLSv1.3"}},"additionalProperties":false},"consentDefaults":{"$ref":"#/components/schemas/TelemetryConsentState"},"catalogEventCount":{"type":"integer","minimum":1},"summary":{"$ref":"#/components/schemas/TelemetryHealthSummary"}},"additionalProperties":false},"TelemetryEventItem":{"type":"object","required":["name"],"properties":{"name":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,39}$"},"params":{"type":"object","additionalProperties":{"oneOf":[{"type":"string","maxLength":100},{"type":"number"},{"type":"boolean"}]}},"timestampMicros":{"oneOf":[{"type":"string","pattern":"^[0-9]{10,20}$"},{"type":"integer","minimum":1}]}},"additionalProperties":false},"TelemetryEventsBatchRequest":{"type":"object","required":["surface","clientId","events"],"properties":{"surface":{"type":"string","enum":["landing","observatory_studio"]},"clientId":{"type":"string","pattern":"^[A-Za-z0-9._-]{8,64}$"},"sessionId":{"type":["string","null"],"maxLength":64},"consent":{"$ref":"#/components/schemas/TelemetryConsentState"},"events":{"type":"array","minItems":1,"maxItems":25,"items":{"$ref":"#/components/schemas/TelemetryEventItem"}}},"additionalProperties":false},"TelemetryEventsBatchResponse":{"type":"object","required":["ok","batchId","surface","acceptedCount","suppressedByConsentCount","forwardingMode","forwardedToGa4","ga4StatusCode","receivedAt"],"properties":{"ok":{"type":"boolean","const":true},"batchId":{"$ref":"#/components/schemas/UuidString"},"surface":{"type":"string","enum":["landing","observatory_studio"]},"acceptedCount":{"type":"integer","minimum":0,"maximum":25},"suppressedByConsentCount":{"type":"integer","minimum":0,"maximum":25},"forwardingMode":{"type":"string"},"forwardedToGa4":{"type":"boolean"},"ga4StatusCode":{"type":["integer","null"]},"receivedAt":{"$ref":"#/components/schemas/IsoDateTimeString"}},"additionalProperties":false},"LandingHealthResponse":{"type":"object","required":["ok","service","domains","migrationId","migrationOk","inviteStore","serverTime"],"properties":{"ok":{"type":"boolean"},"service":{"type":"string","const":"mobilepublisher-landing-web"},"storageMode":{"type":"string","enum":["PG17+JSONL","PG17","JSONL","MEMORY"]},"pg17Connected":{"type":"boolean"},"domains":{"type":"array","items":{"type":"string"}},"migrationId":{"type":"string"},"migrationOk":{"type":"boolean"},"inviteStore":{"$ref":"#/components/schemas/InviteStoreStats"},"telemetry":{"$ref":"#/components/schemas/TelemetryHealthSummary"},"serverTime":{"$ref":"#/components/schemas/IsoDateTimeString"}},"additionalProperties":false},"ObservatoryHealthResponse":{"type":"object","required":["ok","service","edition","manifestOk","pg17RlsOk","clickHouseOk","ledgerOk","dpCleanRoomAuditOk","billingSettlementChainOk","kmsSyncOk","storageMode","serverTime"],"properties":{"ok":{"type":"boolean"},"service":{"type":"string","const":"mobilepublisher-observatory-pwa"},"edition":{"type":"string"},"manifestOk":{"type":"boolean"},"pg17RlsOk":{"type":"boolean"},"pg17Connected":{"type":"boolean"},"clickHouseOk":{"type":"boolean"},"ledgerOk":{"type":"boolean"},"dpCleanRoomAuditOk":{"type":"boolean"},"billingSettlementChainOk":{"type":"boolean"},"kmsSyncOk":{"type":"boolean"},"storageMode":{"type":"string","enum":["PG17","MEMORY"]},"telemetry":{"$ref":"#/components/schemas/TelemetryHealthSummary"},"serverTime":{"$ref":"#/components/schemas/IsoDateTimeString"}},"additionalProperties":false},"UnifiedHealthResponse":{"oneOf":[{"$ref":"#/components/schemas/LandingHealthResponse"},{"$ref":"#/components/schemas/ObservatoryHealthResponse"}],"discriminator":{"propertyName":"service","mapping":{"mobilepublisher-landing-web":"#/components/schemas/LandingHealthResponse","mobilepublisher-observatory-pwa":"#/components/schemas/ObservatoryHealthResponse"}}},"AccessRequestInput":{"type":"object","required":["fullName","workEmail","studioName","roleTitle","monthlyUaSpendTier"],"properties":{"fullName":{"type":"string","minLength":2,"maxLength":120},"workEmail":{"type":"string","format":"email","minLength":6,"maxLength":254},"studioName":{"type":"string","minLength":2,"maxLength":160},"roleTitle":{"type":"string","minLength":2,"maxLength":120},"storeOrSiteUrl":{"type":["string","null"],"maxLength":512},"monthlyUaSpendTier":{"type":"string","enum":["UNDER_25K","25K_TO_150K","150K_TO_1M","OVER_1M"]},"primaryGoal":{"type":["string","null"],"maxLength":600},"websiteHoneypot":{"type":"string","maxLength":0,"description":"Hidden bot trap — must remain empty."}},"additionalProperties":true},"AccessRequestResponse":{"type":"object","required":["ok","alreadyRegistered","requestId","inviteCodePreview","inviteStatus","entrySha256","createdAt"],"properties":{"ok":{"type":"boolean","const":true},"alreadyRegistered":{"type":"boolean"},"requestId":{"$ref":"#/components/schemas/UuidString"},"inviteCodePreview":{"type":"string","pattern":"^MPA-[0-9A-F]{4}-[0-9A-F]{4}$"},"inviteStatus":{"type":"string","enum":["PENDING_REVIEW","INVITED","ONBOARDED","DECLINED"]},"entrySha256":{"$ref":"#/components/schemas/Sha256HexString"},"createdAt":{"$ref":"#/components/schemas/IsoDateTimeString"}},"additionalProperties":false},"StudioRegisterRequest":{"type":"object","required":["legalName","slug","workEmail","fullName","password"],"properties":{"legalName":{"type":"string","minLength":2,"maxLength":160},"slug":{"type":"string","pattern":"^[a-z0-9](?:[a-z0-9-]{1,61}[a-z0-9])?$"},"workEmail":{"type":"string","format":"email","minLength":6,"maxLength":254},"fullName":{"type":"string","minLength":2,"maxLength":120},"password":{"type":"string","minLength":12,"maxLength":128},"commercialTier":{"type":"string","enum":["SAAS_OS","AI_COPUBLISHER","ENTERPRISE"]},"billingPlan":{"type":"string","enum":["STARTER","GROWTH","SCALE","ENTERPRISE"]},"inviteCode":{"type":"string","minLength":6,"maxLength":128}},"additionalProperties":false},"StudioRegisterResponse":{"type":"object","required":["ok","tenantId","userId","sessionId","slug","legalName","workEmailNormalized","role","accessToken","expiresAt","onboardingPacketsCount"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"userId":{"$ref":"#/components/schemas/UuidString"},"sessionId":{"$ref":"#/components/schemas/UuidString"},"slug":{"type":"string"},"legalName":{"type":"string"},"workEmailNormalized":{"type":"string"},"role":{"$ref":"#/components/schemas/StudioRole"},"accessToken":{"type":"string","minLength":16},"expiresAt":{"$ref":"#/components/schemas/IsoDateTimeString"},"onboardingPacketsCount":{"type":"integer","minimum":0}},"additionalProperties":false},"StudioLoginRequest":{"type":"object","required":["workEmail","password"],"properties":{"workEmail":{"type":"string","format":"email","minLength":6,"maxLength":254},"password":{"type":"string","minLength":1,"maxLength":128}},"additionalProperties":false},"StudioLoginResponse":{"type":"object","required":["ok","tenantId","userId","sessionId","workEmailNormalized","role","accessToken","expiresAt"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"userId":{"$ref":"#/components/schemas/UuidString"},"sessionId":{"$ref":"#/components/schemas/UuidString"},"workEmailNormalized":{"type":"string"},"role":{"$ref":"#/components/schemas/StudioRole"},"accessToken":{"type":"string","minLength":16},"expiresAt":{"$ref":"#/components/schemas/IsoDateTimeString"}},"additionalProperties":false},"StudioLogoutResponse":{"type":"object","required":["ok","revoked","tenantId","sessionId","revokedAt"],"properties":{"ok":{"type":"boolean","const":true},"revoked":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"sessionId":{"type":["string","null"]},"revokedAt":{"$ref":"#/components/schemas/IsoDateTimeString"}},"additionalProperties":false},"PortfolioProduct":{"type":"object","required":["appId","slug","title","platformKind","autonomyMode","dailyEscrowCapMicros","dailyEscrowCapUsd","monthlyEscrowCapMicros","isolatedAccountCount","circuitBreakerTripped","circuitBreakerReasons","reconciledNetIapMicros","reconciledIlrdMicros"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"slug":{"type":"string"},"title":{"type":"string"},"platformKind":{"type":"string"},"autonomyMode":{"$ref":"#/components/schemas/AutonomyMode"},"funnelStage":{"type":"string"},"dedicatedGa4PropertyId":{"type":["string","null"]},"dedicatedBqDataset":{"type":["string","null"]},"dailyEscrowCapMicros":{"$ref":"#/components/schemas/MicrosString"},"dailyEscrowCapUsd":{"$ref":"#/components/schemas/UsdFormattedString"},"monthlyEscrowCapMicros":{"$ref":"#/components/schemas/MicrosString"},"isolatedAccountCount":{"type":"integer","minimum":0},"circuitBreakerTripped":{"type":"boolean"},"circuitBreakerReasons":{"type":"array","items":{"type":"string"}},"reconciledNetIapMicros":{"$ref":"#/components/schemas/MicrosString"},"reconciledIlrdMicros":{"$ref":"#/components/schemas/MicrosString"}},"additionalProperties":false},"PendingApprovalSummary":{"type":"object","required":["intentId","appId","skillId","network","action","proposedDailyBudgetUsd","riskTier","policyHash"],"properties":{"intentId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"skillId":{"$ref":"#/components/schemas/SkillId"},"network":{"$ref":"#/components/schemas/SupportedNetwork"},"action":{"type":"string"},"proposedDailyBudgetMicros":{"$ref":"#/components/schemas/NullableMicrosString"},"proposedDailyBudgetUsd":{"$ref":"#/components/schemas/UsdFormattedString"},"riskTier":{"type":["integer","null"],"minimum":1,"maximum":4},"policyHash":{"$ref":"#/components/schemas/Sha256HexString"}},"additionalProperties":false},"RevenueSparklinePoint":{"type":"object","required":["installDate","netRevenueMicros"],"properties":{"installDate":{"type":"string"},"netRevenueMicros":{"$ref":"#/components/schemas/MicrosString"}},"additionalProperties":false},"CohortRevenueSeriesPoint":{"type":"object","required":["cohortDate","netIapMicros","reconciledIaaMicros"],"properties":{"cohortDate":{"type":"string"},"netIapMicros":{"$ref":"#/components/schemas/MicrosString"},"reconciledIaaMicros":{"$ref":"#/components/schemas/MicrosString"}},"additionalProperties":false},"MmmConflationSummary":{"type":"object","required":["status","ratioPct","maxAllowedPct","calibratedPriorsCount"],"properties":{"status":{"type":"string","enum":["CALIBRATED_PRIORS_READY","UNCALIBRATED"]},"ratioPct":{"type":["number","null"]},"maxAllowedPct":{"type":"number"},"calibratedPriorsCount":{"type":"integer","minimum":0}},"additionalProperties":false},"PortfolioResponse":{"type":"object","required":["ok","tenantId","products","pendingApprovals","revenueSparkline","mmmConflation"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"products":{"type":"array","items":{"$ref":"#/components/schemas/PortfolioProduct"}},"pendingApprovals":{"type":"array","items":{"$ref":"#/components/schemas/PendingApprovalSummary"}},"revenueSparkline":{"type":"array","items":{"$ref":"#/components/schemas/RevenueSparklinePoint"}},"cohortRevenueSeries":{"type":"array","items":{"$ref":"#/components/schemas/CohortRevenueSeriesPoint"}},"mmmConflation":{"$ref":"#/components/schemas/MmmConflationSummary"}},"additionalProperties":false},"LedgerHashChainEntry":{"type":"object","required":["seqNo","prevHash","record","entryHash"],"properties":{"seqNo":{"type":"integer","minimum":1},"prevHash":{"$ref":"#/components/schemas/Sha256HexString"},"record":{"type":"object","additionalProperties":true},"entryHash":{"$ref":"#/components/schemas/Sha256HexString"},"committedAt":{"$ref":"#/components/schemas/IsoDateTimeString"}},"additionalProperties":true},"FirewallLedgerResponse":{"type":"object","required":["ok","tenantId","ledgerVerified","entryCount","entries"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"ledgerVerified":{"type":"boolean"},"entryCount":{"type":"integer","minimum":0},"totalEntryCount":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"nextBeforeSeqNo":{"type":["integer","null"],"minimum":1},"entries":{"type":"array","items":{"$ref":"#/components/schemas/LedgerHashChainEntry"}}},"additionalProperties":false},"HctQueueResponse":{"type":"object","required":["ok","tenantId","tasks","onboardingPackets"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"tasks":{"type":"array","items":{"type":"object","additionalProperties":true}},"completedTaskIds":{"type":"array","items":{"type":"string"}},"onboardingPackets":{"type":"array","items":{"type":"object","additionalProperties":true}}},"additionalProperties":false},"CleanRoomCohortReadiness":{"type":"object","required":["genre","dimension","featureNames","distinctPublisherCount","minRequiredPublishers","readyForDpRelease"],"properties":{"genre":{"type":"string"},"dimension":{"type":"integer","minimum":1},"featureNames":{"type":"array","items":{"type":"string"}},"distinctPublisherCount":{"type":"integer","minimum":0},"minRequiredPublishers":{"type":"integer","minimum":10},"readyForDpRelease":{"type":"boolean"}},"additionalProperties":false},"TenantPrivacyBudget":{"type":"object","required":["tenantId","epsilonMax","epsilonSpent","epsilonRemaining","deltaMax","deltaSpent","deltaRemaining","rdpOrder","rdpCumulativeEpsilon","queryCount"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"epsilonMax":{"type":"number"},"epsilonSpent":{"type":"number"},"epsilonRemaining":{"type":"number"},"deltaMax":{"type":"number"},"deltaSpent":{"type":"number"},"deltaRemaining":{"type":"number"},"rdpOrder":{"type":"number"},"rdpCumulativeEpsilon":{"type":"number"},"queryCount":{"type":"integer","minimum":0}},"additionalProperties":false},"CleanRoomPriorsStatusResponse":{"type":"object","required":["ok","tenantId","cohorts","tenantPrivacyBudget"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"cohorts":{"type":"array","items":{"$ref":"#/components/schemas/CleanRoomCohortReadiness"}},"tenantPrivacyBudget":{"$ref":"#/components/schemas/TenantPrivacyBudget"}},"additionalProperties":false},"CleanRoomQueryRequest":{"type":"object","required":["genre","epsilon","delta","clipBound"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"genre":{"type":"string","minLength":1},"epsilon":{"type":"number","minimum":0.000001,"maximum":1},"delta":{"type":"number","minimum":1e-12,"maximum":0.000001},"clipBound":{"type":"number","minimum":0.000001},"adjacency":{"type":"string","enum":["ADD_REMOVE","SUBSTITUTE"]}},"additionalProperties":false},"DpPrivacyProof":{"type":"object","required":["epsilon","delta","clipBound","adjacency","l2Sensitivity","sigma","rdpOrder","rdpQueryEpsilon","csprngSource"],"properties":{"epsilon":{"type":"number"},"delta":{"type":"number"},"clipBound":{"type":"number"},"adjacency":{"type":"string"},"l2Sensitivity":{"type":"number"},"sigma":{"type":"number"},"rdpOrder":{"type":"number"},"rdpQueryEpsilon":{"type":"number"},"csprngSource":{"type":"string","const":"node:crypto.randomBytes"}},"additionalProperties":false},"CleanRoomReleaseResponse":{"type":"object","required":["ok","release"],"properties":{"ok":{"type":"boolean","const":true},"release":{"type":"object","required":["genre","distinctPublisherCount","kGateSatisfied","featureNames","privatizedPrior","namedPriors","privacyProof","queriedAt","auditSha256"],"properties":{"genre":{"type":"string"},"distinctPublisherCount":{"type":"integer","minimum":10},"kGateSatisfied":{"type":"boolean","const":true},"featureNames":{"type":"array","items":{"type":"string"}},"privatizedPrior":{"type":"array","items":{"type":"number"}},"namedPriors":{"type":"object","additionalProperties":{"type":"number"}},"privacyProof":{"$ref":"#/components/schemas/DpPrivacyProof"},"queriedAt":{"$ref":"#/components/schemas/IsoDateTimeString"},"auditSha256":{"$ref":"#/components/schemas/Sha256HexString"}},"additionalProperties":false}},"additionalProperties":false},"TenantBillingSummary":{"type":"object","required":["tenantId","saasInvoices","coPublisherSettlements","currentDeficitsByAppId"],"properties":{"tenantId":{"type":["string","null"]},"saasInvoices":{"type":"array","items":{"type":"object","additionalProperties":true}},"coPublisherSettlements":{"type":"array","items":{"type":"object","additionalProperties":true}},"currentDeficitsByAppId":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/MicrosString"}}},"additionalProperties":false},"BillingSettlementResponse":{"type":"object","required":["ok","tenantId","summary"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"summary":{"$ref":"#/components/schemas/TenantBillingSummary"}},"additionalProperties":false},"WebAuthnChallengeRecord":{"type":"object","required":["challenge","tenantId","intentId","policyHash","origin","rpId","issuedAtMs","expiresAtMs"],"properties":{"challenge":{"type":"string","minLength":16},"tenantId":{"$ref":"#/components/schemas/UuidString"},"intentId":{"$ref":"#/components/schemas/UuidString"},"policyHash":{"$ref":"#/components/schemas/Sha256HexString"},"origin":{"type":"string","format":"uri"},"rpId":{"type":"string","minLength":1},"issuedAtMs":{"type":"integer"},"expiresAtMs":{"type":"integer"}},"additionalProperties":false},"ApprovalChallengeRequest":{"type":"object","required":["intentId"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"intentId":{"$ref":"#/components/schemas/UuidString"},"origin":{"type":"string","format":"uri"},"rpId":{"type":"string"}},"additionalProperties":false},"ApprovalChallengeResponse":{"type":"object","required":["ok","challenge"],"properties":{"ok":{"type":"boolean","const":true},"challenge":{"$ref":"#/components/schemas/WebAuthnChallengeRecord"}},"additionalProperties":false},"WebAuthnAssertionPayload":{"type":"object","required":["credentialId","challenge","clientDataJSON","authenticatorDataBase64","signatureBase64"],"properties":{"credentialId":{"type":"string","minLength":4,"maxLength":256},"challenge":{"type":"string","minLength":16},"clientDataJSON":{"type":"string","minLength":16},"authenticatorDataBase64":{"type":"string","minLength":16},"signatureBase64":{"type":"string","minLength":16},"origin":{"type":"string","format":"uri"},"rpId":{"type":"string"}},"additionalProperties":false},"ApprovalVerifyRequest":{"type":"object","required":["intentId","credentialId","challenge","clientDataJSON","authenticatorDataBase64","signatureBase64"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"intentId":{"$ref":"#/components/schemas/UuidString"},"credentialId":{"type":"string","minLength":4,"maxLength":256},"challenge":{"type":"string","minLength":16},"clientDataJSON":{"type":"string","minLength":16},"authenticatorDataBase64":{"type":"string","minLength":16},"signatureBase64":{"type":"string","minLength":16},"origin":{"type":"string","format":"uri"},"rpId":{"type":"string"},"executionMode":{"type":"string","enum":["DRY_RUN","LIVE"]}},"additionalProperties":false},"WebAuthnVerificationReceipt":{"type":"object","required":["verified","tenantId","intentId","credentialId","approverName","rpId","origin","policyHash","flags","userPresent","userVerified","signCount","webAuthnSignatureSha256","verifiedAtMs"],"properties":{"verified":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"intentId":{"$ref":"#/components/schemas/UuidString"},"credentialId":{"type":"string"},"approverName":{"type":"string"},"rpId":{"type":"string"},"origin":{"type":"string"},"policyHash":{"$ref":"#/components/schemas/Sha256HexString"},"flags":{"type":"integer"},"userPresent":{"type":"boolean","const":true},"userVerified":{"type":"boolean","const":true},"signCount":{"type":"integer","minimum":0},"webAuthnSignatureSha256":{"$ref":"#/components/schemas/Sha256HexString"},"verifiedAtMs":{"type":"integer"}},"additionalProperties":false},"ApprovalVerifyResponse":{"type":"object","required":["ok","webAuthnVerification","executionStatus","decision","ledgerHeadHash"],"properties":{"ok":{"type":"boolean","const":true},"webAuthnVerification":{"$ref":"#/components/schemas/WebAuthnVerificationReceipt"},"executionStatus":{"type":"string"},"decision":{"type":"string"},"ledgerHeadHash":{"$ref":"#/components/schemas/Sha256HexString"}},"additionalProperties":false},"AdTechProductSummary":{"type":"object","required":["appId","slug","title","platformKind","autonomyMode","dailyEscrowCapMicros","dailyEscrowCapUsd"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"slug":{"type":"string"},"title":{"type":"string"},"platformKind":{"type":"string"},"autonomyMode":{"$ref":"#/components/schemas/AutonomyMode"},"dailyEscrowCapMicros":{"$ref":"#/components/schemas/MicrosString"},"dailyEscrowCapUsd":{"$ref":"#/components/schemas/UsdFormattedString"}},"additionalProperties":false},"AdTechChannelBinding":{"type":"object","required":["channel","label","apiVersion","surfaceClass","parentKind","childKind","bound","externalAccountId","managerContextId","minDailyMicros","minDailyUsd","oauthVault"],"properties":{"channel":{"$ref":"#/components/schemas/StudioChannelId"},"label":{"type":"string"},"apiVersion":{"type":"string"},"surfaceClass":{"$ref":"#/components/schemas/SurfaceClass"},"parentKind":{"type":"string"},"childKind":{"type":"string"},"bound":{"type":"boolean"},"externalAccountId":{"type":"string"},"managerContextId":{"type":["string","null"]},"minDailyMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"minDailyUsd":{"$ref":"#/components/schemas/UsdFormattedString"},"oauthVault":{"type":"object","required":["status","keyFingerprint","headerOnlyAuth"],"properties":{"status":{"type":"string","enum":["KMS_ENVELOPE_BOUND","ISOLATED_STAGING_READY"]},"keyFingerprint":{"type":"string","pattern":"^[0-9a-fA-F]{16}$"},"headerOnlyAuth":{"type":"boolean","const":true}},"additionalProperties":false}},"additionalProperties":false},"AdTechOutboundHistoryEntry":{"type":"object","required":["fromMode","toMode","direction","reason","webAuthnVerified","actor","timestamp","auditHash"],"properties":{"fromMode":{"$ref":"#/components/schemas/OutboundMode"},"toMode":{"$ref":"#/components/schemas/OutboundMode"},"direction":{"type":"string","enum":["WIDEN","TIGHTEN"]},"reason":{"type":"string"},"webAuthnVerified":{"type":"boolean"},"actor":{"type":"string"},"timestamp":{"$ref":"#/components/schemas/IsoDateTimeString"},"auditHash":{"$ref":"#/components/schemas/Sha256HexString"}},"additionalProperties":false},"AdTechOutboundSafetyState":{"type":"object","required":["effective","ceiling","allowedModes","history"],"properties":{"effective":{"$ref":"#/components/schemas/OutboundMode"},"ceiling":{"$ref":"#/components/schemas/OutboundMode"},"allowedModes":{"type":"array","items":{"$ref":"#/components/schemas/OutboundMode"}},"history":{"type":"array","items":{"$ref":"#/components/schemas/AdTechOutboundHistoryEntry"}}},"additionalProperties":false},"AdTechPacingRow":{"type":"object","required":["channel","label","epistemicClass","ledgerSpendMicros","networkReportedSpendMicros","reconciliation"],"properties":{"channel":{"$ref":"#/components/schemas/StudioChannelId"},"label":{"type":"string"},"epistemicClass":{"$ref":"#/components/schemas/EpistemicClass"},"ledgerSpendMicros":{"$ref":"#/components/schemas/NullableMicrosString"},"networkReportedSpendMicros":{"$ref":"#/components/schemas/NullableMicrosString"},"reconciliation":{"type":"object","required":["pacingBand","pacingRatioPct","reconciliationStatus","deltaMicros","deltaUsd"],"properties":{"pacingBand":{"type":"string","enum":["unknown","ahead","behind","onPlan"]},"pacingRatioPct":{"type":["number","null"]},"reconciliationStatus":{"type":"string","enum":["UNDER_REVIEW","RECONCILED","OVER_REPORTED","UNDER_REPORTED"]},"deltaMicros":{"$ref":"#/components/schemas/NullableMicrosString"},"deltaUsd":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"AdTechGamHybridYield":{"type":"object","required":["fillRatePct","ecpmMicros","ilrdReconciledMicros","epistemicClass"],"properties":{"fillRatePct":{"type":["number","null"]},"ecpmMicros":{"$ref":"#/components/schemas/NullableMicrosString"},"ilrdReconciledMicros":{"$ref":"#/components/schemas/NullableMicrosString"},"epistemicClass":{"$ref":"#/components/schemas/EpistemicClass"}},"additionalProperties":false},"AdTechObjectTreeNode":{"type":"object","required":["channel","parentKind","childKind","childCount","externalAccountId","creativeReviewStatus"],"properties":{"channel":{"$ref":"#/components/schemas/StudioChannelId"},"parentKind":{"type":"string"},"childKind":{"type":"string"},"childCount":{"type":"integer","minimum":1},"externalAccountId":{"type":"string"},"creativeReviewStatus":{"type":"string"}},"additionalProperties":false},"AdTechOverviewResponse":{"type":"object","required":["ok","tenantId","products","selectedProduct","channels","outboundSafety","pacingRows","gamHybridYield","objectTree","problems"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"products":{"type":"array","items":{"$ref":"#/components/schemas/AdTechProductSummary"}},"selectedProduct":{"anyOf":[{"$ref":"#/components/schemas/AdTechProductSummary"},{"type":"null"}]},"channels":{"type":"array","items":{"$ref":"#/components/schemas/AdTechChannelBinding"}},"outboundSafety":{"$ref":"#/components/schemas/AdTechOutboundSafetyState"},"pacingRows":{"type":"array","items":{"$ref":"#/components/schemas/AdTechPacingRow"}},"gamHybridYield":{"$ref":"#/components/schemas/AdTechGamHybridYield"},"objectTree":{"type":"array","items":{"$ref":"#/components/schemas/AdTechObjectTreeNode"}},"problems":{"type":"array","items":{"$ref":"#/components/schemas/AdTechBlockerItem"}}},"additionalProperties":false},"AdTechCatalogResponse":{"type":"object","required":["ok","tenantId","channels","objectives","allocationStrategies","outboundModes","dv360","gam","meta","tiktok","creatives","audiences"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"channels":{"type":"object","additionalProperties":true},"objectives":{"type":"array","items":{"type":"string","enum":["APP_INSTALL","PERFORMANCE","TRAFFIC","BRAND_AWARENESS"]}},"allocationStrategies":{"type":"array","items":{"type":"string","enum":["equal","by_minimum","manual","ai"]}},"outboundModes":{"type":"array","items":{"$ref":"#/components/schemas/OutboundMode"}},"dv360":{"type":"object","additionalProperties":true},"gam":{"type":"object","additionalProperties":true},"meta":{"type":"object","additionalProperties":true},"tiktok":{"type":"object","additionalProperties":true},"creatives":{"type":"object","additionalProperties":true},"audiences":{"type":"object","additionalProperties":true}},"additionalProperties":false},"AdTechPlanRequest":{"type":"object","required":["channels"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"campaignName":{"type":"string"},"objective":{"type":"string","enum":["APP_INSTALL","PERFORMANCE","TRAFFIC","BRAND_AWARENESS"]},"budgetType":{"type":"string","enum":["daily","total"]},"dailyBudgetMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"totalBudgetMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"flightDays":{"type":"integer","minimum":1},"allocationStrategy":{"type":"string","enum":["equal","by_minimum","manual","ai"]},"channels":{"type":"array","items":{"$ref":"#/components/schemas/StudioChannelId"},"minItems":1},"manualSharesBps":{"type":"object","additionalProperties":{"type":"integer"}},"delivery":{"type":"object","additionalProperties":true},"frequencyCap":{"type":["object","null"],"properties":{"impressions":{"type":"integer","minimum":1},"timeUnit":{"type":"string"}},"additionalProperties":false},"deviceWeights":{"type":"object","additionalProperties":{"type":"number"}},"channelSettings":{"type":"object","additionalProperties":true}},"additionalProperties":true},"AdTechPublishPlanRow":{"type":"object","required":["channel","label","apiVersion","surfaceClass","parentKind","childKind","childCount","shareBps","shareMicros","shareUsd","dailyShareMicros","dailyShareUsd","budgetSentKind","notes","delivery"],"properties":{"channel":{"$ref":"#/components/schemas/StudioChannelId"},"label":{"type":"string"},"apiVersion":{"type":"string"},"surfaceClass":{"$ref":"#/components/schemas/SurfaceClass"},"parentKind":{"type":"string"},"childKind":{"type":"string"},"childCount":{"type":"integer","minimum":1},"shareBps":{"type":"integer","minimum":0,"maximum":10000},"shareMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"shareUsd":{"$ref":"#/components/schemas/UsdFormattedString"},"dailyShareMicros":{"$ref":"#/components/schemas/NullableMicrosString"},"dailyShareUsd":{"type":["string","null"]},"budgetSentKind":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}},"delivery":{"type":"object","additionalProperties":true}},"additionalProperties":false},"MutationIntentWire":{"type":"object","required":["intentId","tenantId","appId","agentId","skillId","surfaceClass","network","externalAccountId","idempotencyKey","action","proposedDailyBudgetMicros","proposedSpendDeltaMicros","previousDailyBudgetMicros","rationale","payload"],"properties":{"intentId":{"$ref":"#/components/schemas/UuidString"},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"agentId":{"$ref":"#/components/schemas/AgentId"},"skillId":{"$ref":"#/components/schemas/SkillId"},"surfaceClass":{"$ref":"#/components/schemas/SurfaceClass"},"network":{"$ref":"#/components/schemas/SupportedNetwork"},"externalAccountId":{"type":"string"},"idempotencyKey":{"$ref":"#/components/schemas/IdempotencyKeyString"},"action":{"type":"string"},"campaignSpendTodayMicros":{"$ref":"#/components/schemas/MicrosString"},"proposedDailyBudgetMicros":{"$ref":"#/components/schemas/MicrosString"},"proposedSpendDeltaMicros":{"$ref":"#/components/schemas/MicrosString"},"previousDailyBudgetMicros":{"$ref":"#/components/schemas/MicrosString"},"isScaledCampaign":{"type":"boolean"},"isIosSkanCampaign":{"type":"boolean"},"addsCreative":{"type":"boolean"},"hasValidPolicyReceipt":{"type":"boolean"},"rationale":{"type":"object","additionalProperties":true},"payload":{"type":"object","additionalProperties":true}},"additionalProperties":true},"AdTechIntentPreview":{"type":"object","required":["channel","boundToProduct","externalAccountId","publishPlan","mutationIntent","firewallResult","compiledWire","wireCompileError"],"properties":{"channel":{"$ref":"#/components/schemas/StudioChannelId"},"boundToProduct":{"type":"boolean"},"externalAccountId":{"type":"string"},"publishPlan":{"$ref":"#/components/schemas/AdTechPublishPlanRow"},"mutationIntent":{"$ref":"#/components/schemas/MutationIntentWire"},"firewallResult":{"type":"object","required":["status","violated","proofs"],"properties":{"status":{"type":"string","enum":["SAT","UNSAT"]},"violated":{"type":"array","items":{"type":"string"}},"proofs":{"type":"array","items":{"type":"object","required":["id","status","satisfied"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["SAT","UNSAT"]},"satisfied":{"type":"boolean"}},"additionalProperties":false}}},"additionalProperties":true},"compiledWire":{"type":["object","null"],"additionalProperties":true},"wireCompileError":{"type":["string","null"]}},"additionalProperties":false},"AdTechPlanPreviewResponse":{"type":"object","required":["ok","tenantId","appId","productTitle","blockers","warnings","sharesBps","dailyPartitionMicros","totalPartitionMicros","publishPlan","intentPreviews"],"properties":{"ok":{"type":"boolean"},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"productTitle":{"type":"string"},"blockers":{"type":"array","items":{"$ref":"#/components/schemas/AdTechBlockerItem"}},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/AdTechBlockerItem"}},"sharesBps":{"type":"object","additionalProperties":{"type":"integer"}},"dailyPartitionMicros":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/NonNegativeMicrosString"}},"totalPartitionMicros":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/NonNegativeMicrosString"}},"publishPlan":{"type":"array","items":{"$ref":"#/components/schemas/AdTechPublishPlanRow"}},"intentPreviews":{"type":"array","items":{"$ref":"#/components/schemas/AdTechIntentPreview"}}},"additionalProperties":false},"AdTechStagedResult":{"type":"object","required":["channel","intentId","boundToProduct","externalAccountId","executionStatus","firewallStatus","riskTier"],"properties":{"channel":{"$ref":"#/components/schemas/StudioChannelId"},"intentId":{"$ref":"#/components/schemas/UuidString"},"boundToProduct":{"type":"boolean"},"externalAccountId":{"type":"string"},"executionStatus":{"type":"string"},"firewallStatus":{"type":["string","null"]},"riskTier":{"type":["integer","null"]}},"additionalProperties":false},"AdTechPlanStageResponse":{"type":"object","required":["ok","tenantId","appId","stagedResults","pendingApprovalsCount"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"stagedResults":{"type":"array","items":{"$ref":"#/components/schemas/AdTechStagedResult"}},"pendingApprovalsCount":{"type":"integer","minimum":0}},"additionalProperties":false},"AdTechAudienceFanoutRequest":{"type":"object","required":["channels","segmentName","estimatedUsers"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"channels":{"type":"array","items":{"$ref":"#/components/schemas/StudioChannelId"}},"segmentName":{"type":"string"},"estimatedUsers":{"type":"integer","minimum":0},"hasWarehouseIdentityRef":{"type":"boolean"},"mappingsByChannel":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"dv360IdentityBreakdown":{"type":"object","properties":{"contact":{"type":"integer","minimum":0},"android":{"type":"integer","minimum":0},"ios":{"type":"integer","minimum":0}},"additionalProperties":false},"gamActivationMode":{"type":"string","enum":["KEY_VALUE","PERSON_LIST"]},"coppaChildDirected":{"type":"boolean"},"consentGranted":{"type":"boolean"},"identifierKinds":{"type":"array","items":{"type":"string"}},"attAuthorized":{"type":"boolean"},"strict":{"type":"boolean"}},"additionalProperties":true},"AdTechAudienceFanoutResponse":{"type":"object","required":["ok","tenantId","fanOut","capabilities"],"properties":{"ok":{"type":"boolean"},"tenantId":{"$ref":"#/components/schemas/UuidString"},"fanOut":{"type":"object","required":["ok","segmentName","estimatedUsers","kAnonymityFloor","kFloorSatisfied","coverageMatrix","unavailable","dv360Lists","blockers","warnings"],"properties":{"ok":{"type":"boolean"},"segmentName":{"type":"string"},"estimatedUsers":{"type":"integer","minimum":0},"kAnonymityFloor":{"type":"integer","minimum":1000},"kFloorSatisfied":{"type":"boolean"},"coverageMatrix":{"type":"array","items":{"type":"object","additionalProperties":true}},"unavailable":{"type":"array","items":{"type":"string"}},"dv360Lists":{"type":"array","items":{"type":"object","additionalProperties":true}},"blockers":{"type":"array","items":{"$ref":"#/components/schemas/AdTechBlockerItem"}},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/AdTechBlockerItem"}}},"additionalProperties":false},"capabilities":{"type":"object","additionalProperties":true}},"additionalProperties":false},"AdTechCreativePreflightRequest":{"type":"object","required":["channels","creatives"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"channels":{"type":"array","items":{"$ref":"#/components/schemas/StudioChannelId"}},"gamAdUnitIds":{"type":"array","items":{"type":"string"}},"strict":{"type":"boolean"},"creatives":{"type":"array","items":{"type":"object","required":["name","contentType","fileSizeBytes"],"properties":{"name":{"type":"string"},"contentType":{"type":"string"},"fileSizeBytes":{"type":"integer","minimum":0},"width":{"type":["integer","null"]},"height":{"type":["integer","null"]},"channels":{"type":["array","null"],"items":{"$ref":"#/components/schemas/StudioChannelId"}}},"additionalProperties":true}}},"additionalProperties":true},"AdTechCreativePreflightResponse":{"type":"object","required":["ok","tenantId","preflight"],"properties":{"ok":{"type":"boolean"},"tenantId":{"$ref":"#/components/schemas/UuidString"},"preflight":{"type":"object","required":["ok","dimensionTolerancePx","creativeReports","issues","gamSlotFit"],"properties":{"ok":{"type":"boolean"},"dimensionTolerancePx":{"type":"integer","minimum":0},"creativeReports":{"type":"array","items":{"type":"object","additionalProperties":true}},"issues":{"type":"array","items":{"type":"object","additionalProperties":true}},"gamSlotFit":{"type":"object","required":["runsOnGam","misfits","emptySlots"],"properties":{"runsOnGam":{"type":"boolean"},"misfits":{"type":"array","items":{"type":"object","additionalProperties":true}},"emptySlots":{"type":"array","items":{"type":"object","additionalProperties":true}}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"AdTechOutboundChallengeRequest":{"type":"object","required":["targetMode"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"targetMode":{"$ref":"#/components/schemas/OutboundMode"},"origin":{"type":"string","format":"uri"},"rpId":{"type":"string"}},"additionalProperties":false},"AdTechOutboundChallengeResponse":{"type":"object","required":["ok","intentId","policyHash","expectedPhrase","challenge"],"properties":{"ok":{"type":"boolean","const":true},"intentId":{"$ref":"#/components/schemas/UuidString"},"policyHash":{"$ref":"#/components/schemas/Sha256HexString"},"expectedPhrase":{"type":"string","minLength":10},"challenge":{"$ref":"#/components/schemas/WebAuthnChallengeRecord"}},"additionalProperties":false},"AdTechOutboundModeRequest":{"type":"object","required":["targetMode","reason"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"targetMode":{"$ref":"#/components/schemas/OutboundMode"},"reason":{"type":"string","minLength":5,"maxLength":500},"confirmPhrase":{"type":"string"},"webAuthnAssertion":{"$ref":"#/components/schemas/WebAuthnAssertionPayload"}},"additionalProperties":false},"AdTechOutboundModeResponse":{"type":"object","required":["ok","tenantId","appId","outboundSafety","connectorVaultMode"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"outboundSafety":{"$ref":"#/components/schemas/AdTechOutboundSafetyState"},"connectorVaultMode":{"$ref":"#/components/schemas/OutboundMode"}},"additionalProperties":false},"ReleaseStoreKind":{"type":"string","enum":["GOOGLE_PLAY","APP_STORE_CONNECT"]},"ReleasePlatformKind":{"type":"string","enum":["ANDROID","IOS"]},"ReleaseRolloutAction":{"type":"string","enum":["HALT","PAUSE","RESUME","EXPAND","COMPLETE"]},"ReleaseProductSummary":{"type":"object","required":["appId","slug","title","autonomyMode"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"slug":{"type":"string"},"title":{"type":"string"},"autonomyMode":{"$ref":"#/components/schemas/AutonomyMode"}},"additionalProperties":false},"ReleaseVitalsHealth":{"type":"object","required":["circuitBreakerTripped","androidCrashRate","androidAnrRate","reasons"],"properties":{"circuitBreakerTripped":{"type":"boolean"},"androidCrashRate":{"type":["number","null"]},"androidAnrRate":{"type":["number","null"]},"reasons":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"ReleaseDay0Readiness":{"type":"object","required":["playAppInitialized","ascAppInitialized","pendingHctIds"],"properties":{"playAppInitialized":{"type":"boolean"},"ascAppInitialized":{"type":"boolean"},"pendingHctIds":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"ReleaseOverviewResponse":{"type":"object","required":["ok","tenantId","products","selectedProduct","apps","vitalsHealth","day0Readiness","androidTracks","iosTracks","activeRollouts","auditTrail"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"products":{"type":"array","items":{"$ref":"#/components/schemas/ReleaseProductSummary"}},"selectedProduct":{"anyOf":[{"$ref":"#/components/schemas/ReleaseProductSummary"},{"type":"null"}]},"apps":{"type":"array","items":{"type":"object","additionalProperties":true}},"vitalsHealth":{"$ref":"#/components/schemas/ReleaseVitalsHealth"},"day0Readiness":{"$ref":"#/components/schemas/ReleaseDay0Readiness"},"androidTracks":{"type":"array","items":{"type":"object","additionalProperties":true}},"iosTracks":{"type":"array","items":{"type":"object","additionalProperties":true}},"activeRollouts":{"type":"array","items":{"type":"object","additionalProperties":true}},"auditTrail":{"type":"array","items":{"type":"object","additionalProperties":true}}},"additionalProperties":false},"ReleasePreflightRequest":{"type":"object","required":["archiveBase64"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"fileName":{"type":"string"},"archiveBase64":{"type":"string","minLength":1},"store":{"$ref":"#/components/schemas/ReleaseStoreKind"},"platform":{"$ref":"#/components/schemas/ReleasePlatformKind"},"targetTrack":{"type":"string"},"track":{"type":"string"},"previousVersionCode":{"type":"integer","minimum":0},"previousBundleVersion":{"type":"string"},"legacyApkExemptionApproved":{"type":"boolean"},"mappingTxt":{"type":"string"},"nativeSymbolsBase64":{"type":"string"},"adIdDeclaredInPlayConsole":{"type":"boolean"},"strict":{"type":"boolean"}},"additionalProperties":true},"ReleasePreflightResponse":{"type":"object","required":["ok","tenantId","appId","diagnostics","blockingErrors","warnings"],"properties":{"ok":{"type":"boolean"},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"anyOf":[{"$ref":"#/components/schemas/UuidString"},{"type":"null"}]},"diagnostics":{"type":"object","additionalProperties":true},"blockingErrors":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","additionalProperties":true}]}},"warnings":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","additionalProperties":true}]}}},"additionalProperties":false},"ReleaseSubmitRequest":{"type":"object","properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"store":{"$ref":"#/components/schemas/ReleaseStoreKind"},"platform":{"$ref":"#/components/schemas/ReleasePlatformKind"},"track":{"type":"string"},"targetChannel":{"type":"string"},"fileName":{"type":"string"},"uploadSessionId":{"type":"string"},"sessionId":{"type":"string"},"archiveBase64":{"type":"string"},"packageName":{"type":"string"},"ascAppId":{"type":"string"},"bundleId":{"type":"string"},"releaseStatus":{"type":"string"},"userFraction":{"type":"number","minimum":0,"maximum":1},"inAppUpdatePriority":{"type":"integer","minimum":0,"maximum":5},"releaseNotes":{"type":"array","items":{"type":"object","additionalProperties":true}},"phasedRelease":{"type":"boolean"},"whatsNew":{"type":"string"},"betaGroupIds":{"type":"array","items":{"type":"string"}},"submitForReview":{"type":"boolean"},"mappingTxt":{"type":"string"},"nativeSymbolsBase64":{"type":"string"},"playAppInitialized":{"type":"boolean"},"ascAppInitialized":{"type":"boolean"},"legacyApkExemptionApproved":{"type":"boolean"},"executionMode":{"type":"string","enum":["DRY_RUN","LIVE"]}},"additionalProperties":true},"ReleaseSubmitResponse":{"type":"object","required":["ok","tenantId","appId","releaseId","store","platform","track","decision","executionStatus","status","requiresHumanApproval","riskTier","intentId","hctTaskId","hctPacket","preflight","dispatch","wirePlan","ledgerHeadHash"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"releaseId":{"type":["string","null"]},"store":{"$ref":"#/components/schemas/ReleaseStoreKind"},"platform":{"$ref":"#/components/schemas/ReleasePlatformKind"},"track":{"type":"string"},"decision":{"type":"string"},"executionStatus":{"type":"string"},"status":{"type":["string","null"]},"requiresHumanApproval":{"type":"boolean"},"riskTier":{"type":["integer","null"]},"intentId":{"type":["string","null"]},"hctTaskId":{"type":["string","null"]},"hctPacket":{"type":["object","null"],"additionalProperties":true},"preflight":{"type":["object","null"],"additionalProperties":true},"dispatch":{"type":["object","null"],"additionalProperties":true},"wirePlan":{"type":["object","null"],"additionalProperties":true},"ledgerHeadHash":{"type":["string","null"]}},"additionalProperties":false},"ReleaseSubmitBlockedResponse":{"type":"object","required":["ok","error","tenantId","appId","store","platform","track","decision","executionStatus"],"properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","minLength":1},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"store":{"$ref":"#/components/schemas/ReleaseStoreKind"},"platform":{"$ref":"#/components/schemas/ReleasePlatformKind"},"track":{"type":"string"},"decision":{"type":"string"},"executionStatus":{"type":"string"},"preflight":{"type":["object","null"],"additionalProperties":true},"blockingErrors":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","additionalProperties":true}]}},"warnings":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","additionalProperties":true}]}}},"additionalProperties":true},"ReleaseRolloutRequest":{"type":"object","required":["action"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"store":{"$ref":"#/components/schemas/ReleaseStoreKind"},"platform":{"$ref":"#/components/schemas/ReleasePlatformKind"},"track":{"type":"string"},"action":{"$ref":"#/components/schemas/ReleaseRolloutAction"},"userFraction":{"type":"number","minimum":0,"maximum":1},"phasedReleaseId":{"type":"string"},"releaseId":{"type":"string"},"reason":{"type":"string","maxLength":500},"executionMode":{"type":"string","enum":["DRY_RUN","LIVE"]}},"additionalProperties":true},"ReleaseRolloutResponse":{"type":"object","required":["ok","tenantId","appId","store","platform","track","action","decision","executionStatus","status","userFraction","requiresHumanApproval","riskTier","intentId","dispatch","wirePlan","ledgerHeadHash"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"store":{"$ref":"#/components/schemas/ReleaseStoreKind"},"platform":{"$ref":"#/components/schemas/ReleasePlatformKind"},"track":{"type":"string"},"action":{"$ref":"#/components/schemas/ReleaseRolloutAction"},"decision":{"type":"string"},"executionStatus":{"type":"string"},"status":{"type":["string","null"]},"userFraction":{"type":["number","null"]},"requiresHumanApproval":{"type":"boolean"},"riskTier":{"type":["integer","null"]},"intentId":{"type":["string","null"]},"dispatch":{"type":["object","null"],"additionalProperties":true},"wirePlan":{"type":["object","null"],"additionalProperties":true},"ledgerHeadHash":{"type":["string","null"]}},"additionalProperties":false},"ReleaseRolloutBlockedResponse":{"type":"object","required":["ok","error","tenantId","appId","store","platform","track","action","decision","executionStatus"],"properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","minLength":1},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"store":{"$ref":"#/components/schemas/ReleaseStoreKind"},"platform":{"$ref":"#/components/schemas/ReleasePlatformKind"},"track":{"type":"string"},"action":{"$ref":"#/components/schemas/ReleaseRolloutAction"},"decision":{"type":"string"},"executionStatus":{"type":"string"}},"additionalProperties":true},"SemanticQueryRequest":{"type":"object","required":["sql"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"sql":{"type":"string","minLength":1},"requestedMetrics":{"type":"array","items":{"type":"string","minLength":1}},"strict":{"type":"boolean"}},"additionalProperties":false},"SemanticQueryDiagnostic":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","minLength":1},"message":{"type":"string","minLength":1}},"additionalProperties":false},"SemanticQueryVerdict":{"type":"object","required":["ok","issues","warnings","referencedTables"],"properties":{"ok":{"type":"boolean"},"issues":{"type":"array","items":{"$ref":"#/components/schemas/SemanticQueryDiagnostic"}},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/SemanticQueryDiagnostic"}},"referencedTables":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"SemanticQueryResponse":{"type":"object","required":["ok","tenantId","verdict"],"properties":{"ok":{"type":"boolean"},"tenantId":{"$ref":"#/components/schemas/UuidString"},"verdict":{"$ref":"#/components/schemas/SemanticQueryVerdict"}},"additionalProperties":false},"EgrCreativeModality":{"type":"string","enum":["VIDEO_ATOM","PLAYABLE_MRAID","CPP_SCREENSHOT_SET","ENDCARD_INTERACTIVE"]},"EgrCreativeIndexItem":{"type":"object","required":["creativeId","modality"],"properties":{"creativeId":{"type":"string","minLength":1,"maxLength":160},"modality":{"$ref":"#/components/schemas/EgrCreativeModality"},"featureTokens":{"type":"array","items":{"type":"string"}},"embedding":{"type":"array","items":{"type":"number"}},"historicalImpressions":{"anyOf":[{"$ref":"#/components/schemas/NonNegativeMicrosString"},{"type":"integer","minimum":0}]},"policyApproved":{"type":"boolean"}},"additionalProperties":false},"EgrIndexedCreativeRecord":{"type":"object","required":["tenantId","appId","creativeId","modality","isColdStart","historicalImpressions","unitEmbedding"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"creativeId":{"type":"string"},"modality":{"$ref":"#/components/schemas/EgrCreativeModality"},"isColdStart":{"type":"boolean"},"historicalImpressions":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"unitEmbedding":{"type":"array","items":{"type":"number"}}},"additionalProperties":false},"EgrRetrievedCreativeItem":{"type":"object","required":["creativeId","modality","isColdStart","cosineScore","mmrScore"],"properties":{"creativeId":{"type":"string"},"modality":{"$ref":"#/components/schemas/EgrCreativeModality"},"isColdStart":{"type":"boolean"},"cosineScore":{"type":"number"},"mmrScore":{"type":"number"}},"additionalProperties":false},"EgrRetrieveRequest":{"type":"object","required":["appId"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"creative":{"$ref":"#/components/schemas/EgrCreativeIndexItem"},"indexCreatives":{"type":"array","items":{"$ref":"#/components/schemas/EgrCreativeIndexItem"}},"cohortActionTokens":{"type":"array","items":{"type":"string"}},"queryEmbedding":{"type":"array","items":{"type":"number"}},"topK":{"type":"integer","minimum":1,"maximum":100},"mmrLambda":{"type":"number","minimum":0,"maximum":1},"modalityFilter":{"$ref":"#/components/schemas/EgrCreativeModality"},"retrieve":{"type":"boolean"}},"additionalProperties":false},"EgrRetrieveResult":{"type":"object","required":["partitionKey","queryVector","candidatesEvaluated","results"],"properties":{"partitionKey":{"type":"string"},"queryVector":{"type":"array","items":{"type":"number"}},"candidatesEvaluated":{"type":"integer","minimum":0},"results":{"type":"array","items":{"$ref":"#/components/schemas/EgrRetrievedCreativeItem"}}},"additionalProperties":false},"EgrRetrieveResponse":{"type":"object","required":["ok","tenantId","appId","indexedCount","indexedCreatives","retrieval"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"indexedCount":{"type":"integer","minimum":0},"indexedCreatives":{"type":"array","items":{"$ref":"#/components/schemas/EgrIndexedCreativeRecord"}},"retrieval":{"anyOf":[{"$ref":"#/components/schemas/EgrRetrieveResult"},{"type":"null"}]}},"additionalProperties":false},"Ga4ObservedGoogleAdsLink":{"type":"object","required":["customerId"],"properties":{"customerId":{"type":"string","minLength":1},"adsPersonalizationEnabled":{"type":"boolean"}},"additionalProperties":false},"Ga4VerifyRequest":{"type":"object","required":["appId","observedGoogleAdsLinks"],"properties":{"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"observedGoogleAdsLinks":{"type":"array","items":{"$ref":"#/components/schemas/Ga4ObservedGoogleAdsLink"}},"strict":{"type":"boolean"}},"additionalProperties":false},"Ga4IsolationResult":{"type":"object","required":["ok","tenantId","appId","propertyResource"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"propertyResource":{"type":"string","pattern":"^properties/[1-9][0-9]{4,19}$"}},"additionalProperties":false},"Ga4LinkParityResult":{"type":"object","required":["ok","appId","propertyResource","expectedGoogleAdsCustomerId","linked","adsPersonalizationEnabled","foreignCustomerIds"],"properties":{"ok":{"type":"boolean"},"appId":{"$ref":"#/components/schemas/UuidString"},"propertyResource":{"type":"string","pattern":"^properties/[1-9][0-9]{4,19}$"},"expectedGoogleAdsCustomerId":{"type":"string","pattern":"^[0-9]{10}$"},"linked":{"type":"boolean"},"adsPersonalizationEnabled":{"type":"boolean"},"foreignCustomerIds":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"Ga4VerifyResponse":{"type":"object","required":["ok","tenantId","appId","isolation","linkParity"],"properties":{"ok":{"type":"boolean"},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"isolation":{"$ref":"#/components/schemas/Ga4IsolationResult"},"linkParity":{"$ref":"#/components/schemas/Ga4LinkParityResult"}},"additionalProperties":false},"Ga4VerifyErrorOrDriftResponse":{"anyOf":[{"$ref":"#/components/schemas/Ga4VerifyResponse"},{"$ref":"#/components/schemas/ObservatoryErrorEnvelope"}]},"CreatePortfolioAppRequest":{"type":"object","required":["title","slug"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"title":{"type":"string","minLength":1,"maxLength":256},"slug":{"type":"string","minLength":2,"maxLength":128},"iosBundleId":{"type":["string","null"]},"androidPackageName":{"type":["string","null"]},"category":{"type":"string"},"platformKind":{"type":"string"},"autonomyMode":{"$ref":"#/components/schemas/AutonomyMode"},"dedicatedGa4PropertyId":{"type":"string"},"dedicatedBqDataset":{"type":"string"},"dailyEscrowCapMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"monthlyEscrowCapMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"accounts":{"type":"array","items":{"type":"object","additionalProperties":true}}},"additionalProperties":true},"CreatePortfolioAppResponse":{"type":"object","required":["ok","tenantId","app"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"app":{"type":"object","required":["appId","slug","title","platformKind","autonomyMode"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"slug":{"type":"string"},"title":{"type":"string"},"platformKind":{"type":"string"},"autonomyMode":{"$ref":"#/components/schemas/AutonomyMode"},"ga4PropertyResource":{"type":["string","null"]},"ga4PropertyId":{"type":["string","null"]},"dedicatedBqDataset":{"type":["string","null"]},"iosBundleId":{"type":["string","null"]},"androidPackageName":{"type":["string","null"]},"isolatedAccountCount":{"type":"integer","minimum":0},"dailyEscrowCapMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"monthlyEscrowCapMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"}},"additionalProperties":true},"consolePacketsCount":{"type":"integer","minimum":0}},"additionalProperties":false},"SpinOutExportRequest":{"type":"object","required":["appId"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"recipientOrganization":{"type":"string"},"includeCreativeCatalog":{"type":"boolean"},"includeSpendLedger":{"type":"boolean"}},"additionalProperties":true},"SpinOutExportResponse":{"type":"object","required":["ok","tenantId","appId","manifestSha256","bundleSha256","assetCount","bundle"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"recipientOrganization":{"type":["string","null"]},"manifestSha256":{"$ref":"#/components/schemas/Sha256HexString"},"bundleSha256":{"$ref":"#/components/schemas/Sha256HexString"},"assetCount":{"type":"integer","minimum":1},"bundle":{"type":"object","additionalProperties":true}},"additionalProperties":false},"ConfigureStoreProfileRequest":{"type":"object","required":["appId"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"platform":{"type":"string","enum":["ANDROID","IOS"]},"track":{"type":"string"},"bundleId":{"type":"string"},"packageName":{"type":"string"},"ascAppId":{"type":"string"},"credentialVaultRef":{"type":"string"},"playAppInitialized":{"type":"boolean"},"ascAppInitialized":{"type":"boolean"},"previousVersionCode":{"type":["integer","null"]},"previousBundleVersion":{"type":["string","null"]}},"additionalProperties":true},"ConfigureStoreProfileResponse":{"type":"object","required":["ok","tenantId","appId","platform","profile"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"platform":{"type":"string"},"track":{"type":"string"},"credentialVaultRef":{"type":["string","null"]},"profile":{"type":"object","additionalProperties":true}},"additionalProperties":false},"ReleaseUploadSessionRequest":{"type":"object","required":["appId"],"properties":{"action":{"type":"string"},"appId":{"$ref":"#/components/schemas/UuidString"},"platform":{"type":"string"},"filename":{"type":"string"},"fileName":{"type":"string"},"byteSize":{"type":"integer","minimum":1},"sha256":{"type":"string"},"sessionId":{"type":"string"}},"additionalProperties":true},"ReleaseUploadSessionResponse":{"type":"object","required":["ok","tenantId","appId","session"],"properties":{"ok":{"type":"boolean"},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"session":{"type":"object","additionalProperties":true}},"additionalProperties":false},"CompleteHctTaskRequest":{"type":"object","required":["appId","taskId"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"taskId":{"type":"string","pattern":"^HCT-[0-9]{2}$"},"intentId":{"$ref":"#/components/schemas/UuidString"},"evidenceSha256":{"$ref":"#/components/schemas/Sha256HexString"},"notes":{"type":"string"}},"additionalProperties":true},"CompleteHctTaskResponse":{"type":"object","required":["ok","tenantId","appId","taskId","intentId","status","completedAt","packetSha256"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"taskId":{"type":"string"},"intentId":{"$ref":"#/components/schemas/UuidString"},"status":{"type":"string"},"completedAt":{"$ref":"#/components/schemas/IsoDateTimeString"},"evidenceSha256":{"type":["string","null"]},"packetSha256":{"$ref":"#/components/schemas/Sha256HexString"}},"additionalProperties":false},"BindAdTechAccountRequest":{"type":"object","required":["appId","network","externalAccountId"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"network":{"type":"string"},"externalAccountId":{"type":"string","minLength":1},"managerCustomerId":{"type":["string","null"]},"managerContextId":{"type":["string","null"]},"kmsVaultRef":{"type":"string"},"credentials":{"type":"object","additionalProperties":true},"inv02Isolated":{"type":"boolean"}},"additionalProperties":true},"BindAdTechAccountResponse":{"type":"object","required":["ok","bindingId","tenantId","appId","network","externalAccountId","apiVersionPinned","encryptedCredBlobSha256"],"properties":{"ok":{"type":"boolean","const":true},"bindingId":{"$ref":"#/components/schemas/UuidString"},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"network":{"type":"string"},"externalAccountId":{"type":"string"},"managerContextId":{"type":["string","null"]},"apiVersionPinned":{"type":"string"},"kmsEnvelopePrefix":{"type":"string"},"encryptedCredBlobSha256":{"$ref":"#/components/schemas/Sha256HexString"},"vaultMetadata":{"type":["object","null"],"additionalProperties":true}},"additionalProperties":false},"OAuthAuthorizeRequest":{"type":"object","required":["appId","network"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"network":{"type":"string"},"clientId":{"type":"string"},"redirectUri":{"type":"string"},"externalAccountId":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"OAuthAuthorizeResponse":{"type":"object","required":["ok","tenantId","appId","authorizationUrl","state","codeChallenge","codeChallengeMethod"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"network":{"type":"string"},"clientId":{"type":"string"},"redirectUri":{"type":"string"},"authorizationUrl":{"type":"string","format":"uri"},"state":{"type":"string"},"codeChallenge":{"type":"string"},"codeChallengeMethod":{"type":"string"},"expiresAtMs":{"type":"integer"},"scopes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"OAuthCallbackRequest":{"type":"object","required":["appId","network","externalAccountId","code","state"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"network":{"type":"string"},"externalAccountId":{"type":"string"},"code":{"type":"string"},"state":{"type":"string"},"clientId":{"type":"string"},"clientSecret":{"type":["string","null"]},"loginCustomerId":{"type":["string","null"]},"appleOrgId":{"type":["string","null"]},"redirectUri":{"type":"string"}},"additionalProperties":true},"OAuthCallbackResponse":{"type":"object","required":["ok","tenantId","appId","network","externalAccountId","bindingId","vaultMetadata","encryptedCredBlobSha256"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"network":{"type":"string"},"externalAccountId":{"type":"string"},"bindingId":{"$ref":"#/components/schemas/UuidString"},"vaultMetadata":{"type":"object","additionalProperties":true},"encryptedCredBlobSha256":{"$ref":"#/components/schemas/Sha256HexString"}},"additionalProperties":false},"PasskeyRegisterOptionsRequest":{"type":"object","properties":{"userId":{"type":"string"},"approverName":{"type":"string"},"origin":{"type":"string"},"rpId":{"type":"string"},"requireAttestation":{"type":"boolean"}},"additionalProperties":true},"PasskeyRegisterOptionsResponse":{"type":"object","required":["ok","tenantId","challenge","origin","rpId","expiresAtMs","publicKey"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"challenge":{"type":"string"},"origin":{"type":"string"},"rpId":{"type":"string"},"expiresAtMs":{"type":"integer"},"publicKey":{"type":"object","additionalProperties":true}},"additionalProperties":false},"PasskeyRegisterVerifyRequest":{"type":"object","required":["challenge","clientDataJSON"],"properties":{"challenge":{"type":"string"},"clientDataJSON":{"type":"string"},"attestationObjectBase64":{"type":"string"},"attestationObject":{"type":"string"},"expectedOrigin":{"type":"string"},"expectedRpId":{"type":"string"}},"additionalProperties":true},"PasskeyRegisterVerifyResponse":{"type":"object","required":["ok","tenantId","passkey"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"passkey":{"type":"object","required":["credentialId","approverName","rpId","signCount","fmt","attestationMode"],"properties":{"credentialId":{"type":"string"},"approverName":{"type":"string"},"rpId":{"type":"string"},"signCount":{"type":"integer","minimum":0},"fmt":{"type":"string"},"attestationMode":{"type":"string"},"aaguidHex":{"type":"string"},"registeredAtIso":{"type":"string"}},"additionalProperties":true}},"additionalProperties":false},"PasswordResetRequestInput":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email"}},"additionalProperties":true},"PasswordResetRequestResponse":{"type":"object","required":["ok","status","expiresInSeconds"],"properties":{"ok":{"type":"boolean","const":true},"status":{"type":"string"},"expiresInSeconds":{"type":"integer","minimum":1}},"additionalProperties":false},"PasswordResetConfirmInput":{"type":"object","required":["token","newPassword"],"properties":{"token":{"type":"string","minLength":16},"newPassword":{"type":"string","minLength":12,"maxLength":128}},"additionalProperties":true},"PasswordResetConfirmResponse":{"type":"object","required":["ok","passwordRotated","revokedSessionsCount","rotatedAt"],"properties":{"ok":{"type":"boolean","const":true},"passwordRotated":{"type":"boolean","const":true},"revokedSessionsCount":{"type":"integer","minimum":0},"rotatedAt":{"$ref":"#/components/schemas/IsoDateTimeString"}},"additionalProperties":false},"InviteCodeIssueRequest":{"type":"object","required":["email","studioName"],"properties":{"email":{"type":"string","format":"email"},"studioName":{"type":"string","minLength":2,"maxLength":160},"fullName":{"type":"string"},"requestId":{"type":"string"},"singleUse":{"type":"boolean"}},"additionalProperties":true},"InviteCodeIssueResponse":{"type":"object","required":["ok","inviteCode","inviteCodeHash","emailNormalized","studioName","singleUse","issuedAt"],"properties":{"ok":{"type":"boolean","const":true},"inviteCode":{"type":"string","minLength":12},"inviteCodeHash":{"$ref":"#/components/schemas/Sha256HexString"},"emailNormalized":{"type":"string","format":"email"},"studioName":{"type":"string"},"singleUse":{"type":"boolean"},"issuedAt":{"$ref":"#/components/schemas/IsoDateTimeString"}},"additionalProperties":false},"BillingMeterEventRequest":{"type":"object","properties":{"kind":{"type":"string","enum":["METER_EVENT","CHECKOUT_SESSION","CUSTOMER_PORTAL"]},"stripeCustomerId":{"type":"string"},"eventName":{"type":"string"},"valueCents":{"type":["string","integer"]},"identifier":{"type":"string"},"priceId":{"type":"string"},"tier":{"type":"string"},"successUrl":{"type":"string"},"cancelUrl":{"type":"string"},"returnUrl":{"type":"string"},"settlement":{"type":"object","additionalProperties":true}},"additionalProperties":true},"BillingMeterEventResponse":{"type":"object","required":["ok","tenantId","kind","compiledRequest","dispatch"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"kind":{"type":"string"},"compiledRequest":{"type":"object","additionalProperties":true},"dispatch":{"type":"object","additionalProperties":true},"settlement":{"type":["object","null"],"additionalProperties":true}},"additionalProperties":false},"StripeWebhookResponse":{"type":"object","required":["ok","verified","eventType","timestampSec","replayFingerprint"],"properties":{"ok":{"type":"boolean","const":true},"verified":{"type":"boolean","const":true},"eventId":{"type":["string","null"]},"eventType":{"type":"string"},"timestampSec":{"type":"integer"},"replayFingerprint":{"type":"string"}},"additionalProperties":false},"WebhookIngestionResponse":{"type":"object","required":["ok","tenantId","appId","ingested"],"properties":{"ok":{"type":"boolean","const":true},"source":{"type":"string"},"authMethod":{"type":"string"},"provider":{"type":"string"},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"bundleId":{"type":"string"},"packageName":{"type":"string"},"notificationUUID":{"type":"string"},"notificationType":{"type":"string"},"messageId":{"type":"string"},"notificationKind":{"type":"string"},"stateName":{"type":"string"},"eventAction":{"type":"string"},"isRefundClawback":{"type":"boolean"},"requestId":{"type":"string"},"eventName":{"type":"string"},"batchId":{"type":"string"},"impressionCount":{"type":"integer","minimum":0},"scrubbedFieldsCount":{"type":"integer","minimum":0},"grossMicros":{"$ref":"#/components/schemas/MicrosString"},"eventRevenueMicros":{"$ref":"#/components/schemas/MicrosString"},"totalRevenueMicros":{"$ref":"#/components/schemas/MicrosString"},"ingested":{"type":"boolean"},"clickHouseFlushedRows":{"type":"integer","minimum":0}},"additionalProperties":false},"GenerateSdkRequest":{"type":"object","required":["appId","engine"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"engine":{"type":"string","enum":["UNITY_CSHARP","UNITY_6_CSHARP","IOS_SWIFT","IOS_SWIFT_6","ANDROID_KOTLIN","WEB_H5_3D"]},"bundleId":{"type":"string"},"packageName":{"type":"string"},"apiBaseUrl":{"type":"string","format":"uri"},"mmpProvider":{"type":"string","enum":["APPSFLYER","ADJUST","SINGULAR","FIRST_PARTY_SSOT"]},"ilrdProvider":{"type":"string","enum":["APPLOVIN_MAX","ADMOB","UNITY_LEVELPLAY"]},"appleAttributionCopyOrigin":{"type":"string","format":"uri"},"kidsCategory":{"type":"boolean"},"mixedAudience":{"type":"boolean"}},"additionalProperties":true},"GenerateSdkResponse":{"type":"object","required":["ok","tenantId","appId","bundle"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"bundle":{"type":"object","required":["engine","filename","sha256","snippet","files","checksums","metadata"],"properties":{"engine":{"type":"string"},"filename":{"type":"string"},"sha256":{"$ref":"#/components/schemas/Sha256HexString"},"snippet":{"type":"string"},"files":{"type":"object","additionalProperties":{"type":"string"}},"checksums":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Sha256HexString"}},"metadata":{"type":"object","additionalProperties":true}},"additionalProperties":false}},"additionalProperties":false},"FunnelEvaluateRequest":{"type":"object","required":["appId"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"genre":{"type":"string","enum":["CASUAL_GAME","MIDCORE_GAME","UTILITY_AI_APP"]},"currentStage":{"type":"string"},"telemetry":{"type":"object","additionalProperties":true},"metrics":{"type":"object","additionalProperties":true}},"additionalProperties":true},"FunnelEvaluateResponse":{"type":"object","required":["ok","tenantId","appId","evaluation"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"evaluation":{"type":"object","required":["appId","receiptId","previousStage","nextStage","verdict","decision","receiptHash","entryHash","passedChecks","failedChecks","cumulativeSpendMicros"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"receiptId":{"$ref":"#/components/schemas/UuidString"},"previousStage":{"type":"string"},"nextStage":{"type":"string"},"verdict":{"type":"string"},"decision":{"type":"string"},"receiptHash":{"$ref":"#/components/schemas/Sha256HexString"},"entryHash":{"$ref":"#/components/schemas/Sha256HexString"},"passedChecks":{"type":"array","items":{"type":"string"}},"failedChecks":{"type":"array","items":{"type":"string"}},"cumulativeSpendMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"note":{"type":["string","null"]}},"additionalProperties":false}},"additionalProperties":false},"DsarEraseInstallUuidRequest":{"type":"object","required":["appId","install_uuid"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"install_uuid":{"$ref":"#/components/schemas/UuidString"},"regulation":{"type":"string","enum":["GDPR_ART_17","KVKK_ART_11","CCPA_DELETE","COPPA_PARENTAL_DELETE"]},"reason":{"type":"string"}},"additionalProperties":true},"DsarEraseInstallUuidResponse":{"type":"object","required":["ok","tenantId","appId","erasure"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"erasure":{"type":"object","required":["erasureId","appId","regulation","installUuidSha256","hmacReceipt","status","requestedAt","completedAt"],"properties":{"erasureId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"regulation":{"type":"string","enum":["GDPR_ART_17","KVKK_ART_11","CCPA_DELETE","COPPA_PARENTAL_DELETE"]},"installUuidSha256":{"$ref":"#/components/schemas/Sha256HexString"},"hmacReceipt":{"$ref":"#/components/schemas/Sha256HexString"},"status":{"type":"string","const":"TOMBSTONED"},"requestedAt":{"$ref":"#/components/schemas/IsoDateTimeString"},"completedAt":{"$ref":"#/components/schemas/IsoDateTimeString"}},"additionalProperties":false}},"additionalProperties":false},"BigQuerySpinOutRequest":{"type":"object","required":["appId"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"gcpProjectId":{"type":"string"},"datasetId":{"type":"string"},"location":{"type":"string"},"dsarMode":{"type":"string","enum":["REDACT","DROP"]},"cohorts":{"type":"array","items":{"type":"object","additionalProperties":true}},"ledgerEvents":{"type":"array","items":{"type":"object","additionalProperties":true}},"creativeAtoms":{"type":"array","items":{"type":"object","additionalProperties":true}},"erasedInstallUuidHashes":{"type":"array","items":{"$ref":"#/components/schemas/Sha256HexString"}},"erasedInstallUuids":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"BigQuerySpinOutTableSummary":{"type":"object","required":["rowCount","byteLength","ndjsonSha256","merkleRootSha256"],"properties":{"rowCount":{"type":"integer","minimum":0},"byteLength":{"type":"integer","minimum":0},"ndjsonSha256":{"$ref":"#/components/schemas/Sha256HexString"},"merkleRootSha256":{"$ref":"#/components/schemas/Sha256HexString"}},"additionalProperties":false},"BigQuerySpinOutResponse":{"type":"object","required":["ok","tenantId","appId","verified","ddlSql","auditReceipt","tables"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"verified":{"type":"boolean"},"ddlSql":{"type":"string"},"auditReceipt":{"type":"object","additionalProperties":true},"tables":{"type":"object","required":["cohort_daily_ssot","audit_ledger_events","creative_atom_metrics"],"properties":{"cohort_daily_ssot":{"$ref":"#/components/schemas/BigQuerySpinOutTableSummary"},"audit_ledger_events":{"$ref":"#/components/schemas/BigQuerySpinOutTableSummary"},"creative_atom_metrics":{"$ref":"#/components/schemas/BigQuerySpinOutTableSummary"}},"additionalProperties":false}},"additionalProperties":false},"CoPublisherSettleRequest":{"type":"object","required":["appId","epochId","grossIapMicros"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"epochId":{"type":"string","minLength":1},"grossIapMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"taxMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"storeFeeBps":{"type":["string","integer"]},"storeCommissionMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"grossIlrdMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"mediationFeeMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"refundClawbackMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"epochDirectUaSpendMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"gate1AdvanceMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"gate1AdvanceId":{"type":"string"},"studioShareBps":{"type":["string","integer"]},"amendShareBps":{"type":"boolean"},"amendmentSignature":{"type":["string","null"]}},"additionalProperties":true},"CoPublisherSettleResponse":{"type":"object","required":["ok","tenantId","appId","epochId","waterfall","entry","appSnapshot"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"epochId":{"type":"string"},"waterfall":{"type":"object","required":["grossIapMicros","grossVerifiedRevenueMicros","netVerifiedProceedsMicros","recoupedUaMicros","studioPayoutMicros","platformShareMicros","endingUnrecoupedUaMicros","conservationVerified"],"properties":{"grossIapMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"grossVerifiedRevenueMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"netVerifiedProceedsMicros":{"$ref":"#/components/schemas/MicrosString"},"recoupedUaMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"studioPayoutMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"platformShareMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"endingUnrecoupedUaMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"conservationVerified":{"type":"boolean","const":true}},"additionalProperties":true},"entry":{"type":"object","additionalProperties":true},"appSnapshot":{"type":"object","additionalProperties":true}},"additionalProperties":false},"WorkingCapitalAdvanceRequest":{"type":"object","required":["appId"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"mode":{"type":"string","enum":["QUOTE_ONLY","MINT_ESCROW"]},"totalAccruedNetMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"accruedNetMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"envelopeId":{"type":"string"},"receivableId":{"type":"string"},"receivableIds":{"type":"array","items":{"type":"string"}},"receivable":{"type":"object","additionalProperties":true},"counterparty":{"type":"string","enum":["APPLE_APP_STORE","GOOGLE_PLAY","APPLOVIN_MAX","UNITY_LEVELPLAY"]},"netSettlementDays":{"type":"integer","minimum":1},"verificationProof":{"type":"object","additionalProperties":true},"advanceRateBps":{"type":["string","integer"]},"historicalRefundRateBps":{"type":["string","integer"]},"refundSafetyMultiplierBps":{"type":["string","integer"]},"fxReserveBps":{"type":["string","integer"]},"disputeReserveBps":{"type":["string","integer"]},"originationFeeBps":{"type":["string","integer"]},"minMarginalRoasBps":{"type":["string","integer"]},"allowedNetworks":{"type":"array","items":{"type":"string"}},"vitalsSnapshot":{"type":"object","additionalProperties":true},"fraudBreakerTripped":{"type":"boolean"}},"additionalProperties":true},"WorkingCapitalAdvanceResponse":{"type":"object","required":["ok","tenantId","appId","mode","quote"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"mode":{"type":"string","enum":["QUOTE_ONLY","MINT_ESCROW"]},"quote":{"type":"object","required":["totalAccruedNetMicros","eligibleCollateralMicros","grossAdvancePrincipalMicros","originationFeeMicros","escrowSpendableMicros","conservationVerified"],"properties":{"totalAccruedNetMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"eligibleCollateralMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"grossAdvancePrincipalMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"originationFeeMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"escrowSpendableMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"conservationVerified":{"type":"boolean","const":true}},"additionalProperties":true},"envelope":{"type":["object","null"],"additionalProperties":true},"receivable":{"type":["object","null"],"additionalProperties":true},"event":{"type":["object","null"],"additionalProperties":true}},"additionalProperties":false},"WebShopEntitlementRequest":{"type":"object","required":["appId","grossOrderMicros"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"action":{"type":"string","enum":["COMPARE_RAILS","MINT","MINT_AND_COMPARE"]},"grossOrderMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"netProceedsMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"playerInstallUuid":{"$ref":"#/components/schemas/UuidString"},"skuId":{"type":"string"},"quantity":{"type":"integer","minimum":1,"maximum":1000},"stripeEventId":{"type":"string"},"stripePaymentIntentId":{"type":"string"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"rail":{"type":"string","enum":["STRIPE_D2C_WEBSHOP","APPLE_EU_DMA_ALTERNATIVE"]},"orderCount":{"type":["string","integer"]},"vatBps":{"type":["string","integer"]},"annualEuFirstInstalls":{"type":["string","integer"]},"eurToUsdRateMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"isSmallBusinessOrYear2":{"type":"boolean"},"isSubscription":{"type":"boolean"},"useApplePaymentProcessorOnDma":{"type":"boolean"},"ttlMs":{"type":"integer","minimum":1000}},"additionalProperties":true},"WebShopEntitlementResponse":{"type":"object","required":["ok","tenantId","appId","action","comparison"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"action":{"type":"string","enum":["COMPARE_RAILS","MINT","MINT_AND_COMPARE"]},"comparison":{"type":"object","required":["recommendedRail","rails","rankedRails"],"properties":{"recommendedRail":{"type":"string"},"ctfErosionWarning":{"type":"boolean"},"totalCtfMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"webshopLiftVsAppleStandardMicros":{"$ref":"#/components/schemas/MicrosString"},"webshopLiftVsEuDmaMicros":{"$ref":"#/components/schemas/MicrosString"},"rails":{"type":"object","additionalProperties":true},"rankedRails":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"idempotentReplay":{"type":"boolean"},"token":{"type":"string"},"grant":{"type":"object","additionalProperties":true}},"additionalProperties":false},"FrontierCohortHorizonPoint":{"type":"object","required":["horizon","netIapMicros","ilrdMicros","netRevenueMicros","ltvMicrosPerInstall","netRoasBps","retentionBps","netIapUsd","ilrdUsd","netRevenueUsd","ltvPerInstallUsd","netRoasPct","retentionPct"],"properties":{"horizon":{"type":"string","enum":["D1","D3","D7","D14","D30"]},"netIapMicros":{"$ref":"#/components/schemas/MicrosString"},"ilrdMicros":{"$ref":"#/components/schemas/MicrosString"},"netRevenueMicros":{"$ref":"#/components/schemas/MicrosString"},"ltvMicrosPerInstall":{"$ref":"#/components/schemas/MicrosString"},"netRoasBps":{"type":"string","pattern":"^-?[0-9]+$"},"retentionBps":{"type":"string","pattern":"^[0-9]+$"},"netIapUsd":{"$ref":"#/components/schemas/UsdFormattedString"},"ilrdUsd":{"$ref":"#/components/schemas/UsdFormattedString"},"netRevenueUsd":{"$ref":"#/components/schemas/UsdFormattedString"},"ltvPerInstallUsd":{"$ref":"#/components/schemas/UsdFormattedString"},"netRoasPct":{"type":"string"},"retentionPct":{"type":"string"}},"additionalProperties":false},"FrontierCohortLtvCurveModel":{"type":"object","required":["empty","rowCount","appId","network","windowLabel","totalInstalls","totalSpendMicros","totalSpendUsd","blendedCpiMicros","blendedCpiUsd","d30NetRoasBps","d30NetRoasPct","points"],"properties":{"empty":{"type":"boolean"},"rowCount":{"type":"integer","minimum":0},"appId":{"type":["string","null"]},"network":{"type":"string"},"windowLabel":{"type":"string"},"totalInstalls":{"type":"string","pattern":"^[0-9]+$"},"totalSpendMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"totalSpendUsd":{"$ref":"#/components/schemas/UsdFormattedString"},"blendedCpiMicros":{"$ref":"#/components/schemas/NonNegativeMicrosString"},"blendedCpiUsd":{"$ref":"#/components/schemas/UsdFormattedString"},"d30NetRoasBps":{"type":"string","pattern":"^-?[0-9]+$"},"d30NetRoasPct":{"type":"string"},"points":{"type":"array","items":{"$ref":"#/components/schemas/FrontierCohortHorizonPoint"}}},"additionalProperties":false},"FrontierCohortLtvCurveResponse":{"type":"object","required":["ok","tenantId","curve"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"curve":{"$ref":"#/components/schemas/FrontierCohortLtvCurveModel"}},"additionalProperties":false},"FrontierFarkasProofRow":{"type":"object","required":["constraintId","family","label","violationCode","kind","multiplier","lhsExpr","lhsValue","rhsValue","strictDeficit","formattedDeficit"],"properties":{"constraintId":{"type":"string"},"family":{"type":"string"},"label":{"type":"string"},"violationCode":{"type":"string"},"kind":{"type":"string"},"multiplier":{"type":"string","pattern":"^-?[0-9]+$"},"lhsExpr":{"type":"string"},"lhsValue":{"type":"string","pattern":"^-?[0-9]+$"},"rhsValue":{"type":"string","pattern":"^-?[0-9]+$"},"strictDeficit":{"type":"string","pattern":"^-?[0-9]+$"},"formattedDeficit":{"type":"string"}},"additionalProperties":false},"FrontierZ3ProofSummary":{"type":"object","required":["hasCertificate","status","logic","algebraicSoundnessOk","unsatCore","farkasRows","sumWeightedLhs","sumWeightedRhs","totalContradictionMargin","certificateSha256","smtLib2Sha256","smtLib2Script","fatigueEvaluations"],"properties":{"hasCertificate":{"type":"boolean"},"intentId":{"type":"string"},"status":{"type":"string"},"logic":{"type":"string"},"certifierVersion":{"type":"string"},"algebraicSoundnessOk":{"type":"boolean"},"verificationIssues":{"type":"array","items":{"type":"string"}},"unsatCore":{"type":"array","items":{"type":"string"}},"farkasRows":{"type":"array","items":{"$ref":"#/components/schemas/FrontierFarkasProofRow"}},"sumWeightedLhs":{"type":"string","pattern":"^-?[0-9]+$"},"sumWeightedRhs":{"type":"string","pattern":"^-?[0-9]+$"},"totalContradictionMargin":{"type":"string","pattern":"^-?[0-9]+$"},"certificateSha256":{"type":"string"},"smtLib2Sha256":{"type":"string"},"smtLib2Script":{"type":"string"},"fatigueEvaluations":{"type":"array","items":{"$ref":"#/components/schemas/FrontierCreativeFatigueEvaluation"}}},"additionalProperties":false},"FrontierCreativeFatigueEvaluation":{"type":"object","required":["creativeId","network","status","saturated","totalImpressions","baselineIpm","posteriorIpm","ipmDropPct","ctrDropPct","cusumStatIpm","cusumThresholdIpm","cusumProgressPct","pageHinkleyStatIpm","pageHinkleyThresholdIpm","zSquaredDisplay","statisticallySignificantDrop","evidenceQueryHash"],"properties":{"creativeId":{"type":"string"},"network":{"type":"string"},"status":{"type":"string"},"saturated":{"type":"boolean"},"totalImpressions":{"type":"string","pattern":"^[0-9]+$"},"baselineIpm":{"type":"string"},"posteriorIpm":{"type":"string"},"ipmDropPct":{"type":"string"},"ctrDropPct":{"type":"string"},"cusumStatIpm":{"type":"string"},"cusumThresholdIpm":{"type":"string"},"cusumProgressPct":{"type":"integer","minimum":0,"maximum":100},"pageHinkleyStatIpm":{"type":"string"},"pageHinkleyThresholdIpm":{"type":"string"},"zSquaredDisplay":{"type":"string"},"statisticallySignificantDrop":{"type":"boolean"},"evidenceQueryHash":{"type":"string"}},"additionalProperties":false},"FrontierProofsAndFatigueResponse":{"type":"object","required":["ok","tenantId","appId","proofs","fatigueEvaluations"],"properties":{"ok":{"type":"boolean","const":true},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"type":["string","null"]},"proofs":{"type":"array","items":{"$ref":"#/components/schemas/FrontierZ3ProofSummary"}},"fatigueEvaluations":{"type":"array","items":{"$ref":"#/components/schemas/FrontierCreativeFatigueEvaluation"}}},"additionalProperties":false},"FrontierSdkBundleRequest":{"type":"object","required":["appId"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"engine":{"type":"string","enum":["UNITY_CSHARP","IOS_SWIFT","ANDROID_KOTLIN","WEB_H5_3D"]},"mmpProvider":{"type":"string","enum":["FIRST_PARTY_SSOT","APPSFLYER","ADJUST","SINGULAR"]},"ilrdProvider":{"type":"string","enum":["APPLOVIN_MAX","ADMOB","UNITY_LEVELPLAY"]},"appSlug":{"type":"string"},"packageVersion":{"type":"string"},"apiBaseUrl":{"type":"string","format":"uri"},"coppaChildDirected":{"type":"boolean"},"mixedAudience":{"type":"boolean"},"attGated":{"type":"boolean"},"nsPrivacyTracking":{"type":"boolean"},"bundleId":{"type":"string"},"packageName":{"type":"string"},"appleAttributionCopyOrigin":{"type":"string","format":"uri"}},"additionalProperties":true},"FrontierSdkBundleResponse":{"type":"object","required":["ok","bundle"],"properties":{"ok":{"type":"boolean","const":true},"bundle":{"type":"object","required":["engine","packageName","packageVersion","mmpProvider","ilrdProvider","coppaChildDirected","mixedAudience","attGated","tarFileName","tarArchiveBytes","tarArchiveSha256","tarArchiveBase64","integrityLockSha256","fileCount","files","complianceSummary"],"properties":{"engine":{"type":"string","enum":["UNITY_CSHARP","IOS_SWIFT","ANDROID_KOTLIN","WEB_H5_3D"]},"packageName":{"type":"string"},"packageVersion":{"type":"string"},"mmpProvider":{"type":"string","enum":["FIRST_PARTY_SSOT","APPSFLYER","ADJUST","SINGULAR"]},"ilrdProvider":{"type":"string","enum":["APPLOVIN_MAX","ADMOB","UNITY_LEVELPLAY"]},"coppaChildDirected":{"type":"boolean"},"mixedAudience":{"type":"boolean"},"attGated":{"type":"boolean"},"tarFileName":{"type":"string"},"tarArchiveBytes":{"type":"integer","minimum":1024},"tarArchiveSha256":{"$ref":"#/components/schemas/Sha256HexString"},"tarArchiveBase64":{"type":"string","minLength":1},"integrityLockSha256":{"$ref":"#/components/schemas/Sha256HexString"},"fileCount":{"type":"integer","minimum":1},"files":{"type":"array","items":{"type":"string"}},"complianceSummary":{"type":"object","required":["iosPrivacyTrackingFalse","androidAdIdOmitted"],"properties":{"iosPrivacyTrackingFalse":{"type":["boolean","null"]},"androidAdIdOmitted":{"type":["boolean","null"]}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"FrontierPlayablePreviewRequest":{"type":"object","required":["appId"],"properties":{"appId":{"$ref":"#/components/schemas/UuidString"},"genre":{"type":"string","enum":["PUZZLE_BLOCK","ARCADE_HYPER","SANDBOX_PARTY","STRATEGY_IDLE"]},"network":{"type":"string","enum":["APPLOVIN_AXON","UNITY_ADS","IRONSOURCE","META_ADS","MINTEGRAL","TIKTOK_ADS","GOOGLE_ADS"]},"difficultyCurve":{"type":"string","enum":["FLAT_CASUAL","RAMP_EASY_TO_CLIMAX","NEAR_MISS_FAIL_HOOK","HIGH_SKILL_CHALLENGE"]},"ctaTrigger":{"type":"string","enum":["MOVES_3","MOVES_5","SCORE_THRESHOLD","TIMED_ENGAGEMENT_ENDCARD"]},"tutorialOverlayMs":{"type":"integer","minimum":500,"maximum":10000},"title":{"type":"string"},"storeUrl":{"type":"string","format":"uri"}},"additionalProperties":true},"FrontierPlayablePreviewResponse":{"type":"object","required":["ok","preview"],"properties":{"ok":{"type":"boolean","const":true},"preview":{"type":"object","required":["assetId","genre","network","mraidVersion","containerFormat","bundleFileName","creativeSha256","byteLength","gzipByteLength","zipByteLength","zipSha256","withinTargetBudget","withinHardCaps","cspHeader","certifiedOk","certificationIssues"],"properties":{"assetId":{"type":"string"},"genre":{"type":"string","enum":["PUZZLE_BLOCK","ARCADE_HYPER","SANDBOX_PARTY","STRATEGY_IDLE"]},"network":{"type":"string","enum":["APPLOVIN_AXON","UNITY_ADS","IRONSOURCE","META_ADS","MINTEGRAL","TIKTOK_ADS","GOOGLE_ADS"]},"mraidVersion":{"type":"string"},"containerFormat":{"type":"string"},"bundleFileName":{"type":"string"},"creativeSha256":{"$ref":"#/components/schemas/Sha256HexString"},"byteLength":{"type":"integer","minimum":1},"gzipByteLength":{"type":"integer","minimum":1},"zipByteLength":{"type":["integer","null"]},"zipSha256":{"type":["string","null"]},"withinTargetBudget":{"type":"boolean"},"withinHardCaps":{"type":"boolean"},"cspHeader":{"type":"string"},"certifiedOk":{"type":"boolean"},"certificationIssues":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false},"AppleSkan4DirectPostbackRequest":{"type":"object","required":["version","ad-network-id","source-identifier","app-id","transaction-id","attribution-signature"],"properties":{"version":{"type":"string","const":"4.0"},"ad-network-id":{"type":"string"},"source-identifier":{"type":"string","pattern":"^[0-9]{2,4}$"},"app-id":{"type":["integer","string"]},"transaction-id":{"type":"string"},"redownload":{"type":"boolean"},"source-app-id":{"type":["integer","string"]},"source-domain":{"type":"string"},"fidelity-type":{"type":"integer","enum":[0,1]},"did-win":{"type":"boolean"},"postback-sequence-index":{"type":"integer","enum":[0,1,2]},"conversion-value":{"type":"integer","minimum":0,"maximum":63},"coarse-conversion-value":{"type":"string","enum":["low","medium","high"]},"country":{"type":"string","pattern":"^[A-Z]{2}$"},"attribution-signature":{"type":"string"},"x5c":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"AppleAakDirectPostbackRequest":{"type":"object","properties":{"jws-string":{"type":"string"},"jwsString":{"type":"string"},"jws":{"type":"string"},"signedPayload":{"type":"string"},"ad-interaction-type":{"type":"string","enum":["click","view"]},"fine-conversion-value":{"type":"integer","minimum":0,"maximum":63},"coarse-conversion-value":{"type":"string","enum":["low","medium","high"]},"country-code":{"type":"string","pattern":"^[A-Z]{2}$"},"conversion-tag":{"type":"string"},"cooldown-window-seconds":{"type":"integer","minimum":0},"lock-window":{"type":"boolean"}},"additionalProperties":true},"AppleDirectPostbackResponse":{"type":"object","required":["ok","verified","protocol","version","tenantId","appId","attributionSource","verificationMethod","replayKey","receiptSha256","ssotIngested","cohortDelta","metadata"],"properties":{"ok":{"type":"boolean","const":true},"verified":{"type":"boolean","const":true},"protocol":{"type":"string","enum":["SKAN4","AAK"]},"version":{"type":"string"},"tenantId":{"$ref":"#/components/schemas/UuidString"},"appId":{"$ref":"#/components/schemas/UuidString"},"adamId":{"type":["string","null"]},"bundleId":{"type":["string","null"]},"attributionSource":{"type":"string","enum":["SKAN4_DIRECT_COPY","AAK_DIRECT_COPY"]},"verificationMethod":{"type":"string"},"replayKey":{"type":"string"},"receiptSha256":{"$ref":"#/components/schemas/Sha256HexString"},"ssotIngested":{"type":"boolean"},"ssotAttributionSource":{"type":["string","null"]},"cohortDelta":{"type":"object","additionalProperties":true},"metadata":{"type":"object","additionalProperties":true}},"additionalProperties":false}}}}