Korala AI Billing API

The Billing API from Korala AI — 3 operation(s) for billing.

GitHub OpenAPI

Operations 3

GET /api/v1/billing/usage Get current billing period usage #
GET /api/v1/billing/sandbox-usage Get sandbox (test mode) usage for current period #
GET /api/v1/billing/plan Get current plan details #

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/korala-ai:korala-ai-billing-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

korala-ai-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Korala Public Billing API
  description: Public API for Korala document signing service
  version: 1.0.0
  contact: {}
servers:
- url: https://api.korala.ai
  description: Production
tags:
- name: Billing
paths:
  /api/v1/billing/usage:
    get:
      operationId: BillingController_getUsage_v1
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageDto'
      security:
      - api-key: []
      - bearer: []
      summary: Get current billing period usage
      tags:
      - Billing
  /api/v1/billing/sandbox-usage:
    get:
      operationId: BillingController_getSandboxUsage_v1
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxUsageDto'
      security:
      - api-key: []
      - bearer: []
      summary: Get sandbox (test mode) usage for current period
      tags:
      - Billing
  /api/v1/billing/plan:
    get:
      operationId: BillingController_getPlan_v1
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlanDto'
      security:
      - api-key: []
      - bearer: []
      summary: Get current plan details
      tags:
      - Billing
components:
  schemas:
    PlanType:
      type: string
      enum:
      - api_sandbox
      - api_payg
      - api_startup
      - api_scale
      - web_free
      - web_pro
      - web_business
      - web_enterprise
      description: Current plan type
    UsageDto:
      type: object
      properties:
        signingCount:
          type: number
          description: Document signings used this period
        signingLimit:
          type:
          - number
          - 'null'
          description: Signing limit (null = unlimited)
        signingRemaining:
          type:
          - number
          - 'null'
          description: Signings remaining (null = unlimited)
        fillCount:
          type: number
          description: Template fills used this period
        fillLimit:
          type:
          - number
          - 'null'
          description: Fill limit (null = unlimited)
        fillRemaining:
          type:
          - number
          - 'null'
          description: Fills remaining (null = unlimited)
        periodStart:
          format: date-time
          type: string
          description: Current billing period start
        periodEnd:
          format: date-time
          type: string
          description: Current billing period end
        planType:
          description: Current plan type
          allOf:
          - $ref: '#/components/schemas/PlanType'
        planName:
          type: string
          description: Current plan display name
        signingOverageCents:
          type: number
          description: Signing overage charges this period (cents)
        fillOverageCents:
          type: number
          description: Fill overage charges this period (cents)
      required:
      - signingCount
      - fillCount
      - periodStart
      - periodEnd
      - planType
      - planName
      - signingOverageCents
      - fillOverageCents
    PlanDto:
      type: object
      properties:
        planType:
          description: Current plan type
          allOf:
          - $ref: '#/components/schemas/PlanType'
        name:
          type: string
          description: Plan display name
        basePriceCents:
          type: number
          description: Base monthly price in cents
        perUser:
          type: boolean
          description: Whether base price is per-user
        includedSignings:
          type: number
          description: Included signings per month (-1 = unlimited, 0 = none)
        signingOverageCents:
          type: number
          description: Overage price per signing in cents
        fillPriceCents:
          type: number
          description: Price per template fill in cents
        includedFills:
          type: number
          description: Included template fills per month (-1 = unlimited, 0 = none)
        hardLimit:
          type: boolean
          description: Whether the plan has a hard limit (blocks when exceeded)
        customSigningLimit:
          type:
          - number
          - 'null'
          description: Custom signing limit override
        customFillLimit:
          type:
          - number
          - 'null'
          description: Custom fill limit override
      required:
      - planType
      - name
      - basePriceCents
      - perUser
      - includedSignings
      - signingOverageCents
      - fillPriceCents
      - includedFills
      - hardLimit
    SandboxUsageDto:
      type: object
      properties:
        signingCount:
          type: number
          description: Sandbox document signings used this period
        signingLimit:
          type:
          - number
          - 'null'
          description: Sandbox signing limit (null = unlimited)
        signingRemaining:
          type:
          - number
          - 'null'
          description: Sandbox signings remaining (null = unlimited)
        fillCount:
          type: number
          description: Sandbox template fills used this period
        fillLimit:
          type:
          - number
          - 'null'
          description: Sandbox fill limit (null = unlimited)
        fillRemaining:
          type:
          - number
          - 'null'
          description: Sandbox fills remaining (null = unlimited)
        periodStart:
          format: date-time
          type: string
          description: Current billing period start
        periodEnd:
          format: date-time
          type: string
          description: Current billing period end
      required:
      - signingCount
      - fillCount
      - periodStart
      - periodEnd
  securitySchemes:
    preparation-token:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: One-hour, single-template preparation session token. Not a dashboard or OAuth token.
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
    timestamp:
      type: apiKey
      in: header
      name: X-Timestamp
    signature:
      type: apiKey
      in: header
      name: X-Signature