Create LookML Model

Version 4.0.24.20 (latest)

Create a lookml model using the specified configuration.

Request

POST /lookml_models
Datatype
Description
Request
HTTP Request
body
HTTP Body
Expand HTTP Body definition...
body
LookML Model
Expand LookmlModel definition...
can
object
Operations the current user is able to perform on this object
allowed_db_connection_names
string[]
has_content
boolean
Does this model declaration have have lookml content?
label
string
UI-friendly name for this model
name
string
Name of the model. Also used as the unique identifier
project_name
string
Name of project containing the model
unlimited_db_connections
boolean
Is this model allowed to use all current and future connections

Response

200: LookML Model

Datatype
Description
(object)
can
object
Operations the current user is able to perform on this object
allowed_db_connection_names
string[]
Expand LookmlModelNavExplore definition...
name
string
Name of the explore
description
string
Description for the explore
label
string
Label for the explore
hidden
boolean
Is this explore marked as hidden
group_label
string
Label used to group explores in the navigation menus
has_content
boolean
Does this model declaration have have lookml content?
label
string
UI-friendly name for this model
name
string
Name of the model. Also used as the unique identifier
project_name
string
Name of project containing the model
unlimited_db_connections
boolean
Is this model allowed to use all current and future connections

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

409: Resource Already Exists

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

422: Validation Error

Datatype
Description
(object)
message
string
Error details
Expand ValidationErrorDetail definition...
field
string
Field with error
code
string
Error code
message
string
Error info message
documentation_url
string
Documentation link
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link