Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Datasets

Soda Cloud API Dataset Endpoints

Dataset information

get
/api/v1/datasets

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:00

  • datasourceName: 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 the owners list 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, 3 or 4. This is the dataset's own version, as returned in the version field 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 the migratedToDatasetId field 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 the migratedFromDatasetId field of this endpoint.

  • migrated: Optionally, use this parameter to collect only the datasets with a migratedToDatasetId or a migratedFromDatasetId (true) or only the datasets without one (false). Combine it with version to 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

Authorizations
AuthorizationstringRequired
Query parameters
datasourceNamestringOptional
fromstring · date-timeOptional
hasContractbooleanOptional
migratedbooleanOptional
migratedFromDatasetIdstringOptional
migratedToDatasetIdstringOptional
ownerIdstringOptional
pageinteger · int32Optional
searchstringOptional
sizeinteger · int32Optional
versionobject · enumOptionalPossible values:
Responses
200

Successful response

application/json
firstbooleanRequired
lastbooleanRequired
numberinteger · int32Required
sizeinteger · int32Required
totalElementsinteger · int32Required
totalPagesinteger · int32Required
get/api/v1/datasets
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

post
/api/v1/datasets/actions/listMetricMonitoring

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

Authorizations
AuthorizationstringRequired
Body
datasetIdsstring[]Optional

Ids of the datasets to read. Additive with datasetQualifiedNames.

datasetQualifiedNamesstring[]Optional

Qualified names of the datasets to read, for example my_datasource/my_schema/my_table. Additive with datasetIds.

Responses
200

Successful response

application/json
post/api/v1/datasets/actions/listMetricMonitoring
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"
      }
    }
  ]
}

Configure metric monitoring on several datasets

post
/api/v1/datasets/actions/updateMetricMonitoring

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

Authorizations
AuthorizationstringRequired
Body
datasetIdsstring[]Optional

Ids of the datasets to configure. Additive with datasetQualifiedNames.

datasetQualifiedNamesstring[]Optional

Qualified names of the datasets to configure, for example my_datasource/my_schema/my_table. Additive with datasetIds.

Responses
202

Accepted

post/api/v1/datasets/actions/updateMetricMonitoring
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

get
/api/v1/datasets/actions/updateMetricMonitoring/{operationId}

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

Authorizations
AuthorizationstringRequired
Path parameters
operationIdstringRequired
Responses
200

Successful response

application/json
endedstring · date-timeOptional
operationIdstringOptional
startedstring · date-timeOptional
stateobject · enumOptionalPossible values:
get/api/v1/datasets/actions/updateMetricMonitoring/{operationId}
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"
}

Get dataset by qualified name

get
/api/v1/datasets/byDatasetQualifiedName/{datasetQualifiedName}

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetQualifiedNamestringRequired
Responses
200

Successful response

application/json
checksinteger · int64Required

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.

checksEvaluationStatusobject · enumOptional

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.

Possible values:
cloudUrlstringRequired
contractIdstringOptional
dataDelaySecondsinteger · int32Optional
dataQualityStatusobject · enumOptionalDeprecated

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.

Possible values:
datasetQualifiedNamestringOptional
hasContractbooleanRequired
healthStatusinteger · int32OptionalDeprecated

Deprecated: use passingChecksPercentage instead. Same value, but a dataset with no active checks reads as 100 here instead of null.

idstringRequired
incidentsinteger · int64Required
labelstringOptional
lastUpdatedstring · date-timeOptional
migratedFromDatasetIdstringOptional

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.

migratedToDatasetIdstringOptional

Id of the v4 dataset this v3 dataset was migrated to. Null until the migration completes, and again once that v4 dataset is deleted.

namestringRequired
passingChecksPercentageinteger · int32Optional

Percentage of the dataset's active checks whose last result passed, from 0 to 100. Null when the dataset has no active checks.

qualifiedNamestringOptional
tagsstring[]Optional
versionobject · enumOptionalPossible values:
get/api/v1/datasets/byDatasetQualifiedName/{datasetQualifiedName}
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"
}

Get the default dataset responsibilities

get
/api/v1/datasets/defaultResponsibilities

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

Authorizations
AuthorizationstringRequired
Responses
200

Successful response

application/json
get/api/v1/datasets/defaultResponsibilities
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
  }
}

Update the default dataset responsibilities

post
/api/v1/datasets/defaultResponsibilities

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

Authorizations
AuthorizationstringRequired
Body
defaultOwnerRoleIdstringOptional

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.

Responses
200

Successful response

application/json
post/api/v1/datasets/defaultResponsibilities
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
  }
}

List dataset roles

get
/api/v1/datasets/roles

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

Authorizations
AuthorizationstringRequired
Query parameters
pageinteger · int32Optional
sizeinteger · int32Optional
Responses
200

Successful response

application/json
firstbooleanRequired
lastbooleanRequired
numberinteger · int32Required
sizeinteger · int32Required
totalElementsinteger · int32Required
totalPagesinteger · int32Required
get/api/v1/datasets/roles
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
}

Create a dataset role

post
/api/v1/datasets/roles

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

