v1

latestOpenAPI 3.1.02026-07-1310868314.3 KB
Scraping

Add Many Text Document

Import multiple text documents for a bot.

post/api/scraping/text-document/{bot_id}/many

Path parameters

bot_idstring uuid required

Request body

text_documentsstring[] required

List of text documents.

Response

Successful Response

idstring uuid required

Unique identifier for the text document.

bot_idstring uuid required

Unique identifier for the associated bot.

contentstring required

Content of the text document.

num_tokeninteger required

Number of tokens in the document.

created_atstring date-time required

Timestamp indicating when the document was created.