---
title: "/woz/documents/content"
method: POST
path: "/woz/documents/content"
tags: ["Woz"]
---

# /woz/documents/content

`POST /woz/documents/content`

Add text content to be indexed

## Headers

- `octa-agent-email` string

## Request body

- AddDocumentContentDto
  - `content` string, required — Text content to be indexed
  - `title` string — Descriptive title. Used as the .txt file name and as idempotency key. If omitted, uses the document ID.
  - `agentIds` string[] — IDs of agents that will have access to the content. If omitted, linked to the default agent.

## Response `201`

- DocumentContentResponse
  - `id` string, required — Document ID
  - `externalKey` string, required — External key for idempotency
  - `status` string, required — Processing status
  - `active` boolean, required — Whether the document is active
  - `createdAt` string, required — Creation timestamp

---

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