---
title: "Retrieve feature by primary key"
method: GET
path: "/v1/spatial/tables/{tableName}/features/{key}"
tags: ["Feature Management"]
---

# Retrieve feature by primary key

`GET /v1/spatial/tables/{tableName}/features/{key}`

## Request

- Base URL: `https://api.cloud.precisely.com`
- URL: `https://api.cloud.precisely.com/v1/spatial/tables/{tableName}/features/{key}`
- Auth: one of:
  - `bearerAuth` (a scheme the document does not define)
  - `ApiKeyAuth` (a scheme the document does not define)

Retrieves a single feature from the specified named table using its primary key (MapInfo_ID).

## Path parameters

- `key` string, required

## Query parameters

- `attributes` unknown[]
  - unknown
- `destinationSrs` string

## Headers

- `X-Request-Id` string

## Response `200`

Feature retrieved successfully

## Other responses

- `400`: Invalid request
- `401`: Unauthorized: Invalid token
- `403`: Forbidden
- `404`: Table not found
- `429`: Too many requests
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/precisely/apis/feature-api.md) · [All operations](https://skmtc.dev/precisely/apis/feature-api/llms.txt) · [OpenAPI document](https://skmtc.dev/precisely/apis/feature-api/revisions/6dc26f89c0aa?raw)
