curl --request POST \
--url https://developer.synq.io/api/datachecks/testsuggestions/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"suggestions": [
{
"identifier": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"explanation": "<string>",
"acceptedValuesTest": {
"columnName": "<string>",
"acceptedValues": [
"<string>"
]
},
"entitySynqPath": "<string>",
"id": "<string>"
}
]
}
'{}curl --request POST \
--url https://developer.synq.io/api/datachecks/testsuggestions/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"suggestions": [
{
"identifier": {
"airflowDag": {
"integrationId": "<string>",
"dagId": "<string>"
}
},
"explanation": "<string>",
"acceptedValuesTest": {
"columnName": "<string>",
"acceptedValues": [
"<string>"
]
},
"entitySynqPath": "<string>",
"id": "<string>"
}
]
}
'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Test types that can be suggested
Show child attributes
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.
Show child attributes
Validates that column values are within an allowed set (e.g., status in ['active', 'inactive', 'pending'])
Read-only path of matched entity. This is a unique path that can be used to access the entity in the Synq's UI.
Read-only Synq ID of matched entity. This is a unique ID that can be used to access the entity in the Synq's UI.
Success
The response is of type BatchCreateTestSuggestionsResponse · object.