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.
Show child attributes
The grid layout of the dashboard. x: The x-coordinate of the top-left corner of the visualisation. y: The y-coordinate of the top-left corner of the visualisation. w: The width of the visualisation. h: The height of the visualisation.
The page is divided into a grid of cells 12 wide, like a Bootstrap grid system. A layout with (x=0, y=0, w=12, h=10) will take up the entire width of the page and span 10 rows. A layout with (x=0, y=0, w=6, h=10) and (x=6, y=0, w=6, h=10) will take up the width of the page with 2 equal height columns.
Show child attributes
Show child attributes
BOOLEAN, STRING, NUMBER, DATETIME Successful Response