remagicaDocs home
API referenceSprites

List master candidates

GET
/sprites/characters/{characterId}/masters/candidates

Needs a key withsprites:read

A character's master candidates, newest request first, each with its files (short-lived download URLs), what it measures, or why it failed.

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

Response Body

The candidates.

application/json
  1. response
candidates*array<>
Example Request
curl -X GET 'https://api.remagica.com/api/v1/sprites/characters/8a1d5e3f-2b4c-4d6e-9f07-1a2b3c4d5e6f/masters/candidates'
Example Response
{  "candidates": [    {      "canvasPx": 1,      "createdAt": "string",      "files": {        "canvas": {          "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png",          "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png"        },        "large": {          "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png",          "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png"        }      },      "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",      "index": 1,      "issues": [        "string"      ],      "largePx": 1,      "measurements": {        "feetRow": 1,        "heightPx": 1,        "palette": [          "string"        ],        "widthPx": 1      },      "model": "google/nano-banana-pro",      "pickedVersionId": "5372dc4a-5b3d-4f60-8e2a-1d9c6b4f7e05",      "prompt": "A lighthouse on a cliff at dusk, cinematic",      "requestId": "2163759e-5b3d-4f60-8e2a-1d9c6b4f7e05",      "status": "failed"    }  ]}