Skip to main content
GET
List automation runs for the tenant
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

GET /ai/automations/runs?status=&templateId=&limit=&offset= Reconciled against the Mastra snapshot in one bulk pass (not N+1). status accepts a single value or a comma-separated list. Authorization: any authenticated tenant member.

Code Examples

Authorizations

Authorization
string
header
required

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

Query Parameters

status
string

One status, or a comma-separated list (e.g. awaiting_approval,awaiting_input).

templateId
string
limit
integer
default:25
Required range: x <= 100
offset
integer
default:0

Response

Automation runs retrieved

status
string
Example:

"success"

message
string
data
object