M2M Sentinel Keys API

Key self-service. Requires the key itself.

GitHub OpenAPI

Operations 4

GET /v1/keys/self Metadata for the presented key #
POST /v1/keys/revoke Permanently revoke the presented key #
POST /v1/keys/recovery/challenge Create a non-enumerating paid-key recovery challenge #
POST /v1/keys/recovery/claim Rotate a paid API key with its subscriber-wallet signature #

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/m2msentinel-com:m2msentinel-com-keys-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

m2msentinel-com-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: M2M Sentinel — Base Contract Capability Checks Before You…
  version: 2.2.0
  summary: Can this Base contract be paused, frozen, upgraded, or self-destruct? Static bytecode evidence with proxy and EIP-7702 resolution, returned before your agent signs. Evidence for your policy, never a safety verdict.
  description: 'Every protected response carries provenance. Contract analysis reports selected opcode and selector observations, common proxy resolution, evidence quality, and explicit limitations. It does not classify contracts as safe, malicious, or exploitable. When the engine cannot obtain evidence-grade data it returns `capabilityRating: "UNVERIFIED"`, or HTTP 503 `DATA_SOURCE_UNAVAILABLE`. No live value is estimated or defaulted.'
  contact:
    name: M2M Sentinel API
    email: contact@m2msentinel.com
  license:
    name: Proprietary
    url: https://m2msentinel.com/terms
  termsOfService: https://m2msentinel.com/terms
servers:
- url: https://api.m2msentinel.com
  description: Production High-Performance Gateway (Direct Edge)
- url: https://m2msentinel.com
  description: Production Web & Fallback Gateway
security:
- ApiKeyHeader: []
- BearerAuth: []
- X402Payment: []
tags:
- name: Keys
  description: Key self-service. Requires the key itself.
