---
title: "Retrieve Queryable Properties for a Collection"
method: GET
path: "/v1/ogcapi/enrich/collections/{collectionId}/queryables"
tags: ["Spatial Features API"]
---

# Retrieve Queryable Properties for a Collection

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

## Request

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

This resource returns the queryable properties for a specific collection identified by its unique id. Queryable properties provide detailed metadata for each attribute available in the collection that can be used to filter queries. The response includes information such as:

- **Field Names:** The names of the attributes in the collection.
- **Descriptions:** A description of each attribute to clarify its purpose and usage.
- **Formats:** The data types or formats (e.g., string, number, geospatial) of each attribute.
- **Geospatial Data Types:** Specific spatial types for attributes that support geospatial queries.

This metadata is essential for clients to build dynamic query interfaces and validate their requests against the collection's schema.

## Path parameters

- `collectionId` string, required

## Headers

- `X-Request-Id` string

## Response `200`

Successful retrieval of queryable properties

- QueryableResponse
  - `$schema` string
  - `$id` string
  - `type` string
  - `title` string
  - `description` string
  - `properties` object
  - `additionalProperties` boolean

## Other responses

- `400`: Invalid request
- `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)
