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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Your update request body should have the following structure:

{
  "documents": [
    {
      "id": str | int,
      "title": str,
      "body": str
    },
    {
      "id": str | int,
      "title": str,
      "body": str
    },
    ...
   ]
}
Body Params
documents
array of objects
required

A list of documents, all of them must have a unique identifier, a title and a body

Documents*
Headers
string

Your 32 characters API Key token. If you don't have one yet, register at api.pigro.ai to receive it

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json