Recognitium Agent API

The Agent API from Recognitium — 22 operation(s) for agent.

GitHub OpenAPI

Operations 22

POST /v1/agent/bind Bind Agent Chain #
POST /v1/agent/auth/register Agent Auth Register #
POST /v1/agent/auth/challenge Agent Auth Challenge #
POST /v1/agent/auth/step Agent Auth Step #
GET /v1/agent/auth/result/{challenge_id} Agent Auth Result #
POST /v1/agent/mandate Agent Mandate Grant #
GET /v1/agent/mandates Agent Mandates Mine #
GET /v1/agent/mandate/{mandate_hash} Agent Mandate Status #
POST /v1/agent/mandate/{mandate_hash}/revoke Agent Mandate Revoke #
POST /v1/agent/session Agent Session Open #
GET /v1/agent/sessions Agent Sessions Mine #
POST /v1/agent/session/{session_id}/revoke Agent Session Revoke #
POST /v1/agent/door-key Agent Door Key #
POST /v1/agent/door-key/settle Agent Door Key Settle #
GET /v1/agent/door-keys Agent Door Keys Mine #
POST /v1/agent/order Agent Order Give #
GET /v1/agent/orders Agent Orders Mine #
GET /v1/agent/order/{order_hash} Agent Order Status #
POST /v1/agent/order/{order_hash}/execute Agent Order Execute #
POST /v1/agent/order/{order_hash}/cancel Agent Order Cancel #
GET /v1/agent/cv/{chain_id} Get Agent Cv #
GET /v1/agent/conduct Get Agent Conduct #

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-agent-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-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Recognitium Phase 1 API Middleware Agent API
  version: 0.1.0
