Get an API specification

Version 4.0.24.20 (latest)

Get an API specification for this Looker instance.

The specification is returned as a JSON document in Swagger 2.x format

Request

GET /api_spec/{api_version}/{specification}
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
api_version
string
API version
specification
string
Specification name. Typically, this is "swagger.json"

Response

200: API specification

Datatype
Description
(any)
any

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

Examples