WorkerInternal

Persist embedded knowledge document chunks

POST
/internal/knowledge/documents/{id}/chunks

Authorization

WorkerApiKey
AuthorizationBearer <token>

Shared WORKER_API_KEY secret for worker internal routes

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/internal/knowledge/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/chunks" \  -H "Content-Type: application/json" \  -d '{    "organizationId": "string",    "chunks": [      {        "chunkIndex": 0,        "text": "string"      }    ]  }'
{}
{  "message": "string"}
Empty
{  "message": "string"}