curl --request GET \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/catalogs/{catalogId}/schemas/{schemaName}/tables/{tableName}/statistics \
--header 'Authorization: Bearer <token>'
{
"catalogId": "846085284821991568",
"schemaName": "public",
"tableName": "actor",
"columnStatistics": [
{
"columnName": "actor_id",
"distinctFraction": -1
},
{
"columnName": "first_name",
"distinctFraction": -0.64
},
{
"columnName": "last_name",
"distinctFraction": -0.605
},
{
"columnName": "last_update",
"distinctFraction": 1
}
]
}
curl --request GET \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/catalogs/{catalogId}/schemas/{schemaName}/tables/{tableName}/statistics \
--header 'Authorization: Bearer <token>'
{
"catalogId": "846085284821991568",
"schemaName": "public",
"tableName": "actor",
"columnStatistics": [
{
"columnName": "actor_id",
"distinctFraction": -1
},
{
"columnName": "first_name",
"distinctFraction": -0.64
},
{
"columnName": "last_name",
"distinctFraction": -0.605
},
{
"columnName": "last_update",
"distinctFraction": 1
}
]
}
Use the Authorization header with the value 'Bearer <apiKey>' to authenticate. Partner API Keys have full access; Project API Keys are limited to their project scope. Learn more: https://docs.peaka.com/api-reference/authentication
ID of the project
ID of the catalog
Name of the schema
Name of the table
Successful operation
The response is of type object
.