Gvnr Idempotency API

The Idempotency API from Gvnr — 1 operation(s) for idempotency.

GitHub OpenAPI

Operations 1

POST /v1/idempotency/check Dedupe retries on a caller-supplied key — first call stores it, subsequent… #

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/gvnr-dev:gvnr-dev-idempotency-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

gvnr-dev-idempotency-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gvnr Idempotency API
  version: 1.8.1
  description: Budget & cost control for AI agents — per-agent spend caps, rate limits, idempotency, post-call reconciliation, and human approval bridges, enforced before each call.
servers:
- url: https://gvnr.dev
tags:
- name: Idempotency
paths:
  /v1/idempotency/check:
    post:
      summary: Dedupe retries on a caller-supplied key — first call stores it, subsequent…
      security:
      - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - key
              properties:
                key:
                  type: string
                  minLength: 1
                  maxLength: 256
                  description: Account-scoped idempotency key
                ttl_seconds:
                  type: integer
                  minimum: 1
                  maximum: 2592000
                  description: TTL for the key (default 3600, max 30 days)
      responses:
        '200':
          description: Check-and-set result
          content:
            application/json:
              schema:
                type: object
                required:
                - is_first_call
                - ttl_remaining_seconds
                properties:
                  is_first_call:
                    type: boolean
                    description: True on first observation of this key within TTL; false on replay
                  ttl_remaining_seconds:
                    type: integer
                    description: Seconds left before this key expires from the dedup store
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Idempotency
      operationId: postV1IdempotencyCheck
      x-operation-id-source: derived
components:
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Stable machine-readable error code (e.g. "invalid_params", "rate_limited", "not_found")
        required:
          type: array
          items:
            type: string
          description: Names/descriptors of required fields when error is "invalid_params"
        hint:
          type: string
          description: Human-readable guidance for resolving the error
        detail:
          type: string
          description: Additional context for the error
        valid:
          type: array
          items:
            type: string
          description: Allowed values when input was rejected as out-of-set
        valid_channels:
          type: array
          items:
            type: string
          description: Allowed notification channels (for approval requests)
        retryable:
          type: boolean
          description: Whether retrying the same request can succeed. false = fix input / auth / config first, or terminal. Omitted when retryability is already implied by required/valid (fix the input) or retry_after_ms (wait, then retry).
        retry_after_ms:
          type: integer
          description: Milliseconds to wait before retrying — present on rate_limited (429). Matches the runtime rate_check field.
        limit:
          type: string
          description: Description of the limit that was hit
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key from POST /v1/account