IndexDetails

IndexDetails
IndexDetails

Index including details of its knowledge base.

JSON Example
{
    "id": "string",
    "name": "string",
    "description": "string",
    "embeddings_model_endpoint": "string",
    "text_splitting": "string",
    "chunk_size": 0,
    "chunk_overlap": 0,
    "knowledge_base_id": "string",
    "object": "string",
    "created_at": 0,
    "last_indexed_at": 0,
    "last_indexed_by_id": "string",
    "num_documents": 0,
    "status": "string",
    "status_errors": [
        "string"
    ],
    "knowledge_base": {
        "id": "string",
        "name": "string",
        "description": "string",
        "data_origin_type": "string",
        "object": "string",
        "created_at": 0,
        "last_updated_at": 0,
        "next_index_refresh_at": 0
    }
}
string As uuid As uuid
id
Required

ID of the index.

string
name
Optional
Constraints: maxLength: 256

Name of the index.

string
description
Optional

Description of the index.

string
embeddings_model_endpoint
Required

ID of the model to be used by the index for generating embeddings.

text_splitting
Required

Method for chunking text for embedding

integer
chunk_size
Required
Constraints: minimum: 100

Maximum size (in tokens) of the text chunks. This must be at least 100 to accomodate for content metadata embedded alongside each chunk of text.

integer
chunk_overlap
Optional
Constraints: minimum: 0 default: 0

Size of the chunk overlap (in tokens) when splitting text.

string As uuid As uuid
knowledge_base_id
Required

ID of the knowledge base of the index.

string
object
Optional
Constraints: default: index

Object type, which is always index.

integer
created_at
Required

Unix timestamp (in seconds) when the index was created.

integer
last_indexed_at
Optional

Unix timestamp (in seconds) when the index contents were last indexed.

string As uuid As uuid
last_indexed_by_id
Optional

ID of the most recent indexing job that affected this index.

integer
num_documents
Optional
Constraints: minimum: 0 default: 0

Total number of documents in the index.

status
Required

Availability status of the index.

Possible values are : AVAILABLE, ERROR,
array of ErrorCode
status_errors
Optional

Details of the index error status, if the index is not available.

knowledge_base
Required

knowledge base.