> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs-beta.getzep.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server.

# Creates Multiple Documents in a DocumentCollection

POST https://api.getzep.com/api/v2/collections/{collectionName}/documents
Content-Type: application/json

Creates Documents in a specified DocumentCollection and returns their UUIDs.

Reference: https://docs-beta.getzep.com/v2/sdk-reference/deprecated/document/add-documents

## Request

### Path parameters

- `collectionName` (string, required) — Name of the Document Collection

### Body (application/json)

This endpoint expects a list of models.CreateDocumentRequest.

- `list of models.CreateDocumentRequest`

## Response

### 200

OK

- `list of list of string`

## Errors

### 400 Bad Request Error

Bad Request

- `message` (string, optional)

### 401 Unauthorized Error

Unauthorized

- `message` (string, optional)

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional)

## Types

### models.CreateDocumentRequest

- `content` (string, required)
- `document_id` (string, optional)
- `metadata` (map from string to any, optional)

## Examples

**Request**

```json
[
  {
    "content": "The quick brown fox jumps over the lazy dog."
  },
  {
    "content": "In 2024, AI technologies continue to evolve rapidly."
  }
]
```

**Response**

```json
[
  [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  ],
  [
    "7c9e6679-7425-40de-944b-e07fc1f90ae7"
  ]
]
```