---
title: "Get WarehouseCustomView by ID"
method: GET
path: "/api/v3/warehouse-custom-view/{warehouse_custom_view_id}"
tags: ["Warehouse Custom View"]
---

# Get WarehouseCustomView by ID

`GET /api/v3/warehouse-custom-view/{warehouse_custom_view_id}`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/warehouse-custom-view/{warehouse_custom_view_id}`
- Auth: HTTP bearer

Get a single WarehouseCustomView by ID.

## Path parameters

- `warehouse_custom_view_id` string, required

## Query parameters

- `returning` string[]
- `omit` string[]

## Headers

- `EARLY-ACCESS` string

## Response `200`

OK

- WarehouseCustomView: A custom SQL view created by users in Benchling's data warehouse, allowing them to define reusable queries that can be accessed like tables. Views appear in a dedicated schema and can be queried via Insights Dashboards or Direct Access. View names are unique within the tenant. View's `viewQuery` field contains the SQL SELECT statement that defines the view. View's `existsInWarehouse` flag indicates whether the view exists in the warehouse. It is updated asynchronously, so it may be out of date for a brief period of time.
  - `__typename` string
  - `createdAt` string, datetime, nullable
  - `creator` PrincipalRef
    - `__typename` string
    - `id` string, api_id
  - `description` string
  - `existsInWarehouse` boolean
  - `id` string
  - `modifiedAt` string, datetime, nullable
  - `name` string
  - `viewQuery` string

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/benchling/apis/benchling-api.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api/revisions/c9f087b98b8b?raw)
