FAIR Data Model API endpoints
API Endpoints
The following API endpoints are available for managing FAIR Data Models.
By default users with the Data Steward and Administrator roles have permission to manage data models.
| Endpoint | Notes |
GET /datamodels |
Returns all available datamodels for hub |
POST /datamodels |
Posts a new data model |
GET /datamodels/{code} |
Returns data model with given code |
PATCH /datamodels/{code} |
Updates the enabled/disabled status of a data model |
DELETE /datamodels/{code} |
Deletes data model with given code |
GET /datamodels/{code}/audit |
Returns the audit for data model with given code |
GET /datamodels/{code}/validations |
Returns existing valdations for data model with given code |
POST /datamodels/{code}/validations |
Post a new validation for data model with the given code |
GET /datamodels/{code}/validations/{data_model_validation_code} |
Returns the specified validation for the dataset with the given code |
PATCH /datamodels/{code}/validations/{data_model_validation_code} |
Updates the specified validation for the dataset with the given code |
DELETE /datamodels/{code}/validations/{data_model_validation_code} |
Deletes the specified validation for the dataset with the given code |
Updated on May 06, 2026