Search
Find saved queries and dashboards in a database by name.
Tool: draxlr_search
Searches a database for saved queries and dashboards by name and returns the matches with their ids and view links. Use it to find something before running, updating, or opening it. Results are limited to what the signed-in user has access to.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
databaseId | string | Yes | The database id (from List Databases) |
query | string | Yes | The text to match against saved query and dashboard names |
Example
"Find my orders dashboards and queries in Sales DB."
Arguments:
{
"databaseId": "665f1c2a9b1e4a0012ab34cd",
"query": "orders"
}
Response
{
"count": 2,
"results": [
{
"type": "query",
"id": "6690aa11bc2e4a0012cd77ee",
"name": "Orders by status",
"description": "Query",
"url": "https://app.draxlr.com/explore/665f1c2a9b1e4a0012ab34cd/6690aa11bc2e4a0012cd77ee"
},
{
"type": "dashboard",
"id": "665f2a119b1e4a0012abd100",
"name": "Orders Overview",
"isGlobal": false,
"url": "https://app.draxlr.com/dashboard/665f1c2a9b1e4a0012ab34cd/665f2a119b1e4a0012abd100"
}
]
}
| Field | Description |
|---|---|
count | Number of matches returned |
results[].type | query or dashboard |
results[].id | Use with Get Query, Run Saved Query or Get Dashboard |
results[].url | A link to open the query or dashboard in Draxlr |