Get report results - results in file - polling

GET {{apiPath}}/environments/{{envID}}/dataExplorations/{{dataExplorationID}}/

After running the report creation request, poll with GET {{apiPath}}/environments/{{envID}}/dataExplorations/{{dataExplorationID}}/, using the ID that was returned when you created the report, until the status field in the response equals SUCCESS.

When the response contains the status SUCCESS, it will also include a link for downloading a zipped csv file, a link for downloading a zipped JSON file, and a password for opening the zip files. Use this information to download and unzip the report.

The links in the response are only valid for five minutes. If more than five minutes has elapsed from the time of the request that returned the links, get updated links by running the request again.

RESPONSES

status: OK

{"_links":{"self":{"href":"https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/dataExplorations/0fe52654-ff7a-4c90-8d80-1af1a745c097"},"environment":{"href":"https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"dataExplorationTemplate":{"href":"https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/dataExplorationTemplates/db632bfd-7054-4bde-b108-a384aac2d513"}},"id":"0fe52654-ff7a-4c90-8d80-1af1a745c097","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"createdAt":"2023-10-16T11:51:26.000Z","updatedAt":"2023-10-16T11:51:31.600Z","expiresAt":"2023-10-16T12:21:26.000Z","fields":[{"name":"userId"},{"name":"username"},{"name":"phone"},{"name":"deviceStatus"},{"name":"deviceId"}],"filter":"(mfaEnabled eq \"true\")","orderBy":[],"status":"SUCCESS","deliverAs":"ASYNC_FILE","zipPassword":"pezeekamil","csvPresignedUrl":"https://p1-reports-prod-eu-central-1.s3.eu-central-1.amazonaws.com/devices-report-abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6-36533550-b284-4ad5-ae59-0b7cfa73cacb.csv.zip?X-Amz-Security-Token=ATotallyFakeAWSSecurityTokenUnlikelyToBeMistakenFor%2F19c8JNwHWIhwaooowQbyclH8pIdNXR5y9CdPzFgNgkaiKnrBV6t02RZyg7O5%2B8Q8kdhwmeRYE9DL7oi19C4rbFZoUoFD5H5o3aydZyHxXeeZ%2BgPDL4u1KCQace5pb1exUtyEjeU3a9%2Fdaljeqv%2FUZHlXrptn3Qs7dW8dBvEmJdlLpB3bNXv4%2BRxizZa5CN%2Bvh%2FCCFk6EmSBxCh7atTSiJv5pVNe7J0DSfn1YHbMPDoKimfeWqM6avCwoxcK0qQYyLY8hItt5qasdUYqQPSqxb0sXKJJ%2BUYN%2Fr73WRSZiVv45YeG9q3aAz8DIxsLIqQ%3D%3D\u0026X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Date=20231016T115232Z\u0026X-Amz-SignedHeaders=host\u0026X-Amz-Expires=300\u0026X-Amz-Credential=ATotallyFakeAWSToken%2F20231016%2Feu-central-1%2Fs3%2Faws4_request\u0026X-Amz-Signature=0900e76894cb29b67b108ac26dd743c4f79201c141247be721029476e24168e2","jsonPresignedUrl":"https://p1-reports-prod-eu-central-1.s3.eu-central-1.amazonaws.com/devices-report-abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6-36533550-b284-4ad5-ae59-0b7cfa73cacb.json.zip?X-Amz-Security-Token=ATotallyFakeAWSSecurityTokenUnlikelyToBeMistakenFor%2F19c8JNwHWIhwaooowQbyclH8pIdNXR5y9CdPzFgNgkaiKnrBV6t02RZyg7O5%2B8Q8kdhwmeRYE9DL7oi19C4rbFZoUoFD5H5o3aydZyHxXeeZ%2BgPDL4u1KCQace5pb1exUtyEjeU3a9%2Fdaljeqv%2FUZHlXrptn3Qs7dW8dBvEmJdlLpB3bNXv4%2BRxizZa5CN%2Bvh%2FCCFk6EmSBxCh7atTSiJv5pVNe7J0DSfn1YHbMPDoKimfeWqM6avCwoxcK0qQYyLY8hItt5qasdUYqQPSqxb0sXKJJ%2BUYN%2Fr73WRSZiVv45YeG9q3aAz8DIxsLIqQ%3D%3D\u0026X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Date=20231016T115232Z\u0026X-Amz-SignedHeaders=host\u0026X-Amz-Expires=300\u0026X-Amz-Credential=ATotallyFakeAWSToken%2F20231016%2Feu-central-1%2Fs3%2Faws4_request\u0026X-Amz-Signature=88b894f1889511fa9b0aa81d684ad4f0a6803d7c4f6a6b68e27b9d874598fe10","sync":false,"dataExplorationTemplate":{"id":"db632bfd-7054-4bde-b108-a384aac2d513","name":"Devices report"}}