Skip to main content
POST
Create a routine run
Create a routine run through the authenticated API. The endpoint creates and returns a Routine run object immediately while routine execution continues asynchronously. Use an Idempotency-Key header when retrying create-run requests. See Idempotency.

Parameters

string
required
ID of the routine.
string
Initial context for this run, such as an HRIS event payload, an alert body, or a log line. The value is freeform text and is not parsed; if you send JSON or another structured payload, the routine receives it as a literal string. Passed to the agent alongside the routine’s instructions. Maximum 65,536 characters.

Returns

Returns a Routine run object.