Architecture
The blockchain anchor is written synchronously (RKP-1) or asynchronously (RKP-2, RKP-3) depending on your vault configuration.Core Resources
Vaults
Vaults are the top-level containers for your data assets. Each vault has its own protocol configuration, access controls, and lifecycle management.
Files
Files are the primary asset type within a vault. Each file supports versioning, validation, history traversal, and ownership transfer - all with integrity anchoring.
Records
Individual records within a table, with full version history and per-record integrity validation.
Data Recovery
Restore soft-deleted vaults and files within the recovery window. Blockchain anchors are unaffected - on-chain proofs remain valid regardless of deletion state.
Key Capabilities
| Capability | Description |
|---|---|
| Integrity anchoring | Every write operation produces a cryptographic proof anchored to the Polygon blockchain |
| Version history | Full lineage tracking for files and records - every version is independently verifiable |
| Validation | On-demand integrity validation against the on-chain proof - detect tampering at any point in the asset lifecycle |
| Ownership transfer | Transfer custody of assets between vaults or accounts with an immutable chain-of-custody record |
| Analytics | Usage and activity metrics for monitoring workloads, adoption, and operational patterns |
| Data Recovery | Restore soft-deleted vaults and files within the retention window before permanent deletion |
Base URLs
| Environment | Base URL |
|---|---|
| Development | https://dev-api.rootkey.ai |
| Production | https://api.rootkey.ai |
Authentication
Every request must include your API key in thex-api-key header:
Protocol Configuration
Each vault is configured with a data processing protocol that determines how writes are anchored:Request Format
All request bodies must be sent as JSON with theContent-Type: application/json header.
Response Format
Responses are JSON objects. Successful responses return a2xx status code. Errors return a structured object with a machine-readable code and a human-readable message. See Error Reference for the full error schema.
Rate Limits
API requests are rate-limited per API key based on your active plan. Exceeded limits return429 Too Many Requests. See Rate Limits for plan-specific limits and retry guidance.

