Conditions
List playbook conditions
Retrieve a paged list of conditions for a playbook.
get/plugins/playbooks/api/v0/playbooks/{id}/conditions
Path parameters
idstring required
Example:iz0g457ikesz55dhxcfa0fk9yy
ID of the playbook to retrieve conditions from.
Query parameters
pageinteger
Zero-based index of the page to request.
per_pageinteger
Number of conditions to return per page.
Response
A paged list of playbook conditions.
Example response
{
"total_count": 10,
"page_count": 1,
"items": [
{
"id": "abc123def456ghi789",
"condition_expr": {
"and": [
{
"is": {
"field_id": "status",
"value": "\"active\""
}
},
{
"or": [
{
"is": {
"field_id": "priority",
"value": "\"high\""
}
},
{
"is": {
"field_id": "priority",
"value": "\"critical\""
}
}
]
}
]
},
"version": 1,
"playbook_id": "iz0g457ikesz55dhxcfa0fk9yy",
"run_id": "mx3xyzdojfgyfdx8sc8of1gdme",
"create_at": 1606807976289,
"update_at": 1606807976289
}
]
}