List layer images
GET
/layer-images
List your layer images. Two ways to look one up:
- Listing (no
search): newest first, read straight from the database, so an image appears as soon as it is created. Filter withcategory_idand an exactname. Cursor-paginated (cursor,per_page). - Search (
searchgiven): matched by relevance through the search index, as in the MCP tools -- partial words and small typos still match, so check thenameof what comes back. Filter withcategory_id. Page-numbered (page,per_page);cursordoes not apply. The index is updated in the background, so an image created a moment ago may not be found by search yet -- use the exactnamefilter to find it immediately.
name and search cannot be combined.
Requires assets:read ability.
Authorizations
bearerAuth
Include Authorization: Bearer <token> header.
Token must have the required abilities.
Type
HTTP (bearer)
Parameters
Query Parameters
category_id
Only return items in this category.
Type
integer
Example
321name
Only return items whose name is exactly this value (case-sensitive). Use it to check
whether an item already exists, e.g. SKU123_BG.
Type
string
Example
"SKU123_BG"search
Search by name, ranked by relevance through the search index (partial words and small
typos match). Names are split into words at spaces, - and _, so BG finds
SKU123_BG. A leading - is read as part of the text, not as an exclusion. Results are
page-numbered. Cannot be combined with name.
Type
string
Example
"SKU123"Max Length
255cursor
Pagination cursor for retrieving the next set of results. This is an opaque string
returned in the meta.next_cursor field of the previous response. Do not manually construct
cursor values - always use the exact string provided by the API. For first page requests,
omit this parameter entirely.
Type
string
Example
"eyJjcmVhdGVkX2F0IjoiMjAyNS0wMS0xNSAxMDozMDowMCIsImlkIjoxMjM0NX0"page
Page number, for search results only.
Type
integer
Minimum
1Default
1per_page
Number of items to return per page.
Type
integer
Example
25Minimum
1Maximum
100Default
25Responses
A page of layer images. A listing returns cursor pagination (meta.next_cursor);
a search returns page numbers (meta.current_page, meta.last_page, meta.total).
application/json
JSON "links": { "next": "https://example.com", "prev": "https://example.com" }, "meta": { "per_page": 0, "next_cursor": "string", "prev_cursor": "string", "current_page": 0, "last_page": 0, "total": 0 }, "data": [ { "id": 12345, "name": "SKU123_BG", "category_id": 321, "status": "processing", "url": "users/4965/image-layers/68c0006568e69_large.webp", "thumbnail_url": "https://cdn.teeinblue.com/users/4965/image-layers/68c0006568e69_thumb.webp", "width": 4000, "height": 4000, "created_at": "2026-10-08T10:30:00Z", "updated_at": "2026-10-08T10:30:05Z" } ]
{
}
GET
/layer-images