Orchestrator

relaunch partial indexation

post

A partial indexation mean all diff documents (created, updated or deleted documents) from the KB will be reindexed/deleted from KAI index. This process can take several times depending on the size of your KB or the complexity/size of involved documents

Responses
200
Successful Response
application/json
post
POST /api/orchestrator/differential-indexation HTTP/1.1
Host: 
Accept: */*
200

Successful Response

{
  "response": true
}

reindex a document

post

if the document is deleted from KB it will delete on the index. And if the document is updated from the KB, it will reindex the document.

Body
idstringRequired
Responses
200
Successful Response
application/json
post
POST /api/orchestrator/reindex-document HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 13

{
  "id": "text"
}
{
  "response": true
}

reindex document in parsing error state

post

Launch a task to retry reindexing document who is in parsing error state

Responses
200
Successful Response
application/json
post
POST /api/orchestrator/retry-documents-parsing-error HTTP/1.1
Host: 
Accept: */*
200

Successful Response

{
  "response": true
}

count registered background tasks

post

Count background tasks. It will count in progress tasks and tasks who is waiting to be launched

Responses
200
Successful Response
application/json
post
POST /api/orchestrator/count-back-tasks HTTP/1.1
Host: 
Accept: */*
200

Successful Response

{
  "response": {
    "ANY_ADDITIONAL_PROPERTY": 1
  }
}

count registered background tasks for a document

post

Count background tasks. It will count in progress tasks and tasks who is waiting to be launched for a document

Body
idstringRequired
Responses
200
Successful Response
application/json
post
POST /api/orchestrator/count-tasks-for-doc HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 13

{
  "id": "text"
}
{
  "response": {
    "ANY_ADDITIONAL_PROPERTY": 1
  }
}

Last updated