hosting

GET /v1/vector/indexes/{indexId}

One vector index.

جميع نقاط نهاية hosting

المصادقة

أرسل مفتاح واجهة برمجة التطبيقات (API key) كرمز حامل (bearer token). يجب أن يحمل المفتاح إذن vector.view؛ والمفتاح الذي لا يملكه يُرفض بالرمز 403 وليس 404.

لا يقبل هذا الطرف أي معرف للمؤسسة. يحدد مفتاحك بالفعل المؤسسة التي ينتمي إليها، وتكون الاستجابة محصورة في نطاقها.

جربه الآن

استبدل أي شيء بين أقواس زاوية بقيمك الخاصة، والعنصر النائب للمفتاح بمفتاح من لوحة تحكمك.

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

هل سجلت الدخول؟ تقوم وحدة تحكم واجهة برمجة التطبيقات في لوحة التحكم الخاصة بك بربط معرف مؤسستك الحقيقي ومفتاحك الخاص، وتنفذ الطلب مقابل واجهة برمجة التطبيقات المباشرة لتتمكن من رؤية الاستجابة الفعلية. افتح هذه النهاية الطرفية في وحدة تحكم 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