Skip to content
Last updated

🔨 In Development — This section is still being developed and may change.
Attach an uploaded file to a vector store for semantic search.
POSThttps://api.freddy.aitronos.com/v1/organizations/{organization_id}/vector-stores/{vector_store_id}/files

Add a previously uploaded file to a vector store. The file will be processed and indexed for semantic search.

Path Parameters

organization_id string required

The unique identifier of the organization.

vector_store_id string required

The unique identifier of the vector store.

Request Body

fileId string required

The ID of the file to add to the vector store.


Returns

A confirmation response with the file association details.

Bash
curl -X POST "https://api.freddy.aitronos.com/v1/organizations/org_abc123/vector-stores/vs_abc123/files" \
  -H "X-API-Key: $FREDDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fileId": "file_abc123"}'

Response

{
  "vectorStoreId": "vs_abc123",
  "fileId": "file_abc123",
  "status": "processing",
  "addedAt": "2025-01-20T16:15:00Z"
}