API referenceLibrary
List labels
GET
Needs a key withlibrary:read
The workspace's asset labels, by name, with how many assets have each.
Requires scope library:read.
apiKeyheader
x-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.
The labels.
application/json- response
labels*array<>curl -X GET 'https://api.remagica.com/api/v1/library/labels'Example Response
{ "labels": [ { "color": "gray", "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "name": "Autumn campaign", "itemCount": 1 } ]}