---
title: "Set Collection Queryables"
method: POST
path: "/stac/collections/{collectionId}/queryables"
tags: ["SpatioTemporal Asset Catalog (STAC) API"]
---

# Set Collection Queryables

`POST /stac/collections/{collectionId}/queryables`

Set queryables for a collection given a list of queryable definitions

## Path parameters

- `collectionId` string, required

## Query parameters

- `api-version` string, required

## Request body

- StacQueryable[]
  - `name` string, required — Name of the queryable field.
  - `definition` object, required — Metadata for the queryable field.
  - `create_index` boolean — Whether to create a database index for this field.
  - `data_type` 'string' | 'number' | 'boolean' | 'timestamp' | 'date' — Data type of the queryable field.

## Response `201`

The request has succeeded and a new resource has been created as a result.

- StacQueryable[]
  - `name` string, required — Name of the queryable field.
  - `definition` object, required — Metadata for the queryable field.
  - `create_index` boolean — Whether to create a database index for this field.
  - `data_type` 'string' | 'number' | 'boolean' | 'timestamp' | 'date' — Data type of the queryable field.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-02-19** (2025-04-30-preview) `28e8cb365289` — 1 breaking
  - removed the success response with the status `204`
- **2025-05-15** (2025-04-30-preview) `00cbc3d6d8e0` — 1 info
  - added the success response with the status `204`

[Change history](https://skmtc.dev/azure/apis/orbital-microsoft-planetarycomputer/changes/stac/collections/:collectionId/queryables/post.md)

---

[API](https://skmtc.dev/azure/apis/orbital-microsoft-planetarycomputer.md) · [All operations](https://skmtc.dev/azure/apis/orbital-microsoft-planetarycomputer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/orbital-microsoft-planetarycomputer/revisions/42447be18bc5/schema)
