curl --request POST \
--url https://api.example.com/dashboards/data-sources/run-query/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"visualisation": {
"uid": "<string>",
"title": "<string>",
"grid_layout": {
"x": 123,
"y": 123,
"w": 123,
"h": 123
},
"data_source_uid": "<string>",
"config": {
"columns": [
"<string>"
],
"type": "STANDARD_TABLE"
}
},
"data_source": {
"uid": "<string>",
"query": "<string>",
"filters": [
{
"uid": "<string>",
"column": "<string>",
"column_type": "BOOLEAN",
"filter_condition": {
"operator": "EQUALS",
"value": "<string>",
"is_negated": false
}
}
]
},
"embedding_search": {
"search_term": "<string>",
"keyword_column": "",
"top_k": 1000
}
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}curl --request POST \
--url https://api.example.com/dashboards/data-sources/run-query/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"visualisation": {
"uid": "<string>",
"title": "<string>",
"grid_layout": {
"x": 123,
"y": 123,
"w": 123,
"h": 123
},
"data_source_uid": "<string>",
"config": {
"columns": [
"<string>"
],
"type": "STANDARD_TABLE"
}
},
"data_source": {
"uid": "<string>",
"query": "<string>",
"filters": [
{
"uid": "<string>",
"column": "<string>",
"column_type": "BOOLEAN",
"filter_condition": {
"operator": "EQUALS",
"value": "<string>",
"is_negated": false
}
}
]
},
"embedding_search": {
"search_term": "<string>",
"keyword_column": "",
"top_k": 1000
}
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response