Packs
Read a sound's settings and takes
A sound's event (the name /playsound and a sounds.json know it by: a vanilla one is replaced, any other is new), its volume category, subtitle and whether it loops, and its takes: every candidate a generation or an edit made, with the one that ships in selectedTake. Listen to a take with GET /packs/{pack}/sounds/{sound}/takes/{take} and choose it with POST /packs/{pack}/sounds/{sound}.
/packs/{pack}/sounds/{sound}Path parameters
packstringrequiredThe pack's slug, as returned by the packs endpoints.
soundstringrequiredThe sound's name from the asset listing.
Response · 200
The sound.
packstringrequiredThe pack.
soundobjectrequiredThe sound.
idstringrequiredThe sound's id, its name in the asset listing.
namestringrequiredIts label.
eventstringrequiredThe sound event it plays as. A vanilla event is replaced; any other is new.
categorystringrequiredWhich volume slider controls it.
Options: master, music, record, weather, block, hostile, neutral, player, ambient, voice
subtitlestringrequiredIts subtitle. Null when it has none.
durationSecondsnumberrequiredHow long the shipping take is.
loopbooleanrequiredWhether it is meant to loop.
statusstringrequiredgenerating, ready or error.
Options: generating, ready, error
promptstringrequiredWhat it was generated from. Null for an upload.
errorstringrequiredWhy its generation failed. Null unless status is error.
takesarray of objectrequiredEvery candidate, in the order they were made. Empty for a sound older than takes.
idstringrequiredThe take's id within this sound.
durationSecondsnumberrequiredIts length.
createdAtstringrequiredISO 8601.
selectedTakestringrequiredThe take the pack ships. Null for a sound older than takes.
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.