TypeScript SDK
Documents
Append to Document
Append content to an existing document. Fetches current content, appends new content, and regenerates embeddings synchronously.
POST
TypeScript SDK
Authorizations
Path Parameters
Example:
"document_123"
Body
application/json
Content to append
The ID of the space containing the document
Example:
"space_123"
Content to append to the document (max 10MB)
Required string length:
1 - 10000000Example:
"\n- New item added"
Separator between existing and new content (default: '\n\n')
Example:
"\n\n"
Response
Content appended successfully