Skip to main content
All API actions are multiplexed through the /v1/manage endpoint. Provide an action string plus the required fields for that operation. On success, handlers return 2xx JSON payloads outlined below. Failures return structured errors:
{
  "error": "Human-readable message",
  "action": "addDocs" // present on server errors
}
Shared request schema:
FieldTypeRequiredNotes
actionstringOne of initUpload, startBuild, getJobStatus, getIndex, listIndexes, deleteIndex, addDocs, deleteDocs, getDocs, getIndexUrl.
projectIdstringProject identifier issued by Moss Control.
indexNamestring▶︎Required for index-scoped actions.
Required headers: x-project-key with your project access key and x-service-version: v1.

Supported actions at a glance

ActionPurposeExtra required fields
initUploadGet a presigned URL to upload index data.indexName, modelId, docCount, dimension
startBuildTrigger an index build after uploading data.jobId
getJobStatusCheck the status of an async build job.jobId
getIndexFetch metadata for a single index.indexName
listIndexesEnumerate every index under the project.
deleteIndexRemove an index record and assets.indexName
getIndexUrlGet download URLs for a built index.indexName
addDocsUpsert documents into an existing index.indexName, docs
deleteDocsRemove documents by ID.indexName, docIds
getDocsRetrieve stored documents (without embeddings).indexName