Provider Accuracy
GET
/api/workbooks/meta/provider-accuracy
const url = 'http://localhost:8000/api/workbooks/meta/provider-accuracy?persist=false';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8000/api/workbooks/meta/provider-accuracy?persist=false'Public per-provider CORRECTNESS ranking from the accuracy/freshness eval harness (scored offline against a golden dataset). This is the signal the hit-rate ledger is missing: a provider that returns confident WRONG data ranks low here. Pass ?persist=true to also write the correctness prior onto the ProviderStat ledger so it feeds the waterfall planner’s ordering.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”persist
Persist
boolean
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}