Version 4.0.24.18
Run LookML Tests
Runs all tests in the project, optionally filtered by file, test, and/or model.
Request
GET
/projects/{project_id}/lookml_tests/run
Datatype
Description
Request
path
Expand HTTP Path definition...
project_id
Project Id
query
Expand HTTP Query definition...
file_id
File Name
test
Test Name
model
Model Name
Response
200: LookML Test Results
Datatype
Description
(array)
can
lock
Operations the current user is able to perform on this object
model_name
lock
Name of model containing this test.
test_name
lock
Name of this test.
assertions_count
lock
Number of assertions in this test
assertions_failed
lock
Number of assertions passed in this test
errors
Expand ProjectError definition...
code
lock
A stable token that uniquely identifies this class of error, ignoring parameter values. Error message text may vary due to parameters or localization, but error codes do not. For example, a "File not found" error will have the same error code regardless of the filename in question or the user's display language
severity
lock
Severity: fatal, error, warning, info, success
kind
lock
Error classification: syntax, deprecation, model_configuration, etc
message
lock
Error message which may contain information such as dashboard or model names that may be considered sensitive in some use cases. Avoid storing or sending this message outside of Looker
field_name
lock
The field associated with this error
file_path
lock
Name of the file containing this error
line_number
lock
Line number in the file of this error
model_id
lock
The model associated with this error
explore
lock
The explore associated with this error
help_url
lock
A link to Looker documentation about this error
params
lock
Error parameters
sanitized_message
lock
A version of the error message that does not contain potentially sensitive information. Suitable for situations in which messages are stored or sent to consumers outside of Looker, such as external logs. Sanitized messages will display "(?)" where sensitive information would appear in the corresponding non-sanitized message
warnings
Expand ProjectError definition...
code
lock
A stable token that uniquely identifies this class of error, ignoring parameter values. Error message text may vary due to parameters or localization, but error codes do not. For example, a "File not found" error will have the same error code regardless of the filename in question or the user's display language
severity
lock
Severity: fatal, error, warning, info, success
kind
lock
Error classification: syntax, deprecation, model_configuration, etc
message
lock
Error message which may contain information such as dashboard or model names that may be considered sensitive in some use cases. Avoid storing or sending this message outside of Looker
field_name
lock
The field associated with this error
file_path
lock
Name of the file containing this error
line_number
lock
Line number in the file of this error
model_id
lock
The model associated with this error
explore
lock
The explore associated with this error
help_url
lock
A link to Looker documentation about this error
params
lock
Error parameters
sanitized_message
lock
A version of the error message that does not contain potentially sensitive information. Suitable for situations in which messages are stored or sent to consumers outside of Looker, such as external logs. Sanitized messages will display "(?)" where sensitive information would appear in the corresponding non-sanitized message
success
lock
True if this test passsed without errors.
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
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