Get all accessible queries.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
If true returns only queries that are owned by the requestor. If false returns only queries that have been shared with the requestor. If not provided returns both.
Filters queries that are tagged with tag. Can appear multiple times, in which case they're OR-d together
Number of page. Stars from the first (1) page.
Number of records to return.
OK
{
"name": "query1",
"id": "7409b999-2a9a-40cd-89dc-8430d85e0391",
"display_name": "Query One",
"owner": {
"company_id": 456,
"company_name": "ExampleCorp",
"company_slug": "examplecorp"
},
"tags": ["tag1", "tag2"],
"collaborators": {
"query": { "type": "inclusion", "company_ids": [789] },
"view": { "type": "all" }
},
"is_owned": true,
"metadata": {
"created_at": "2024-04-12T19:57:05.012908",
"created_by_user_id": 321,
"updated_at": "2024-04-12T20:03:48.031825",
"updated_by_user_id": 321
},
"ast": {
"type": "select",
"nql": "SELECT age FROM narrative.rosetta_stone",
"budget": null,
"columns": [
{
"type": "table",
"nql": "age",
"db": null,
"schema": null,
"table": "age"
}
],
"from": {
"type": "table",
"nql": "narrative.rosetta_stone",
"db": null,
"schema": "narrative",
"table": "rosetta_stone"
},
"group_by": [],
"having": null,
"is_distinct": false,
"limit": null,
"order_by": [],
"qualify": null,
"where": null,
"windows": [],
"with": []
}
}The number of previous page (if exists). Also can refer to the latest existing page if non-existing page was requested.
1
The number of requested page.
1
The number of next page (if exists).
42
Total amount of accessible Access Rules
15000
Total amount of pages.
10