Skip to navigation

Run flow on records of a type

Execute a flow against every record of the given type. Small batches (≤10) execute immediately and return 200; larger batches return 202 with a scheduled batchId.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Request

This endpoint expects an object.
recordTypestringRequired>=1 character

Response

Batch executed immediately
batchIdstring
completedAtstring
executedImmediatelyboolean
failureCountinteger
flowIdstring
recordCountinteger
recordTypestring
resultslist of objects
statusenum
Allowed values:
successboolean
successCountinteger

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error