Authorizations
AuthorizationstringRequired
Body
configureDatasetbooleanOptional
createCheckProposalsbooleanOptional
deleteDatasetbooleanOptional
manageChecksbooleanOptional
manageContractsbooleanOptional
manageIncidentsbooleanOptional
managePermissionsbooleanOptional
namestringRequired
viewFailedRowsbooleanOptional
viewProfilingAndSamplesbooleanOptional
Responses
200

Successful response

application/json
post/api/v1/datasets/roles
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
  }
}

Update a dataset role

post
/api/v1/datasets/roles/{roleId}

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

Authorizations
AuthorizationstringRequired
Path parameters
roleIdstringRequired
Body
configureDatasetbooleanOptional
createCheckProposalsbooleanOptional
deleteDatasetbooleanOptional
manageChecksbooleanOptional
manageContractsbooleanOptional
manageIncidentsbooleanOptional
managePermissionsbooleanOptional
namestringRequired
viewFailedRowsbooleanOptional
viewProfilingAndSamplesbooleanOptional
Responses
200

Successful response

application/json
post/api/v1/datasets/roles/{roleId}
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
  }
}

Delete a dataset role

delete
/api/v1/datasets/roles/{roleId}

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

Authorizations
AuthorizationstringRequired
Path parameters
roleIdstringRequired
Responses
200

Successful response

application/json
messagestringRequired
delete/api/v1/datasets/roles/{roleId}
DELETE /api/v1/datasets/roles/{roleId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
  "message": "text"
}

Get dataset

get
/api/v1/datasets/{datasetId}

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Responses
200

Successful response

application/json
checksinteger · int64Required

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.

checksEvaluationStatusobject · enumOptional

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.

Possible values:
cloudUrlstringRequired
contractIdstringOptional
dataDelaySecondsinteger · int32Optional
dataQualityStatusobject · enumOptionalDeprecated

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.

Possible values:
datasetQualifiedNamestringOptional
hasContractbooleanRequired
healthStatusinteger · int32OptionalDeprecated

Deprecated: use passingChecksPercentage instead. Same value, but a dataset with no active checks reads as 100 here instead of null.

idstringRequired
incidentsinteger · int64Required
labelstringOptional
lastUpdatedstring · date-timeOptional
migratedFromDatasetIdstringOptional

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.

migratedToDatasetIdstringOptional

Id of the v4 dataset this v3 dataset was migrated to. Null until the migration completes, and again once that v4 dataset is deleted.

namestringRequired
passingChecksPercentageinteger · int32Optional

Percentage of the dataset's active checks whose last result passed, from 0 to 100. Null when the dataset has no active checks.

qualifiedNamestringOptional
tagsstring[]Optional
versionobject · enumOptionalPossible values:
get/api/v1/datasets/{datasetId}
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"
}

Update dataset

post
/api/v1/datasets/{datasetId}

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Body
dataDelaySecondsinteger · int32Optional
labelstringOptional
partitionColumnstringOptionalDeprecated
tagsstring[]Optional
Responses
200

Successful response

application/json
checksinteger · int64Required

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.

checksEvaluationStatusobject · enumOptional

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.

Possible values:
cloudUrlstringRequired
contractIdstringOptional
dataDelaySecondsinteger · int32Optional
dataQualityStatusobject · enumOptionalDeprecated

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.

Possible values:
datasetQualifiedNamestringOptional
hasContractbooleanRequired
healthStatusinteger · int32OptionalDeprecated

Deprecated: use passingChecksPercentage instead. Same value, but a dataset with no active checks reads as 100 here instead of null.

idstringRequired
incidentsinteger · int64Required
labelstringOptional
lastUpdatedstring · date-timeOptional
migratedFromDatasetIdstringOptional

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.

migratedToDatasetIdstringOptional

Id of the v4 dataset this v3 dataset was migrated to. Null until the migration completes, and again once that v4 dataset is deleted.

namestringRequired
passingChecksPercentageinteger · int32Optional

Percentage of the dataset's active checks whose last result passed, from 0 to 100. Null when the dataset has no active checks.

qualifiedNamestringOptional
tagsstring[]Optional
versionobject · enumOptionalPossible values:
post/api/v1/datasets/{datasetId}
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"
}

Delete dataset

delete
/api/v1/datasets/{datasetId}

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Responses
200

Successful response

application/json
messagestringRequired
delete/api/v1/datasets/{datasetId}
DELETE /api/v1/datasets/{datasetId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
  "message": "text"
}

Set column attribute values in bulk

post
/api/v1/datasets/{datasetId}/columnAttributes

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Body
Responses
200

Successful response

post/api/v1/datasets/{datasetId}/columnAttributes
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

Create a column metric monitor

post
/api/v1/datasets/{datasetId}/columnMetricMonitors

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Body
columnNamestringRequired
Responses
201

Created

application/json
post/api/v1/datasets/{datasetId}/columnMetricMonitors
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

Update a column metric monitor

post
/api/v1/datasets/{datasetId}/columnMetricMonitors/{monitorId}

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
monitorIdstringRequired
Body
Responses
200

Successful response

