remagicaDocs home
API referenceProjects

List projects

GET
/projects

Needs a key withprojects:read

Lists projects (workflows) a page at a time (50 at most): a scope's top level or a folder, or, with search, the whole scope by name. Each comes with a canvas preview, its asset and credit counts and its author. Pass nextCursor as cursor for the next page.

Requires scope projects:read.

Authorization

apiKey
headerx-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.

Query Parameters

cursor?string

nextCursor of the page before; leave out for the first.

Lengthlength <= 400
folderId?|

The folder to list; the top level when left out. Ignored while searching, which looks through the whole scope.

limit?integer
Range1 <= value <= 50
Default50
order?string

desc: newest first. asc: oldest first.

Default"desc"
Value in"desc""asc"
orderBy?string

Sort by the last edit (updated) or by creation.

Default"updated"
Value in"updated""created"
scope?string

team: the workspace's projects and team folders. personal: the projects you made and your personal folders, which only you see. API keys act for the workspace: their personal is empty.

Default"team"
Value in"team""personal"
search?string

Only projects whose name contains this (any case).

Lengthlength <= 200

Response Body

A page of projects.

application/json
  1. response
nextCursor*|

Pass as cursor for the next page; null on the last.

projects*array<>
Example Request
curl -X GET 'https://api.remagica.com/api/v1/projects'
Example Response
{  "nextCursor": "string",  "projects": [    {      "assetCount": 1,      "author": {        "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",        "image": "string",        "name": "Autumn campaign"      },      "cover": "string",      "createdAt": "2026-10-21T12:00:00.000Z",      "creditsSpent": 12,      "description": "Product shots for the autumn campaign.",      "folderId": "899433f8-5b3d-4f60-8e2a-1d9c6b4f7e05",      "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",      "name": "Autumn campaign",      "preview": {        "bounds": {          "h": 1,          "w": 1,          "x": 1,          "y": 1        },        "edges": [          {            "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",            "source": "string",            "target": "string"          }        ],        "nodes": [          {            "h": 1,            "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",            "image": "string",            "label": "string",            "parentId": "eb290249-5b3d-4f60-8e2a-1d9c6b4f7e05",            "text": "string",            "type": "string",            "w": 1,            "x": 1,            "y": 1          }        ]      },      "updatedAt": "2026-10-21T12:00:00.000Z",      "visibility": "personal"    }  ]}