GET /v1/dataProducts
from metadata.sdk import configure
from metadata.sdk.entities import DataProducts
configure(
host="https://your-company.open-metadata.org/api",
jwt_token="your-jwt-token"
)
# List first page
products = DataProducts.list(limit=50)
for dp in products.data:
print(f"{dp.fullyQualifiedName}")
# List all with auto-pagination
for dp in DataProducts.list_all():
print(f"{dp.fullyQualifiedName}")
# Filter by domain with fields
products = DataProducts.list(
domain="Marketing",
fields=["owners", "domain", "experts", "assets"],
limit=50
)
for dp in products.data:
print(f"{dp.fullyQualifiedName}")
if dp.owners:
print(f" Owners: {[o.name for o in dp.owners]}")
import static org.openmetadata.sdk.fluent.DataProducts.*;
// List first page
var result = DataProducts.list()
.limit(50)
.execute();
for (var dp : result.getData()) {
System.out.println(dp.getFullyQualifiedName());
}
// Filter by domain with fields
var result = DataProducts.list()
.domain("Marketing")
.fields("owners", "domain", "experts", "assets")
.limit(50)
.execute();
# List all
curl "{base_url}/api/v1/dataProducts?limit=50" \
-H "Authorization: Bearer {access_token}"
# Filter by domain
curl "{base_url}/api/v1/dataProducts?domain=Marketing&fields=owners,domain,experts,assets&limit=50" \
-H "Authorization: Bearer {access_token}"
{
"data": [
{
"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": []
}
],
"paging": {
"after": "...",
"total": 3
}
}
List Data Products
List all data products with optional filtering and pagination
GET
/
v1
/
dataProducts
GET /v1/dataProducts
from metadata.sdk import configure
from metadata.sdk.entities import DataProducts
configure(
host="https://your-company.open-metadata.org/api",
jwt_token="your-jwt-token"
)
# List first page
products = DataProducts.list(limit=50)
for dp in products.data:
print(f"{dp.fullyQualifiedName}")
# List all with auto-pagination
for dp in DataProducts.list_all():
print(f"{dp.fullyQualifiedName}")
# Filter by domain with fields
products = DataProducts.list(
domain="Marketing",
fields=["owners", "domain", "experts", "assets"],
limit=50
)
for dp in products.data:
print(f"{dp.fullyQualifiedName}")
if dp.owners:
print(f" Owners: {[o.name for o in dp.owners]}")
import static org.openmetadata.sdk.fluent.DataProducts.*;
// List first page
var result = DataProducts.list()
.limit(50)
.execute();
for (var dp : result.getData()) {
System.out.println(dp.getFullyQualifiedName());
}
// Filter by domain with fields
var result = DataProducts.list()
.domain("Marketing")
.fields("owners", "domain", "experts", "assets")
.limit(50)
.execute();
# List all
curl "{base_url}/api/v1/dataProducts?limit=50" \
-H "Authorization: Bearer {access_token}"
# Filter by domain
curl "{base_url}/api/v1/dataProducts?domain=Marketing&fields=owners,domain,experts,assets&limit=50" \
-H "Authorization: Bearer {access_token}"
{
"data": [
{
"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": []
}
],
"paging": {
"after": "...",
"total": 3
}
}
List Data Products
List all data products with optional filtering and pagination.Query Parameters
Filter by domain fully qualified name.
Maximum number of results to return (max: 1000000).
Cursor for backward pagination.
Cursor for forward pagination.
Comma-separated list of fields to include:
owners, domain, experts, assets. See Supported Fields below.Include
all, deleted, or non-deleted entities.GET /v1/dataProducts
from metadata.sdk import configure
from metadata.sdk.entities import DataProducts
configure(
host="https://your-company.open-metadata.org/api",
jwt_token="your-jwt-token"
)
# List first page
products = DataProducts.list(limit=50)
for dp in products.data:
print(f"{dp.fullyQualifiedName}")
# List all with auto-pagination
for dp in DataProducts.list_all():
print(f"{dp.fullyQualifiedName}")
# Filter by domain with fields
products = DataProducts.list(
domain="Marketing",
fields=["owners", "domain", "experts", "assets"],
limit=50
)
for dp in products.data:
print(f"{dp.fullyQualifiedName}")
if dp.owners:
print(f" Owners: {[o.name for o in dp.owners]}")
import static org.openmetadata.sdk.fluent.DataProducts.*;
// List first page
var result = DataProducts.list()
.limit(50)
.execute();
for (var dp : result.getData()) {
System.out.println(dp.getFullyQualifiedName());
}
// Filter by domain with fields
var result = DataProducts.list()
.domain("Marketing")
.fields("owners", "domain", "experts", "assets")
.limit(50)
.execute();
# List all
curl "{base_url}/api/v1/dataProducts?limit=50" \
-H "Authorization: Bearer {access_token}"
# Filter by domain
curl "{base_url}/api/v1/dataProducts?domain=Marketing&fields=owners,domain,experts,assets&limit=50" \
-H "Authorization: Bearer {access_token}"
{
"data": [
{
"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": []
}
],
"paging": {
"after": "...",
"total": 3
}
}
Returns
Returns a paginated list of data product objects. By default, only basic fields are included. Use thefields parameter to request additional data.
Response
Array of data product objects.
Show properties
Show properties
Unique identifier for the data product (UUID format).
Data product name.
Fully qualified name in format
domain.dataProductName.Parent domain reference. Only included when
fields contains 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.Supported Fields
| Field | Description |
|---|---|
owners | Owner references (users and teams) |
domain | Parent domain reference |
experts | Subject matter expert references |
assets | Associated data assets |
Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to list data products |
Was this page helpful?
⌘I