Vector Embeddings
POST
/v1/ai/{project_id}/embedComputes text embeddings and stores them in dimension-isolated PostgreSQL columns (768, 1536, 3072).
#
Request
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | yes | Text to embed and persist. |
namespace | string | yes | Target partition namespace isolating document spaces. |
metadata | object | no | Arbitrary JSON metadata attached to the vector record. |
#
Architecture
Multi-Dimension Storage
Info
Aurabase provides multi-dimension vector routing with dedicated columns:
768: Geminitext-embedding-004(stored inembedding_768).1536: OpenAItext-embedding-3-small(stored inembedding_1536).3072: OpenAItext-embedding-3-large(stored inembedding_3072usinghalfvecfor HNSW indexing).
Vectors are tagged with the active embedding_model to prevent cross-model semantic drift.
v1.0 · revised Oct 31, 2026