cURL
curl --request POST \ --url https://{baseUrl}/{version}/projects/{projectId}/indexes/{indexName}/docs/upsert \ --header 'content-type: <content-type>' \ --header 'x-api-key: <x-api-key>' \ --data '{ "documents": [ {} ] }'
Upsert documents into an index. Note that the maximum supported payload size is 6MB.
Project API Key.
Project ID.
Index name.
A list of documents to upsert.
Upsert request accepted.