Pipavia Keys API

The keys API from Pipavia — 2 operation(s) for keys.

GitHub OpenAPI

Operations 2

POST /v1/trial Mint a self-serve trial key (IP rate-limited) #
POST /v1/trial/config Mint a signed trial config #

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/pipavia-com:pipavia-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

pipavia-com-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Conduit Router Keys API
  version: 1.5.0
  description: Policy-first BYOK model router. OpenAI-compatible surface plus a native signed-config API, an MCP server, receipts you can verify, and standing per-key policy (mandates). Provider keys are the caller's own, envelope-encrypted at rest, never logged.
  contact:
    name: Pipavia
    email: info@pipavia.com
    url: https://pipavia.com
  license:
    name: Proprietary (API terms at /llms.txt)
    url: https://router.pipavia.com/llms.txt
servers:
- url: https://router.pipavia.com
tags:
- name: Keys
paths:
  /v1/trial:
    post:
      summary: Mint a self-serve trial key (IP rate-limited)
      tags:
      - Keys
      responses:
        '200':
          description: OK (SSE streams answer text/event-stream where noted)
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayError'
        '401':
          description: Missing or unknown Conduit key
        '402':
          description: Budget or quota block (fail-closed, before any provider call)
        '429':
          description: Rate limited by the provider or the gateway
      operationId: postV1Trial
      x-operation-id-source: derived
  /v1/trial/config:
    post:
      summary: Mint a signed trial config
      tags:
      - Keys
      security:
      - bearerAuth: []
      responses:
        '200':
          description: OK (SSE streams answer text/event-stream where noted)
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayError'
        '401':
          description: Missing or unknown Conduit key
        '402':
          description: Budget or quota block (fail-closed, before any provider call)
        '429':
          description: Rate limited by the provider or the gateway
      operationId: postV1TrialConfig
      x-operation-id-source: derived
components:
  schemas:
    Meta:
      type: object
      description: Gateway provenance carried on every routed response.
      properties:
        request_id:
          type: string
        key_id:
          type:
          - string
          - 'null'
        provider:
          type:
          - string
          - 'null'
        model_requested:
          type:
          - string
          - 'null'
        model_served:
          type:
          - string
          - 'null'
        fallback_taken:
          type: boolean
        fallback_declared:
          type: boolean
        usage:
          type: object
          properties:
            prompt_tokens:
              type: integer
            completion_tokens:
              type: integer
        latency_ms:
          type: number
        receipt_id:
          type:
          - string
          - 'null'
          description: rcpt_<seq> — fetch it at GET /v1/receipts/{id}
        outcome:
          type:
          - string
          - 'null'
    GatewayError:
      type: object
      properties:
        ok:
          type: boolean
          const: false
        error:
          type: object
          properties:
            status:
              type: integer
            code:
              type: string
            detail:
              type: string
          required:
          - status
          - code
          - detail
        _meta:
          $ref: '#/components/schemas/Meta'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A Conduit key (trial_… self-serve, or a registered key). Admin routes take the admin secret instead.