Hierarchy
Every object in the Risk Cloud API belongs to a five-level hierarchy:- Application — a collection of Workflows, Steps, and logic that together solve a business use case.
- Workflow — a combination of Steps, Paths, Fields, and routing logic that forms a system inside an Application.
- Step — lives in a Workflow and is configured with Sections, Subsections, and Fields to form a page.
- Field — the template used to capture or display information. Has a
type(e.g.SELECT,NUMBER,DATE) and may defineoptionValues. - Record — a form that captures information and moves through the Steps of a Workflow. Its
fieldsarray holds the captured values.
Parent references in responses
Every response carries pointers to its parents and anobject discriminator, so you can read the
parent chain directly without extra requests.
- Application has no parent.
- Workflow has an
applicationId. - Step has an embedded
workflowreference. - Field has embedded
applicationandworkflowreferences — bothnullwhenglobalistrue. - Record has embedded
application,workflow,currentStep, andoriginStepreferences.
Listing children by parent ID
Every list endpoint at a child level accepts the parent’s ID as a query parameter. Workflows in an Applicationtype of ORIGIN, CHAIN, or END. Records of a Workflow are created on the
ORIGIN Step; Records reaching an END Step are considered complete.
Fields in an Application, Workflow, or Step
field-type— repeatable, restricts to specific types such asSELECTorDATE.scope— one ofALL(default),GLOBAL, orWORKFLOW. Global Fields aren’t bound to a Workflow.
updated-min accepts a Unix epoch timestamp in milliseconds; the response includes only Records
modified at or after that time. This is the basis for incremental sync.
Reading a Record’s parents
application—id,name,object: "application".workflow—id,name,recordPrefix,object: "workflow".currentStep—id,name,type,object: "step".originStep— the Step where the Record was created.fields— the Record’s captured field values.
Field definition vs. Field on a Record
- A Field definition (from
/api/v2/fields) describes the Field’stype,label,helpText, allowedoptionValues, and whether it’srequired, plusapplication/workflowparent references. - A Field on a Record (inside a Record’s
fieldsarray) carries the sameid,name,label, andtypeas the underlying definition, plus avaluesarray with what was captured.
textValue and a numericValue — read the one that matches the
field’s valueType:
Linked Records
Records relate to other Records through Workflow Maps:workflow-id is required and specifies which target Workflow’s Records to return. depth
(default 10) bounds how many relationship hops the response covers — this is the API equivalent
of a Relationship Report.
Pagination
All v2 list endpoints use the same two query parameters — see the Pagination guide for the full contract:page— zero-indexed, defaults to0.size— defaults to20, minimum1.
content— the array of items.page— metadata for the current page, including total pages and total elements.links— pre-built URLs forfirst,prev,next,last. Followinglinks.nextuntil it’s absent is a safe way to iterate without computing page numbers.
Top-down traversal
A full top-down sync iterates each level of the hierarchy:updated-min set to the latest updated timestamp from the previous run.