application/json
post/api/v1/datasets/{datasetId}/columnMetricMonitors/{monitorId}
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

Delete a column metric monitor

delete
/api/v1/datasets/{datasetId}/columnMetricMonitors/{monitorId}

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
monitorIdstringRequired
Responses
200

Successful response

application/json
messagestringRequired
delete/api/v1/datasets/{datasetId}/columnMetricMonitors/{monitorId}
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

get
/api/v1/datasets/{datasetId}/columns

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Query parameters
pageinteger · int32Optional
sizeinteger · int32Optional
Responses
200

Successful response

application/json
firstbooleanRequired
lastbooleanRequired
numberinteger · int32Required
sizeinteger · int32Required
totalElementsinteger · int32Required
totalPagesinteger · int32Required
get/api/v1/datasets/{datasetId}/columns
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
}

Get dataset compute warehouse configuration

get
/api/v1/datasets/{datasetId}/computeWarehouse

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Responses
200

Successful response

application/json
enabledbooleanOptional
get/api/v1/datasets/{datasetId}/computeWarehouse
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

Create a custom SQL monitor

post
/api/v1/datasets/{datasetId}/customSqlMonitors

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Body
columnNamestringOptional
monitorNamestringRequired
Responses
201

Created

application/json
post/api/v1/datasets/{datasetId}/customSqlMonitors
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

Update a custom SQL monitor

post
/api/v1/datasets/{datasetId}/customSqlMonitors/{monitorId}

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
monitorIdstringRequired
Body
columnNamestringOptional
namestringOptional
Responses
200

Successful response

application/json
post/api/v1/datasets/{datasetId}/customSqlMonitors/{monitorId}
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

Delete a custom SQL monitor

delete
/api/v1/datasets/{datasetId}/customSqlMonitors/{monitorId}

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
monitorIdstringRequired
Responses
200

Successful response

application/json
messagestringRequired
delete/api/v1/datasets/{datasetId}/customSqlMonitors/{monitorId}
DELETE /api/v1/datasets/{datasetId}/customSqlMonitors/{monitorId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
  "message": "text"
}

Get dataset diagnostics warehouse information

get
/api/v1/datasets/{datasetId}/diagnosticsWarehouse

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.enabled is true only when the datasource diagnostics warehouse, its failed rows collection and the dataset failed rows collection are all on.

  • scanAndResultsConfiguration.enabled is true only 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, failedRowsCollectionStrategy and failedRowSamples are the dataset value when it is set, and the datasource value otherwise. failedRowSamples.enabled is also false while failed row samples are not enabled for your organization.

  • storageStrategy and uniqueKeyColumnNames come 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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Responses
200

Successful response

application/json
schemastring · nullableOptional
get/api/v1/datasets/{datasetId}/diagnosticsWarehouse
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

get
/api/v1/datasets/{datasetId}/metricMonitoring

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Responses
200

Successful response

application/json
dataDelaySecondsinteger · int32Optional
datasetIdstringOptional
enabledbooleanOptional
historicalMetricCollectionScanStartDatestring · date-timeOptional
partitionColumnstringOptionalDeprecated
get/api/v1/datasets/{datasetId}/metricMonitoring
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

post
/api/v1/datasets/{datasetId}/metricMonitoring/historicalMetricCollection

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Responses
201

Created

post/api/v1/datasets/{datasetId}/metricMonitoring/historicalMetricCollection
POST /api/v1/datasets/{datasetId}/metricMonitoring/historicalMetricCollection HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*

No content

Get dataset profiling information

get
/api/v1/datasets/{datasetId}/profiling

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Responses
200

Successful response

application/json
columnCountinteger · int64Optional
datasetIdstringRequired
enabledbooleanOptional
partitionColumnstringOptionalDeprecated
profilingTimestring · date-timeOptional
rowCountinteger · int64Optional
get/api/v1/datasets/{datasetId}/profiling
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"
  }
}

List dataset responsibilities

get
/api/v1/datasets/{datasetId}/responsibilities

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Query parameters
pageinteger · int32Optional
sizeinteger · int32Optional
Responses
200

Successful response

application/json
firstbooleanRequired
lastbooleanRequired
numberinteger · int32Required
sizeinteger · int32Required
totalElementsinteger · int32Required
totalPagesinteger · int32Required
get/api/v1/datasets/{datasetId}/responsibilities
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
}

Update dataset responsibilities

post
/api/v1/datasets/{datasetId}/responsibilities

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

Authorizations
AuthorizationstringRequired
Path parameters
datasetIdstringRequired
Body
Responses
201

Created

post/api/v1/datasets/{datasetId}/responsibilities
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

Update a metric monitor

post
/api/v1/monitors/{monitorId}

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

Authorizations
AuthorizationstringRequired
Path parameters
monitorIdstringRequired
Body
columnNamestringOptional

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.

namestringOptional

Custom SQL monitors only: the name of the monitor. Soda generates dataset and column metric monitor names, so they cannot be changed.

Responses
200

Successful response

application/json
datasetIdstringRequired

The dataset the monitor belongs to, resolved from the monitor id.

monitorIdstringRequired
post/api/v1/monitors/{monitorId}
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?