jobId to use with startBuild once the upload completes.
Required fields: indexName, modelId, docCount, dimension
| Field | Type | Required | Notes |
|---|---|---|---|
indexName | string | ✅ | Name for the new index. |
modelId | string | ✅ | Embedding model identifier (e.g. moss-minilm). |
docCount | integer | ✅ | Total number of documents being uploaded. |
dimension | integer | ✅ | Embedding vector dimension (e.g. 384 for moss-minilm). |
| Field | Type | Notes |
|---|---|---|
jobId | string | Use this ID with startBuild after uploading. |
uploadUrl | string | Presigned URL to PUT your index data. Expires after expiresIn seconds. |
expiresIn | integer | Seconds until the upload URL expires (default 3600). |
400whendocCountordimensionis missing or invalid.404if the project does not exist.