tags:
- name: Agent
paths:
  /v1/agent/bind:
    post:
      summary: Bind Agent Chain
      description: 'Bind this caller''s tick meter to its client chain — identity, wallet,

        and CV become one object. First bind wins; genesis is immutable; re-binds

        by the same meter refresh the tip (each one a fresh witness anchor).'
      operationId: bind_agent_chain_v1_agent_bind_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentBindRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/auth/register:
    post:
      summary: Agent Auth Register
      description: 'Register the first commitment of the agent''s sign-in. The first

        registration is made by the meter the chain is bound to; replacing it

        afterwards needs the value the current head commits to, so a stolen meter

        key cannot take the agent''s sign-in over.'
      operationId: agent_auth_register_v1_agent_auth_register_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentStepRegisterRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/auth/challenge:
    post:
      summary: Agent Auth Challenge
      description: 'A service opens a sign-in for an agent. The engine keeps only a

        fingerprint of (chain, service, nonce): the service''s name never rests

        here, and without the random nonce the fingerprint cannot be guessed back.

        The service passes the challenge to the agent; the agent''s runtime refuses

        any challenge whose audience is not the domain it is really talking to.'
      operationId: agent_auth_challenge_v1_agent_auth_challenge_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentChallengeRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/auth/step:
    post:
      summary: Agent Auth Step
      description: 'The agent answers a challenge with the value its head commits to, and

        commits to a fresh one. No API key and no password: the value is the

        credential, and this call spends it.'
      operationId: agent_auth_step_v1_agent_auth_step_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentStepRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/auth/result/{challenge_id}:
    get:
      summary: Agent Auth Result
      description: 'What the service reads, once: whether its challenge was answered by the

        chain''s next value, and the sealed sign-in record. The record is handed

        over and then cleared from the engine, which keeps the receipt only.'
      operationId: agent_auth_result_v1_agent_auth_result__challenge_id__get
      parameters:
      - name: challenge_id
        in: path
        required: true
        schema:
          type: string
          title: Challenge Id
      - name: token
        in: query
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/mandate:
    post:
      summary: Agent Mandate Grant
      description: 'A person, signed in to the console, lets an agent enter named services

        on their behalf until a date. Given once, sealed. The engine keeps the

        mandate''s fingerprint, its agent, its end date and its grantor, never the

        services it names: the person hands the mandate to the agent, the agent

        shows it to the service, and the service checks its fingerprint here. A

        random salt keeps a short list of services from being guessed back.'
      operationId: agent_mandate_grant_v1_agent_mandate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentMandateRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/mandates:
    get:
      summary: Agent Mandates Mine
      description: 'The mandates this person granted, for their console: the agent, the

        end date, the state and the receipts. The services each one names were

        never kept here; the console shows them from the person''s own copy.'
      operationId: agent_mandates_mine_v1_agent_mandates_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Agent
  /v1/agent/mandate/{mandate_hash}:
    get:
      summary: Agent Mandate Status
      description: 'Public: what a service checks about a mandate an agent shows it. The

        service recomputes the fingerprint of the mandate it was handed and reads

        here who granted it, from what position, and whether it was revoked.'
      operationId: agent_mandate_status_v1_agent_mandate__mandate_hash__get
      parameters:
      - name: mandate_hash
        in: path
        required: true
        schema:
          type: string
          title: Mandate Hash
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/mandate/{mandate_hash}/revoke:
    post:
      summary: Agent Mandate Revoke
      description: 'The grantor ends a mandate. Nothing is erased: the revocation is sealed

        after the grant, and from then on its status says so.'
      operationId: agent_mandate_revoke_v1_agent_mandate__mandate_hash__revoke_post
      parameters:
      - name: mandate_hash
        in: path
        required: true
        schema:
          type: string
          title: Mandate Hash
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/session:
    post:
      summary: Agent Session Open
      operationId: agent_session_open_v1_agent_session_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentSessionRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/sessions:
    get:
      summary: Agent Sessions Mine
      description: 'The principal''s view, in the console: every session its agents opened,

        what each could do, and what each did.'
      operationId: agent_sessions_mine_v1_agent_sessions_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Agent
  /v1/agent/session/{session_id}/revoke:
    post:
      summary: Agent Session Revoke
      operationId: agent_session_revoke_v1_agent_session__session_id__revoke_post
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/door-key:
    post:
      summary: Agent Door Key
      operationId: agent_door_key_v1_agent_door_key_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DoorKeyRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/door-key/settle:
    post:
      summary: Agent Door Key Settle
      operationId: agent_door_key_settle_v1_agent_door_key_settle_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DoorKeySettle'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/door-keys:
    get:
      summary: Agent Door Keys Mine
      description: 'The principal''s view, in the console: every seal and entry its agents

        made at a platform''s door. The platform comes as its SHA-256; the console

        names it from the mandates the person keeps on their own device.'
      operationId: agent_door_keys_mine_v1_agent_door_keys_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Agent
  /v1/agent/order:
    post:
      summary: Agent Order Give
      description: 'The principal, signed in to the console, seals an order for their agent

        under one of their mandates in force. The text returned goes to the agent;

        the engine keeps only its fingerprint.'
      operationId: agent_order_give_v1_agent_order_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentOrderRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/orders:
    get:
      summary: Agent Orders Mine
      description: 'The orders this principal gave, for their console: the agent, the end

        date, the state and the receipts; never the instruction.'
      operationId: agent_orders_mine_v1_agent_orders_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Agent
  /v1/agent/order/{order_hash}:
    get:
      summary: Agent Order Status
      description: 'Public: what an agent''s runtime (or anyone) checks about an order text it

        was handed: sealed by whom, under which mandate, and whether it can still

        be executed.'
      operationId: agent_order_status_v1_agent_order__order_hash__get
      parameters:
      - name: order_hash
        in: path
        required: true
        schema:
          type: string
          title: Order Hash
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/order/{order_hash}/execute:
    post:
      summary: Agent Order Execute
      description: 'The agent executes an order by spending one step of its chain, bound to

        the order. No key: the value is the credential. Refused unless the order is

        sealed for this agent, in force, never executed, and its mandate in force.'
      operationId: agent_order_execute_v1_agent_order__order_hash__execute_post
      parameters:
      - name: order_hash
        in: path
        required: true
        schema:
          type: string
          title: Order Hash
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentOrderExecuteRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/order/{order_hash}/cancel:
    post:
      summary: Agent Order Cancel
      description: 'The principal cancels an order not yet executed. Nothing is erased: the

        cancellation is sealed after the order.'
      operationId: agent_order_cancel_v1_agent_order__order_hash__cancel_post
      parameters:
      - name: order_hash
        in: path
        required: true
        schema:
          type: string
          title: Order Hash
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/cv/{chain_id}:
    get:
      summary: Get Agent Cv
      description: 'The agent''s public CV — identity read straight from its chain and its

        settled market history. Public by doctrine (verification is free): these

        are facts already witnessed on the authority timeline. The balance is NOT

        here — the meter reading stays private to the meter''s owner.'
      operationId: get_agent_cv_v1_agent_cv__chain_id__get
      parameters:
      - name: chain_id
        in: path
        required: true
        schema:
          type: string
          title: Chain Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
  /v1/agent/conduct:
    get:
      summary: Get Agent Conduct
      description: 'The Conduct Report — an exportable, offline-verifiable dossier of an

        agent''s whole accountable history: identity, mission trajectories,

        settled MERs, tick lifetime, and heartbeat coverage. Owner-scoped (the

        caller''s own key): this is the record you hand to an auditor, an insurer,

        or a counterparty. Every element links to a receipt that recomputes with

        SHA-256 alone — the dossier proves itself; it is not trusted.


        Regulatory framing (see Documentation/Strategy/Verified_Past_Build_Plan

        Phase 4): maps onto EU AI Act Art. 12 (automatic event recording) and

        Art. 19 (log retention); made legally operative between parties by the

        Pre-Judicata rider, not by hoping a court reads raw logs.'
      operationId: get_agent_conduct_v1_agent_conduct_get
      parameters:
      - name: mission_limit
        in: query
        required: false
        schema:
          type: integer
          default: 100
          title: Mission Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agent
