POST
/
datasets
/
{dataset_id}
/
documents
/
{document_id}
/
segments
/
{segment_id}
/
child_chunks
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "segment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "content": "<string>",
    "word_count": 123,
    "tokens": 123,
    "index_node_id": "<string>",
    "index_node_hash": "<string>",
    "status": "<string>",
    "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": 123,
    "indexing_at": 123,
    "completed_at": 123,
    "error": "<string>",
    "stopped_at": 123
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Provide the key in the 'Authorization' header as 'Bearer {API_KEY}'.

Path Parameters

dataset_id
string<uuid>
required

The ID of the knowledge base.

document_id
string<uuid>
required

The ID of the document.

segment_id
string<uuid>
required

The ID of the parent segment.

Body

application/json

Response

200 - application/json

Successfully created child chunk.

The response is of type object.