---
title: "POST /api/v1/distinct/{collectionname}"
method: POST
path: "/api/v1/distinct/{collectionname}"
---

# POST /api/v1/distinct/{collectionname}

`POST /api/v1/distinct/{collectionname}`

## Path parameters

- `collectionname` string, required

## Request body

- DistinctParams
  - `queryas` string
  - `field` string, required
  - `query` unknown, required

## Response `200`

Ok

- string[]

---

[API](https://skmtc.dev/openiap/apis/openiap-core.md) · [All operations](https://skmtc.dev/openiap/apis/openiap-core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openiap/openiap-core/revisions/b408fccf6c2f/schema)
