Version 4.0.24.18
Get a Look.
Returns detailed information about a Look and its associated Query.
Request
GET
/looks/{look_id}
Datatype
Description
Request
path
Expand HTTP Path definition...
look_id
Id of look
query
Expand HTTP Query definition...
fields
Requested fields.
Response
200: Look
Datatype
Description
(object)
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.
user_name
lock
Name of User that created the look.
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
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
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Examples
Python
https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/run_look_with_filters.py |
Ruby
Kotlin
https://github.com/looker-open-source/sdk-codegen/blob/main/kotlin/src/test/TestMethods.kt |
https://github.com/looker-open-source/sdk-codegen/blob/main/kotlin/src/test/TestMethods.kt |
TypeScript
Swift
https://github.com/looker-open-source/sdk-codegen/blob/main/swift/looker/Tests/lookerTests/methodsTests.swift |