List Regulations based on status

GET {{host}}/{{version}}/{{workspace_name}}/regulations?status=failed&regulation_types=Suppress_With_Delete&regulation_types=Suppress

The list regulations endpoint also takes in a query parameter for status and regulation type using which you can narrow down the regulations which satisfy the query parameters

Request Params

KeyDatatypeRequiredDescription
statusstringstatus filter can be set to failed, finished, running and initialized
regulation_typesstringregulations_types can be specified multiple times as a query parameter with all the regulation types you are interested in.
regulation_typesstring

RESPONSES

status: OK

{"entries":[{"regulate_id":"REDACTED","attributes":{"name":"userId","values":["REDACTED"]},"status":"failed","created_at":"2019-04-26T20:02:55Z","finished_at":"2019-04-28T09:48:52Z"},{"regulate_id":"REDACTED","attributes":{"name":"userId","values":["REDACTED"]},"status":"failed","created_at":"2019-04-26T18:18:46Z","finished_at":"2019-04-28T07:58:51Z"},{"regulate_id":"REDACTED","attributes":{"name":"userId","values":["REDACTED"]},"status":"failed","created_at":"2019-04-26T18:18:46Z","finished_at":"2019-04-28T07:58:51Z"},{"regulate_id":"REDACTED","attributes":{"name":"userId","values":["REDACTED"]},"status":"failed","created_at":"2019-04-26T18:18:46Z","finished_at":"2019-04-28T07:58:51Z"}],"next_page_token":"2019-04-25T23:54:08.149538Z"}