---
title: "List WarehouseCredential items"
method: GET
path: "/api/v3/warehouse-credential/items"
tags: ["Warehouse Credential"]
---

# List WarehouseCredential items

`GET /api/v3/warehouse-credential/items`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/warehouse-credential/items`
- Auth: HTTP bearer

List WarehouseCredential items.

## Query parameters

- `createdAt.gt` string, datetime
- `createdAt.gte` string, datetime
- `createdAt.lt` string, datetime
- `createdAt.lte` string, datetime
- `id.anyOf` string[]
- `modifiedAt.gt` string, datetime
- `modifiedAt.gte` string, datetime
- `modifiedAt.lt` string, datetime
- `modifiedAt.lte` string, datetime
- `nextToken` string
- `omit` string[]
- `pageSize` integer
- `returning` string[]
- `revoked.anyOf` boolean[]
- `userId.anyOf` string[]
- `sort` 'createdAt:asc' | 'createdAt:desc' | 'modifiedAt:asc' | 'modifiedAt:desc'

## Response `200`

OK

- WarehouseCredentialPaginatedList
  - `items` WarehouseCredential[]
    - `__typename` string
    - `createdAt` string, datetime, nullable
    - `expiresAt` string, datetime, nullable: The time after which new connections using the username/password will not be permitted. Upon expiration, currently open connections are not terminated.
    - `id` string
    - `label` string, nullable: An optional label defined by the user who created the WarehouseCredential.
    - `modifiedAt` string, datetime, nullable
    - `revoked` boolean: Indicates whether or not the WarehouseCredential has been revoked. When a WarehouseCredential is revoked, the credentials are deleted in the warehouse and can not be reactivated.
    - `user` PrincipalRef
      - `__typename` string
      - `id` string, api_id
    - `username` string: The username to connect to the warehouse.
  - `nextToken` string, nullable

## 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/3873a10bf7b8?raw)
