- Get Export Data
- Get Metrics From Latest View
- Get Metric Latest
POST /api/v1/metrics/views/exportGet Export DataResponseboolean
Whether the request completed successfully
string
Human-readable result message
string
ISO 8601 server timestamp
string
Unique ID for this request
object
The endpoint’s response payload.
curl -X POST "https://<your-workspace>.prizmdata.ai/api/v1/metrics/views/export" \
-H "Authorization: Bearer <YOUR_API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{}'
Response
{
"success": true,
"message": "Get Export Data",
"timestamp": "2026-09-21T09:43:50.316067+00:00",
"correlation_id": "1bff0823-3db2-4b12-bf56-22ea8d38bba2",
"data": {}
}
POST /api/v1/metrics/views/metric-latestGet metrics from metric list with filters and pagination.Responseboolean
Whether the request completed successfully
string
Human-readable result message
string
ISO 8601 server timestamp
string
Unique ID for this request
object
object[]
object[]
object[]
string
Example:
"Attribute".object[]
string
Example:
" SELECT COUNT(*) FROM \"dqlabs\".\"dbo\".\"ACTIONFIGURE\" WHERE \"TOY_ID\" IS NULL".integer
Example:
100.integer
Example:
0.object[]
integer
Example:
0.string
Example:
"PENDING".string
Example:
"Semantic".string
object
object[]
object[]
string
string
Example:
"cea69567-190d-47b7-b507-c58126775b6e".string
Example:
"dfbbb658-42e0-44be-9613-1e9cfeb39b4e".string
Example:
"Query".string
Example:
"Consistency".boolean
Example:
true.boolean
Example:
false.string
Example:
"34185116-fbca-4ad6-883e-b8bfbb807a54".string
integer
Example:
100.string
Example:
"0f68b6c5-c9d9-49ee-900f-f212b1324d8b".integer
Example:
100.string
Example:
"TOY_ID".string
Example:
"ATTRIBUTE".string
Example:
"2026-09-20T19:07:22.142959+00:00".string
Example:
"87efd845-c1f5-4c65-8a2a-1ecc91736c30".boolean
Example:
false.string
string
Example:
"COMPLETED".object
string
Example:
"This metric measures the consistency of semantic terms within the query context, ensuring that glossary terms are used accurately and uniformly. It is applied at the term level within a semantic glossary asset, focusing on the consistency dimension. The metric is evaluated periodically using aggregation logic relevant to semantic consistency checks, although specific frequency details are not provided. Maintaining semantic consistency is crucial for data trust as it ensures clear and unambiguous communication of data definitions, supporting reliable data interpretation and decision-making.".boolean
Example:
true.object[]
string
boolean
Example:
true.boolean
Example:
false.string
Example:
"METRIC2".string
Example:
"custom".string
Example:
"2026-09-20T19:11:02.563761+00:00".string
Example:
"87efd845-c1f5-4c65-8a2a-1ecc91736c30".object[]
string
Example:
"mssql_regression".string
Example:
"MSSQL".string
Example:
"Glossary".integer
Example:
20.boolean
Example:
false.boolean
Example:
false.string
integer
Example:
0.string
string
Example:
"41f2655f-8b4f-4979-8a8b-80bfa88d8574".object
integer
Example:
634067.integer
Example:
634067.boolean
Example:
true.string
Example:
"\"dqlabs\".\"dbo\".\"ACTIONFIGURE\".\"TOY_ID\"".string
Example:
"3a33afad-d5db-4334-b18e-acf020755907".string
integer
Example:
0.boolean
Example:
false.string
Example:
"f053504c-1608-4684-9d80-5052718daab5".boolean
Example:
true.string
Example:
"0b8b4378-e006-48f7-a1a5-e280603321b2".integer
Example:
100.string
Example:
"d59eb4a6-58ca-4cb9-8e4d-e40e09e3ce06".string
string
integer
Example:
0.string
Example:
"custom".string
boolean
Example:
false.boolean
Example:
false.boolean
Example:
true.string
Example:
"2026-09-20T19:10:48.285349+00:00".string
string
boolean
Example:
false.integer
Example:
65761.curl -X POST "https://<your-workspace>.prizmdata.ai/api/v1/metrics/views/metric-latest" \
-H "Authorization: Bearer <YOUR_API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{}'
Response
{
"success": true,
"message": "Get metrics from metric list with filters and pagination.",
"timestamp": "2026-09-21T09:43:50.316067+00:00",
"correlation_id": "1bff0823-3db2-4b12-bf56-22ea8d38bba2",
"data": {
"data": [
{
"tag": [],
"term": [
{
"id": "cea69567-190d-47b7-b507-c58126775b6e",
"name": "term_governance",
"label": "term_governance",
"datatype": "text"
}
],
"level": "Attribute",
"owner": [],
"query": " SELECT COUNT(*) FROM \"dqlabs\".\"dbo\".\"ACTIONFIGURE\" WHERE \"TOY_ID\" IS NULL",
"score": 100,
"alerts": 0,
"domain": [],
"issues": 0,
"status": "PENDING",
"context": "Semantic",
"is_pass": null,
"metrics": {},
"parents": [
{
"id": "d59eb4a6-58ca-4cb9-8e4d-e40e09e3ce06",
"name": "dqlabs",
"type": "DATABASE"
}
],
"product": [],
"purpose": null,
"term_id": "cea69567-190d-47b7-b507-c58126775b6e",
"asset_id": "dfbbb658-42e0-44be-9613-1e9cfeb39b4e",
"category": "Query",
"dimension": "Consistency",
"is_active": true,
"is_delete": false,
"metric_id": "34185116-fbca-4ad6-883e-b8bfbb807a54",
"rationale": null,
"row_limit": 100,
"source_id": "0f68b6c5-c9d9-49ee-900f-f212b1324d8b",
"threshold": {
"lower_threshold": 0.0,
"upper_threshold": 0.0
},
"weightage": 100,
"asset_name": "TOY_ID",
"asset_type": "ATTRIBUTE",
"created_at": "2026-09-20T19:07:22.142959+00:00",
"created_by": "87efd845-c1f5-4c65-8a2a-1ecc91736c30",
"is_default": false,
"properties": null,
"run_status": "COMPLETED",
"ai_insights": {
"summary": "This metric measures the consistency of semantic terms within the query context, ensuring that glossary terms are used accurately and uniformly. It is applied at the term level within a semantic glossary asset, focusing on the consistency dimension. The metric is evaluated periodically using aggregation logic relevant to semantic consistency checks, although specific frequency details are not provided. Maintaining semantic consistency is crucial for data trust as it ensures clear and unambiguous communication of data definitions, supporting reliable data interpretation and decision-making."
},
"allow_score": true,
"application": [],
"description": null,
"is_approved": true,
"is_positive": false,
"metric_name": "METRIC2",
"metric_type": "custom",
"modified_at": "2026-09-20T19:11:02.563761+00:00",
"modified_by": "87efd845-c1f5-4c65-8a2a-1ecc91736c30",
"recent_runs": [
{
"range": null,
"run_id": "41f2655f-8b4f-4979-8a8b-80bfa88d8574",
"marked_as": null,
"collected_at": "2026-09-20 19:10:48.285349+00",
"alert_priority": "OK"
}
],
"source_name": "mssql_regression",
"source_type": "MSSQL",
"subcategory": "Glossary",
"column_limit": 20,
"is_aggregate": false,
"is_validated": false,
"job_asset_id": null,
"metric_value": 0,
"error_message": null,
"latest_run_id": "41f2655f-8b4f-4979-8a8b-80bfa88d8574",
"pass_criteria": {},
"total_records": 634067,
"valid_records": 634067,
"auto_threshold": true,
"qualified_name": "\"dqlabs\".\"dbo\".\"ACTIONFIGURE\".\"TOY_ID\"",
"table_asset_id": "3a33afad-d5db-4334-b18e-acf020755907",
"disable_scoring": null,
"invalid_records": 0,
"is_ai_generated": false,
"schema_asset_id": "f053504c-1608-4684-9d80-5052718daab5",
"is_drift_enabled": true,
"metric_detail_id": "0b8b4378-e006-48f7-a1a5-e280603321b2",
"valid_percentage": 100,
"database_asset_id": "d59eb4a6-58ca-4cb9-8e4d-e40e09e3ce06",
"failed_rows_query": null,
"pipeline_asset_id": null,
"invalid_percentage": 0,
"metric_detail_type": "custom",
"metric_template_id": null,
"enabled_export_rows": false,
"enabled_failed_rows": false,
"is_metric_validated": true,
"metric_collected_at": "2026-09-20T19:10:48.285349+00:00",
"total_records_query": null,
"metric_template_name": null,
"threshold_constraint": {
"auto": [],
"mode": "auto",
"custom": [],
"manual": []
},
"enabled_total_records": false
}
],
"total_count": 65761,
"metrics": [
{
"type": "Availability",
"title": "Availability",
"value": 32641
}
]
}
}
GET /api/v1/metrics/views/{metricDetailId}Get metric latest by metric_detail_idPath Parametersstring
required
Example:
3fa85f64-5717-4562-b3fc-2c963f66afa6boolean
Whether the request completed successfully
string
Human-readable result message
string
ISO 8601 server timestamp
string
Unique ID for this request
object
The endpoint’s response payload.
curl -X GET "https://<your-workspace>.prizmdata.ai/api/v1/metrics/views/{metricDetailId}" \
-H "Authorization: Bearer <YOUR_API_TOKEN>"
Response
{
"success": true,
"message": "Get metric latest by metric_detail_id",
"timestamp": "2026-09-21T09:43:50.316067+00:00",
"correlation_id": "1bff0823-3db2-4b12-bf56-22ea8d38bba2",
"data": {}
}