Version 4.0.26.18

> [!NOTE]
> **Note:** These docs are for an older version of the API. The API reference is also available for [the latest version, 4.0.26.22](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest).

### Get lookml of a UDD

Returns a JSON object that contains the dashboard id and the full lookml

## Request

GET /dashboards/lookml/{dashboard_id} Datatype Description Request HTTP Request path HTTP Path Expand HTTP Path definition... dashboard_id string Id of dashboard

## Response

### 200: json of dashboard

Datatype Description (object) [DashboardLookml](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/DashboardLookml) dashboard_id string Id of Dashboard folder_id string (Write-Only) Id of the folder lookml string lookml of UDD

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link

## Examples

### Python


|---|
| [https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/cloud-function-content-cleanup-automation/main.py](https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/cloud-function-content-cleanup-automation/main.py#L281 "https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/cloud-function-content-cleanup-automation/main.py") |