curl --request POST \
--url https://api.siftstack.com/api/v1/rules/evaluate-rules:preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"run": {
"id": "<string>",
"clientKey": "<string>"
},
"runTimeRange": {
"run": {
"id": "<string>",
"clientKey": "<string>"
},
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z"
},
"organizationId": "<string>"
}
'{
"createdAnnotationCount": 123,
"dryRunAnnotations": [
{
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"conditionId": "<string>",
"name": "<string>",
"conditionVersionId": "<string>"
}
]
}Perform a dry run evaluation for existing rules or rule configurations against a run and return the annotations that would be generated.
curl --request POST \
--url https://api.siftstack.com/api/v1/rules/evaluate-rules:preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"run": {
"id": "<string>",
"clientKey": "<string>"
},
"runTimeRange": {
"run": {
"id": "<string>",
"clientKey": "<string>"
},
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z"
},
"organizationId": "<string>"
}
'{
"createdAnnotationCount": 123,
"dryRunAnnotations": [
{
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"conditionId": "<string>",
"name": "<string>",
"conditionVersionId": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.siftstack.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?