OriginChainDB
Database endpoints

Inspect geospatial indexes

Read a schema's geospatial index definitions and current point counts.

GET /v1/tenants/{tenant}/geo/{schema}

Check whether locations are indexed consistentlyThis reports index health, not nearby locations.
  1. Choose the table schemaRequest its geospatial configuration.
  2. Compare point and index countsInspect points, indexed and consistency.
  3. Check for pending repairAccount for repair state before relying on searches.

Before you start

Use your database bearer token.

Connection setup

Use a registered schema with a declared geospatial field. The example targets demo.locations.

Path parameters

FieldTypeRequired
tenantstringRequired
schemastringRequired

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.

Read the result

Compare points with indexed, and check consistent and index_repair_pending. This inspects geospatial indexing; it does not return nearby locations.

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.
429Honor Retry-After when present; back off.
500Check the outcome before retrying a write.
503Honor Retry-After when present; check write outcomes.
© 2026 Silicoyn Technologies Pvt Ltd