RouteMyAgent Local API

The Local API from RouteMyAgent — 2 operation(s) for local.

GitHub OpenAPI

Operations 2

GET /api/local/access Read free routing account access and service limits #
POST /api/local/setup Issue a private V3 bootstrap after fresh processing consent #

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/routemyagent-dev:routemyagent-dev-local-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

routemyagent-dev-local-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@routemyagent.dev
    name: RouteMyAgent Support
    url: https://routemyagent.dev/guides/x402
  description: Free account-based stateless routing and MCP model help, with optional one-time support. Provider inference is billed separately. The small local OS-vault app sends approved provider-key envelopes and model content through RMA. RMA decrypts/processes the selected key and request/response content transiently without persisting new routed payloads. Account/token-hash/consent/support-payment metadata and historical archives remain separate. Fresh processing consent is required; V2 direct AgentNet configurations are not migrated.
  title: RouteMyAgent free account routing Local API
  version: 0.6.1
servers:
- url: https://routemyagent.dev
tags:
- name: Local
paths:
  /api/local/access:
    get:
      description: Authenticated unsuspended accounts can use routing without a trial, subscription or support payment. This is not provider quota or proof of model/client success.
      operationId: readManagedRoutingAccess
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedRoutingAccess'
          description: Managed local access; not provider quota or local inference proof.
        '401':
          description: Owner authentication required.
        '503':
          description: Storage/status unavailable.
      security:
      - ownerBearer: []
      summary: Read free routing account access and service limits
      tags:
      - Local
  /api/local/setup:
    post:
      description: Owner authentication, an unsuspended free account and fresh processing consent are required. Creates a new consent-registered RMA access token; the response is PRIVATE and no-store. No trial, subscription, card or tip is required. It contains no provider key and sends no model request. Existing V2 files and legacy tokens do not gain managed routing scope.
      operationId: createPrivateManagedBootstrap
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                accepted_gateway_processing:
                  const: true
                client:
                  enum:
                  - claude_code
                  - codex_toml
                  - hermes
                  type: string
                mode:
                  default: agent
                  description: MCP is a mode of the selected client, not another client.
                  enum:
                  - agent
                  - mcp
                  type: string
                model:
                  type: string
                processing_consent_revision:
                  const: 2026-10-26-transient-v1
                provider:
                  description: One of the two currently offered provider connections.
                  enum:
                  - nvidia
                  - cerebras
                  type: string
              required:
              - provider
              - model
              - client
              - accepted_gateway_processing
              - processing_consent_revision
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivateManagedBootstrap'
          description: PRIVATE bootstrap, never a public connection file.
          headers:
            Cache-Control:
              schema:
                const: no-store
        '400':
          description: Invalid selection, missing fresh consent or wrong processing revision.
        '401':
          description: Account authentication required.
        '403':
          description: Account/origin denied.
        '410':
          description: Local setup unavailable in legacy-hosted mode.
        '422':
          description: Unknown fields/invalid typed input, including provider-key payloads, are rejected.
      security:
      - ownerBearer: []
      summary: Issue a private V3 bootstrap after fresh processing consent
      tags:
      - Local
