post
https://api.pigro.ai/add_documents
Add all your documents in a single call. These documents, however, will not be visible in search until the train API will be called.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Your Add Documents request body should have the following structure:
{
"documents": [
{
"id": int | str,
"title": str,
"body": str
},
{
"id": int | str,
"title": str,
"body": str,
},
...
]
}
