---
title: "Create an entity collection"
method: POST
path: "/entity-collections"
tags: ["entityCollections"]
---

# Create an entity collection

`POST /entity-collections`

This method creates an entity collection.

## Headers

- `x-api-key` string, required

## Request body

- object
  - `name` string, required — The name of the entity collection. Make sure you use a succinct and descriptive name.
  - `description` string — Optional description of the entity collection.

## Response `201`

The entity collection has been successfully created.

- EntityCollection — An object that represents a collection of related entities.
  - `_id` string — The unique identifier of the entity collection.
  - `name` string — The name of the entity collection.
  - `description` string — The description of the entity collection.
  - `created_at` string, date-time — The date and time, in RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the entity collection was created.
  - `updated_at` string, date-time — The date and time, in RFC 3339 format (“YYYY-MM-DDTHH:mm:ssZ”), when the entity collection was last updated.

## Other responses

- `400` — The request has failed.

---

[API](https://skmtc.net/twelvelabs/apis/twelvelabs-api.md) · [All operations](https://skmtc.net/twelvelabs/apis/twelvelabs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twelvelabs/twelvelabs-api/revisions/b6d766c2c340/schema)