components:
  schemas:
    PrivateManagedBootstrap:
      additionalProperties: false
      description: PRIVATE one-time bootstrap. Contains an RMA access token, NEVER a provider API key. Keep confidential; connector saves token in its OS vault. No token in public URLs/browser storage/model args/logs.
      properties:
        client:
          enum:
          - claude_code
          - codex_toml
          - hermes
          type: string
        format:
          const: rma-managed-connection
        gateway:
          additionalProperties: false
          properties:
            access_token:
              description: Sensitive one-time RMA authorization, not a provider key.
              pattern: ^an_[A-Za-z0-9_-]+$
              type: string
              x-sensitive: true
            audience:
              format: uri
              type: string
            connection_id:
              type: string
            origin:
              format: uri
              type: string
          required:
          - origin
          - audience
          - access_token
          - connection_id
          type: object
        mode:
          enum:
          - agent
          - mcp
          type: string
        model:
          additionalProperties: false
          properties:
            context:
              minimum: 1
              type:
              - integer
              - 'null'
            id:
              type: string
            output:
              minimum: 1
              type:
              - integer
              - 'null'
            reasoning:
              type:
              - boolean
              - 'null'
            tool_call:
              type:
              - boolean
              - 'null'
            vision:
              type:
              - boolean
              - 'null'
          required:
          - id
          type: object
        private_bootstrap:
          const: true
        processing_consent_revision:
          const: 2026-10-26-transient-v1
        provider:
          additionalProperties: false
          properties:
            adapter:
              type: string
            auth_mode:
              const: bearer
            base_url:
              format: uri
              type: string
            chat_dialect:
              type: string
            id:
              type: string
            models_path:
              description: Relative upstream model-list path; the current exporter emits models.
              type: string
            name:
              type: string
            output_token_field:
              type: string
            protocol:
              type: string
          required:
          - id
          - name
          - adapter
          - base_url
          - protocol
          - auth_mode
          type: object
        version:
          const: 3
      required:
      - format
      - version
      - provider
      - model
      - client
      - mode
      - private_bootstrap
      - processing_consent_revision
      - gateway
      type: object
    ManagedRoutingAccess:
      description: Free managed routing account status. Payment, trial and optional support do not grant access. Not provider quota or proof of task quality.
      properties:
        account_required:
          const: true
        active:
          type: boolean
        billing_mode:
          const: free_account
        card_required_for_trial:
          const: false
        inference_payloads_persisted:
          const: false
        local_inference_metered:
          const: false
        per_call_fee:
          const: false
        prepaid_balance_policy:
          type: string
        price_cents:
          const: 0
        processing_consent_revision:
          const: 2026-10-26-transient-v1
        provider_credentials_persisted:
          const: false
        provider_credentials_received:
          const: true
        provider_inference_included:
          const: false
        scope:
          type: string
        service:
          const: managed_stateless_routing
        state:
          enum:
          - free
          - suspended
        terms_revision:
          type: string
        trial:
          type: 'null'
        trial_auto_converts:
          const: false
        trial_available:
          const: false
        trial_days:
          type: 'null'
      required:
      - service
      - active
      - state
      - trial
      - trial_available
      - trial_days
      - price_cents
      - terms_revision
      - card_required_for_trial
      - trial_auto_converts
      - provider_inference_included
      - provider_credentials_received
      - per_call_fee
      - local_inference_metered
      type: object
  securitySchemes:
    agentManagementBearer:
      description: Private setup/management credential accepted by existing authentication; keep it separate from provider keys and inference authorization.
      scheme: bearer
      type: http
    apiKey:
      description: Private RouteMyAgent router token (an_ prefix) created by the account owner. This is not an NVIDIA key, wallet secret or CDP credential. Obtain it through the signed-in RouteMyAgent dashboard. Public unsigned quote requests do not require it.
      scheme: bearer
      type: http
    connectorBearer:
      description: New consent-registered revocable RMA token from the PRIVATE V3 bootstrap. Legacy tokens do not acquire this scope.
      scheme: bearer
      type: http
    mcpReadBearer:
      description: Configured resource-bound MCP OAuth token with mcp:read; accepted for account-scoped call-record reads only, never owner billing management.
      scheme: bearer
      type: http
    nvidiaByok:
      description: Your NVIDIA API key, required for inference execution and same-request replay. Never put it in prompts, tool arguments, payment metadata or URLs. Receipt status needs only the original private request ID.
      in: header
      name: X-NVIDIA-API-Key
      type: apiKey
    ownerBearer:
      description: Authenticated account owner. Existing role, account and origin checks are required; a provider key is never an owner credential.
      scheme: bearer
      type: http
externalDocs:
  description: Managed routing setup and boundaries
  url: https://routemyagent.dev/docs
x-local-credentials:
  guide: /keys
  inference_execution: customer_connector_direct_to_provider
  legacy_file_tools: /downloads/routemyagent-key-manager.html
  mode: customer_local_router
  new_provider_key_destination: native_os_credential_store
  new_server_attachments: false
  platform_verification: Preview package/runtime evidence must be reported separately; no all-platform or zero-knowledge certification.
  provider_credentials_in_connection_document: false
x-provider-connection-scope: Each private V3 bootstrap selects provider/model/client/mode after fresh processing consent. The local app saves provider keys; RMA decrypts and processes approved keys and model content transiently. No new payload persistence; account/billing/consent metadata and historical archives remain separate.
x-provider-data-policy-audited: false