components:
  schemas:
    AgentOrderRequest:
      properties:
        mandate_hash:
          type: string
          title: Mandate Hash
        instruction:
          type: string
          title: Instruction
        expires_at:
          type: integer
          title: Expires At
        service:
          anyOf:
          - type: string
          - type: 'null'
          title: Service
      type: object
      required:
      - mandate_hash
      - instruction
      - expires_at
      title: AgentOrderRequest
    AgentChallengeRequest:
      properties:
        chain_id:
          type: string
          title: Chain Id
        audience:
          type: string
          title: Audience
      type: object
      required:
      - chain_id
      - audience
      title: AgentChallengeRequest
    DoorKeySettle:
      properties:
        challenge_id:
          type: string
          title: Challenge Id
        result_token:
          type: string
          title: Result Token
        outcome:
          type: string
          title: Outcome
      type: object
      required:
      - challenge_id
      - result_token
      - outcome
      title: DoorKeySettle
    AgentStepRequest:
      properties:
        chain_id:
          type: string
          title: Chain Id
        challenge_id:
          type: string
          title: Challenge Id
        audience:
          type: string
          title: Audience
        nonce:
          type: string
          title: Nonce
        value:
          type: string
          title: Value
        next_anchor:
          type: string
          title: Next Anchor
      type: object
      required:
      - chain_id
      - challenge_id
      - audience
      - nonce
      - value
      - next_anchor
      title: AgentStepRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DoorKeyRequest:
      properties:
        challenge_id:
          type: string
          title: Challenge Id
        result_token:
          type: string
          title: Result Token
        nonce:
          type: string
          title: Nonce
        platform:
          type: string
          title: Platform
        mandate:
          type: string
          title: Mandate
        purpose:
          type: string
          title: Purpose
          default: enter
      type: object
      required:
      - challenge_id
      - result_token
      - nonce
      - platform
      - mandate
      title: DoorKeyRequest
    AgentBindRequest:
      properties:
        chain_id:
          type: string
          title: Chain Id
        genesis_tip:
          type: string
          title: Genesis Tip
        current_tip:
          type: string
          title: Current Tip
      type: object
      required:
      - chain_id
      - genesis_tip
      - current_tip
      title: AgentBindRequest
    AgentStepRegisterRequest:
      properties:
        chain_id:
          type: string
          title: Chain Id
        anchor:
          type: string
          title: Anchor
        value:
          anyOf:
          - type: string
          - type: 'null'
          title: Value
      type: object
      required:
      - chain_id
      - anchor
      title: AgentStepRegisterRequest
    AgentOrderExecuteRequest:
      properties:
        chain_id:
          type: string
          title: Chain Id
        value:
          type: string
          title: Value
        next_anchor:
          type: string
          title: Next Anchor
        result_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: Result Hash
      type: object
      required:
      - chain_id
      - value
      - next_anchor
      title: AgentOrderExecuteRequest
    AgentSessionRequest:
      properties:
        challenge_id:
          type: string
          title: Challenge Id
        result_token:
          type: string
          title: Result Token
        nonce:
          type: string
          title: Nonce
        mandate:
          type: string
          title: Mandate
      type: object
      required:
      - challenge_id
      - result_token
      - nonce
      - mandate
      title: AgentSessionRequest
    AgentMandateRequest:
      properties:
        chain_id:
          type: string
          title: Chain Id
        scope:
          items: {}
          type: array
          title: Scope
        expires_at:
          type: integer
          title: Expires At
        actions:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Actions
      type: object
      required:
      - chain_id
      - scope
      - expires_at
      title: AgentMandateRequest
    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