Klanex Replays API

The Replays API from Klanex — 1 operation(s) for replays.

GitHub OpenAPI

Operations 1

POST /v1/replays Bulk-replay FAILED executions matching a filter #

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/klanexai-com:klanexai-com-replays-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

klanexai-com-replays-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: klanex Replays API
  version: 0.7.0
  description: 'Tool orchestration engine for AI agents. Submit tool-use intents for

    reliable asynchronous execution: schema gating, retries with backoff,

    circuit breakers, encrypted credentials, human-in-the-loop approvals,

    replay, and HMAC-signed webhooks.


    Prose companion: docs/api.md. Client SDKs: klanex-js (@klanex/sdk),

    klanex-python (klanex).'
servers:
- url: https://api.klanexai.com
  description: production
- url: https://api.sandbox.klanexai.com
  description: sandbox — same code, Stripe test mode, separate accounts/data
security:
- ApiKeyAuth: []
tags:
- name: Replays
paths:
  /v1/replays:
    post:
      operationId: bulkReplay
      summary: Bulk-replay FAILED executions matching a filter
      description: Outage recovery. TARGET_REJECTED and SCHEMA_INVALID failures are skipped unless include_rejected is true (their payloads would fail identically). Max 100 per call; repeat to drain more.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                since:
                  type: string
                  format: date-time
                until:
                  type: string
                  format: date-time
                limit:
                  type: integer
                  minimum: 1
                  maximum: 100
                  default: 50
                include_rejected:
                  type: boolean
                  default: false
      responses:
        '200':
          description: Summary of the bulk operation.
          content:
            application/json:
              schema:
                type: object
                properties:
                  replayed:
                    type: integer
                  skipped:
                    type: integer
                  enqueue_failed:
                    type: integer
                  executions:
                    type: array
                    items:
                      type: object
                      properties:
                        execution_id:
                          type: string
                        replay_of:
                          type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Replays
components:
  responses:
    RateLimited:
      description: Per-tenant rate limit exceeded; retry after Retry-After seconds.
      headers:
        Retry-After:
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthenticated:
      description: Missing or invalid X-API-Key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: Malformed request (bad URL, unsupported method, invalid JSON, bad filter).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            problems:
              type: array
              items:
                type: string
            llm_hint:
              type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Tenant API key issued at onboarding: "klx_live_..." (production) or "klx_test_..." (sandbox). Using a key against the other environment returns 401 WRONG_ENVIRONMENT. Legacy bare "klx_..." keys are accepted.

        '