Create a query

Creates a Query in a Report

post/{account}/reports/{report}/queries

Request

Path parameters

accountstring required

Account (Workspace or User) username

reportstring required

Report token

Request body

Example request

{
  "query": {
    "raw_query": "SELECT * from the_way_down",
    "name": "Turtles"
  }
}

Response

Query response

idstring required
tokenstring required
raw_querystring
created_atstring required
updated_atstring required
namestring required
last_run_idstring required
data_source_idstring required
explorations_countstring required
report_imports_countstring required
dbt_metric_idstring required
dbt_metric_tokenstring
mapping_idstring
_embeddedunknown

Changes

No recorded changes to this operation across all 28 revisions of this API.