Skip to main content
GET
List all four automation templates with tenant state folded in
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

GET /ai/automations Template-first: all four templates are always returned, with the tenant’s tenant_automations row folded in where one exists — a tenant that has never enabled anything still gets the full strip. Each item’s last_run is reconciled against the Mastra snapshot in one bulk pass, not per row. Authorization: any authenticated tenant member.

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Response

Automations retrieved

status
string
Example:

"success"

message
string
data
object