remagicaDocs home
API referenceSprites

List a character's takes

GET
/sprites/characters/{characterId}/takes

Needs a key withsprites:read

A character's takes, newest first, each with its frames in order and short-lived download URLs. Takes of removed actions are left out.

Requires scope sprites: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.

Path Parameters

characterId*string
Length1 <= length <= 128

Query Parameters

actionId?string

Only this action's.

Length1 <= length <= 128
direction?string
Value in"E""W""N""S""NE""NW""SE""SW"

Response Body

The takes.

application/json
  1. response
takes*array<>
Example Request
curl -X GET 'https://api.remagica.com/api/v1/sprites/characters/8a1d5e3f-2b4c-4d6e-9f07-1a2b3c4d5e6f/takes'
Example Response
{  "takes": [    {      "actionId": "c4f7ff02-5b3d-4f60-8e2a-1d9c6b4f7e05",      "approvedAt": "2026-10-21T12:00:00.000Z",      "approvedByUserId": "b11d81fb-5b3d-4f60-8e2a-1d9c6b4f7e05",      "change": "string",      "clip": {        "cutBy": "key",        "fallback": {          "from": "string",          "reason": "string"        },        "fps": 1,        "frameCount": 1,        "seconds": 5,        "snapped": true      },      "createdAt": "2026-10-21T12:00:00.000Z",      "credits": 12,      "direction": "E",      "failure": "string",      "frames": [        {          "clipIndex": 1,          "editedFromKey": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png",          "gameplay": {            "events": [              "string"            ],            "hit": {              "h": 1,              "w": 1,              "x": 1,              "y": 1,              "damage": 1,              "knockback": {                "x": 1,                "y": 1              },              "on": true            },            "hurt": {              "h": 1,              "w": 1,              "x": 1,              "y": 1            },            "root": 1          },          "holdMs": 1,          "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",          "index": 1,          "isTween": true,          "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png",          "locked": true,          "offsetX": 1,          "offsetY": 1,          "score": 1,          "scoreModel": "string",          "takeId": "2a6faac1-5b3d-4f60-8e2a-1d9c6b4f7e05",          "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png"        }      ],      "generationIds": [        "string"      ],      "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",      "masterVersionId": "371019b7-5b3d-4f60-8e2a-1d9c6b4f7e05",      "model": "google/nano-banana-pro",      "outfitId": "f54469b9-5b3d-4f60-8e2a-1d9c6b4f7e05",      "raw": {        "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png",        "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png"      },      "seed": 1,      "status": "queued",      "step": "string",      "updatedAt": "2026-10-21T12:00:00.000Z"    }  ]}