Read Recent Decisions
GET {{apiPath}}/environments/{{envID}}/decisionEndpoints/{{decisionEndpointID}}/recentDecisions
The GET /environments/{{envID}}/decisionEndpoints/{{decisionEndpointID}}/recentDecisions
operation returns recent decision information for the decision endpoint resource identified by its ID in the request URL. This operation accepts the limit
parameter to specify the maximum number of items to retrieve.
Query parameter | Description |
---|---|
limit | Sets the number of records returned per page. |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | number | Sets the number of records returned per page. |
RESPONSES
status: OK
{"_links":{"self":{"href":"https://api.p1.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/decisionEndpoints/1fa852c1-f304-40b2-96ff-98832678c0d8/recentDecisions"},"next":{"href":"https://api.p1.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/decisionEndpoints/1fa852c1-f304-40b2-96ff-98832678c0d8/recentDecisions?cursor=dde8eca6-0c9d-43b8-ba2b-852446b75096\u0026limit=20"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}},"_embedded":{"recentDecisions":[{"_links":{"decisionEndpoint":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/decisionEndpoints/86d25ae3-0941-486d-b90a-9bb971c7b80f"},"environment":{"href":"https://api.p1.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}},"id":"dde8eca6-0c9d-43b8-ba2b-852446b75096","decisionResponse":{"id":"dde8eca6-0c9d-43b8-ba2b-852446b75096","elapsedTime":0,"decision":"DENY","authorised":false,"statements":[]},"decisionEndpointId":"1fa852c1-f304-40b2-96ff-98832678c0d8","environmentId":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6","requestedAt":"2021-04-06T10:41:42"}]},"count":100,"size":1}