Meta representation
Measure leader and archetype distribution in the published sample, with enough context to interpret it.
Read representation snapshots#
GET /v1/games/{gameSlug}/meta/leaders # One Piece (Leader-based)
GET /v1/games/{gameSlug}/meta/archetypes # One Piece and Pokémoncurl "$COLLECTALES_BASE_URL/v1/games/pokemon/meta/archetypes?limit=10" \
--header "authorization: Bearer $COLLECTALES_ACCESS_TOKEN"const metaResponse = await fetch(`${base}/v1/games/pokemon/meta/archetypes?limit=10`, {
headers: { authorization: `Bearer ${access_token}` },
});
if (!metaResponse.ok) throw new Error(`Meta request failed: ${metaResponse.status}`);
const meta = await metaResponse.json();
console.log(`${meta.sample.deckCount} decks from ${meta.sample.tournamentCount} events`);
for (const row of meta.data) console.log(row.rank, row.archetypeName, row.representationRate);meta_response = requests.get(
f"{base}/v1/games/pokemon/meta/archetypes",
headers={"authorization": f"Bearer {access_token}"},
params={"limit": 10},
timeout=10,
)
meta_response.raise_for_status()
meta = meta_response.json()
print(meta["sample"]["deckCount"], "decks from", meta["sample"]["tournamentCount"], "events")
for row in meta["data"]:
print(row["rank"], row["archetypeName"], row["representationRate"])Meta requires a token with meta:read and a plan that includes it (Pro or a suitable contract). Request that scope when obtaining the token; the catalog-only Quickstart token cannot read meta. Queries accept an event window and format/region/tier filters. The default window is sixty days; the maximum is 366 days. A snapshot includes ranks, deck counts, representation rates, sample sizes, and coverage context.
Keep the denominator with the number#
Representation rate describes the disclosed deck sample. It is not a worldwide popularity estimate. Always display the event window, sample size, source set, and coverage scope alongside the result. No pairing data means no win-rate, matchup, or top-cut conversion claim.
Meta readiness is a separate gate#
The audit requires at least ten completed events and one hundred published lists in its sixty-day window, at least one approved source, complete card resolution and verified provenance for every published tournament list, and a qualifying completed event within the last seven days. Event recency is separate from the source fetch time; inspect metaPolicy.newestEventAt and metaPolicy.newestSourceFetchedAt. These are audit thresholds, not a claim of global coverage.
Replace aggregate snapshots as a whole#
Each response is a full current aggregate for the requested window. generatedAt is evaluation time, not a dataset version or incremental-sync checkpoint.