bulk-upsert API with the corresponding objectKey you’ve just uploaded:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
AIMP_PROJECT_API_KEY="YOUR_API_KEY"
curl -i -X GET \
"https://{baseUrl}/{apiVersion}/projects/{project_id}/indexes/{index_name}/docs/bulk-upsert" \
-H 'content-type: application/json' \
-H 'x-api-key: $AIMP_PROJECT_API_KEY'
{
"url": "<string>",
"type": "application/json",
"httpMethod": "PUT",
"objectKey": "<string>",
"sizeLimitBytes": 209715200
}
bulk-upsert API with the corresponding objectKey you’ve just uploaded:
AIMP_PROJECT_API_KEY="YOUR_API_KEY"
curl -i -X POST \
"https://{baseUrl}/{apiVersion}/projects/{project_id}/indexes/{index_name}/docs/bulk-upsert" \
-H 'content-type: application/json' \
-H 'x-api-key: $AIMP_PROJECT_API_KEY' \
-d '{
"objectKey": "<string>"
}'