hosting

POST /v1/vector/indexes/{indexId}/vectors/fetch

Read vectors back by id.

Tüm hosting uç noktaları

Kimlik Doğrulama

Bearer token olarak bir API anahtarı gönderin. Anahtar vector.manage iznine sahip olmalıdır; bu izne sahip olmayan bir anahtar 404 ile değil, 403 ile reddedilir.

Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.

Dene

Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.

curl -X POST https://api.zinndigital.com/v1/vector/indexes/{indexId}/vectors/fetch \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "ids": <string[]> }'

Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın

Ayrıntılar

Returns the vectors you stored, by your own ids, with their metadata. Values come back at the index's own `dimension` — never at the wider width they may physically be stored in, which is an implementation detail you should never have to know about. A POST rather than a GET because the ids are yours and there may be a thousand of them. This does **not** count against `vector_queries_monthly`: fetching by id runs no nearest-neighbour search. Requires `vector.manage`, like `query`, because it returns your stored data rather than your usage.

Parametreler

AdTürZorunluNe olduğu
indexId (path)stringEvetThe index's id.

İstek gövdesi

AdTürZorunluNe olduğu
idsstring[]Evet

Yanıt

AdTürZorunluNe olduğu
vectorsVector[]Evet

Bu uç noktanın dönderebileceği hatalar

401 · 403 · 404 · 422 · 429