resourcepack.ai
DOCS

Packs

Read a Custom GUI's files

Its pages (.html), stylesheets (.css) and pictures (as data: URLs), as the editor's Code view has them. entry is the page a server opens first.

GET/packs/{pack}/custom-guis/{gui}

Path parameters

packstringrequired

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

guistringrequired

The Custom GUI's id from the list.

Response · 200

The Custom GUI and its files.

packstringrequired

The pack.

guiobjectrequired

The Custom GUI, with files as {name, content}.

idstringrequired

Its id in the pack.

namestringrequired

Its name.

pagesintegerrequired

How many pages it has.

entrystringrequired

The page a server opens first.

updatedAtstringrequired

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.