Version 4.0.24.16 (latest)
Create a dashboard element on the dashboard with a specific id.
Request
POST
/dashboard_elements
Datatype
Description
Request
body
Expand HTTP Body definition...
body
DashboardElement
Expand DashboardElement definition...
can
lock
Operations the current user is able to perform on this object
body_text
Text tile body text
body_text_as_html
lock
Text tile body text as Html
dashboard_id
Id of Dashboard
edit_uri
lock
Relative path of URI of LookML file to edit the dashboard element (LookML dashboard only).
id
lock
Unique Id
look
lock
Look
look_id
Id Of Look
lookml_link_id
lock
LookML link ID
merge_result_id
ID of merge result
note_display
Note Display
note_state
Note State
note_text
Note Text
note_text_as_html
lock
Note Text as Html
query
lock
Query
query_id
Id Of Query
refresh_interval
Refresh Interval
refresh_interval_to_i
lock
Refresh Interval as integer
result_maker
Data about the result maker.
result_maker_id
ID of the ResultMakerLookup entry.
subtitle_text
Text tile subtitle text
title
Title of dashboard element
title_hidden
Whether title is hidden
title_text
Text tile title
type
Type
alert_count
lock
Count of Alerts associated to a dashboard element
rich_content_json
JSON with all the properties required for rich editor and buttons elements
title_text_as_html
lock
Text tile title text as Html
subtitle_text_as_html
lock
Text tile subtitle text as Html
extension_id
Extension ID
query
Expand HTTP Query definition...
fields
Requested fields.
apply_filters
Apply relevant filters on dashboard to this tile
Response
200: DashboardElement
Datatype
Description
(object)
can
lock
Operations the current user is able to perform on this object
body_text
Text tile body text
body_text_as_html
lock
Text tile body text as Html
dashboard_id
Id of Dashboard
edit_uri
lock
Relative path of URI of LookML file to edit the dashboard element (LookML dashboard only).
id
lock
Unique Id
look
lock
Look
Expand LookWithQuery definition...
can
lock
Operations the current user is able to perform on this object
content_metadata_id
lock
Id of content metadata
id
lock
Unique Id
title
Look Title
user_id
User Id
content_favorite_id
lock
Content Favorite Id
created_at
lock
Time that the Look was created.
deleted
Whether or not a look is 'soft' deleted.
deleted_at
lock
Time that the Look was deleted.
deleter_id
lock
Id of User that deleted the look.
description
Description
embed_url
lock
Embed Url
excel_file_url
lock
Excel File Url
favorite_count
lock
Number of times favorited
google_spreadsheet_formula
lock
Google Spreadsheet Formula
image_embed_url
lock
Image Embed Url
is_run_on_load
auto-run query when Look viewed
last_accessed_at
lock
Time that the Look was last accessed by any user
last_updater_id
lock
Id of User that last updated the look.
last_viewed_at
lock
Time last viewed in the Looker web UI
model
lock
Model
Expand LookModel definition...
id
lock
Model Id
label
lock
Model Label
public
Is Public
public_slug
lock
Public Slug
public_url
lock
Public Url
query_id
Query Id
short_url
lock
Short Url
folder
lock
Folder of this Look
Expand FolderBase definition...
name
Unique Name
parent_id
Id of Parent. If the parent id is null, this is a root-level entry
id
lock
Unique Id
content_metadata_id
lock
Id of content metadata
created_at
lock
Time the folder was created
creator_id
lock
User Id of Creator
child_count
lock
Children Count
external_id
lock
Embedder's Id if this folder was autogenerated as an embedding shared folder via 'external_group_id' in an SSO embed login
is_embed
lock
Folder is an embed folder
is_embed_shared_root
lock
Folder is the root embed shared folder
is_embed_users_root
lock
Folder is the root embed users folder
is_personal
lock
Folder is a user's personal folder
is_personal_descendant
lock
Folder is descendant of a user's personal folder
is_shared_root
lock
Folder is the root shared folder
is_users_root
lock
Folder is the root user folder
can
lock
Operations the current user is able to perform on this object
folder_id
Folder Id
updated_at
lock
Time that the Look was updated.
view_count
lock
Number of times viewed in the Looker web UI
query
lock
Query
Expand Query definition...
can
lock
Operations the current user is able to perform on this object
id
lock
Unique Id
model
Model
view
Explore Name
fields
pivots
fill_fields
filters
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
Filter Expression
sorts
limit
Limit
column_limit
Column Limit
total
Total
row_total
Raw Total
subtotals
vis_config
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
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
Visible UI Sections
slug
lock
Slug
dynamic_fields
Dynamic Fields
client_id
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
Share Url
expanded_share_url
lock
Expanded Share Url
url
lock
Expanded Url
query_timezone
Query Timezone
has_table_calculations
lock
Has Table Calculations
url
lock
Url
look_id
Id Of Look
lookml_link_id
lock
LookML link ID
merge_result_id
ID of merge result
note_display
Note Display
note_state
Note State
note_text
Note Text
note_text_as_html
lock
Note Text as Html
query
lock
Query
Expand Query definition...
can
lock
Operations the current user is able to perform on this object
id
lock
Unique Id
model
Model
view
Explore Name
fields
pivots
fill_fields
filters
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
Filter Expression
sorts
limit
Limit
column_limit
Column Limit
total
Total
row_total
Raw Total
subtotals
vis_config
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
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
Visible UI Sections
slug
lock
Slug
dynamic_fields
Dynamic Fields
client_id
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
Share Url
expanded_share_url
lock
Expanded Share Url
url
lock
Expanded Url
query_timezone
Query Timezone
has_table_calculations
lock
Has Table Calculations
query_id
Id Of Query
refresh_interval
Refresh Interval
refresh_interval_to_i
lock
Refresh Interval as integer
result_maker
Data about the result maker.
Expand ResultMakerWithIdVisConfigAndDynamicFields definition...
id
lock
Unique Id.
dynamic_fields
lock
JSON string of dynamic field information.
filterables
Expand ResultMakerFilterables definition...
model
lock
The model this filterable comes from (used for field suggestions).
view
lock
The view this filterable comes from (used for field suggestions).
name
lock
The name of the filterable thing (Query or Merged Results).
listen
sorts
merge_result_id
lock
ID of merge result if this is a merge_result.
total
lock
Total of the constituent Look, Query, or Merge Query
query_id
lock
ID of query if this is a query.
sql_query_id
lock
ID of SQL Query if this is a SQL Runner Query
query
lock
Query
Expand Query definition...
can
lock
Operations the current user is able to perform on this object
id
lock
Unique Id
model
Model
view
Explore Name
fields
pivots
fill_fields
filters
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
Filter Expression
sorts
limit
Limit
column_limit
Column Limit
total
Total
row_total
Raw Total
subtotals
vis_config
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
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
Visible UI Sections
slug
lock
Slug
dynamic_fields
Dynamic Fields
client_id
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
Share Url
expanded_share_url
lock
Expanded Share Url
url
lock
Expanded Url
query_timezone
Query Timezone
has_table_calculations
lock
Has Table Calculations
vis_config
lock
Vis config of the constituent Query, or Merge Query.
result_maker_id
ID of the ResultMakerLookup entry.
subtitle_text
Text tile subtitle text
title
Title of dashboard element
title_hidden
Whether title is hidden
title_text
Text tile title
type
Type
alert_count
lock
Count of Alerts associated to a dashboard element
rich_content_json
JSON with all the properties required for rich editor and buttons elements
title_text_as_html
lock
Text tile title text as Html
subtitle_text_as_html
lock
Text tile subtitle text as Html
extension_id
Extension ID
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
409: Resource Already Exists
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
422: Validation Error
Datatype
Description
(object)
message
lock
Error details
errors
Expand ValidationErrorDetail definition...
field
lock
Field with error
code
lock
Error code
message
lock
Error info message
documentation_url
lock
Documentation link
documentation_url
lock
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Examples
TypeScript
https://github.com/looker-open-source/sdk-codegen/blob/main/packages/sdk-node/test/methods.spec.ts |
https://github.com/looker-open-source/sdk-codegen/blob/main/packages/sdk-node/test/sdk.test.ts |
Python
https://github.com/looker-open-source/sdk-codegen/blob/main/python/tests/integration/test_methods.py |