Skip to main content
GET
/
projects
/
{projectId}
/
indexes
/
{indexName}
/
docs
/
bulk-upsert
cURL
curl --request GET \
  --url https://{baseUrl}/{version}/projects/{projectId}/indexes/{indexName}/docs/bulk-upsert \
  --header 'content-type: <content-type>' \
  --header 'x-api-key: <x-api-key>'
{
  "url": "<string>",
  "type": "application/json",
  "httpMethod": "PUT",
  "objectKey": "<string>",
  "sizeLimitBytes": 209715200
}

Headers

content-type
string
default:application/json
required
x-api-key
string
required

Project API Key.

Path Parameters

projectId
string
required

Project ID.

indexName
string
required

Index name.

Response

200 - application/json

Required info to upload documents.

url
string

Presigned URL.

type
enum<string>
default:application/json

Content type that must be specified when uploading documents.

Available options:
application/json
httpMethod
enum<string>
default:PUT

HTTP method that must be specified when uploading documents.

Available options:
PUT
objectKey
string

Object key that must be specified when uploading documents.

sizeLimitBytes
integer
default:209715200

Object size limit in bytes.