List items
Needs a key withlibrary:read
Lists and searches the Library, most recently changed first, a page at a time: filter by scope, folder, kind, type and your favorites. Each item carries its mention token for prompts.
Requires scope library:read.
apiKeyx-api-key<token>An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.
aspect?stringOnly items whose files are square, landscape or portrait (within 5%).
"square""landscape""portrait"createdAfter?stringOnly items made at or after this time.
date-timecursor?stringnextCursor from the previous page.
length <= 500deleted?|Recently Deleted instead: deleted items, purged 30 days after deletion (listing them purges the expired ones).
favorite?|Only your favorites.
folderId?string1 <= length <= 128ids?array<>|Exactly these items (comma-separated), including deleted ones, e.g. to check the versions a canvas pins.
kind?stringWhat it is, as the starting folders sort it: character, sprite (a Sprite Studio character), scene, item, style, sound_effect or other.
"character""sprite""scene""item""style""sound_effect""other"labelId?stringOnly items with this label.
1 <= length <= 128limit?integer1 <= value <= 10050media?stringItems with a file of this kind; text: items with no files (description-only elements).
"image""video""audio""text"model?stringGenerated by this model (canonical id).
length <= 200origin?stringupload: uploaded or made by hand. generation: filed from a generation (a workflow step's, the agent's or the API's).
"upload""generation"pinned?|Only pinned items.
q?stringSearch names, slugs and descriptions.
length <= 200reviewStatus?stringWhere the asset's review stands: todo, in_progress, under_review or done.
"todo""in_progress""under_review""done"scope?stringteam, private, or all (both).
"all""private""team""all"type?stringasset: one file. element: a reusable character, place, prop or style: a locked description, ordered reference files and an optional generated sheet.
"asset""element"workflowId?stringCame from this project (workflow).
1 <= length <= 128A page of items.
application/json- response
items*array<>nextCursor*|Pass as cursor for the next page; null on the last.
curl -X GET 'https://api.remagica.com/api/v1/library/items'{ "items": [ { "createdAt": "2026-09-30T12:00:00.000Z", "deleted": true, "deletedAt": null, "description": "Product shots for the autumn campaign.", "faces": "trusted", "favorite": true, "fileCount": 1, "folderId": "899433f8-5b3d-4f60-8e2a-1d9c6b4f7e05", "generationId": "241081c2-5b3d-4f60-8e2a-1d9c6b4f7e05", "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "kind": "character", "labels": [ { "color": "gray", "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "name": "Autumn campaign" } ], "latestVersion": 3, "mention": "string", "model": "google/nano-banana-pro", "name": "Autumn campaign", "origin": "upload", "ownerUserId": "ba132481-5b3d-4f60-8e2a-1d9c6b4f7e05", "pendingSheets": 1, "pinnedAt": "2026-10-21T12:00:00.000Z", "reviewStatus": "todo", "scope": "private", "slug": "string", "sprite": { "characterId": "eb1fe45b-5b3d-4f60-8e2a-1d9c6b4f7e05", "masterVersionId": "371019b7-5b3d-4f60-8e2a-1d9c6b4f7e05", "sizeClass": "small" }, "thumbnail": { "contentType": "image/png", "durationSeconds": 5, "height": 1280, "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png", "kind": "image", "position": 1, "role": "sheet", "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png", "width": 1024 }, "type": "asset", "updatedAt": "2026-09-30T12:00:00.000Z", "workflowId": "cb35dcdb-5b3d-4f60-8e2a-1d9c6b4f7e05" } ], "nextCursor": "string"}