---
title: "Retrieve items from a collection"
method: GET
path: "/v1/ogcapi/enrich/collections/{collectionId}/items"
tags: ["Spatial Features API"]
---

# Retrieve items from a collection

`GET /v1/ogcapi/enrich/collections/{collectionId}/items`

## Request

- Base URL: `https://api.cloud.precisely.com`
- URL: `https://api.cloud.precisely.com/v1/ogcapi/enrich/collections/{collectionId}/items`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Fetch features of the feature collection with id `{collectionId}`.

Every feature in a dataset belongs to a collection. A dataset may consist of multiple feature collections, each representing a group of features that share a common schema and type.

The **collection id** is a unique identifier for the spatial dataset and is used to reference a specific collection within the API.

This endpoint supports content negotiation, allowing clients to request the response in HTML or GeoJSON format.

Additional capabilities include:
- **Filtering:** Supports attribute-based filtering using CQL (Common Query Language).
- **Pagination:** Use `limit` and `offset` parameters to paginate results.
- **Spatial Queries:**
  - **Bounding Box (bbox):** Retrieve features within a rectangular spatial extent (`minX, minY, maxX, maxY`).
  - **Spatial Filters:** Support for `contains`, `intersects`, and `within` (OGC Filter Encoding).

## Path parameters

- `collectionId` string, required

## Query parameters

- `limit` string
- `offset` string
- `bbox` string
- `filter` string

## Headers

- `X-Request-Id` string

## Response `200`

Successful retrieval of collection items.

## Other responses

- `400`: Invalid request parameters.
- `401`: Unauthorized access.
- `404`: Collection not found.
- `500`: Internal server error.

---

[API](https://skmtc.dev/precisely/apis/spatial-features-api.md) · [All operations](https://skmtc.dev/precisely/apis/spatial-features-api/llms.txt) · [OpenAPI document](https://skmtc.dev/precisely/apis/spatial-features-api/revisions/3b1b54f31ce1?raw)
