Data Products
Soda Cloud API Data Product Endpoints
This endpoint allows you to list the data products in your organization.
This GET is a paginated API that uses the following parameters to request specific details:
cursor: Omit for the first page. Pass the previous response'snextCursor, with the same other parameters, to continue after its last item. Cursors are opaque; invalid cursors return 400.size: Number of items per page, from 1 to 1000, default 10. The size may change between pages.name: Optionally, return only the data product whosenameis exactly this value. The match is case-sensitive, so the result has one item or none. Spaces around the value are removed. A blank value returns 400. Leave the parameter out to list all data products. Use it to find theidof a data product from its name. To publish many data products, list them once withoutnameand keep their ids.search: Optionally, use this parameter to search the data product label and name.ownerId: Optionally, use this parameter to list only the data products owned by one user or one user group. Supply a single id: either a user id or a user group id. A user id also matches the data products owned by a user group that the user belongs to.datasetId: Optionally, use this parameter to list only the data products that have the dataset as an input.domain: Optionally, use this parameter to list only the data products of one domain. Supply thenameof the domain, which is thedomainvalue of the data product YAML. The name has at most 64 characters and must be lowercase letters and digits separated by single - or _, starting with a letter; true, false, null, yes, no, on, off, y, n and base are reserved. An unknown name returns 400domain_not_found. A domain with no data products that you can view gives an empty page. Data products without a domain never match.outputType: Optionally, use this parameter to list only the data products that have at least one output of the type:datasetordashboard. Supply several types as a comma-separated list or as a repeated parameter; a data product matches when it has an output of any of them.sort: Optionally, sort the results bylabel(default) orname.
The name of a data product is the key of its YAML, and the label is the YAML name.
The response contains content and, when more items are available, nextCursor. An absent nextCursor marks the end of the results. Page numbers and totals are not returned.
Inputs are not part of the data product. Use /api/v1/dataProducts/{dataProductId}/inputs, which is paged.
Outputs are not part of the data product. Use /api/v1/dataProducts/{dataProductId}/outputs, which is paged.
Authorization
Only the data products that the user has View data product permission on are returned. Soda Cloud Admins have every data product permission on every data product.
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
Data Products
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Too many requests
Internal server error
GET /api/v1/dataProducts HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"content": [
{
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"cloudUrl": "text",
"contents": "text",
"created": "2026-01-01T00:00:00.000Z",
"description": "text",
"domain": {
"id": "text",
"label": "text",
"name": "text"
},
"health": {
"checkTotals": {
"failingCount": 1,
"inputsWithoutEvidence": 1,
"notEvaluatedCount": 1,
"passingCount": 1,
"warningCount": 1
},
"inputs": {
"linked": 1,
"noAccess": 1,
"notFound": 1
},
"lastEvaluated": "2026-01-01T00:00:00.000Z"
},
"id": "text",
"label": "text",
"lastUpdated": "2026-01-01T00:00:00.000Z",
"name": "text",
"owner": {
"email": "text",
"state": "linked",
"type": "user",
"user": {
"email": "text",
"firstName": "text",
"fullName": "text",
"lastName": "text",
"userId": "text"
},
"userGroup": {
"label": "text",
"name": "text",
"userGroupId": "text"
},
"userGroupId": "text"
},
"url": "text"
}
],
"nextCursor": "text"
}This endpoint allows you to create a data product from its YAML definition.
The body has one field, contents, which holds the data product YAML. The YAML can have at most 3145728 characters. Example:
kind: data-product
key: monthly_revenue_report
name: Monthly Revenue Report
description: >
Month-end revenue in USD by region and segment, built from closed-won
opportunities. Feeds the board pack and the revenue dashboard.
url: https://looker.company.com/dashboards/monthly-revenue
owner:
type: soda_user_group
id: 7c4b91e2-6d38-4a05-9f12-83b0e6d7a249
attributes:
department: Finance
business_function: Revenue reporting
documentation_url: https://docs.company.com/data-products/monthly-revenue
tags:
- board-reporting
- business-critical
inputs:
- type: dataset
dataset: pg/sales_data/crm/opportunities
- type: dataset
dataset: pg/sales_data/crm/accounts
- type: dataset
dataset: pg/sales_data/reference/fx_ratesThe key of the YAML becomes the name of the data product. If another data product already uses this name, the request is rejected with a 400 error and the code data_product_name_already_exists. The message gives the id of that data product, so that you can publish a new version of it with POST /api/v1/dataProducts/{dataProductId}. If you have no permission to view that other data product, the request is rejected with a 403 error and the code access_denied instead, and the message does not include its id.
If the YAML does not parse or does not match the schema, the request is rejected with a 400 error and the code invalid_request. If it breaks a data product rule (key, owner, domain, attributes, inputs, outputs), the code is invalid_data_product. The message lists each problem on its own line.
The domain of the YAML must be the name of a domain in the organization. If domains are not enabled for the organization, a new or changed domain is rejected.
A dataset cannot be both an input and an output of the same data product. To add a dataset input or output, you must have permission to view the dataset. An input or output whose dataset is not found is kept, and a warning tells you so.
Problems that do not stop the publish are returned in warnings, one sentence each.
Authorization
Only users with Create data products permission can create data products. Without it, the request is rejected with a 403 error. Soda Cloud Admins have every data product permission on every data product.
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
Data Products
Rate limiting
100 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Too many requests
Internal server error
POST /api/v1/dataProducts HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"contents": "text"
}{
"dataProduct": {
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"cloudUrl": "text",
"contents": "text",
"created": "2026-01-01T00:00:00.000Z",
"description": "text",
"domain": {
"id": "text",
"label": "text",
"name": "text"
},
"health": {
"checkTotals": {
"failingCount": 1,
"inputsWithoutEvidence": 1,
"notEvaluatedCount": 1,
"passingCount": 1,
"warningCount": 1
},
"inputs": {
"linked": 1,
"noAccess": 1,
"notFound": 1
},
"lastEvaluated": "2026-01-01T00:00:00.000Z"
},
"id": "text",
"label": "text",
"lastUpdated": "2026-01-01T00:00:00.000Z",
"name": "text",
"owner": {
"email": "text",
"state": "linked",
"type": "user",
"user": {
"email": "text",
"firstName": "text",
"fullName": "text",
"lastName": "text",
"userId": "text"
},
"userGroup": {
"label": "text",
"name": "text",
"userGroupId": "text"
},
"userGroupId": "text"
},
"url": "text"
},
"warnings": [
"text"
]
}This endpoint allows you to retrieve a specific data product, including its YAML contents and its health.
dataProductId is the id of the data product. The key of its YAML is returned as name, and the YAML name as label.
The YAML file is in contents, and the health of the data product is in health.
Inputs are not part of the data product. Use /api/v1/dataProducts/{dataProductId}/inputs, which is paged.
An unknown id returns 404 with the code data_product_not_found. To find the id of a data product from its name, use GET /api/v1/dataProducts?name=<name>.
Authorization
Only users with View data product permission on the data product can view it. Soda Cloud Admins have every data product permission on every data product.
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
Data Products
Rate limiting
1000 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/dataProducts/{dataProductId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"dataProduct": {
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"cloudUrl": "text",
"contents": "text",
"created": "2026-01-01T00:00:00.000Z",
"description": "text",
"domain": {
"id": "text",
"label": "text",
"name": "text"
},
"health": {
"checkTotals": {
"failingCount": 1,
"inputsWithoutEvidence": 1,
"notEvaluatedCount": 1,
"passingCount": 1,
"warningCount": 1
},
"inputs": {
"linked": 1,
"noAccess": 1,
"notFound": 1
},
"lastEvaluated": "2026-01-01T00:00:00.000Z"
},
"id": "text",
"label": "text",
"lastUpdated": "2026-01-01T00:00:00.000Z",
"name": "text",
"owner": {
"email": "text",
"state": "linked",
"type": "user",
"user": {
"email": "text",
"firstName": "text",
"fullName": "text",
"lastName": "text",
"userId": "text"
},
"userGroup": {
"label": "text",
"name": "text",
"userGroupId": "text"
},
"userGroupId": "text"
},
"url": "text"
}
}This endpoint allows you to publish a new YAML definition for an existing data product. The new definition replaces the stored one.
The body is the same as for the create endpoint: one field, contents, which holds the complete data product YAML.
dataProductId is the id of the data product. To find the id from the name, use GET /api/v1/dataProducts?name=<name>.
The key of the YAML must be equal to the name of the data product dataProductId. The name of a data product cannot change. If the two are different, the request is rejected with a 400 error and the code data_product_name_immutable.
If the YAML does not parse or does not match the schema, the request is rejected with a 400 error and the code invalid_request. If it breaks a data product rule (key, owner, domain, attributes, inputs, outputs), the code is invalid_data_product. The message lists each problem on its own line.
The domain of the YAML must be the name of a domain in the organization. If domains are not enabled for the organization, a new or changed domain is rejected.
A dataset cannot be both an input and an output of the same data product. To add a dataset input or output, you must have permission to view the dataset. An input or output whose dataset is not found is kept, and a warning tells you so.
Problems that do not stop the publish are returned in warnings, one sentence each.
If the YAML is the same as the stored one, nothing is saved. The YAML is still checked against the current state of the organization. If it finds problems, for example a dataset that does not exist or an attribute that was deleted, the request still succeeds. warnings then starts with "The file is unchanged; nothing was published. Current problems:", followed by one sentence for each problem. If it finds no problems, warnings is empty.
An unknown id returns 404 with the code data_product_not_found.
Authorization
Only users with Configure data product permission on the data product can publish it. Soda Cloud Admins have every data product permission on every data product.
A user without Configure data product permission gets a 403 error before the YAML is checked.
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
Data Products
Rate limiting
100 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
POST /api/v1/dataProducts/{dataProductId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"contents": "text"
}{
"dataProduct": {
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"cloudUrl": "text",
"contents": "text",
"created": "2026-01-01T00:00:00.000Z",
"description": "text",
"domain": {
"id": "text",
"label": "text",
"name": "text"
},
"health": {
"checkTotals": {
"failingCount": 1,
"inputsWithoutEvidence": 1,
"notEvaluatedCount": 1,
"passingCount": 1,
"warningCount": 1
},
"inputs": {
"linked": 1,
"noAccess": 1,
"notFound": 1
},
"lastEvaluated": "2026-01-01T00:00:00.000Z"
},
"id": "text",
"label": "text",
"lastUpdated": "2026-01-01T00:00:00.000Z",
"name": "text",
"owner": {
"email": "text",
"state": "linked",
"type": "user",
"user": {
"email": "text",
"firstName": "text",
"fullName": "text",
"lastName": "text",
"userId": "text"
},
"userGroup": {
"label": "text",
"name": "text",
"userGroupId": "text"
},
"userGroupId": "text"
},
"url": "text"
},
"warnings": [
"text"
]
}This endpoint deletes a data product. The deletion is complete when the response is returned.
The input datasets and the other data products stay as they are.
An unknown id returns 404 with the code data_product_not_found.
Authorization
Only users with Delete data product permission on the data product can delete it. Soda Cloud Admins have every data product permission on every data product.
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.
Auditable
This API is marked as audited on execution.
Tags
Data Products
Rate limiting
100 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
DELETE /api/v1/dataProducts/{dataProductId} HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"message": "text"
}This endpoint allows you to list the inputs of a data product, with the check results of each input.
This GET is a paginated API that uses the following parameters to request specific details:
cursor: Omit for the first page. Pass the previous response'snextCursor, with the same other parameters, to continue after its last item. Cursors are opaque; invalid cursors return 400.size: Number of items per page, from 1 to 1000, default 10. The size may change between pages.
The response contains content and, when more items are available, nextCursor. An absent nextCursor marks the end of the results. Page numbers and totals are not returned.
Inputs whose dataset you cannot view are left out of this list and counted in the product's health.inputs.noAccess; their qualified names still appear in the product's contents.
An unknown id returns 404 with the code data_product_not_found. To find the id of a data product from its name, use GET /api/v1/dataProducts?name=<name>.
Authorization
Only users with View data product permission on the data product can list its inputs. Soda Cloud Admins have every data product permission on every data product.
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
Data Products
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/dataProducts/{dataProductId}/inputs HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"content": [
{
"dataset": {
"checkResults": {
"failingCount": 1,
"notEvaluatedCount": 1,
"passingCount": 1,
"warningCount": 1
},
"datasetId": "text",
"lastEvaluated": "2026-01-01T00:00:00.000Z",
"qualifiedName": "text",
"state": "linked"
},
"id": "text",
"type": "dataset"
}
],
"nextCursor": "text"
}This endpoint allows you to list the outputs of a data product: the datasets and the dashboards that it provides.
This GET is a paginated API that uses the following parameters to request specific details:
cursor: Omit for the first page. Pass the previous response'snextCursor, with the same other parameters, to continue after its last item. Cursors are opaque; invalid cursors return 400.size: Number of items per page, from 1 to 1000, default 10. The size may change between pages.
The response contains content and, when more items are available, nextCursor. An absent nextCursor marks the end of the results. Page numbers and totals are not returned.
Dataset outputs whose dataset you cannot view are left out of this list; their qualified names still appear in the product's contents.
An unknown id returns 404 with the code data_product_not_found. To find the id of a data product from its name, use GET /api/v1/dataProducts?name=<name>.
Authorization
Only users with View data product permission on the data product can list its outputs. Soda Cloud Admins have every data product permission on every data product.
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
Data Products
Rate limiting
60 requests/60 seconds
Successful response
Bad request
Unauthorized
Forbidden
Not found
Too many requests
Internal server error
GET /api/v1/dataProducts/{dataProductId}/outputs HTTP/1.1
Host: cloud.soda.io
Authorization: Basic username:password
Accept: */*
{
"content": [
{
"dashboard": {
"url": "text"
},
"dataset": {
"datasetId": "text",
"qualifiedName": "text",
"state": "linked"
},
"id": "text",
"type": "dataset"
}
],
"nextCursor": "text"
}Last updated
Was this helpful?
