Get All LookML Tests

Version 4.0.24.6 (latest)

Get All LookML Tests

Returns a list of tests which can be run to validate a project's LookML code and/or the underlying data, optionally filtered by the file id. Call Run LookML Test to execute tests.

Request

GET /projects/{project_id}/lookml_tests
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
project_id
string
Project Id
query
HTTP Query
Expand HTTP Query definition...
file_id
string
File Id

Response

200: LookML Test

Datatype
Description
(array)
can
object
Operations the current user is able to perform on this object
model_name
string
Name of model containing this test.
name
string
Name of this test.
explore_name
string
Name of the explore this test runs a query against
query_url_params
string
The url parameters that can be used to reproduce this test's query on an explore.
file
string
Name of the LookML file containing this test.
line
integer
Line number of this test in LookML.

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

429: Too Many Requests

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