List AI Routines
Changed onList AI Routines for the calling user, newest first. Includes routines paused by the owner or disabled by Omni, but excludes deleted routines.
Use pageInfo.nextCursor from one response as the cursor query parameter on the next request.
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/ai/routines
- Auth
- HTTP bearer
- or HTTP bearer
Query parameters
Cursor for pagination from previous response nextCursor.
Number of results per page
Direction for sorting results:
- asc - Ascending order (A-Z, 0-9)
- desc - Descending order (Z-A, 9-0)
Field to sort results by
Organization API key required. The membership ID of the user to act as.
Response
List of AI Routines
Example response
{
"records": [
{
"condition": {
"conditionPrompt": "there are failed orders",
"conditionType": "RESULTS_PRESENT"
},
"destination": {
"recipientEmails": [
"blob.ross@blobsrus.com",
"blob.the.builder@blobsrus.com"
],
"type": "email",
"userGroupIds": [
"X9kQ2mPz"
]
},
"lastRun": {
"label": "Delivered",
"state": "COMPLETE"
}
}
]
}Changes
- breaking
for the
queryrequest parametersortDirection, default valuedescwas removed - breaking
added to the
//response propertyoneOflist for the response status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
aiRoutinesListremoved and replaced withroutinesList - info
added
emailslackwebhookdiscriminator mapping keys to the//response property for the response status - info
removed from the
//response propertyoneOflist for the response status - info
added the required property
to the response with the status - info
added the required property
//to the response with the status - info
added the required property
to the response with the status
- breaking