Get an AI Routine
Changed onRetrieve details for a specific AI Routine by ID, including its persisted condition query and the status of its most recent completed run.
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/ai/routines/{routineId}
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
The UUID of the routine.
Query parameters
Organization API key required. The membership ID of the user to act as.
Response
Routine details
Example response
{
"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
added the new path request parameter
routineId - breaking
added to the
response propertyoneOflist for the response status - warning
deleted the
pathrequest parameterid - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added
emailslackwebhookdiscriminator mapping keys to theresponse 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 - 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 - info
added the required property
to the response with the status
- breaking