API referenceLibrary
List filter choices
GET
Needs a key withlibrary:read
The models and projects your assets came from: the choices of the Assets page's filters.
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 filter choices.
application/json- response
models*array<>projects*array<>curl -X GET 'https://api.remagica.com/api/v1/library/facets'Example Response
{ "models": [ { "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "name": "Autumn campaign" } ], "projects": [ { "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "name": "Autumn campaign" } ]}