Retrieve a Data Product
Get a single data product by its unique ID or fully qualified name.
Get by ID
UUID of the data product to retrieve.
Comma-separated list of fields to include (e.g., owners,domain,experts,assets).
include
string
default:"non-deleted"
Include all, deleted, or non-deleted entities.
Get by Fully Qualified Name
Use GET /v1/dataProducts/name/{fqn} to retrieve by fully qualified name.
Fully qualified name of the data product (e.g., Marketing.CustomerInsights).
Comma-separated list of fields to include: owners, domain, experts, assets.
include
string
default:"non-deleted"
Include all, deleted, or non-deleted entities.
GET /v1/dataProducts/{id}
from metadata.sdk import configure
from metadata.sdk.entities import DataProducts
configure(
host="https://your-company.getcollate.io/api",
jwt_token="your-jwt-token"
)
# Get by ID
dp = DataProducts.retrieve("b1839f98-f046-5f35-bdef-20f9b3395cb2")
print(f"{dp.fullyQualifiedName}: {dp.description}")
# Get by ID with fields
dp = DataProducts.retrieve(
"b1839f98-f046-5f35-bdef-20f9b3395cb2",
fields=["owners", "domain", "experts", "assets"]
)
# Get by fully qualified name
dp = DataProducts.retrieve_by_name("Marketing.CustomerInsights")
# Get by name with fields
dp = DataProducts.retrieve_by_name(
"Marketing.CustomerInsights",
fields=["owners", "domain", "experts", "assets"]
)
{
"id": "b1839f98-f046-5f35-bdef-20f9b3395cb2",
"name": "CustomerInsights",
"fullyQualifiedName": "Marketing.CustomerInsights",
"displayName": "Customer Insights",
"description": "Curated customer analytics data product",
"version": 0.1,
"updatedAt": 1769984330261,
"updatedBy": "admin",
"href": "http://localhost:8585/api/v1/dataProducts/b1839f98-f046-5f35-bdef-20f9b3395cb2",
"domain": {
"id": "a0729e98-e946-4e25-acde-10e8a2294ba1",
"type": "domain",
"name": "Marketing",
"fullyQualifiedName": "Marketing",
"deleted": false
},
"deleted": false,
"owners": [],
"experts": []
}
Returns
Returns a data product object with all requested fields populated.
Response
Unique identifier for the data product (UUID format).
Fully qualified name in format domain.dataProductName.
Human-readable display name.
Description of the data product in Markdown format.
Reference to the parent domain.
List of owners. Only included when fields contains owners.
Subject matter experts. Only included when fields contains experts.
Associated data assets. Only included when fields contains assets.
Version number for the entity.
Error Handling
| Code | Error Type | Description |
|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to view this data product |
404 | NOT_FOUND | Data product with given ID or FQN does not exist |