Skip to main content
POST
/
v1
/
ai
/
routines
/
{routineId}
/
trigger
Run AI routine now
curl --request POST \
  --url https://{instance}.omniapp.co/api/v1/ai/routines/{routineId}/trigger \
  --header 'Authorization: Bearer <token>'
{
  "id": "990e8400-e29b-41d4-a716-446655440004"
}

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

id
string<uuid>
required

The UUID of the routine.

Query Parameters

userId
string<uuid>

Requires an Organization API key. Target user membership ID.

Response

The run has started.

id
string<uuid>
required

The ID of the run (scheduled job) that was started.

Example:

"990e8400-e29b-41d4-a716-446655440004"