Search templates
Changed onLists the team's templates together with the platform's public default templates, which carry isDefault: true, with search, a visibility filter and sorts. Default templates are not listed to teams on a dedicated cluster, and those owned by another team carry zero or null usage fields. Results are newest first unless sort says otherwise; nextCursor continues the listing and is only valid with the same sort. For E2B's own clients: it may change or disappear without notice.
Request
- Base URLhttps://api.e2b.app
- URLhttps://api.e2b.app/unstable/templates/search
- Auth
- API key in header X-API-Key
- or HTTP bearer and API key in header X-Team-ID
- or API key in header X-Admin-Token and API key in header X-Team-ID
- or HTTP bearer and API key in header X-Team-ID
Query parameters
Case-insensitive substring match on the template ID, its aliases and its names.
Sort column and direction.
Only list public (true) or only non-public (false) templates.
Maximum number of templates to return per page.
Cursor returned by the previous page in {sort}|{value}|{templateID} format. Rejected if its sort does not match the request.
Response
Successfully returned the templates
Changes
- info
endpoint added
- info