---
title: "Get a feature by ID"
method: GET
path: "/spaces/{spaceId}/features/{featureId}"
tags: ["Read Features"]
---

# Get a feature by ID

`GET /spaces/{spaceId}/features/{featureId}`

Retrieves the feature with the provided identifier.

## Path parameters

- `spaceId` string, required
- `featureId` string, required

## Query parameters

- `selection` string[]
- `force2D` boolean
- `context` 'default' | 'extension' | 'super'
- `version` string
- `versionRef` string
- `author` string

## Response `200`

A feature response.

## Other responses

- `401` — Unauthorized to perform the request.
- `403` — Forbidden request. Insufficient rights to perform the request.
- `404` — Not found.
- `513` — Response payload too large.

## Changes

- **2024-04-02** `f57452d2db13` — 1 warning, 1 info
  - deleted the `query` request parameter `version`
  - added the new optional `query` request parameter `versionRef`
- **2024-03-08** `4db340b28588` — 1 warning, 1 info
  - deleted the `query` request parameter `version`
  - added the new optional `query` request parameter `version`
- **2024-03-07** `bbe5afcae89e` — 1 info
  - added the new optional `query` request parameter `version`
- **2024-02-05** `539d9580be99` — 1 breaking
  - for the `query` request parameter `versionRef`, default value `main:HEAD` was added
- **2023-07-24** `ac66f55537d8` — 1 info
  - media type `application/json` was changed to a more specific media type `application/geo+json` for the response status `200`

[Full history](https://skmtc.dev/here/apis/here-xyz-hub/changes/spaces/:spaceId/features/:featureId/get.md)

---

[API](https://skmtc.dev/here/apis/here-xyz-hub.md) · [All operations](https://skmtc.dev/here/apis/here-xyz-hub/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/here/here-xyz-hub/revisions/1c6c6a2bcac9/schema)
