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.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/workspaces/string/automation-templates/string"{ "data": { "id": "string" }}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}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.