Skip to main content
POST
Batch resolve
Resolve up to 20 scripts (or 100 with an API key) in one request by id, slug, or shortId. Ideal for refreshing a known set — a user’s saved list, a curated hub, a local cache.

Body

string[]
required
Array of script ids, slugs, or shortIds. Max 20 anonymous, 100 with a key. Duplicates are de-duplicated.

Response

Script[]
The scripts that resolved (live only).
string[]
Any refs that didn’t match a live script.
number
Number of scripts returned.
Batch is a POST, so it isn’t shared-cached at the edge. For browsing, prefer the cacheable GET list/search endpoints; reserve batch for resolving a specific known set.