Actions API

List automations and their run history, and trigger runs, under /api/actions.

The actions endpoints expose the trigger→effect automations configured in your org and their run history. Listing needs the read scope; triggering a run needs write.

#List actions

GET /api/actions — return the actions the service account can read.

#List action runs

GET /api/actions/{actionId}/runs — return the run history for an action, newest first, including each run's status.

#Trigger a run

POST /api/actions/{actionId}/runs — trigger the action. Requires the write scope. Returns 202 with the accepted run.

curl -X POST https://flax-analytics.com/api/actions/act_123/runs \
  -H "Authorization: Bearer flax_pat_..."