---
title: "Retrieve collection schema"
method: GET
path: "/v1/ogcapi/enrich/collections/{collectionId}/schema"
tags: ["OGC API Features"]
---

# Retrieve collection schema

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

## Request

- Base URL: `https://api.cloud.precisely.com`
- URL: `https://api.cloud.precisely.com/v1/ogcapi/enrich/collections/{collectionId}/schema`
- Auth: one of:
  - `bearerAuth` (a scheme the document does not define)
  - `ApiKeyAuth` (a scheme the document does not define)

Provides the schema for a specified feature collection. The schema defines the structure of the collection including field names, data types, formats, and descriptions. Essential for validating client queries and constructing dynamic interfaces for the collection.

## Path parameters

- `collectionId` string, required

## Headers

- `X-Request-Id` string

## Response `200`

Successful retrieval

## Other responses

- `400`: Query parameters are not allowed
- `401`: Unauthorized
- `404`: Collection not found
- `500`: Internal server error

---

[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)
