Tovie Data Agent public API (1.0.0)
Download OpenAPI specification:Download
Get knowledge base project info
Get information on the current knowledge base project.
Authorizations:
Responses
Response samples
- 200
- 400
{- "id": 0,
- "name": "string",
- "status": "CREATED",
- "resources": {
- "llmModels": [
- "string"
]
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Independent requests for chunk retrieval or response generation. The message history can be optionally passed within the request.
Retrieve chunks
Retrieve chunks relevant to the user’s query from the knowledge base.
Authorizations:
Request Body schema: application/jsonrequired
query required | string Text of the user’s query. |
Array of objects (HistoryRecord) Dialogue history. Entries are displayed in reverse chronological order (from latest to earliest). | |
object (RetrievingSettings) Chunk search settings. |
Responses
Request samples
- Payload
{- "query": "string",
- "history": [
- {
- "content": "string",
- "role": "user"
}
], - "settings": {
- "pipeline": "semantic",
- "search": {
- "similarityTopK": 5,
- "candidateRadius": 10,
- "reranker": {
- "type": "manual",
- "minScore": -10,
- "maxChunksPerDocument": 1,
- "maxChunks": 1,
- "scoreReductionLimit": 1
}, - "fullTextSearch": {
- "strategy": "hybrid",
- "semanticPortion": 10,
- "ftsPortion": 1,
- "threshold": 1,
- "useOnlyInSegment": true
}, - "rephraseUserQuery": {
- "prompt": "Read the dialogue history, rephrase the current user question considering the history by adding it as context. Make the question more understandable, clear, and structured. Add similar queries and a title to the question, and return the text with the title."
}, - "segment": "FAQ"
}, - "llm": {
- "model": "string",
- "contextWindow": 4000,
- "maxTokens": 500,
- "temperature": 1,
- "topP": 1,
- "frequencyPenalty": -2,
- "presencePenalty": -2
}
}
}
Response samples
- 200
- 400
{- "chunks": [
- {
- "score": 0.1,
- "content": "string",
- "docId": "string",
- "metadata": {
- "sourcePath": "string",
- "sourceUrl": "string",
- "segment": "string"
}, - "source": {
- "id": 0,
- "path": "string",
- "externalLink": "string"
}
}
]
}
Generate response
Synchronous request to generate a response to the user’s query.
Please note that request processing may take a significant amount of time. Ensure that the connection timeout set in your HTTP client is more than 1 minute.
Authorizations:
Request Body schema: application/jsonrequired
query required | string Text of the user’s query. |
Array of objects (HistoryRecord) Dialogue history. Entries are displayed in reverse chronological order (from latest to earliest). | |
object (RagSettings) Query processing settings. |
Responses
Request samples
- Payload
{- "query": "string",
- "history": [
- {
- "content": "string",
- "role": "user"
}
], - "settings": {
- "pipeline": "semantic",
- "search": {
- "similarityTopK": 5,
- "candidateRadius": 10,
- "reranker": {
- "type": "manual",
- "minScore": -10,
- "maxChunksPerDocument": 1,
- "maxChunks": 1,
- "scoreReductionLimit": 1
}, - "fullTextSearch": {
- "strategy": "hybrid",
- "semanticPortion": 10,
- "ftsPortion": 1,
- "threshold": 1,
- "useOnlyInSegment": true
}, - "rephraseUserQuery": {
- "prompt": "Read the dialogue history, rephrase the current user question considering the history by adding it as context. Make the question more understandable, clear, and structured. Add similar queries and a title to the question, and return the text with the title."
}, - "segment": "FAQ"
}, - "llm": {
- "model": "string",
- "contextWindow": 4000,
- "maxTokens": 500,
- "temperature": 1,
- "topP": 1,
- "frequencyPenalty": -2,
- "presencePenalty": -2
}, - "responseGeneration": {
- "prompt": "string",
- "showRelevantSources": true
}
}
}
Response samples
- 200
- 400
{- "id": 0,
- "request": "string",
- "response": "string",
- "status": "READY_TO_PROCESS",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "comment": "string",
- "relevantSources": [
- {
- "id": 0,
- "path": "string",
- "externalLink": "string"
}
]
}
Generate response (asynchronous request)
Asynchronous request to generate a response to the user’s query.
The result can be obtained via GET /api/knowledge-hub/query/{queryId} endpoint, where queryId
is the request identifier received in the current response.
Authorizations:
Request Body schema: application/jsonrequired
query required | string Text of the user’s query. |
Array of objects (HistoryRecord) Dialogue history. Entries are displayed in reverse chronological order (from latest to earliest). | |
object (RagSettings) Query processing settings. |
Responses
Request samples
- Payload
{- "query": "string",
- "history": [
- {
- "content": "string",
- "role": "user"
}
], - "settings": {
- "pipeline": "semantic",
- "search": {
- "similarityTopK": 5,
- "candidateRadius": 10,
- "reranker": {
- "type": "manual",
- "minScore": -10,
- "maxChunksPerDocument": 1,
- "maxChunks": 1,
- "scoreReductionLimit": 1
}, - "fullTextSearch": {
- "strategy": "hybrid",
- "semanticPortion": 10,
- "ftsPortion": 1,
- "threshold": 1,
- "useOnlyInSegment": true
}, - "rephraseUserQuery": {
- "prompt": "Read the dialogue history, rephrase the current user question considering the history by adding it as context. Make the question more understandable, clear, and structured. Add similar queries and a title to the question, and return the text with the title."
}, - "segment": "FAQ"
}, - "llm": {
- "model": "string",
- "contextWindow": 4000,
- "maxTokens": 500,
- "temperature": 1,
- "topP": 1,
- "frequencyPenalty": -2,
- "presencePenalty": -2
}, - "responseGeneration": {
- "prompt": "string",
- "showRelevantSources": true
}
}
}
Response samples
- 200
- 400
{- "id": 0,
- "request": "string",
- "response": "string",
- "status": "READY_TO_PROCESS",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "comment": "string",
- "relevantSources": [
- {
- "id": 0,
- "path": "string",
- "externalLink": "string"
}
]
}
Processing status of the response generation request
Get the current processing status of the response generation request.
Long polling is used if the waitTimeSeconds
parameter is specified.
Authorizations:
path Parameters
queryId required | integer <int64> (LongId) Identifier of the response generation request. |
query Parameters
waitTimeSeconds | integer <int32> [ 0 .. 30 ] Default: 3 HTTP request timeout. Used in long polling. |
Responses
Response samples
- 200
- 400
{- "id": 0,
- "request": "string",
- "response": "string",
- "status": "READY_TO_PROCESS",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "comment": "string",
- "relevantSources": [
- {
- "id": 0,
- "path": "string",
- "externalLink": "string"
}
]
}
Cancel response generation request
Authorizations:
path Parameters
queryId required | integer <int64> (LongId) Identifier of the response generation request. |
Responses
Response samples
- 200
- 400
{- "id": 0,
- "request": "string",
- "response": "string",
- "status": "READY_TO_PROCESS",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "comment": "string",
- "relevantSources": [
- {
- "id": 0,
- "path": "string",
- "externalLink": "string"
}
]
}
Create chat
Authorizations:
Request Body schema: application/jsonrequired
name | string Name of the user’s chat. |
object (RagSettings) Query processing settings. |
Responses
Request samples
- Payload
{- "name": "string",
- "settings": {
- "pipeline": "semantic",
- "search": {
- "similarityTopK": 5,
- "candidateRadius": 10,
- "reranker": {
- "type": "manual",
- "minScore": -10,
- "maxChunksPerDocument": 1,
- "maxChunks": 1,
- "scoreReductionLimit": 1
}, - "fullTextSearch": {
- "strategy": "hybrid",
- "semanticPortion": 10,
- "ftsPortion": 1,
- "threshold": 1,
- "useOnlyInSegment": true
}, - "rephraseUserQuery": {
- "prompt": "Read the dialogue history, rephrase the current user question considering the history by adding it as context. Make the question more understandable, clear, and structured. Add similar queries and a title to the question, and return the text with the title."
}, - "segment": "FAQ"
}, - "llm": {
- "model": "string",
- "contextWindow": 4000,
- "maxTokens": 500,
- "temperature": 1,
- "topP": 1,
- "frequencyPenalty": -2,
- "presencePenalty": -2
}, - "responseGeneration": {
- "prompt": "string",
- "showRelevantSources": true
}
}
}
Response samples
- 200
- 400
{- "id": 0,
- "name": "string",
- "settings": {
- "pipeline": "semantic",
- "search": {
- "similarityTopK": 5,
- "candidateRadius": 10,
- "reranker": {
- "type": "manual",
- "minScore": -10,
- "maxChunksPerDocument": 1,
- "maxChunks": 1,
- "scoreReductionLimit": 1
}, - "fullTextSearch": {
- "strategy": "hybrid",
- "semanticPortion": 10,
- "ftsPortion": 1,
- "threshold": 1,
- "useOnlyInSegment": true
}, - "rephraseUserQuery": {
- "prompt": "Read the dialogue history, rephrase the current user question considering the history by adding it as context. Make the question more understandable, clear, and structured. Add similar queries and a title to the question, and return the text with the title."
}, - "segment": "FAQ"
}, - "llm": {
- "model": "string",
- "contextWindow": 4000,
- "maxTokens": 500,
- "temperature": 1,
- "topP": 1,
- "frequencyPenalty": -2,
- "presencePenalty": -2
}, - "responseGeneration": {
- "prompt": "string",
- "showRelevantSources": true
}
}
}
Get chat info
Authorizations:
path Parameters
chatId required | integer <int64> (LongId) Identifier of the chat in the knowledge base project. |
Responses
Response samples
- 200
- 400
{- "id": 0,
- "name": "string",
- "settings": {
- "pipeline": "semantic",
- "search": {
- "similarityTopK": 5,
- "candidateRadius": 10,
- "reranker": {
- "type": "manual",
- "minScore": -10,
- "maxChunksPerDocument": 1,
- "maxChunks": 1,
- "scoreReductionLimit": 1
}, - "fullTextSearch": {
- "strategy": "hybrid",
- "semanticPortion": 10,
- "ftsPortion": 1,
- "threshold": 1,
- "useOnlyInSegment": true
}, - "rephraseUserQuery": {
- "prompt": "Read the dialogue history, rephrase the current user question considering the history by adding it as context. Make the question more understandable, clear, and structured. Add similar queries and a title to the question, and return the text with the title."
}, - "segment": "FAQ"
}, - "llm": {
- "model": "string",
- "contextWindow": 4000,
- "maxTokens": 500,
- "temperature": 1,
- "topP": 1,
- "frequencyPenalty": -2,
- "presencePenalty": -2
}, - "responseGeneration": {
- "prompt": "string",
- "showRelevantSources": true
}
}
}
Retrieve chunks
Retrieve chunks from the knowledge base that are relevant to the user’s query within the chat.
Authorizations:
path Parameters
chatId required | integer <int64> (LongId) Identifier of the chat in the knowledge base project. |
Request Body schema: application/jsonrequired
query required | string Text of the user’s query. |
object (RetrievingSettings) Chunk search settings. |
Responses
Request samples
- Payload
{- "query": "string",
- "settings": {
- "pipeline": "semantic",
- "search": {
- "similarityTopK": 5,
- "candidateRadius": 10,
- "reranker": {
- "type": "manual",
- "minScore": -10,
- "maxChunksPerDocument": 1,
- "maxChunks": 1,
- "scoreReductionLimit": 1
}, - "fullTextSearch": {
- "strategy": "hybrid",
- "semanticPortion": 10,
- "ftsPortion": 1,
- "threshold": 1,
- "useOnlyInSegment": true
}, - "rephraseUserQuery": {
- "prompt": "Read the dialogue history, rephrase the current user question considering the history by adding it as context. Make the question more understandable, clear, and structured. Add similar queries and a title to the question, and return the text with the title."
}, - "segment": "FAQ"
}, - "llm": {
- "model": "string",
- "contextWindow": 4000,
- "maxTokens": 500,
- "temperature": 1,
- "topP": 1,
- "frequencyPenalty": -2,
- "presencePenalty": -2
}
}
}
Response samples
- 200
- 400
{- "chunks": [
- {
- "score": 0.1,
- "content": "string",
- "docId": "string",
- "metadata": {
- "sourcePath": "string",
- "sourceUrl": "string",
- "segment": "string"
}, - "source": {
- "id": 0,
- "path": "string",
- "externalLink": "string"
}
}
]
}
Generate response
Synchronous request to generate a response to the user’s query. The chat message history is taken into account.
Please note that request processing may take a significant amount of time. Ensure that the connection timeout set in your HTTP client is more than 1 minute.
Authorizations:
path Parameters
chatId required | integer <int64> (LongId) Identifier of the chat in the knowledge base project. |
Request Body schema: application/jsonrequired
query required | string Text of the user’s query. |
object (RagSettings) Query processing settings. |
Responses
Request samples
- Payload
{- "query": "string",
- "settings": {
- "pipeline": "semantic",
- "search": {
- "similarityTopK": 5,
- "candidateRadius": 10,
- "reranker": {
- "type": "manual",
- "minScore": -10,
- "maxChunksPerDocument": 1,
- "maxChunks": 1,
- "scoreReductionLimit": 1
}, - "fullTextSearch": {
- "strategy": "hybrid",
- "semanticPortion": 10,
- "ftsPortion": 1,
- "threshold": 1,
- "useOnlyInSegment": true
}, - "rephraseUserQuery": {
- "prompt": "Read the dialogue history, rephrase the current user question considering the history by adding it as context. Make the question more understandable, clear, and structured. Add similar queries and a title to the question, and return the text with the title."
}, - "segment": "FAQ"
}, - "llm": {
- "model": "string",
- "contextWindow": 4000,
- "maxTokens": 500,
- "temperature": 1,
- "topP": 1,
- "frequencyPenalty": -2,
- "presencePenalty": -2
}, - "responseGeneration": {
- "prompt": "string",
- "showRelevantSources": true
}
}
}
Response samples
- 200
- 400
{- "id": 0,
- "chatId": 0,
- "request": "string",
- "response": "string",
- "status": "READY_TO_PROCESS",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "comment": "string",
- "relevantSources": [
- {
- "id": 0,
- "path": "string",
- "externalLink": "string"
}
]
}
Generate response (asynchronous request)
Asynchronous request to generate a response to the user’s query. The chat message history is taken into account.
The result can be obtained via GET /api/knowledge-hub/chat/{chatId}/query/{queryId} endpoint, where queryId
is the request identifier received in the current response.
Authorizations:
path Parameters
chatId required | integer <int64> (LongId) Identifier of the chat in the knowledge base project. |
Request Body schema: application/jsonrequired
query required | string Text of the user’s query. |
object (RagSettings) Query processing settings. |
Responses
Request samples
- Payload
{- "query": "string",
- "settings": {
- "pipeline": "semantic",
- "search": {
- "similarityTopK": 5,
- "candidateRadius": 10,
- "reranker": {
- "type": "manual",
- "minScore": -10,
- "maxChunksPerDocument": 1,
- "maxChunks": 1,
- "scoreReductionLimit": 1
}, - "fullTextSearch": {
- "strategy": "hybrid",
- "semanticPortion": 10,
- "ftsPortion": 1,
- "threshold": 1,
- "useOnlyInSegment": true
}, - "rephraseUserQuery": {
- "prompt": "Read the dialogue history, rephrase the current user question considering the history by adding it as context. Make the question more understandable, clear, and structured. Add similar queries and a title to the question, and return the text with the title."
}, - "segment": "FAQ"
}, - "llm": {
- "model": "string",
- "contextWindow": 4000,
- "maxTokens": 500,
- "temperature": 1,
- "topP": 1,
- "frequencyPenalty": -2,
- "presencePenalty": -2
}, - "responseGeneration": {
- "prompt": "string",
- "showRelevantSources": true
}
}
}
Response samples
- 200
- 400
{- "id": 0,
- "chatId": 0,
- "request": "string",
- "response": "string",
- "status": "READY_TO_PROCESS",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "comment": "string",
- "relevantSources": [
- {
- "id": 0,
- "path": "string",
- "externalLink": "string"
}
]
}
Processing status of the response generation request
Get the current processing status of the response generation request within a user chat.
Long polling is used if the waitTimeSeconds
parameter is specified.
Authorizations:
path Parameters
chatId required | integer <int64> (LongId) Identifier of the chat in the knowledge base project. |
queryId required | integer <int64> (LongId) Identifier of the response generation request. |
query Parameters
waitTimeSeconds | integer <int32> [ 0 .. 30 ] Default: 3 HTTP request timeout. Used in long polling. |
Responses
Response samples
- 200
- 400
{- "id": 0,
- "chatId": 0,
- "request": "string",
- "response": "string",
- "status": "READY_TO_PROCESS",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "comment": "string",
- "relevantSources": [
- {
- "id": 0,
- "path": "string",
- "externalLink": "string"
}
]
}
Cancel response generation request within a user chat
Authorizations:
path Parameters
chatId required | integer <int64> (LongId) Identifier of the chat in the knowledge base project. |
queryId required | integer <int64> (LongId) Identifier of the response generation request. |
Responses
Response samples
- 200
- 400
{- "id": 0,
- "chatId": 0,
- "request": "string",
- "response": "string",
- "status": "READY_TO_PROCESS",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "comment": "string",
- "relevantSources": [
- {
- "id": 0,
- "path": "string",
- "externalLink": "string"
}
]
}
Get list of sources
Get the list of knowledge base sources.
Authorizations:
query Parameters
createDateFrom | string <date> Select sources added on or after the specified date. |
createDateTo | string <date> Select sources added on or before the specified date. |
sourceStatus | string Select sources with the specified indexing status. Acceptable statuses:
|
Responses
Response samples
- 200
- 400
{- "sources": [
- {
- "id": 0,
- "name": "string",
- "segment": "string",
- "status": "string",
- "lastError": "string",
- "version": "string",
- "sizeBytes": 0,
- "sizeChars": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}
Add via link
Upload a file via link and add it as a source to the knowledge base. Indexing begins automatically after the source is added.
Authorizations:
Request Body schema: application/jsonrequired
name | string Name of the source. It must be unique within the project. If not specified, it is automatically generated. |
link required | string Link to the file. See the file requirements. If the link leads to an HTML page, only the HTML is downloaded, excluding images. |
segment | string Tag (knowledge base segment). If specified, the source will be available when searching by this tag. |
Responses
Request samples
- Payload
{- "name": "string",
- "link": "string",
- "segment": "string"
}
Response samples
- 200
- 400
{- "id": 0,
- "name": "string",
- "segment": "string",
- "status": "string",
- "lastError": "string",
- "version": "string",
- "sizeBytes": 0,
- "sizeChars": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
Update via link
Upload a file via link and replace the source with the specified name. Indexing begins automatically after the source is updated.
Authorizations:
Request Body schema: application/jsonrequired
name | string Name of the source. If no source with this name exists, an error is returned. |
link required | string Link to the file. See the file requirements. If the link leads to an HTML page, only the HTML is downloaded, excluding images. |
segment | string Tag (knowledge base segment). If specified, the source will be available when searching by this tag. |
Responses
Request samples
- Payload
{- "name": "string",
- "link": "string",
- "segment": "string"
}
Response samples
- 200
- 400
{- "id": 0,
- "name": "string",
- "segment": "string",
- "status": "string",
- "lastError": "string",
- "version": "string",
- "sizeBytes": 0,
- "sizeChars": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
Add from text
Add the provided text as a source to the knowledge base. Indexing begins automatically after the source is added.
Authorizations:
Request Body schema: application/jsonrequired
name | string Name of the source. It must be unique within the project. If not specified, it is automatically generated. |
text required | string Text of the source. The maximum size is specified in the file requirements. |
segment | string Tag (knowledge base segment). If specified, the source will be available when searching by this tag. |
Responses
Request samples
- Payload
{- "name": "string",
- "text": "string",
- "segment": "string"
}
Response samples
- 200
- 400
{- "id": 0,
- "name": "string",
- "segment": "string",
- "status": "string",
- "lastError": "string",
- "version": "string",
- "sizeBytes": 0,
- "sizeChars": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
Update with text
Replace the source with the text provided. Indexing begins automatically after the source is updated.
Authorizations:
Request Body schema: application/jsonrequired
name | string Name of the source. If no source with this name exists, an error is returned. |
text required | string Text of the source. The maximum size is specified in the file requirements. |
segment | string Tag (knowledge base segment). If specified, the source will be available when searching by this tag. |
Responses
Request samples
- Payload
{- "name": "string",
- "text": "string",
- "segment": "string"
}
Response samples
- 200
- 400
{- "id": 0,
- "name": "string",
- "segment": "string",
- "status": "string",
- "lastError": "string",
- "version": "string",
- "sizeBytes": 0,
- "sizeChars": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
Add from file
Add the provided file as a source to the knowledge base. Indexing begins automatically after the source is added.
Authorizations:
Request Body schema: multipart/form-datarequired
file required | string <binary> File to upload. See the file requirements. |
name | string Name of the source. It must be unique within the project. If not specified, it is automatically generated. |
segment | string Tag (knowledge base segment). If specified, the source will be available when searching by this tag. |
Responses
Response samples
- 200
- 400
{- "id": 0,
- "name": "string",
- "segment": "string",
- "status": "string",
- "lastError": "string",
- "version": "string",
- "sizeBytes": 0,
- "sizeChars": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
Update with file
Replace the source with the file provided. Indexing begins automatically after the source is updated.
Authorizations:
Request Body schema: multipart/form-datarequired
file required | string <binary> File to upload. See the file requirements. |
name | string Name of the source. If no source with this name exists, an error is returned. |
segment | string Tag (knowledge base segment). If specified, the source will be available when searching by this tag. |
Responses
Response samples
- 200
- 400
{- "id": 0,
- "name": "string",
- "segment": "string",
- "status": "string",
- "lastError": "string",
- "version": "string",
- "sizeBytes": 0,
- "sizeChars": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
Get source info
Get information about the knowledge base source.
Authorizations:
path Parameters
sourceId required | integer <int64> (LongId) Identifier of the source in the knowledge base project. |
Responses
Response samples
- 200
- 400
{- "id": 0,
- "name": "string",
- "segment": "string",
- "status": "string",
- "lastError": "string",
- "version": "string",
- "sizeBytes": 0,
- "sizeChars": 0,
- "createdAt": "2019-08-24T14:15:22Z"
}
Create integration
Add an integration to the knowledge base. Indexing begins automatically after data is downloaded, both when creating the integration or during automatic synchronisation, if enabled.
Authorizations:
Request Body schema: application/jsonrequired
name required | string Name of the integration. |
autoSync | boolean Enable automatic data synchronisation |
downloadAttachmentFiles | boolean Enable download attached files in acceptable formats, see the file requirements. This setting does not affect downloading images: they are downloaded anyway. |
syncIntervalMinutes | integer Update interval in minutes. The minimum value is 30. |
required | object (IntegrationSettings) Integration settings. |
Responses
Request samples
- Payload
{- "name": "string",
- "autoSync": true,
- "downloadAttachmentFiles": true,
- "syncIntervalMinutes": 0,
- "settings": {
- "baseUrl": "string"
}
}
Response samples
- 200
- 400
{- "id": 0,
- "name": "string",
- "autoSync": true,
- "syncIntervalMinutes": 0,
- "settings": {
- "baseUrl": "string"
}, - "status": "ACTIVE",
- "lastError": "string"
}
Get list of integrations
Get the list of knowledge base integrations.
Authorizations:
Responses
Response samples
- 200
- 400
{- "integrations": [
- {
- "id": 0,
- "name": "string",
- "autoSync": true,
- "syncIntervalMinutes": 0,
- "settings": {
- "baseUrl": "string"
}, - "status": "ACTIVE",
- "lastError": "string"
}
]
}
Get integration info
Get information about the integration.
Authorizations:
path Parameters
integrationId required | integer <int64> (LongId) Identifier of the integration. |
Responses
Response samples
- 200
- 400
{- "id": 0,
- "name": "string",
- "autoSync": true,
- "syncIntervalMinutes": 0,
- "settings": {
- "baseUrl": "string"
}, - "status": "ACTIVE",
- "lastError": "string"
}