/standardsList standards
Auth:standards:read· or the owner session
The standards this caller can see. Archived ones are left out unless archived=true. A scoped key only ever sees the standards carrying one of its tags.
Parameters
limitintegerin query1 to 100. Default 50.
cursorstringin queryThe
next_cursorof the previous page. Opaque.modeModein queryliveortest. Only meaningful for the owner session — a key already carries its own mode and this parameter does not move it.tagstringin queryOnly standards carrying this tag slug.
qstringin queryCase-insensitive match on the standard's name.
archivedbooleanin queryInclude the archived ones as well. They are never the default.
includestringin queryComma-separated extras.
month_countsaddsverdicts_this_monthto every row — shots judged against that standard since the first of the current calendar month (UTC), in the caller's mode. It costs one extra read for the whole page, so you ask for it rather than get it for free. This is what the web client's job list shows.metadata[key]objectin queryFilter on any metadata key, compared as text:
?metadata[batch]=A-12. Repeat for more than one (AND, up to ten). Keys match^[A-Za-z0-9_.-]{1,64}$; anything else is a422.
Responses
200PageStandardsA page of standards.
400ErrorThe cursor is not readable.
Example
{ "error": "invalid_cursor", "message": "Invalid cursor. Pass the `next_cursor` from the previous page, unchanged." }401ErrorNo credentials (
unauthorized), or a key that is invalid, revoked or expired (invalid_api_key).Example
{ "error": "unauthorized", "message": "No API key or session provided." }403ErrorThe key lacks a permission.
requirednames it.Example
{ "error": "permission_denied", "message": "This API key doesn't have the verdicts:create permission.", "required": "verdicts:create" }422ErrorThe body parsed, but what it says does not stand up.
Example
{ "error": "validation_failed", "message": "These tags aren't in this account's vocabulary: corsie." }429ErrorMore than 120 requests in a minute on this key.
Example
{ "error": "rate_limited", "message": "Too many requests. Try again in a minute." }
curl
curl https://precisino.it/api/v1/standards \
-H "Authorization: Bearer prc_live_..."