---
title: "IN DEVELOPMENT"
method: POST
path: "/collections"
tags: ["Collections"]
---

# IN DEVELOPMENT

`POST /collections`

Create a new collection with the given name and content based on the provided filter.

A collection is a group of models and/or assets that can be treated as a single entity.
However, it is a virtual grouping and does not affect the actual models or assets.

## Query parameters

- `filter` string, required — A string in the form `<FilterProperty>(<FilterOperator>(<FilterValue>))[,FilterExpressions]`. See the [API Reference](https://physna.github.io/public-api-guide/api-reference/filter-expressions) for more details. Example: ``` id(between(1,1000)),createdAt(not(lt('2022-01-01T00:00:00.000Z'))) ```

## Headers

- `X-PHYSNA-TENANTID` string

## Request body

- object
  - `name` string, required

## Response `200`

Ok

- CreateCollectionResponseBody
  - `collectionId` string, required
  - `affected` number, double, required

## Other responses

- `503`

---

[API](https://skmtc.dev/physna/apis/physna-public-api.md) · [All operations](https://skmtc.dev/physna/apis/physna-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/physna/physna-public-api/revisions/18b6af4c004d/schema)
