Retrieve Record Audits endpoint
The Record Audits API offers a Retrieve Record Audits endpoint that returns an iterable page of all record audits in a given timeframe. It’s available to all users with a build entitlement.
See Pagination for details on the page response envelope.
Use cases
Get a Workflow ID
To request all record audits in a workflow, use theworkflow query parameter with that
workflow’s ID. The Workflow ID can be obtained either from the Risk Cloud web app or from the API.
Web app
- Navigate to Build > Applications.
- Search for and open the application containing the workflow.
- Open the edit gear icon (⚙) on the workflow to open the Workflow Editor.
- The Workflow ID is shown under the Workflow ID label in the editor window.
id property of
each workflow object returned in the response’s content array:
Retrieve record audits
Once you have the Workflow ID and a timeframe, request the workflow’s record audits:Response
The response contains all matching record audits, along with contextual information for each audit such as the step, audit type, and user. TheauditType property can be any of the
following values:
CreatedAuditCopiedAuditLinkingAuditLinkedAuditUnlinkedAuditDeletedAuditMovedAuditAssignedAuditSecondaryAssignedAuditSecondaryUnassignedAuditPreservedAuditUnassignedAudit