Operations the current user is able to perform on this object
id
lock
string
Unique Id
model
string
Model
view
string
Explore Name
fields
string[]
pivots
string[]
fill_fields
string[]
filters
object
Filters will contain data pertaining to complex filters that do not contain "or" conditions. When "or" conditions are present, filter data will be found on the `filter_expression` property.
filter_expression
string
Filter Expression
sorts
string[]
limit
string
Row limit. To download unlimited results, set the limit to -1 (negative one).
column_limit
string
Column Limit
total
boolean
Total
row_total
string
Raw Total
subtotals
string[]
vis_config
object
Visualization configuration properties. These properties are typically opaque and differ based on the type of visualization used. There is no specified set of allowed keys. The values can be any type supported by JSON. A "type" key with a string value is often present, and is used by Looker to determine which visualization to present. Visualizations ignore unknown vis_config properties.
filter_config
object
The filter_config represents the state of the filter UI on the explore page for a given query. When running a query via the Looker UI, this parameter takes precedence over "filters". When creating a query or modifying an existing query, "filter_config" should be set to null. Setting it to any other value could cause unexpected filtering behavior. The format should be considered opaque.
visible_ui_sections
string
Visible UI Sections
slug
lock
string
Slug
dynamic_fields
string
Dynamic Fields
client_id
string
Client Id: used to generate shortened explore URLs. If set by client, must be a unique 22 character alphanumeric string. Otherwise one will be generated.
share_url
lock
string
Share Url
expanded_share_url
lock
string
Expanded Share Url
url
lock
string
Expanded Url
query_timezone
string
Query Timezone
has_table_calculations
lock
boolean
Has Table Calculations
generate_links
boolean
whether or not to generate links in the query response.
force_production
boolean
Use production models to run query (even is user is in dev mode).
path_prefix
string
Prefix to use for drill links.
cache
boolean
Whether or not to use the cache
server_table_calcs
boolean
Whether or not to run table calculations on the server
cache_only
boolean
Retrieve any results from cache even if the results have expired.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# QueryTask\n\nVersion 4.0.25.14 (latest) \nDatatype \nDescription \n(object) \nobject \ncan \n*lock* \nobject \nOperations the current user is able to perform on this object \nid \n*lock* \nstring \nUnique Id \nquery_id \nstring \nId of query \nquery \n*lock* \n[Query](/looker/docs/reference/looker-api/latest/types/Query) \nQuery\nExpand Query definition... \ncan \n*lock* \nobject \nOperations the current user is able to perform on this object \nid \n*lock* \nstring \nUnique Id \nmodel \nstring \nModel \nview \nstring \nExplore Name \nfields \nstring\\[\\] \npivots \nstring\\[\\] \nfill_fields \nstring\\[\\] \nfilters \nobject \nFilters will contain data pertaining to complex filters that do not contain \"or\" conditions. When \"or\" conditions are present, filter data will be found on the \\`filter_expression\\` property. \nfilter_expression \nstring \nFilter Expression \nsorts \nstring\\[\\] \nlimit \nstring \nRow limit. To download unlimited results, set the limit to -1 (negative one). \ncolumn_limit \nstring \nColumn Limit \ntotal \nboolean \nTotal \nrow_total \nstring \nRaw Total \nsubtotals \nstring\\[\\] \nvis_config \nobject \nVisualization configuration properties. These properties are typically opaque and differ based on the type of visualization used. There is no specified set of allowed keys. The values can be any type supported by JSON. A \"type\" key with a string value is often present, and is used by Looker to determine which visualization to present. Visualizations ignore unknown vis_config properties. \nfilter_config \nobject \nThe filter_config represents the state of the filter UI on the explore page for a given query. When running a query via the Looker UI, this parameter takes precedence over \"filters\". When creating a query or modifying an existing query, \"filter_config\" should be set to null. Setting it to any other value could cause unexpected filtering behavior. The format should be considered opaque. \nvisible_ui_sections \nstring \nVisible UI Sections \nslug \n*lock* \nstring \nSlug \ndynamic_fields \nstring \nDynamic Fields \nclient_id \nstring \nClient Id: used to generate shortened explore URLs. If set by client, must be a unique 22 character alphanumeric string. Otherwise one will be generated. \nshare_url \n*lock* \nstring \nShare Url \nexpanded_share_url \n*lock* \nstring \nExpanded Share Url \nurl \n*lock* \nstring \nExpanded Url \nquery_timezone \nstring \nQuery Timezone \nhas_table_calculations \n*lock* \nboolean \nHas Table Calculations \ngenerate_links \nboolean \nwhether or not to generate links in the query response. \nforce_production \nboolean \nUse production models to run query (even is user is in dev mode). \npath_prefix \nstring \nPrefix to use for drill links. \ncache \nboolean \nWhether or not to use the cache \nserver_table_calcs \nboolean \nWhether or not to run table calculations on the server \ncache_only \nboolean \nRetrieve any results from cache even if the results have expired. \ncache_key \n*lock* \nstring \ncache key used to cache query. \nstatus \nstring \nStatus of query task. \nsource \nstring \nSource of query task. \nruntime \n*lock* \nnumber \nRuntime of prior queries. \nrebuild_pdts \nboolean \nRebuild PDTS used in query. \nresult_source \n*lock* \nstring \nSource of the results of the query. \nlook_id \nstring \nId of look associated with query. \ndashboard_id \nstring \nId of dashboard associated with query. \nresult_format \n*lock* \nstring \nThe data format of the query results.\n\nRelated Methods\n---------------\n\n- [Query/create_query_task](../methods/Query/create_query_task \"Query/create_query_task\")\n- [Query/query_task](../methods/Query/query_task \"Query/query_task\")"]]