---
title: "Get a location by ID"
method: GET
path: "/locations/{location_id}"
tags: ["locations"]
---

# Get a location by ID

`GET /locations/{location_id}`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/locations/{location_id}`
- Auth: HTTP bearer

Get a location by ID

## Path parameters

- `location_id` string, required

## Response `200`

OK

- Location
  - `archiveRecord` ArchiveRecord
    - `reason` string
  - `availableCapacity` integer, nullable: The number of available positions in this location. Null if *totalCapacity* is not set.
  - `barcode` string
  - `createdAt` string
  - `creator` UserSummary
    - `handle` string
    - `id` string
    - `name` string
  - `fields` Fields
  - `id` string
  - `modifiedAt` string
  - `name` string
  - `occupiedCapacity` integer, nullable: The number of plates, boxes, and containers currently in this location. Null if *totalCapacity* is not set.
  - `parentStorageId` string, nullable
  - `schema` SchemaSummary
    - `id` string
    - `name` string
  - `totalCapacity` integer, nullable: The total capacity of this location (i.e. how many plates, boxes, and containers it can store). If null, capacity is not limited.
  - `webURL` string

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

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