---
title: "Get a location asset"
method: GET
path: "/assets/locations/{id}"
tags: ["Assets"]
---

# Get a location asset

`GET /assets/locations/{id}`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/assets/locations/{id}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/assets/locations/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a specific location asset by its ID

## Path parameters

- `id` string, required

## Response `200`

Location asset retrieved successfully

- JumpcloudHttpAssetsAsset: Generic asset representation with field values. Each `fields` value is a `FieldValue` (`editable` plus typed `value`); see the API overview for how `value` is encoded by field type.
  - `id` string, required: The unique identifier of the asset
  - `jcSystemId` string: JumpCloud system identifier for device assets, as a lowercase hex string.
  - `fields` object, required: Asset field values keyed by field label (`FieldValue` per key). Labels match `GET /assets/field-configurations`.

## Other responses

- `400`: Bad request - invalid ID format
- `401`: Unauthorized - authentication required
- `404`: Location asset not found
- `default`: Generic error response

---

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