Run a validation session using the API
- Last UpdatedJun 17, 2026
- 2 minute read
Data validation works on the simple principal - structure data to test its validity against a set of rules.
Step-by-Step: Running a Validation Session
These are the high level steps, or order of operation, to configure and run a validation session. Description of a transient operation can be found in the Appendix.

A Validation Operation for a Session
-
Obtain the Access Token The Client ID and Client secret are created by an admin. Contact the admin for this information.
-
Upload the Class Library
-
Review or query existing class libraries to understand what is available.
-
Upload your class library XML file to the cloud.
-
Once uploaded, the system generates a handle—the primary key for the class library.
-
-
Upload the Dataset
-
Upload the dataset file.
-
This dataset will later be validated against the rules defined in the class library.
-
-
Insert File Mapping
-
Map your data by connecting:
-
The class library ID handle to the dataset ID handle
-
Which tells the system which dataset should be validated against which class library.
-
-
Run Consistency Status Check
-
Execute the GetConsistencyStatus operation.
-
This check identifies any inconsistencies between the dataset and the class library.
-
If issues appear, fix them—or explicitly ignore them—before continuing.
-
-
Insert a Session
-
Create a new validation session by defining:
-
The class library ID
-
The dataset ID
-
A session name
-
The vocabulary to use
-
-
A new session handle is generated.Note: In the UI, there is an extra step for assigning policies and linking activities to rules, but this is not part of the API workflow.
-
-
Start the Session
-
Provide the session ID to start the validation run.
-
-
Check Session Status
-
Monitor the status of the running session until it completes.
-
-
View Validation Results
-
Once complete, retrieve the output for both:
-
Object-level issues
-
Attribute-level issues
These results identify specific validation problems in the data.
-
-