Templates API

The Templates API manages reusable route templates. Templates define a sequence of process steps that can be applied to jobs to create paths. When applied, templates are deep-cloned to preserve template independence.

Endpoints

MethodPathDescription
GET/api/templatesList all templates
GET/api/templates/:idGet template by ID
POST/api/templatesCreate a template
PUT/api/templates/:idUpdate a template
DELETE/api/templates/:idDelete a template
POST/api/templates/:id/applyApply template to a job