OriginChainDB
Database endpoints

Read a vector namespace

Returns a namespace of a vector index with its record counts.

POST /v1/tenants/{tenant}/vector-indexes/{index}/namespaces/describe

Inspect one namespace's stored recordsPending counters and stored-record counts describe different states.
  1. Select the index and namespaceUse the namespace's exact name.
  2. Read its state and countersInspect record_count and pending work separately.
  3. Interpret current usageDo not add unrelated counters into one total.

Before you start

Use your database bearer token.

Connection setup

Use the target vector index and, where required, its namespace. The examples use index demo-search and namespace demo.

Path parameters

FieldTypeRequired
tenantstringRequired
indexstringRequired

Headers

FieldTypeRequiredDescription
x-oc-db-userstringOptionalActing database user (role, grant and row-policy checks). Send with x-oc-db-key.
x-oc-db-keystringOptionalAPI key of the x-oc-db-user user.

Request body

application/json

Limits and accepted values

include_deleting: true needs manage on the index and currently answers 501.

FieldTypeRequired
include_deletingbooleanOptional
namestringRequired

Read the result

record_count describes stored records, while pending counters describe work that is not yet in the same state. Do not add every counter together as though they were disjoint totals.

Response statuses

HTTP status reference
StatusWhat to do
200OK
400Correct the request before retrying.
401Check the credential and Authorization header.
402Check feature access or available credits.
403Check tenant access, roles and permissions.
404Check the resource ID and API route.
413Split or reduce the request body.
415Send the required Content-Type.
422Correct the values or unsupported combination.
429Honor Retry-After when present; back off.
500Check the outcome before retrying a write.
501Check deployment support for this operation.
503Honor Retry-After when present; check write outcomes.
ยฉ 2026 Silicoyn Technologies Pvt Ltd