post
https://api.pigro.ai/update_documents
If you want to update the documents you previously uploaded you can do that by specifying the new titles and/or bodies.
Remember to use the same identifiers you used during the upload phase.
Modification will take place in search only after train API is called.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Your update request body should have the following structure:
{
"documents": [
{
"id": str | int,
"title": str,
"body": str
},
{
"id": str | int,
"title": str,
"body": str
},
...
]
}
