Datasets
Soda Cloud API Dataset Endpoints
This endpoint enables you to gather information about the datasets that in exist in your organization's Soda Cloud account, including information about the Soda Cloud resources with which it is associated, such as data source, incidents, attributes and health status.
This GET is a paginated API that uses the following parameters to request specific details:
size: Supply an integer value between 10 and 1000, inclusive. The default value is 10.page: Supply an integer value. The default value is 0.from: Optionally, use this parameter to collect only the information for datasets that have been updated after a particular point in time. Supply an ISO8601 timestamp value. Example:2023-12-31T10:15:30+01:00datasourceName: Optionally, use this parameter to collect only the information for datasets associated with a specific datasource.search: Optionally, use this parameter to perform a fuzzy search on the dataset name.hasContract: Optionally, use this parameter to collect only the datasets that have a published contract (true) or only the datasets without one (false).ownerId: Optionally, use this parameter to collect only the information for datasets owned by one user or one user group. Supply a single id: either a user id or a user group id, as returned in theownerslist of this endpoint. A user id also matches the datasets owned by a user group that the user belongs to.version: Optionally, use this parameter to collect only the datasets on a given Soda version,3or4. This is the dataset's own version, as returned in theversionfield of this endpoint.migratedToDatasetId: Optionally, use this parameter to collect only the v3 datasets that were migrated to the given v4 dataset id, as returned in themigratedToDatasetIdfield of this endpoint.migratedFromDatasetId: Optionally, use this parameter to collect only the v4 dataset that was migrated from the given v3 dataset id, as returned in themigratedFromDatasetIdfield of this endpoint.migrated: Optionally, use this parameter to collect only the datasets with amigratedToDatasetIdor amigratedFromDatasetId(true) or only the datasets without one (false). Combine it withversionto find the migrated v4 datasets (version=4) or their v3 source datasets (version=3).
If not specified, the query gathers information for all datasets in the account and sorts the results first by datasource name and then by dataset name in ascending order.
Authorization
Soda only returns the datasets to which the user has View dataset permissions. Soda Cloud Admins have access to all datasets.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
30 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/datasets HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"content": [
{
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"checks": 1,
"checksEvaluationStatus": "pass",
"cloudUrl": "text",
"contractId": "text",
"dataDelaySeconds": 1,
"datasetQualifiedName": "text",
"datasource": {
"label": "text",
"name": "text",
"prefix": "text",
"type": "text",
"version": "3"
},
"hasContract": true,
"id": "text",
"incidents": 1,
"label": "text",
"lastUpdated": "2026-01-01T00:00:00.000Z",
"migratedFromDatasetId": "text",
"migratedToDatasetId": "text",
"name": "text",
"owners": [
{
"type": "user",
"user": {
"email": "text",
"firstName": "text",
"fullName": "text",
"lastName": "text",
"userId": "text"
},
"userGroup": {
"label": "text",
"name": "text",
"userGroupId": "text"
}
}
],
"passingChecksPercentage": 1,
"qualifiedName": "text",
"tags": [
"text"
],
"timePartition": {
"partitionColumn": {
"columnType": "unknown",
"name": "text"
},
"sqlExpression": "text",
"timePartitionType": "disabled"
},
"version": "3"
}
],
"first": true,
"last": true,
"number": 1,
"size": 1,
"totalElements": 1,
"totalPages": 1
}Get the metric monitoring configuration of several datasets
Returns the dataset-level metric monitoring configuration of every requested dataset in a single call, so you do not have to call Get dataset metric monitoring configuration information once per dataset.
Provide datasetIds (list of UUIDs) and/or datasetQualifiedNames (list of qualified names, for example my_datasource/my_schema/my_table). Both lists are additive, each accepts at most 100 entries, and at least one must be non-empty. A dataset that does not exist makes the whole request fail with a 404.
Column and custom SQL monitors are not included. Use Get dataset metric monitoring configuration information for those.
Authorization
Only users with View dataset permission on every requested dataset can read their metric monitoring configuration. Soda Cloud Admins have access to all datasets.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
100 requests/60 seconds
Ids of the datasets to read. Additive with datasetQualifiedNames.
Qualified names of the datasets to read, for example my_datasource/my_schema/my_table. Additive with datasetIds.
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/datasets/actions/listMetricMonitoring HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"datasetIds": [
"text"
],
"datasetQualifiedNames": [
"text"
]
}{
"datasets": [
{
"datasetId": "text",
"datasetMetricMonitorsConfiguration": [
{
"configuration": {
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"metricType": "rowCount"
}
],
"datasetQualifiedName": "text",
"enabled": true,
"historicalMetricCollectionScanStartDate": "2026-01-01T00:00:00.000Z",
"scanSchedule": {
"cronExpression": "text",
"timezone": "text"
},
"timePartition": {
"partitionColumn": {
"columnType": "unknown",
"name": "text"
},
"sqlExpression": "text",
"timePartitionType": "disabled"
}
}
]
}Applies one metric monitoring configuration to every selected dataset. The update runs asynchronously.
Provide datasetIds (list of UUIDs) and/or datasetQualifiedNames (list of qualified names, for example my_datasource/my_schema/my_table). Both lists are additive, each accepts at most 100 entries, and at least one must be non-empty. A dataset that does not exist makes the whole request fail with a 404.
The metricMonitoring block is the same one accepted by Update a dataset, so it applies to the dataset-level monitors, the scan schedule and the historical metric collection start date only. Column and custom SQL monitors keep their own per-dataset endpoints.
Datasets you cannot configure, datasets that are not onboarded, and datasets whose data source is not connected to a Soda Runner or does not support metric monitoring are skipped rather than rejected: the configuration is applied to the remaining datasets and the status endpoint reports the outcome of each one.
Returns 202 Accepted with a Location header pointing to the status endpoint.
Authorization
Only users with Configure dataset permission on a dataset can change its metric monitoring configuration; datasets without that permission are reported as skipped.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
10 requests/60 seconds
Ids of the datasets to configure. Additive with datasetQualifiedNames.
Qualified names of the datasets to configure, for example my_datasource/my_schema/my_table. Additive with datasetIds.
Accepted
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/datasets/actions/updateMetricMonitoring HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 538
{
"datasetIds": [
"text"
],
"datasetQualifiedNames": [
"text"
],
"metricMonitoring": {
"datasetMetricMonitorsConfiguration": [
{
"configuration": {
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"metricType": "rowCount"
}
],
"enabled": true,
"historicalMetricCollectionScanStartDate": "2026-01-01T00:00:00.000Z",
"scanSchedule": {
"cronExpression": "text",
"timezone": "text"
}
}
}No content
Get the status of a bulk metric monitoring configuration update
Returns the status of an operation triggered via the Configure metric monitoring on several datasets endpoint.
The operationId is the last path segment of the Location header returned by that endpoint.
While the operation is still running, only the operation state is returned (datasets is null). Once it has finished, datasets reports one outcome per selected dataset: applied, skipped (with the reason it was ruled out) or failed.
Authorization
Any authenticated Soda Cloud user in your organization may poll the status of an operation. datasets only lists the datasets you have View dataset permission on, so it can report fewer datasets than the operation was started with.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/datasets/actions/updateMetricMonitoring/{operationId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"datasets": [
{
"datasetId": "text",
"datasetQualifiedName": "text",
"reason": "text",
"status": "applied"
}
],
"ended": "2026-01-01T00:00:00.000Z",
"operationId": "text",
"started": "2026-01-01T00:00:00.000Z",
"state": "queued"
}This endpoint enables you to retrieve a single dataset by its qualified name (contractIdentifier) from your organization's Soda Cloud account.
Authorization
Only users with View dataset permission can view a dataset. Soda Cloud Admins have permission to view any dataset. See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
1000 requests/60 seconds
Successful response
Number of active checks on the dataset. Zero means the dataset is not covered by any check; checksEvaluationStatus and passingChecksPercentage are then null, while the deprecated dataQualityStatus and healthStatus still report pass and 100.
Worst last result across the dataset's active checks: fail if any check failed, warn if any check warned, pass if at least one check passed and none failed or warned. Null when the dataset has no active checks or none of them has a result yet.
Deprecated: use checksEvaluationStatus instead. Same value, but a dataset with no active checks, or whose checks have never run, reads as pass here instead of null.
Deprecated: use passingChecksPercentage instead. Same value, but a dataset with no active checks reads as 100 here instead of null.
Id of the v3 dataset this v4 dataset was migrated from. Null for a dataset that was not migrated, and once that v3 dataset is deleted.
Id of the v4 dataset this v3 dataset was migrated to. Null until the migration completes, and again once that v4 dataset is deleted.
Percentage of the dataset's active checks whose last result passed, from 0 to 100. Null when the dataset has no active checks.
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/datasets/byDatasetQualifiedName/{datasetQualifiedName} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"checks": 1,
"checksEvaluationStatus": "pass",
"cloudUrl": "text",
"contractId": "text",
"dataDelaySeconds": 1,
"datasetQualifiedName": "text",
"datasource": {
"label": "text",
"name": "text",
"prefix": "text",
"type": "text",
"version": "3"
},
"hasContract": true,
"id": "text",
"incidents": 1,
"label": "text",
"lastUpdated": "2026-01-01T00:00:00.000Z",
"migratedFromDatasetId": "text",
"migratedToDatasetId": "text",
"name": "text",
"owners": [
{
"type": "user",
"user": {
"email": "text",
"firstName": "text",
"fullName": "text",
"lastName": "text",
"userId": "text"
},
"userGroup": {
"label": "text",
"name": "text",
"userGroupId": "text"
}
}
],
"passingChecksPercentage": 1,
"qualifiedName": "text",
"tags": [
"text"
],
"timePartition": {
"partitionColumn": {
"columnType": "unknown",
"name": "text"
},
"sqlExpression": "text",
"timePartitionType": "disabled"
},
"version": "3"
}This endpoint returns the organization-wide defaults that Soda applies to every newly created dataset: the dataset role granted to the dataset owner, and the users and user groups that are assigned a dataset role automatically.
Assignments whose role has since been deleted are left out, because they no longer grant anything.
Authorization
Only users with the Manage organization settings permission can read the default dataset responsibilities.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.
Tags
Datasets
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Too many requests
Internal server error
GET /api/v1/datasets/defaultResponsibilities HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"assignments": [
{
"role": {
"configureDataset": true,
"createCheckProposals": true,
"deleteDataset": true,
"id": "text",
"manageChecks": true,
"manageContracts": true,
"manageIncidents": true,
"managePermissions": true,
"name": "text",
"viewFailedRows": true,
"viewProfilingAndSamples": true
},
"type": "user",
"userGroupId": "text",
"userId": "text"
}
],
"defaultOwnerRole": {
"configureDataset": true,
"createCheckProposals": true,
"deleteDataset": true,
"id": "text",
"manageChecks": true,
"manageContracts": true,
"manageIncidents": true,
"managePermissions": true,
"name": "text",
"viewFailedRows": true,
"viewProfilingAndSamples": true
}
}This endpoint updates the organization-wide defaults that Soda applies to every newly created dataset.
Note: assignments fully replaces the current list, so send every assignment you want to keep. Leave it out to keep the list that is configured now, or send an empty list to remove every assignment. Leaving out defaultOwnerRoleId keeps the role that is configured now; changing it also repoints the owner permissions Soda manages on the datasets that already exist.
Existing datasets keep the responsibilities they already have, apart from that owner role.
Authorization
Only users with the Manage organization settings permission can update the default dataset responsibilities.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.
Tags
Datasets
Rate limiting
60 requests/60 seconds
Id of the dataset role to grant to the owner of a newly created dataset. Leave it out to keep the role that is configured now.
Successful response
Bad request
Unauthorized
Forbidden
Too many requests
Internal server error
POST /api/v1/datasets/defaultResponsibilities HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 114
{
"assignments": [
{
"roleId": "text",
"type": "user",
"userGroupId": "text",
"userId": "text"
}
],
"defaultOwnerRoleId": "text"
}{
"assignments": [
{
"role": {
"configureDataset": true,
"createCheckProposals": true,
"deleteDataset": true,
"id": "text",
"manageChecks": true,
"manageContracts": true,
"manageIncidents": true,
"managePermissions": true,
"name": "text",
"viewFailedRows": true,
"viewProfilingAndSamples": true
},
"type": "user",
"userGroupId": "text",
"userId": "text"
}
],
"defaultOwnerRole": {
"configureDataset": true,
"createCheckProposals": true,
"deleteDataset": true,
"id": "text",
"manageChecks": true,
"manageContracts": true,
"manageIncidents": true,
"managePermissions": true,
"name": "text",
"viewFailedRows": true,
"viewProfilingAndSamples": true
}
}This endpoint enables you to gather information about the dataset roles available in your organization's Soda Cloud account. Use the dataset roles to manage access to individual datasets.
This GET is a paginated API that uses the following parameters to request specific details:
size: Supply an integer value between 10 and 100, inclusive. The default value is 100.page: Supply an integer value. The default value is 0.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Any Soda Cloud user in your organization may execute this query.
Tags
Datasets
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/datasets/roles HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"content": [
{
"configureDataset": true,
"createCheckProposals": true,
"deleteDataset": true,
"id": "text",
"manageChecks": true,
"manageContracts": true,
"manageIncidents": true,
"managePermissions": true,
"name": "text",
"viewFailedRows": true,
"viewProfilingAndSamples": true
}
],
"first": true,
"last": true,
"number": 1,
"size": 1,
"totalElements": 1,
"totalPages": 1
}This endpoint allows you to create a new custom dataset role in your organization's Soda Cloud account. Dataset roles define a named set of permissions that control what actions users can perform on individual datasets, such as managing checks, viewing profiling data, configuring the dataset, or managing incidents.
Once created, the role can be assigned to users or user groups via the dataset responsibilities endpoints.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.
Tags
Datasets
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Too many requests
Internal server error
POST /api/v1/datasets/roles HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 232
{
"configureDataset": true,
"createCheckProposals": true,
"deleteDataset": true,
"manageChecks": true,
"manageContracts": true,
"manageIncidents": true,
"managePermissions": true,
"name": "text",
"viewFailedRows": true,
"viewProfilingAndSamples": true
}{
"datasetRole": {
"configureDataset": true,
"createCheckProposals": true,
"deleteDataset": true,
"id": "text",
"manageChecks": true,
"manageContracts": true,
"manageIncidents": true,
"managePermissions": true,
"name": "text",
"viewFailedRows": true,
"viewProfilingAndSamples": true
}
}This endpoint allows you to update the name or permissions of an existing custom dataset role. Dataset roles define a named set of permissions that control what actions users can perform on individual datasets, such as managing checks, viewing profiling data, configuring the dataset, or managing incidents.
Changes apply immediately to all users and user groups assigned this role.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.
Tags
Datasets
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/datasets/roles/{roleId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 232
{
"configureDataset": true,
"createCheckProposals": true,
"deleteDataset": true,
"manageChecks": true,
"manageContracts": true,
"manageIncidents": true,
"managePermissions": true,
"name": "text",
"viewFailedRows": true,
"viewProfilingAndSamples": true
}{
"datasetRole": {
"configureDataset": true,
"createCheckProposals": true,
"deleteDataset": true,
"id": "text",
"manageChecks": true,
"manageContracts": true,
"manageIncidents": true,
"managePermissions": true,
"name": "text",
"viewFailedRows": true,
"viewProfilingAndSamples": true
}
}This endpoint allows you to delete a custom dataset role from your organization's Soda Cloud account. Dataset roles define a named set of permissions that control what actions users can perform on individual datasets, such as managing checks, viewing profiling data, configuring the dataset, or managing incidents.
Deletion is performed asynchronously and may take some time to complete.
Deletion will fail if the role is still assigned to any dataset permissions or used in responsibility settings.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have global role permission MANAGE_ORGANISATION_SETTINGS to execute this call.
Tags
Datasets
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
DELETE /api/v1/datasets/roles/{roleId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"message": "text"
}This endpoint enables you to retrieve a single dataset by its ID from your organization's Soda Cloud account.
Authorization
Only users with View dataset permission can view a dataset. Soda Cloud Admins have permission to view any dataset. See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
1000 requests/60 seconds
Successful response
Number of active checks on the dataset. Zero means the dataset is not covered by any check; checksEvaluationStatus and passingChecksPercentage are then null, while the deprecated dataQualityStatus and healthStatus still report pass and 100.
Worst last result across the dataset's active checks: fail if any check failed, warn if any check warned, pass if at least one check passed and none failed or warned. Null when the dataset has no active checks or none of them has a result yet.
Deprecated: use checksEvaluationStatus instead. Same value, but a dataset with no active checks, or whose checks have never run, reads as pass here instead of null.
Deprecated: use passingChecksPercentage instead. Same value, but a dataset with no active checks reads as 100 here instead of null.
Id of the v3 dataset this v4 dataset was migrated from. Null for a dataset that was not migrated, and once that v3 dataset is deleted.
Id of the v4 dataset this v3 dataset was migrated to. Null until the migration completes, and again once that v4 dataset is deleted.
Percentage of the dataset's active checks whose last result passed, from 0 to 100. Null when the dataset has no active checks.
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/datasets/{datasetId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"checks": 1,
"checksEvaluationStatus": "pass",
"cloudUrl": "text",
"contractId": "text",
"dataDelaySeconds": 1,
"datasetQualifiedName": "text",
"datasource": {
"label": "text",
"name": "text",
"prefix": "text",
"type": "text",
"version": "3"
},
"hasContract": true,
"id": "text",
"incidents": 1,
"label": "text",
"lastUpdated": "2026-01-01T00:00:00.000Z",
"migratedFromDatasetId": "text",
"migratedToDatasetId": "text",
"name": "text",
"owners": [
{
"type": "user",
"user": {
"email": "text",
"firstName": "text",
"fullName": "text",
"lastName": "text",
"userId": "text"
},
"userGroup": {
"label": "text",
"name": "text",
"userGroupId": "text"
}
}
],
"passingChecksPercentage": 1,
"qualifiedName": "text",
"tags": [
"text"
],
"timePartition": {
"partitionColumn": {
"columnType": "unknown",
"name": "text"
},
"sqlExpression": "text",
"timePartitionType": "disabled"
},
"version": "3"
}This endpoint enables you to update an existing dataset properties in your organization's Soda Cloud account.
Authorization
Only users with Configure dataset permission can update dataset properties. Soda Cloud Admins have permission to update all datasets.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
100 requests/60 seconds
Successful response
Number of active checks on the dataset. Zero means the dataset is not covered by any check; checksEvaluationStatus and passingChecksPercentage are then null, while the deprecated dataQualityStatus and healthStatus still report pass and 100.
Worst last result across the dataset's active checks: fail if any check failed, warn if any check warned, pass if at least one check passed and none failed or warned. Null when the dataset has no active checks or none of them has a result yet.
Deprecated: use checksEvaluationStatus instead. Same value, but a dataset with no active checks, or whose checks have never run, reads as pass here instead of null.
Deprecated: use passingChecksPercentage instead. Same value, but a dataset with no active checks reads as 100 here instead of null.
Id of the v3 dataset this v4 dataset was migrated from. Null for a dataset that was not migrated, and once that v3 dataset is deleted.
Id of the v4 dataset this v3 dataset was migrated to. Null until the migration completes, and again once that v4 dataset is deleted.
Percentage of the dataset's active checks whose last result passed, from 0 to 100. Null when the dataset has no active checks.
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/datasets/{datasetId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 1385
{
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"computeWarehouseOverride": {
"computeWarehouseConfiguration": {
"name": "text"
},
"enabled": true
},
"dataDelaySeconds": 1,
"diagnosticsWarehouse": {
"failedRowsConfiguration": {
"enabled": true,
"failedRowSamples": {
"enabled": true,
"sampleSize": 1
},
"failedRowsCollectionStrategy": {
"maxRowCountOverride": 1,
"threshold": 1,
"thresholdCondition": "greaterThan",
"type": "useDefaultMaxRowCount"
},
"maxRowCount": 1,
"storageStrategy": "fullFailedRows",
"uniqueKeyColumnNames": [
"text"
]
},
"scanAndResultsConfiguration": {
"enabled": true
},
"schema": "text"
},
"label": "text",
"metricMonitoring": {
"datasetMetricMonitorsConfiguration": [
{
"configuration": {
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"metricType": "rowCount"
}
],
"enabled": true,
"historicalMetricCollectionScanStartDate": "2026-01-01T00:00:00.000Z",
"scanSchedule": {
"cronExpression": "text",
"timezone": "text"
}
},
"owners": [
{
"type": "user",
"userGroupId": "text",
"userId": "text"
}
],
"profiling": {
"enabled": true,
"profilingSamplingStrategy": {
"numberOfRows": 1,
"numberOfUnits": 1,
"unitOfTime": "hours"
},
"scanSchedule": {
"cronExpression": "text",
"timezone": "text"
}
},
"tags": [
"text"
],
"timePartition": {
"partitionColumn": "text",
"sqlExpression": "text"
}
}{
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"checks": 1,
"checksEvaluationStatus": "pass",
"cloudUrl": "text",
"contractId": "text",
"dataDelaySeconds": 1,
"datasetQualifiedName": "text",
"datasource": {
"label": "text",
"name": "text",
"prefix": "text",
"type": "text",
"version": "3"
},
"hasContract": true,
"id": "text",
"incidents": 1,
"label": "text",
"lastUpdated": "2026-01-01T00:00:00.000Z",
"migratedFromDatasetId": "text",
"migratedToDatasetId": "text",
"name": "text",
"owners": [
{
"type": "user",
"user": {
"email": "text",
"firstName": "text",
"fullName": "text",
"lastName": "text",
"userId": "text"
},
"userGroup": {
"label": "text",
"name": "text",
"userGroupId": "text"
}
}
],
"passingChecksPercentage": 1,
"qualifiedName": "text",
"tags": [
"text"
],
"timePartition": {
"partitionColumn": {
"columnType": "unknown",
"name": "text"
},
"sqlExpression": "text",
"timePartitionType": "disabled"
},
"version": "3"
}This endpoint enables you to delete an existing dataset in your organization's Soda Cloud account.
Deletion is not immediate and can take some time to complete, depending on the size of your dataset. You can check the status of the deletion by calling the Get dataset endpoint.
Authorization
Only users with Delete dataset permission can delete a dataset. Soda Cloud Admins have permission to delete any dataset.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
10 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
DELETE /api/v1/datasets/{datasetId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"message": "text"
}Upsert attribute values on the columns of a dataset.
The request body maps a column name to a map of attribute-name to value. Setting one attribute on a column does not affect other attribute values on the same column. If any column or attribute name is unknown, or any value has the wrong type, the entire request is rejected and no changes are persisted.
Send null as the value to remove an attribute value from a column. The column and attribute names are still checked, and clearing an attribute that has no value changes nothing.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have dataset role permission CONFIGURE_DATASET to execute this call.
Tags
Datasets
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/datasets/{datasetId}/columnAttributes HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"columnAttributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}No content
Deprecated. Use POST /api/v1/monitors instead, with datasetId, and columnName, metricType and configuration under columnMetricMonitor. Monitors of V3 datasets can only be created here, because the replacement supports V4 datasets only.
This endpoint allows you to create a new column metric monitor for a specific dataset in your organization's Soda Cloud account.
Authorization
Only users with Manage checks permission (V3 datasets) or Manage contracts permission (V4 datasets) can create column metric monitors. Soda Cloud Admins can create column metric monitors for all datasets.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
100 requests/60 seconds
Created
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/datasets/{datasetId}/columnMetricMonitors HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 411
{
"columnMetricMonitorConfiguration": {
"configuration": {
"groupByColumns": [
{
"columnName": "text",
"excludedValues": [
"text"
]
}
],
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"metricType": "missingPercentage"
},
"columnName": "text"
}{
"columnMetricMonitor": {
"checkId": "text",
"columnName": "text",
"configuration": {
"groupByColumns": [
{
"columnName": "text",
"excludedValues": [
"text"
]
}
],
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"metricType": "missingPercentage"
}
}Deprecated. Use POST /api/v1/monitors/{monitorId} instead. Monitors of V3 datasets can only be updated here, because the replacement supports V4 datasets only.
This endpoint allows you to update an existing column metric monitor for a specific dataset in your organization's Soda Cloud account.
Authorization
Only users with Manage checks permission (V3 datasets) or Manage contracts permission (V4 datasets) can update column metric monitors. Soda Cloud Admins can update column metric monitors for all datasets. See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
100 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/datasets/{datasetId}/columnMetricMonitors/{monitorId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 321
{
"configuration": {
"groupByColumns": [
{
"columnName": "text",
"excludedValues": [
"text"
]
}
],
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
}
}{
"columnMetricMonitor": {
"checkId": "text",
"columnName": "text",
"configuration": {
"groupByColumns": [
{
"columnName": "text",
"excludedValues": [
"text"
]
}
],
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"metricType": "missingPercentage"
}
}Deprecated. Use DELETE /api/v1/monitors/{monitorId} instead. Monitors of V3 datasets can only be deleted here, because the replacement supports V4 datasets only.
This endpoint allows you to delete a column metric monitor for a specific dataset in your organization's Soda Cloud account.
Authorization
Only users with Manage checks permission (V3 datasets) or Manage contracts permission (V4 datasets) can delete column metric monitors. Soda Cloud Admins can delete column metric monitors for all datasets. See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
100 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
DELETE /api/v1/datasets/{datasetId}/columnMetricMonitors/{monitorId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"message": "text"
}List the active columns of a dataset with their attribute values
Returns the active columns of a dataset, each with the attribute values currently assigned to it.
Columns are ordered by name ascending. Columns with no assigned attribute values are returned with an empty attributes map.
This GET is a paginated API that uses the following parameters to request specific details:
size: Supply an integer value between 10 and 1000, inclusive. The default value is 1000.page: Supply a non-negative integer. The default value is 0.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Authorization
Users must have dataset role permission VIEW to execute this call.
Tags
Datasets
Rate limiting
1000 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/datasets/{datasetId}/columns HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"content": [
{
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"columnId": "text",
"columnName": "text"
}
],
"first": true,
"last": true,
"number": 1,
"size": 1,
"totalElements": 1,
"totalPages": 1
}This endpoint retrieves the compute warehouse configuration for a specific dataset in your organization's Soda Cloud account. When the compute warehouse configuration is enabled, the warehouse in the configuration will be used for compute-heavy tasks like data contract execution, metric monitoring, and profiling.
Authorization
Only users with View dataset permission can retrieve dataset compute warehouse configuration. Soda Cloud Admins have permission to view all datasets.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
100 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/datasets/{datasetId}/computeWarehouse HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"availableWarehouses": [
{
"name": "text"
}
],
"currentWarehouse": {
"name": "text"
},
"datasetWarehouseOverride": {
"name": "text"
},
"defaultWarehouse": {
"name": "text"
},
"enabled": true
}Deprecated. Use POST /api/v1/monitors instead, with datasetId and this body under customSqlMetricMonitor.
This endpoint allows you to create a new custom SQL monitor for a specific dataset in your organization's Soda Cloud account.
Authorization
Only users with Manage contracts permission can create custom SQL monitors. Soda Cloud Admins can create custom SQL monitors for all datasets.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
100 requests/60 seconds
Created
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/datasets/{datasetId}/customSqlMonitors HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 365
{
"columnName": "text",
"configuration": {
"groupByColumnNames": [
"text"
],
"resultMetric": "text",
"sqlQuery": "text",
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"monitorName": "text"
}{
"customSqlMetricMonitor": {
"checkId": "text",
"columnName": "text",
"configuration": {
"groupByColumnNames": [
"text"
],
"resultMetric": "text",
"sqlQuery": "text",
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"monitorName": "text"
}
}Deprecated. Use POST /api/v1/monitors/{monitorId} instead.
This endpoint allows you to update an existing custom SQL monitor for a specific dataset in your organization's Soda Cloud account.
Authorization
Only users with Manage contracts permission can update custom SQL monitors. Soda Cloud Admins can update custom SQL monitors for all datasets. See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
100 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/datasets/{datasetId}/customSqlMonitors/{monitorId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 358
{
"columnName": "text",
"configuration": {
"groupByColumnNames": [
"text"
],
"resultMetric": "text",
"sqlQuery": "text",
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"name": "text"
}{
"customSqlMetricMonitor": {
"checkId": "text",
"columnName": "text",
"configuration": {
"groupByColumnNames": [
"text"
],
"resultMetric": "text",
"sqlQuery": "text",
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"monitorName": "text"
}
}Deprecated. Use DELETE /api/v1/monitors/{monitorId} instead.
This endpoint allows you to delete a custom SQL monitor for a specific dataset in your organization's Soda Cloud account.
Authorization
Only users with Manage contracts permission can delete custom SQL monitors. Soda Cloud Admins can delete custom SQL monitors for all datasets. See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
100 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
DELETE /api/v1/datasets/{datasetId}/customSqlMonitors/{monitorId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"message": "text"
}This endpoint allows you to retrieve detailed diagnostics warehouse information for a specific dataset in your organization's Soda Cloud account. The diagnostics warehouse collects scan-related data and securely forwards it to the customer's warehouse for storage and analysis.
schema, failedRowsConfiguration and scanAndResultsConfiguration hold only the settings stored on the dataset itself. effectiveConfiguration holds the configuration the runner actually uses for this dataset, once the settings of its datasource are merged in. It is read-only: POST /api/v1/datasets/{datasetId} ignores it.
How the values in effectiveConfiguration are combined:
failedRowsConfiguration.enabledistrueonly when the datasource diagnostics warehouse, its failed rows collection and the dataset failed rows collection are all on.scanAndResultsConfiguration.enabledistrueonly when the datasource diagnostics warehouse and both scan and results settings are on. A dataset with failed rows settings but no scan and results settings of its own follows its failed rows value.A dataset without diagnostics warehouse settings of its own has nothing written for it, so both are
false.schema,maxRowCount,failedRowsCollectionStrategyandfailedRowSamplesare the dataset value when it is set, and the datasource value otherwise.failedRowSamples.enabledis alsofalsewhile failed row samples are not enabled for your organization.storageStrategyanduniqueKeyColumnNamescome from the dataset only.
Authorization
Only users with View dataset permission can view dataset diagnostics warehouse. Soda Cloud Admins have access to diagnostics warehouse information for all datasets.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
1000 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/datasets/{datasetId}/diagnosticsWarehouse HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"effectiveConfiguration": {
"datasourceId": "text",
"failedRowsConfiguration": {
"enabled": true,
"failedRowSamples": {
"enabled": true,
"sampleSize": 1
},
"failedRowsCollectionStrategy": {
"maxRowCountOverride": 1,
"threshold": 1,
"thresholdCondition": "greaterThan",
"type": "useDefaultMaxRowCount"
},
"maxRowCount": 1,
"storageStrategy": "fullFailedRows",
"uniqueKeyColumnNames": [
"text"
]
},
"scanAndResultsConfiguration": {
"enabled": true
},
"schema": "text"
},
"failedRowsConfiguration": {
"enabled": true,
"failedRowSamples": {
"enabled": true,
"sampleSize": 1
},
"failedRowsCollectionStrategy": {
"maxRowCountOverride": 1,
"threshold": 1,
"thresholdCondition": "greaterThan",
"type": "useDefaultMaxRowCount"
},
"maxRowCount": 1,
"state": "ready",
"storageStrategy": "fullFailedRows",
"uniqueKeyColumnNames": [
"text"
]
},
"scanAndResultsConfiguration": {
"enabled": true
},
"schema": "text"
}Get dataset metric monitoring configuration information
This endpoint allows you to retrieve detailed metric monitoring configuration information for a specific dataset in your organization's Soda Cloud account.
Authorization
Only users with View dataset permission can view dataset metric monitoring configuration. Soda Cloud Admins have access to metric monitoring configuration information for all datasets.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
1000 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/datasets/{datasetId}/metricMonitoring HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"columnMetricMonitors": [
{
"checkId": "text",
"columnName": "text",
"configuration": {
"groupByColumns": [
{
"columnName": "text",
"excludedValues": [
"text"
]
}
],
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"metricType": "missingPercentage"
}
],
"customSqlMetricMonitors": [
{
"checkId": "text",
"columnName": "text",
"configuration": {
"groupByColumnNames": [
"text"
],
"resultMetric": "text",
"sqlQuery": "text",
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"monitorName": "text"
}
],
"dataDelaySeconds": 1,
"datasetId": "text",
"datasetMetricMonitorsConfiguration": [
{
"configuration": {
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"metricType": "rowCount"
}
],
"enabled": true,
"historicalMetricCollectionScanStartDate": "2026-01-01T00:00:00.000Z",
"scanSchedule": {
"cronExpression": "text",
"timezone": "text"
},
"timePartition": {
"partitionColumn": {
"columnType": "unknown",
"name": "text"
},
"sqlExpression": "text",
"timePartitionType": "disabled"
}
}Run historical metric collection for a dataset
This endpoint triggers a historical metric collection scan for a specific dataset in your organization's Soda Cloud account.
The dataset must have metric monitoring enabled and a historical collection scan definition configured.
The response includes the scan ID and a Location header pointing to the scan status endpoint.
Authorization
Only users with Manage contracts permission can run historical metric collection. Soda Cloud Admins have access to run historical metric collection for all datasets. See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
10 requests/60 seconds
Created
Bad request
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/datasets/{datasetId}/metricMonitoring/historicalMetricCollection HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
No content
This endpoint allows you to retrieve detailed profiling information for a specific dataset in your organization's Soda Cloud account. Profiling information provides insights into the dataset's structure, statistical summaries, and data characteristics.
Authorization
Only users with Access dataset profiling and sampling permission can view dataset profiling. Soda Cloud Admins have access to profiling information for all datasets.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
1000 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/datasets/{datasetId}/profiling HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"columnCount": 1,
"columns": [
{
"id": "text",
"metrics": {
"average": 1,
"averageLength": 1,
"distinctCount": 1,
"extremeValues": {
"maximum": [
{}
],
"minimum": [
{}
]
},
"frequentValues": [
{
"count": 1,
"value": {}
}
],
"histogram": [
{
"count": 1,
"lowerBound": 1,
"upperBound": 1
}
],
"maximum": {},
"maximumLength": 1,
"maximumTimestamp": "2026-01-01T00:00:00.000Z",
"median": 1,
"minimum": {},
"minimumLength": 1,
"minimumTimestamp": "2026-01-01T00:00:00.000Z",
"missingCount": 1,
"standardDeviation": 1,
"sum": 1,
"variance": 1
},
"name": "text",
"type": "text"
}
],
"datasetId": "text",
"enabled": true,
"profilingTime": "2026-01-01T00:00:00.000Z",
"rowCount": 1,
"samplingStrategyConfiguration": {
"numberOfRows": 1,
"numberOfUnits": 1,
"unitOfTime": "hours"
},
"scanSchedule": {
"cronExpression": "text",
"timezone": "text"
},
"timePartition": {
"partitionColumn": {
"columnType": "unknown",
"name": "text"
},
"sqlExpression": "text",
"timePartitionType": "disabled"
}
}This endpoint enables you to gather information about the user and user groups permissions assigned to a dataset, and their associated roles in your organization's Soda Cloud account.
This GET is a paginated API that uses the following parameters to request specific details:
size: Supply an integer value between 1 and 100, inclusive. The default value is 100.page: Supply an integer value. The default value is 0.
Authorization
Soda only returns the dataset responsibilities to which the user has View dataset permissions. Soda Cloud Admins have access to all dataset responsibilities.See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
100 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/datasets/{datasetId}/responsibilities HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"content": [
{
"managed": true,
"role": {
"configureDataset": true,
"createCheckProposals": true,
"deleteDataset": true,
"id": "text",
"manageChecks": true,
"manageContracts": true,
"manageIncidents": true,
"managePermissions": true,
"name": "text",
"viewFailedRows": true,
"viewProfilingAndSamples": true
},
"type": "user",
"userGroupId": "text",
"userId": "text"
}
],
"first": true,
"last": true,
"number": 1,
"size": 1,
"totalElements": 1,
"totalPages": 1
}This endpoint enables you to update the user and user groups permissions and their associated roles for a dataset in your organization's Soda Cloud account.
Note: This API fully replaces the existing responsibilities. The entire list of responsibilities must be provided in the request, including both new and existing entries, as any omissions will result in their removal.
Authorization
Only users with Manage dataset responsibilities permission can update dataset responsibilities. Soda Cloud Admins have permission to update all datasets responsibilities.**See Manage dataset roles for more information.**The Response of this call, when successful, is 201 and contains header Location which identify the URL where the responsibilities will eventually become available.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets
Rate limiting
100 requests/60 seconds
Created
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/datasets/{datasetId}/responsibilities HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 91
{
"responsibilities": [
{
"roleId": "text",
"type": "user",
"userGroupId": "text",
"userId": "text"
}
]
}No content
This endpoint allows you to update an existing dataset metric monitor, column metric monitor or custom SQL monitor of a V4 dataset in your organization's Soda Cloud account, knowing only the id of the monitor. Soda looks up the dataset the monitor belongs to and the kind of monitor it is.
Use the monitorId returned by POST /api/v1/monitors, or the check id from a monitor's results, as the monitor id. Column and custom SQL monitor creation and listing responses also expose this id as checkId. This endpoint returns it as monitorId.
Only the configuration settings you send are changed. Dataset and column metric monitors have generated names; name and columnName updates apply only to custom SQL monitors.
Authorization
Only users with Manage contracts permission can update monitors. Soda Cloud Admins can update monitors for all datasets. See Manage dataset roles for more information.
Authentication
User authentication required: true
This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.
Tags
Datasets, Metric Monitors
Rate limiting
100 requests/60 seconds
Custom SQL monitors only: the column the monitor is listed under. Send null to list the monitor on the dataset instead of on a column.
Custom SQL monitors only: the name of the monitor. Soda generates dataset and column metric monitor names, so they cannot be changed.
Successful response
The dataset the monitor belongs to, resolved from the monitor id.
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/monitors/{monitorId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 425
{
"columnName": "text",
"configuration": {
"groupByColumnNames": [
"text"
],
"groupByColumns": [
{
"columnName": "text",
"excludedValues": [
"text"
]
}
],
"resultMetric": "text",
"sqlQuery": "text",
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"name": "text"
}{
"columnMetricMonitor": {
"checkId": "text",
"columnName": "text",
"configuration": {
"groupByColumns": [
{
"columnName": "text",
"excludedValues": [
"text"
]
}
],
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"metricType": "missingPercentage"
},
"customSqlMetricMonitor": {
"checkId": "text",
"columnName": "text",
"configuration": {
"groupByColumnNames": [
"text"
],
"resultMetric": "text",
"sqlQuery": "text",
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"monitorName": "text"
},
"datasetId": "text",
"datasetMetricMonitor": {
"configuration": {
"exclusionZones": [
{
"lowerLimit": 1,
"singleValue": true,
"upperLimit": 1
}
],
"isEnabled": true,
"isSamplingEnabled": true,
"sensitivity": 1,
"thresholdStrategy": {
"isLowerBoundEnabled": true,
"isUpperBoundEnabled": true
},
"validRange": {
"max": 1,
"min": 1
}
},
"metricType": "rowCount"
},
"monitorId": "text"
}Last updated
Was this helpful?
