List Templates
Browse the public template gallery across all workspaces.
Returns only templates that have an active published snapshot (is_public=true,
published_definition set, not unpublished). Results come from any workspace —
the gallery is intentionally cross-workspace so callers can discover shared
starting points regardless of their own workspace membership.
Does not require X-Workspace-Id, so callers without a workspace (e.g. during
onboarding) can still browse. The response reflects the published snapshot for
each row, not any unpublished draft edits.
Dual-auth: Bearer JWT or API key (scope templates:read).
Authentication
Onepin live API key (op_live_...). Test and public keys are reserved in Phase 1.
Query parameters
Filter by category. Repeat the parameter for OR logic, e.g. ?category=media&category=creative.
Full-text search over template name and description.
Sort order: recent (last published), popular (most cloned), or name (alphabetical).
Zero-based offset for page navigation.
Maximum number of templates to return (1–100).

