resourcepack.ai
DOCS

Distribution

List recent serves

The Distribution tab's Recent serves: one row per time a bound server handed the pack to a player, newest first, and what their client did with it. Page with nextOffset until it is null. Only the most recent few hundred are kept; the totals in GET /packs/{pack}/distribution/stats count everything.

GET/packs/{pack}/distribution/serves

Path parameters

packstringrequired

The pack's slug, as returned by the packs endpoints.

Query parameters

limitinteger1–100default 25

How many to return.

offsetintegermin 0default 0

From the previous response's nextOffset.

Response · 200

One page of serves.

packstringrequired

The pack.

servesarray of objectrequired

Newest first.

uuidstringrequired

The player's UUID.

ignstringrequired

Their name, when the server said.

platformstringrequired

java or bedrock, when known.

minecraftVersionstringrequired

The version their client was on, when it could be placed.

protocolintegerrequired

Their client's protocol number.

outcomestringrequired

What their client did with the pack.

Options: pending, accepted, declined, failed, unsupported

atstringrequired

ISO 8601.

nextOffsetintegerrequired

The offset for the next page, or null at the end.

Error codes

Branch on error.code, never on the message.

invalid_api_key401

The key isn't one of ours, or it has been revoked.

missing_api_key401

No Authorization: Bearer header was sent.

wrong_key_kind401

An MCP key sent to the REST API, or an API key sent to the MCP server. Each only opens its own.

account_suspended403

The account is suspended, so its keys open nothing. message says until when, if the suspension has an end date.

plan_required403

The key is valid, but its account's plan does not include the API.

not_found404

No such pack, asset or job.