CollectalesDevelopers

Capability audit

Checking the published capability endpoint…

GET https://api.collectales.com/v1/capabilities

Interpret availability states#

StateMeaning
readyThe capability passed its complete audit gates.
degradedData exists but a quality, coverage, or freshness gate failed.
not_readyVerification failed or the evidence has expired.
not_availableThe capability has no qualifying corpus or is disabled.

Audit time and source time differ#

A complete audit expires after twenty-four hours. Stale evidence cannot report ready. The source data itself may be older: inspect price observation times, event source timestamps, and tournament sample windows independently.

Read the reason, not just the label#

The endpoint includes per-capability reasons. Price checks use a bounded, locale- and set-balanced sample (24 cards per game by default). Zero matches means no_prices_in_sample, not proof that the entire game has no prices. priceSample exposes sample counts and observation dates. A price sample is ready only when at least half of sampled cards return prices and every returned quote has a known observation within seven days of the audit. Old reports without observation evidence remain readable but cannot claim fresh prices.

metaPolicy discloses the readiness gates: at least ten completed events and one hundred decks in the latest sixty days, a qualifying event within seven days, a fully audited corpus and verified provenance for every published deck. One approved source is sufficient. The legacy tournamentSourcesFresh field measures event recency, not the last source fetch. An empty official-deck corpus remains unavailable even when tournament decks exist.

Guides and real API endpoints