List Indexing Errors
This method allows you to get all errors that occurred during an indexing.
For details on indexing errors, refer to the method to Get an indexing error by its ID.
knowledge_base_id
index_id
indexing_id
after
before
limit
offset
order
set_num_objects
data_source_id
has_data_source
document_id
has_document
code
source
Successful Response
{
"object": "string",
"has_more": false,
"num_objects": 0,
"data": [
{
"id": "string",
"code": "string",
"source": "string",
"created_at": 0,
"document": {
"origin_name": "string",
"origin_ref": "string",
"custom_origin_name": "string",
"custom_origin_ref": "string",
"id": "string",
"object": "string",
"state": "string",
"media_type": "string",
"knowledge_base_id": "string",
"index_id": "string",
"data_source_id": "string",
"created_at": 0,
"last_embedded_at": 0,
"last_indexed_by_id": "string",
"size_bytes": 0,
"hash_sha256": "string",
"reindexing_needed": false
},
"data_source_id": "string",
"indexing_id": "string",
"system_message": "string",
"op_id": "string"
}
],
"first_id": "string",
"last_id": "string"
}
Object type, which is always list.
True, if the server may have more objects than returned in the response.
Total number of objects that match the request. Note that this field is populated only if requested by the user (see set_num_objects request parameter).
List of indexing errors.
ID of the first element in the list (if any)
ID of the last element in the list (if any)
Invalid combination of knowledge base ID, index ID, and indexing ID.
An invalid ID was passed for paginating results.
Validation Error
{
"detail": [
{
"loc": [
{}
],
"msg": "string",
"type": "string"
}
]
}
detail
curl -H 'Authorization: <value>' https://{api_host}/api/v1/control/knowledge-bases/{knowledge_base_id}/indexes/{index_id}/indexings/{indexing_id}/errors