Dominevo
ReferenceHTTP API

vectorStore

The vectorStore router: 9 methods of the vector-store capability, with tier, scope, input and output.

Capability vector-store · scope system · mode singleton · source packages/types/src/capabilities/vector-store.cap.ts:316.

Every method is called at /trpc/vectorStore.<method> — queries with GET, mutations with POST. See How to call and Authorization.

MethodKindTierToken scopeViewer
declareIndexmutationadminadmin onlyno
upsertmutationadminadmin onlyno
queryqueryadminadmin onlyno
getByIdsqueryadminadmin onlyno
fetchByIdsqueryadminadmin onlyno
scanqueryadminadmin onlyno
deleteByIdsmutationadminadmin onlyno
deleteByFiltermutationadminadmin onlyno
statsqueryadminadmin onlyno

vectorStore.declareIndex

  • Kind: mutation — POST /trpc/vectorStore.declareIndex
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=vectorStore.declareIndex on your hub

Input

VectorDeclareIndexInputSchema

Output

void

Shapes: VectorDeclareIndexInputSchema

vectorStore.upsert

  • Kind: mutation — POST /trpc/vectorStore.upsert
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=vectorStore.upsert on your hub

Input

VectorUpsertInputSchema

Output

VectorUpsertResultSchema

Shapes: VectorUpsertInputSchema · VectorUpsertResultSchema

vectorStore.query

  • Kind: query — GET /trpc/vectorStore.query
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=vectorStore.query on your hub

Input

VectorQueryInputSchema

Output

VectorQueryResultSchema

Shapes: VectorQueryInputSchema · VectorQueryResultSchema

vectorStore.getByIds

  • Kind: query — GET /trpc/vectorStore.getByIds
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=vectorStore.getByIds on your hub

Input

VectorGetInputSchema

Output

VectorGetResultSchema

Shapes: VectorGetInputSchema · VectorGetResultSchema

vectorStore.fetchByIds

  • Kind: query — GET /trpc/vectorStore.fetchByIds
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=vectorStore.fetchByIds on your hub

Input

{ index: string; ids: string[] }

Output

{ items: ({ id: string; vector: string; metadata: VectorMetadataSchema })[] }

Shapes: VectorMetadataSchema

vectorStore.scan

  • Kind: query — GET /trpc/vectorStore.scan
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=vectorStore.scan on your hub

Input

{ index: string; cursor?: number = 0; limit: number }

Output

{ items: ({ id: string; metadata: VectorMetadataSchema })[]; nextCursor: number | null }

Shapes: VectorMetadataSchema

vectorStore.deleteByIds

  • Kind: mutation — POST /trpc/vectorStore.deleteByIds
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=vectorStore.deleteByIds on your hub

Input

VectorDeleteInputSchema

Output

VectorDeleteResultSchema

Shapes: VectorDeleteInputSchema · VectorDeleteResultSchema

vectorStore.deleteByFilter

  • Kind: mutation — POST /trpc/vectorStore.deleteByFilter
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=vectorStore.deleteByFilter on your hub

Input

VectorDeleteByFilterInputSchema

Output

VectorDeleteResultSchema

Shapes: VectorDeleteByFilterInputSchema · VectorDeleteResultSchema

vectorStore.stats

  • Kind: query — GET /trpc/vectorStore.stats
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=vectorStore.stats on your hub

Input

VectorStatsInputSchema

Output

VectorStatsResultSchema

Shapes: VectorStatsInputSchema · VectorStatsResultSchema