V1 / Shaders / Index

List shaders

List the current space's shaders. Pass ?public=true to list published shaders anonymously. Program source is omitted from the listing — fetch a single shader to obtain it.

GET/api/v1/shaders/index

Query / Path parameters

NameInRequiredDescription
pagequeryNoPage number (default 1)
perPagequeryNoItems per page (default 50)
statusqueryNoapproved | quarantined | revoked
publicqueryNo"true" to list public shaders without auth

Responses

200

JSON { list, count, pagesCount }

401

Not logged in (when public is not set)

Request
curl -X GET "http://localhost:3000/api/v1/shaders/index" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
Response
// JSON { list, count, pagesCount }
{
  "success": true,
  "data": { ... }
}

Scale your creative process