curl --request GET \
--url https://developer.synq.io/api/monitors/info/v1/{id} \
--header 'Authorization: Bearer <token>'
{
"monitorInfo": {
"id": {
"monitoredId": {},
"monitorId": "<string>",
"segment": "<string>",
"integrationId": "<string>"
},
"name": "<string>",
"segmentation": {
"column": "<string>"
},
"partitioning": {
"column": "<string>",
"period": "<string>"
},
"conditions": [
{
"expression": "<string>"
}
],
"metrics": [
{
"freshness": {
"expression": "<string>"
},
"metricId": "<string>"
}
],
"monitored": {
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"name": "<string>",
"description": "<string>",
"integrationId": "<string>",
"objectFqn": {
"instance": "<string>",
"databaseName": "<string>",
"schemaName": "<string>",
"objectName": "<string>"
},
"sqlDialect": "SQL_DIALECT_UNSPECIFIED"
}
}
}
curl --request GET \
--url https://developer.synq.io/api/monitors/info/v1/{id} \
--header 'Authorization: Bearer <token>'
{
"monitorInfo": {
"id": {
"monitoredId": {},
"monitorId": "<string>",
"segment": "<string>",
"integrationId": "<string>"
},
"name": "<string>",
"segmentation": {
"column": "<string>"
},
"partitioning": {
"column": "<string>",
"period": "<string>"
},
"conditions": [
{
"expression": "<string>"
}
],
"metrics": [
{
"freshness": {
"expression": "<string>"
},
"metricId": "<string>"
}
],
"monitored": {
"id": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"name": "<string>",
"description": "<string>",
"integrationId": "<string>",
"objectFqn": {
"instance": "<string>",
"databaseName": "<string>",
"schemaName": "<string>",
"objectName": "<string>"
},
"sqlDialect": "SQL_DIALECT_UNSPECIFIED"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Identifier is a unique reference to an entity in SYNQ system. Entity identifiers are designed to closely mimic identifiers used by data platforms and tools. To construct an identifier, you need to know the kind of the entity and the ids that you would normally use to identify it in the data platform or tool. For example, to identify a table in BigQuery, you would need to know the project, dataset, and table names.
Success
The response is of type object
.