Recognitium Database API

The Database API from Recognitium — 4 operation(s) for database.

GitHub OpenAPI

Operations 4

POST /v1/database/correlate Correlate Database Table #
POST /v1/database/verify-diff Verify Database Merkle Diff #
POST /v1/database/interlock-bilateral Interlock Bilateral Databases #
POST /v1/database/interlock-bilateral/{interlock_id}/open Open Bilateral Interlock Envelope #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/recognitium-com:recognitium-com-database-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

recognitium-com-database-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Recognitium Phase 1 API Middleware Database API
  version: 0.1.0
tags:
- name: Database
paths:
  /v1/database/correlate:
    post:
      summary: Correlate Database Table
      description: 'Post-Computational SQL/Database Merkle Shield + NIST SP 800-208 Stateful

        Hash-Based Anti-Clone & Anti-Rollback Guard.

        Correlates an enterprise database table''s Merkle root into the Recognitium

        4-reference time comparison + 3-Continent Beacon + Planetary CT chain without exposing private data.'
      operationId: correlate_database_table_v1_database_correlate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatabaseCorrelateRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Database
  /v1/database/verify-diff:
    post:
      summary: Verify Database Merkle Diff
      description: 'Forensic O(log N) SQL/Database Tamper & Unauthenticated-Mutation Pinpointing.

        Recomputes the RFC 6962 binary Merkle tree before and after, identifies any

        altered, inserted, or deleted row IDs, and flags any row mutation that lacks

        a verified Recognitium authentication receipt.'
      operationId: verify_database_merkle_diff_v1_database_verify_diff_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatabaseVerifyDiffRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Database
  /v1/database/interlock-bilateral:
    post:
      summary: Interlock Bilateral Databases
      description: 'Game-Changer #11B + Unified 4-Pillar Play:

        Atomically interlocks TWO independent institutions'' private SQL databases

        (e.g., Bank A and Bank B, or Defense Agency and Contractor) in a single tick

        WITHOUT a shared blockchain and WITHOUT sharing a single byte of table data,

        while unifying:

        1. Authentication: Dual NIST SP 800-208 / ANSSI Pure-SHA-256 anti-clone ratchets

        2. Encryption: Two-Half MER Encrypted Settlement Envelope

        3. Decryption Gate: Spacetime-gated not_before_at / not_after_at self-burn window

        4. Attestation: Bilateral RFC 6962 SQL Merkle roots + 4-reference time comparison + 3-Continent Beacons + 13.4B-Leaf CT Logs.'
      operationId: interlock_bilateral_databases_v1_database_interlock_bilateral_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BilateralInterlockRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Database
  /v1/database/interlock-bilateral/{interlock_id}/open:
    post:
      summary: Open Bilateral Interlock Envelope
      description: 'Pillar 3 of Game-Changer #11: Spacetime-Gated Decryption & Self-Burning

        Settlement Envelope for Bilateral Interbank / Enterprise Interlocks.

        - Before not_before_at: refuses with HTTP 425 Too Early.

        - After not_after_at: permanently zeroes ciphertext in DB, mints an immutable

        burn receipt on the chain, and raises HTTP 410 Gone.

        - Inside window with valid SHA-256 pre-image reveal: unlocks the settlement

        ciphertext and mints an immutable open receipt on the chain.'
      operationId: open_bilateral_interlock_envelope_v1_database_interlock_bilateral__interlock_id__open_post
      parameters:
      - name: interlock_id
        in: path
        required: true
        schema:
          type: string
          title: Interlock Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BilateralEnvelopeOpenRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Database
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    BilateralEnvelopeOpenRequest:
      properties:
        reveal:
          type: string
          title: Reveal
      type: object
      required:
      - reveal
      title: BilateralEnvelopeOpenRequest
    BilateralPartySubmission:
      properties:
        institution_id:
          type: string
          title: Institution Id
        database_id:
          type: string
          title: Database Id
        table_name:
          type: string
          title: Table Name
        schema_hash:
          type: string
          title: Schema Hash
        settlement_commitment:
          type: string
          title: Settlement Commitment
        row_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Row Count
        merkle_root:
          anyOf:
          - type: string
          - type: 'null'
          title: Merkle Root
        rows:
          anyOf:
          - items:
              $ref: '#/components/schemas/DatabaseRowCommitment'
            type: array
          - type: 'null'
          title: Rows
        stream_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Stream Id
        state_index:
          anyOf:
          - type: integer
          - type: 'null'
          title: State Index
        value:
          anyOf:
          - type: string
          - type: 'null'
          title: Value
        next_anchor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Anchor
      type: object
      required:
      - institution_id
      - database_id
      - table_name
      - schema_hash
      - settlement_commitment
      title: BilateralPartySubmission
    DatabaseCorrelateRequest:
      properties:
        database_id:
          type: string
          title: Database Id
        table_name:
          type: string
          title: Table Name
        schema_hash:
          type: string
          title: Schema Hash
        row_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Row Count
        merkle_root:
          anyOf:
          - type: string
          - type: 'null'
          title: Merkle Root
        rows:
          anyOf:
          - items:
              $ref: '#/components/schemas/DatabaseRowCommitment'
            type: array
          - type: 'null'
          title: Rows
        stream_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Stream Id
        state_index:
          anyOf:
          - type: integer
          - type: 'null'
          title: State Index
        value:
          anyOf:
          - type: string
          - type: 'null'
          title: Value
        next_anchor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Anchor
      type: object
      required:
      - database_id
      - table_name
      - schema_hash
      title: DatabaseCorrelateRequest
    BilateralInterlockRequest:
      properties:
        settlement_id:
          type: string
          title: Settlement Id
        party_a:
          $ref: '#/components/schemas/BilateralPartySubmission'
        party_b:
          $ref: '#/components/schemas/BilateralPartySubmission'
        encrypted_envelope:
          anyOf:
          - $ref: '#/components/schemas/BilateralMerEnvelopeInput'
          - type: 'null'
      type: object
      required:
      - settlement_id
      - party_a
      - party_b
      title: BilateralInterlockRequest
    DatabaseRowCommitment:
      properties:
        row_id:
          type: string
          title: Row Id
        row_hash:
          type: string
          title: Row Hash
        auth_receipt_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Auth Receipt Id
      type: object
      required:
      - row_id
      - row_hash
      title: DatabaseRowCommitment
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    BilateralMerEnvelopeInput:
      properties:
        commitment:
          type: string
          title: Commitment
        ciphertext:
          type: string
          title: Ciphertext
        tag:
          type: string
          title: Tag
        not_before_at:
          anyOf:
          - type: integer
          - type: 'null'
          title: Not Before At
        not_after_at:
          anyOf:
          - type: integer
          - type: 'null'
          title: Not After At
      type: object
      required:
      - commitment
      - ciphertext
      - tag
      title: BilateralMerEnvelopeInput
    DatabaseVerifyDiffRequest:
      properties:
        database_id:
          type: string
          title: Database Id
        table_name:
          type: string
          title: Table Name
        correlation_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Correlation Id
        baseline_rows:
          items:
            $ref: '#/components/schemas/DatabaseRowCommitment'
          type: array
          title: Baseline Rows
        current_rows:
          items:
            $ref: '#/components/schemas/DatabaseRowCommitment'
          type: array
          title: Current Rows
        require_auth_receipt_on_mutations:
          type: boolean
          title: Require Auth Receipt On Mutations
          default: true
      type: object
      required:
      - database_id
      - table_name
      - baseline_rows
      - current_rows
      title: DatabaseVerifyDiffRequest