paths:
  /v1/keys/self:
    get:
      tags:
      - Keys
      operationId: getOwnKey
      summary: Metadata for the presented key
      description: Requires an API key; an x402 payment cannot access this route. The raw key is never echoed.
      security:
      - ApiKeyHeader: []
      - BearerAuth: []
      responses:
        '200':
          description: Key metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeySelf'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /v1/keys/revoke:
    post:
      tags:
      - Keys
      operationId: revokeOwnKey
      summary: Permanently revoke the presented key
      security:
      - ApiKeyHeader: []
      - BearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - confirm
              properties:
                confirm:
                  type: boolean
                  const: true
      responses:
        '200':
          description: Revoked
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  message:
                    type: string
                  revokedAt:
                    type: string
                    format: date-time
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /v1/keys/recovery/challenge:
    post:
      tags:
      - Keys
      operationId: createPaidKeyRecoveryChallenge
      summary: Create a non-enumerating paid-key recovery challenge
      description: Returns the same 202 envelope for known and unknown wallets. An optional original subscription txHash bootstraps legacy paid keys. Free and revoked keys cannot be recovered.
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - userWallet
              properties:
                userWallet:
                  type: string
                  pattern: ^0x[0-9a-fA-F]{40}$
                txHash:
                  type: string
                  pattern: ^0x[0-9a-fA-F]{64}$
                  description: Original subscription payment; needed only for a legacy key without a wallet index.
      responses:
        '202':
          description: Structurally identical real or decoy challenge
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecoveryIntent'
        '400':
          $ref: '#/components/responses/BadRequest'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /v1/keys/recovery/claim:
    post:
      tags:
      - Keys
      operationId: claimPaidKeyRecovery
      summary: Rotate a paid API key with its subscriber-wallet signature
      description: Atomically revokes the previous secret and returns a replacement exactly once. The tier and expiration are preserved.
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - intentId
              - signature
              properties:
                intentId:
                  type: string
                signature:
                  type: string
      responses:
        '200':
          description: Replacement key issued and previous key revoked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IssuedKey'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '409':
          description: Challenge already consumed or target changed
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  schemas:
    TransactionPreflightObservationBlock:
      type: object
      additionalProperties: false
      required:
      - status
      - chainId
      - network
      - blockNumber
      - blockHash
      - blockTag
      - trustLevel
      - providerName
      - agreement
      - sampled
      - retrievedAt
      - originalRetrievalTime
      properties:
        status:
          type: string
          enum:
          - PINNED
          - UNVERIFIED
        chainId:
          type: integer
          const: 8453
        network:
          type: string
          const: eip155:8453
        blockNumber:
          oneOf:
          - type: integer
            minimum: 0
          - type: string
            pattern: ^[0-9]+$
          - type: 'null'
        blockHash:
          type:
          - string
          - 'null'
          pattern: ^0x[0-9a-f]{64}$
        blockTag:
          type:
          - string
          - 'null'
          pattern: ^0x(?:0|[1-9a-f][0-9a-f]*)$
        trustLevel:
          type: string
          enum:
          - HIGH_TRUST_PRIMARY
          - QUORUM_PUBLIC
          - DEGRADED_LOW_TRUST
        providerName:
          type: string
        agreement:
          type:
          - integer
          - 'null'
        sampled:
          type:
          - integer
          - 'null'
        retrievedAt:
          type: string
          format: date-time
        originalRetrievalTime:
          type: string
          format: date-time
        headProvider:
          type: string
        reason:
          type: string
        note:
          type: string
    X402PaymentRequired:
      type: object
      required:
      - x402Version
      - resource
      - accepts
      properties:
        x402Version:
          type: integer
          const: 2
        error:
          type: string
        resource:
          type: object
          required:
          - url
          properties:
            url:
              type: string
              format: uri
            description:
              type: string
            mimeType:
              type: string
        accepts:
          type: array
          minItems: 1
          items:
            type: object
            required:
            - scheme
            - network
            - amount
            - asset
            - payTo
            - maxTimeoutSeconds
            properties:
              scheme:
                type: string
                const: exact
              network:
                type: string
                const: eip155:8453
              amount:
                type: string
              asset:
                type: string
              payTo:
                type: string
              maxTimeoutSeconds:
                type: integer
              extra:
                type: object
        extensions:
          type: object
    KeySelf:
      type: object
      properties:
        status:
          type: string
        key:
          type: object
          properties:
            keyHashPrefix:
              type: string
            tier:
              type: string
            created:
              type:
              - string
              - 'null'
            expiresAt:
              type:
              - string
              - 'null'
            userWallet:
              type:
              - string
              - 'null'
            revoked:
              type: boolean
        plan:
          $ref: '#/components/schemas/Plan'
    RecoveryIntent:
      type: object
      properties:
        status:
          type: string
          const: ACCEPTED
        intent:
          type: object
          required:
          - id
          - userWallet
          - expiresAt
          - messageToSign
          properties:
            id:
              type: string
            userWallet:
              type: string
            expiresAt:
              type: string
              format: date-time
            messageToSign:
              type: string
        next:
          type: array
          items:
            type: string
    Plan:
      type: object
      properties:
        id:
          type: string
        label:
          type: string
        priceUsd:
          type:
          - number
          - 'null'
        monthlyCredits:
          type:
          - integer
          - 'null'
          description: Hard cap per issuance-anchored 31-day access cycle. Never null for a purchasable plan.
        dailyCredits:
          type:
          - integer
          - 'null'
        burstPerMinute:
          type:
          - integer
          - 'null'
        sla:
          type:
          - string
          - 'null'
        purchasable:
          type: boolean
        description:
          type: string
        usdcBaseUnits:
          type:
          - string
          - 'null'
    Error:
      type: object
      required:
      - error
      - message
      properties:
        error:
          type: string
          examples:
          - UNAUTHORIZED
          - PAYMENT_REQUIRED
          - DATA_SOURCE_UNAVAILABLE
          - RATE_LIMITED
          - CREDITS_EXHAUSTED
          - METHOD_NOT_ALLOWED
        message:
          type: string
        reason:
          type: string
        source:
          type: string
        field:
          type: string
        operation:
          type: string
        observationBlock:
          $ref: '#/components/schemas/TransactionPreflightObservationBlock'
        reference:
          type: string
          description: Correlation id for a server-side error.
    IssuedKey:
      type: object
      properties:
        status:
          type: string
        message:
          type: string
        apiKey:
          type: string
          description: Returned exactly once for a new or recovered key. Storage uses a server-keyed HMAC-SHA-256 lookup index plus a separate randomly salted SHA-256 verifier; the plaintext key is not persisted. Paid keys can later be wallet-rotated; renewal keeps the current raw secret and omits this field.
        tier:
          type: string
        plan:
          $ref: '#/components/schemas/Plan'
        expiresAt:
          type: string
          format: date-time
        txHash:
          type: string
        renewed:
          type: boolean
        durationDays:
          type: integer
          enum:
          - 31
          - 90
          - 365
  responses:
    BadRequest:
      description: Malformed input
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    PaymentRequired:
      description: No credential supplied for a payable route, or the issuance-anchored 31-day credit allowance is exhausted
      headers:
        PAYMENT-REQUIRED:
          $ref: '#/components/headers/PaymentRequired'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/X402PaymentRequired'
    Unauthorized:
      description: Missing or invalid credential, or a credential was supplied in the query string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: A plan burst limit or bounded public/intent retry limit was exceeded
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServiceUnavailable:
      description: A required dependency is unavailable; the request failed closed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  headers:
    RetryAfter:
      schema:
        type: integer
      description: Seconds to wait before retrying.
    PaymentRequired:
      schema:
        type: string
        format: byte
      description: Base64-encoded JSON x402 v2 challenge.
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: Header only. Credentials supplied in a query string are rejected with HTTP 401 and must be rotated.
    BearerAuth:
      type: http
      scheme: bearer
      description: Alternative to x-api-key.
    RapidApiBootstrap:
      type: apiKey
      in: header
      name: x-m2m-rapidapi-bootstrap
      description: Temporary operator token used only for GET /v1/operator/rapidapi-proxy-digest. RAPIDAPI_BOOTSTRAP_TOKEN must be at least 32 characters; remove it immediately after bootstrap. The comparison is performed on fixed-length SHA-256 digests in constant time.
    RapidApiGateway:
      type: apiKey
      in: header
      name: x-rapidapi-key
      description: RapidAPI marketplace authentication. The gateway authenticates and meters the marketplace subscription; the origin additionally requires its configured private proxy-secret boundary.
    X402Payment:
      type: apiKey
      in: header
      name: PAYMENT-SIGNATURE
      description: x402 v2 micro-payment. Call without a credential to receive HTTP 402 and a PAYMENT-REQUIRED challenge, settle it, then retry with this header.