Distribution
Read distribution numbers
The Distribution tab's numbers: how many players bound servers have handed the pack to, how often, what their clients did with it, which versions they were on, and serves per day.
unsupported counts joins on a version the release was not built for: add that version with POST /packs/{pack}/distribution and publish again. unknownProtocols is a client too new for us to name yet. Every figure is all-time except daily.
/packs/{pack}/distribution/statsPath parameters
packstringrequiredThe pack's slug, as returned by the packs endpoints.
Query parameters
daysinteger1–90default 30How many days daily covers, ending today.
Response · 200
The numbers.
packstringrequiredThe pack.
playersintegerrequiredUnique players served, which is what the plan's player allowance counts.
servesintegerrequiredTimes the pack was handed to a player.
acceptedintegerrequiredServes the player's client accepted and loaded.
declinedintegerrequiredServes the player declined.
failedintegerrequiredServes whose download failed in the client.
unsupportedintegerrequiredJoins on a version the release was not built for, so nothing was served.
byVersionarray of objectrequiredServes per Minecraft version the players were on.
versionstringrequiredThe version, or null when the client could not be placed.
servesintegerrequiredServes on it.
unknownProtocolsarray of objectrequiredClients reporting a protocol number we cannot map to a version yet.
protocolintegerrequiredThe protocol number.
servesintegerrequiredServes with it.
dailyarray of objectrequiredServes per day, oldest first, empty days included.
daystringrequiredYYYY-MM-DD, UTC.
servesintegerrequiredServes that day.
Error codes
Branch on error.code, never on the message.
invalid_api_key401The key isn't one of ours, or it has been revoked.
missing_api_key401No Authorization: Bearer header was sent.
wrong_key_kind401An MCP key sent to the REST API, or an API key sent to the MCP server. Each only opens its own.
account_suspended403The account is suspended, so its keys open nothing. message says until when, if the suspension has an end date.
plan_required403The key is valid, but its account's plan does not include the API.
not_found404No such pack, asset or job.