OriginChainDB
Database endpoints

Read a transactional row

Reads one row by primary key at the transaction's snapshot, seeing the transaction's own buffered writes first.

GET /v1/tenants/{tenant}/tx/{tx_id}/rows/{schema}/{pk}

Read a record within your transactionThis view may differ from a read outside the transaction.
  1. Choose transaction and recordSupply its transaction ID, table and primary key.
  2. Read the transaction's viewPrefer its pending changes over the saved snapshot row.
  3. Inspect the nested rowRead column values under the row property.

Before you start

Use your database bearer token.

Connection setup

Begin a transaction and replace TX_ID with its returned tx_id. Finish the transaction with commit or rollback.

Path parameters

FieldTypeRequired
tenantstringRequired
tx_idstringRequired
schemastringRequired
pkstringRequired

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 record is nested under row and reflects the transaction's snapshot and its own pending changes. It may differ from a read made outside the transaction.

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.
409Resolve the conflict before retrying.
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