OriginChainDB
Database endpoints

List schemas

Lists the table ids registered for the tenant that the caller may see.

GET /v1/tenants/{tenant}/schemas

Discover the tables visible to your credentialThis lists schema IDs rather than table records.
  1. List the tenant's schemasRequest the table inventory available to this caller.
  2. Choose a returned IDIdentify the table you need.
  3. Open its definition or rowsUse that ID in the appropriate endpoint.

Before you start

Use your database bearer token.

Connection setup

Path parameters

FieldTypeRequired
tenantstringRequired

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

The array contains table IDs such as demo.people, limited to those visible to the caller. Pass an ID to the schema-detail or row endpoints; the listing does not contain records.

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.
429Honor Retry-After when present; back off.
502Check service availability and the write outcome.
503Honor Retry-After when present; check write outcomes.
© 2026 Silicoyn Technologies Pvt Ltd