templates.json: choose a template without parsing HTML

An agent that makes a forge for a client reads GET /templates.json. It lists the same templates as /templates, in the same order and with the same words. Each entry is {id, name, description, starts, lastChange}. starts is how many forges were started from it. lastChange is when the newest of those began (ISO 8601, UTC), or null when no start has a date (never started, or its records carry none). Descriptions are plain text.

It is public by the page's rule: a signed-out reader sees the built-in templates and the public template repositories, and a signed-in reader also sees the ones they can read. ?q= filters by name or description, as on the page. A signed-out answer is cached like the page. Pass the id as template when starting a forge.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs