hosting

GET /v1/vector/indexes/{indexId}

One vector index.

ყველა hosting ენდპოინტი

ავტორიზაცია

API გასაღები გაგზავნეთ როგორც მატარებელი ტოკენი (bearer token). გასაღებს უნდა ჰქონდეს vector.view ნებართვა; ამის გარეშე გასაღები უარყოფილი იქნება 403 და არა 404 სტატუსით.

ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.

სცადეთ

შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/vector/indexes/{indexId} \
  -H "Authorization: Bearer zdk_live_…"

შესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი API კონსოლში

დეტალები

One index belonging to this organisation. Requires `vector.view`.

პარამეტრები

სახელიტიპისავალდებულორა არის ეს
indexId (path)stringდიახThe index's id.

პასუხი

სახელიტიპისავალდებულორა არის ეს
idstringდიახ
namestringდიახLower-case, hyphenated, unique within the organisation.
dimensionintegerდიახThe width your embedding model emits, and the width reads return. Fixed at creation.
metricstring<cosine, l2, inner_product>დიახThe distance function. Fixed at creation.
statusstring<ready, deleting>დიახ
vectorsintegerდიახHow many vectors the index holds.
storage_bytesintegerდიახWhat the index counts for against `vector_index_gb`. A published formula rather than a physical table size, so it is reproducible: 96 bytes of row overhead, plus the stored widt…
created_atstringდიახ

შეცდომები, რომლებიც ამ ენდპოინტს შეუძლია დააბრუნოს

401 · 403 · 404 · 429