Api referenceKnowledgeApiKnowledgeIdDocumentsDocumentidChunks
POST /api/knowledge/{id}/documents/{documentId}/chunks
Authorization
sessionAuth better-auth.session_token<token>
Better Auth session cookie
In: cookie
Path Parameters
id*string
The id parameter
documentId*string
The documentId parameter
Request Body
application/json
content*string
enabled?boolean
Default
trueResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://app.nuxa.ai/api/knowledge/string/documents/string/chunks" \ -H "Content-Type: application/json" \ -d '{ "content": "string" }'{}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}