Skip to content

API reference

Base URL: https://api.galleyrender.com. Every endpoint below takes an API key in Authorization: Bearer glr_sk_… (or X-API-Key), returns JSON, and answers errors in one envelope.

The machine-readable description of everything on this page is at https://api.galleyrender.com/openapi.json — see OpenAPI.

EndpointWhat it does
POST /v1/renderTemplate + data → a signed URL. The one most integrations need.
POST /v1/render/batchUp to 50 renders in one call, with per-item errors.
GET /v1/renders/:idStatus, and a freshly signed URL.
GET /v1/rendersRecent renders, newest first.
EndpointWhat it does
GET /v1/templatesTemplates on the account, with their latest version.
GET /v1/templates/:refOne version: schema, options, example, source.
POST /v1/templatesCreate a template at version 1.
POST /v1/templates/:name/versionsPublish a new immutable version.
GET /v1/templates/:name/versionsEvery published version.
POST /v1/templates/:ref/validateDry-run a payload. Free, renders nothing.
DELETE /v1/templates/:nameSoft delete. Existing renders keep working.
EndpointWhat it does
GET /v1/usagePeriod usage, cost, free-tier balance, spend cap, trial balance.
GET /v1/accountThe account behind the key, and the webhook signing secret (shown once).
POST /v1/account/webhook-secretRotate the webhook signing secret.
GET /healthzLiveness and a dependency probe. Never authenticated.

/v1/internal/* is a service-to-service surface behind a shared secret, used by the MCP server to mint trial accounts and issue keys. It is not part of the public API and is not described in the OpenAPI document.