Get policy status

GET {{base_url}}/api/policy_management/v4/applications

Request Params

KeyDatatypeRequiredDescription
policy_idstring
policy_typestring
execution_statestring
deployment_statesstring
statusstring
include_multiple_applications_conflictboolean
include_validation_issuesboolean
include_deployment_errorsboolean
include_running_blockersboolean
include_status_eventsboolean
include_propagatedboolean
include_aggregateboolean

RESPONSES

status: OK

{"items":[[{"id":"819a0ec2-9e00-4bf5-8b57-2de655be8f7e","created_at":"2021-04-05T10:38:06.27671437Z","updated_at":"2021-04-05T10:38:06.276747077Z","deleted_at":null,"enabled":true,"deployment":{"state":"deployed"},"running":{"state":"idle"},"status":"ok","agent_id":"b757f01e-0b14-4788-b9a0-2671469517d7","context":{"id":"0817bef5-05ae-4f1f-9b31-1c092f11c12b","type":"resource.machine"},"policy":{"id":"db3c2143-22de-4c5d-86b8-c9b38dcd5aa4","type":"policy.protection.total","name":"Protection Automation Training Test Plan"},"tenant_id":"1952007","context_tenant_id":"1952010","origin_contexts":["0817bef5-05ae-4f1f-9b31-1c092f11c12b"]}]],"paging":{"cursors":{"total":1}},"_links":[{"rel":"self","href":"/api/policy_management/v4/applications"}]}