Redeal Certificates API

The Certificates API from Redeal — 3 operation(s) for certificates.

GitHub OpenAPI

Operations 3

GET /v1/certificates/{cert_id} Fetch a public certificate (verbatim JSON, outcome included) #
GET /v1/deals/{id}/certificate Fetch the deal's certificate (parties only) #
GET /v1/verify/{cert_id} Public certificate verification (no auth, free) #

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/redeal-dev:redeal-dev-certificates-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

redeal-dev-certificates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Redeal Certificates API
  version: 0.7.0
  description: 'Neutral fairness computation for agents. Parties commit to sealed inputs, Redeal runs a published deterministic algorithm, and issues a signed, transparency-logged certificate anyone can verify.


    Quickstart: POST /v1/keys -> POST /v1/deals -> each party POSTs commit then reveal with their invite token -> GET /v1/deals/{id}/certificate -> anyone GETs /v1/verify/{cert_id}.


    Agents: prefer the MCP server at /mcp (Streamable HTTP). See /llms.txt.'
  license:
    name: Apache-2.0
servers:
- url: https://api.redeal.dev
  description: production (planned)
- url: http://localhost:8080
  description: local dev
tags:
- name: Certificates
paths:
  /v1/certificates/{cert_id}:
    get:
      summary: Fetch a public certificate (verbatim JSON, outcome included)
      description: Public, no auth, rate-limited. Certificates carry no raw inputs. 404 for unknown ids AND parties-only deals (existence is not confirmed either way).
      parameters:
      - name: cert_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: the certificate
        '404':
          description: unknown id or parties-only deal
      tags:
      - Certificates
      operationId: getV1CertificatesByCertId
      x-operation-id-source: derived
  /v1/deals/{id}/certificate:
    get:
      tags:
      - Certificates
      summary: Fetch the deal's certificate (parties only)
      operationId: getCertificate
      security:
      - bearerAuth: []
      parameters:
      - $ref: '#/components/parameters/DealId'
      responses:
        '200':
          description: The signed certificate with transparency-log inclusion proof
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Certificate'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
          description: CERT_NOT_READY / NO_CERTIFICATE — no certificate exists yet or ever
  /v1/verify/{cert_id}:
    get:
      tags:
      - Certificates
      summary: Public certificate verification (no auth, free)
      operationId: verifyCertificate
      description: 'Reports each check individually: labelled signature (es256/ed25519) under the current or a published legacy key, input_root well-formedness, Merkle inclusion against the transparency log.'
      parameters:
      - name: cert_id
        in: path
        required: true
        schema:
          type: string
        example: c_4d8a...
      responses:
        '200':
          description: Verification report
          content:
            application/json:
              schema:
                type: object
                properties:
                  cert_id:
                    type: string
                  valid:
                    type: boolean
                  outcome:
                    type: string
                    enum:
                    - COMPUTED
                    - VOID
                  checks:
                    type: object
                    properties:
                      signature:
                        type: boolean
                      input_root_wellformed:
                        type: boolean
                      merkle_inclusion:
                        type: boolean
                  note:
                    type: string
        '404':
          $ref: '#/components/responses/Error'
components:
  parameters:
    DealId:
      name: id
      in: path
      required: true
      schema:
        type: string
      example: d_9f2c...
  schemas:
    Certificate:
      type: object
      description: Signed outcome certificate (ADR-0004). signed-payload = JCS(cert minus signature and log_proof).
      properties:
        cert_version:
          type: string
          example: '1'
        cert_id:
          type: string
        deal_id:
          type: string
        outcome:
          type: string
          enum:
          - COMPUTED
          - VOID
        algorithm:
          type: string
        mode:
          type: string
          enum:
          - sealed
          - open
        retention:
          type: string
          enum:
          - standard
          - purge
        parties:
          type: array
          items:
            type: object
            properties:
              index:
                type: integer
              label:
                type: string
              commitment:
                type:
                - string
                - 'null'
              attested_by:
                type: string
                example: deal_initiator
        input_root:
          type:
          - string
          - 'null'
          description: 'Merkle root over per-party input leaves in party-index order (sealed party: hash of its published commitment string; open-mode party: hash of the canonical input). Null for VOID deals with insufficient reveals'
        result:
          type:
          - object
          - 'null'
        void_flakers:
          type:
          - array
          - 'null'
          items:
            type: integer
        properties:
          type: array
          items:
            type: string
          description: guarantee flags, e.g. verifiability
        timing:
          type: object
          properties:
            created_at:
              type: integer
            commits_closed_at:
              type:
              - integer
              - 'null'
            reveals_closed_at:
              type:
              - integer
              - 'null'
            computed_at:
              type:
              - integer
              - 'null'
        log_proof:
          type: object
          properties:
            tree_size:
              type: integer
            leaf_index:
              type: integer
            inclusion_path:
              type: array
              items:
                type: string
        tee_attestation:
          type:
          - object
          - 'null'
          description: reserved; null until TEE deployments
        signature:
          type: string
          description: '"<scheme>:<hex>" — es256:<128 hex> (ECDSA P-256, raw r||s low-S; the KMS launch form) or ed25519:<128 hex> (pre-KMS dev certs)'
  responses:
    Error:
      description: 'Error. The message is instructive: it names the code and the fix.'
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: 'AUTH_REQUIRED: pass ''Authorization: Bearer <api_key>''; get a key via POST /v1/keys'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key (fp_...) for initiator actions; invite token for party actions