{"openapi":"3.1.0","info":{"title":"GET /api/v1/public/frontier/benchmark","version":"1.0.0","description":"Open Reproducible Close Accuracy Benchmark (public)"},"servers":[{"url":"https://api.ondayzero.com","description":"Production"}],"paths":{"/api/v1/public/frontier/benchmark":{"get":{"tags":["frontier-public"],"summary":"Open Reproducible Close Accuracy Benchmark (public)","description":"Aggregate anonymised close accuracy metrics across graded CloseReplays, claim verification runs, omission detection, and workflow autonomy cohorts.","operationId":"get_public_frontier_benchmark","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessEnvelope_CloseAccuracyBenchmarkResponse_"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded; back off and retry","content":{"application/json":{"example":{"error":"rate_limited","message":"Too many requests. Please slow down.","code":"GEN_005","request_id":"3f0e7c2a-9b4d-4e1a-8c6f-2d5b7a1e9c30"},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-fastapi-operation-id":"get_public_frontier_benchmark_api_v1_public_frontier_benchmark_get"}}},"components":{"schemas":{"CloseAccuracyBenchmarkResponse":{"properties":{"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"replay_count":{"type":"integer","title":"Replay Count"},"graded_replay_count":{"type":"integer","title":"Graded Replay Count"},"avg_replay_parity_bps":{"type":"integer","title":"Avg Replay Parity Bps"},"accrual_omission_catch_rate_bps":{"type":"integer","title":"Accrual Omission Catch Rate Bps"},"claim_verification_pass_rate_bps":{"type":"integer","title":"Claim Verification Pass Rate Bps"},"total_omission_dollars_caught_cents":{"type":"integer","title":"Total Omission Dollars Caught Cents"},"workflow_cohorts":{"items":{"$ref":"#/components/schemas/CloseAccuracyCohortRow"},"type":"array","title":"Workflow Cohorts"},"methodology":{"type":"string","title":"Methodology"}},"type":"object","required":["generated_at","replay_count","graded_replay_count","avg_replay_parity_bps","accrual_omission_catch_rate_bps","claim_verification_pass_rate_bps","total_omission_dollars_caught_cents","workflow_cohorts","methodology"],"title":"CloseAccuracyBenchmarkResponse"},"CloseAccuracyCohortRow":{"properties":{"workflow_type":{"type":"string","title":"Workflow Type"},"total_evaluated":{"type":"integer","title":"Total Evaluated"},"precision_bps":{"type":"integer","title":"Precision Bps"},"override_rate_bps":{"type":"integer","title":"Override Rate Bps"},"reversion_rate_bps":{"type":"integer","title":"Reversion Rate Bps"}},"type":"object","required":["workflow_type","total_evaluated","precision_bps","override_rate_bps","reversion_rate_bps"],"title":"CloseAccuracyCohortRow"},"SuccessEnvelope_CloseAccuracyBenchmarkResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"data":{"anyOf":[{"$ref":"#/components/schemas/CloseAccuracyBenchmarkResponse"},{"type":"null"}]}},"additionalProperties":true,"type":"object","title":"SuccessEnvelope[CloseAccuracyBenchmarkResponse]"},"ErrorResponse":{"title":"ErrorResponse","type":"object","description":"Envelope returned by every non-2xx response. Branch on `code` (stable) rather than `message` (human-readable, may change).","required":["error","message","code"],"properties":{"error":{"type":"string","description":"Error category: `validation_error`, `unauthorized`, `forbidden`, `not_found`, `conflict`, `rate_limited`, `server_error`, or `service_unavailable`."},"message":{"type":"string","description":"Human-readable explanation, safe to show to end users."},"code":{"type":"string","description":"Stable machine-readable code in `CATEGORY_NNN` form (e.g. `NOT_FOUND_006`, `AUTH_010`, `GEN_002`)."},"request_id":{"type":"string","description":"Correlation id for support requests. Echoes the `x-request-id` request header when one was supplied."},"errors":{"type":"object","additionalProperties":{"type":"string"},"description":"Field-level validation messages keyed by field name. Present on 400/422 validation failures only."}}}},"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Token","description":"API token authentication. Format: `Bearer dz_...`"}}},"security":[{"BearerAuth":[]}]}