Delete a saved automation template
Deletes one of the workspace's own automation templates. Requires the `automations:write` permission; the built-in templates are not workspace rows and cannot be deleted, and an unknown template id is rejected with a validation error. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.
apiKeyAuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
workspaceId*stringtemplateId*stringSuccess
application/json- response
data*curl -X DELETE 'https://api.snoze.dev/v1/workspaces/string/automation-templates/string'{ "data": { "id": "string" }}Save an automation version as a reusable template
Stores the trigger and graph of an automation version as a workspace template under the given name, description, and category. Requires the `automations:write` permission plus view access to the source automation; an automation with no version, an unknown `versionId`, a blank name, or a graph that no longer compiles is rejected with a validation error. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.
Read automation queue and worker health
Returns aggregate operational counters for the workspace's automation engine: queued, running, waiting and dead jobs, recent retries, trigger delivery and run activity over the last day, and whether workers have checked in recently. Requires the `automations:read` permission in the workspace.