resourcepack.ai
DOCS

Gallery

Read a gallery item

One published item, by the id the gallery listing gives it.

GET/gallery/{item}

Path parameters

itemstringrequired

The item's id from the gallery listing.

Response · 200

The item.

itemobjectrequired

The item.

idstringrequired

Its id, the last part of its page's address.

typestringrequired

What it is.

titlestringrequired

Its title.

descriptionstringrequired

Its description.

promptstringrequired

What it was generated from, when its publisher shared it.

urlstringrequired

Its page.

anonymousbooleanrequired

Published without a byline.

viewsintegerrequired

How often its page was seen.

usesintegerrequired

How often it was downloaded, copied or tried in game.

publishedAtstringrequired

ISO 8601.

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.