v1

latestOpenAPI 3.1.02026-07-1310868314.3 KB
Scraping

Add One Text Document

Import a single text document for a bot.

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

Path parameters

bot_idstring uuid required

Request body

contentstring required

Content of the text document.

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.