v1

latestOpenAPI 3.1.02026-07-1310868314.3 KB
Scraping

Add One Question Answer

Import a single question and answer for a bot.

post/api/scraping/question-answer/{bot_id}

Path parameters

bot_idstring uuid required

Request body

questionstring required

Question in the document.

answerstring required

Answer to the question.

Response

Successful Response

idstring uuid required

Unique identifier for the question and answer document.

bot_idstring uuid required

Unique identifier for the associated bot.

questionstring required

The question in the document.

answerstring required

The answer to the question.

num_tokeninteger required

Number of tokens in the document.

created_atstring date-time required

Timestamp indicating when the document was created.