Keboola Credits API

The Credits API from Keboola — 1 operation(s) for credits.

Operations 2

GET /credits Show consumed and remaining credits.
POST /credits Show consumed and remaining credits with optional top-up.

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/keboola-credits-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

keboola-credits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: API calculates and displays consumed and remaining credits of KBC PAYG users
  version: 1.0.0
  title: Keboola Billing Credits API
  contact:
    email: support@keboola.com
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- description: Azure North Europe
  url: https://queue.north-europe.azure.keboola.com
- description: SwaggerHub API Auto Mocking
  url: https://virtserver.swaggerhub.com/keboola/billing-api/1.0.0
tags:
- name: Credits
paths:
  /credits:
    get:
      summary: Show consumed and remaining credits.
      security:
      - StorageApiToken: []
      parameters:
      - in: header
        name: X-StorageApi-Token
        required: true
        schema:
          type: string
        example: 1234-567890abcdefghjkl
      description: 'Show consumed and remaining credits of the project, identified by the Storage API token.

        '
      responses:
        '200':
          description: credits balance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Credits'
      tags:
      - Credits
    post:
      summary: Show consumed and remaining credits with optional top-up.
      security:
      - StorageApiToken: []
      parameters:
      - in: header
        name: X-StorageApi-Token
        required: true
        schema:
          type: string
        example: 1234-567890abcdefghjkl
      description: "Show consumed and remaining credits of the project, identified by the Storage API token. If the credit balance\n  is zero or negative, then an automatic top-up is attempted. If it succeeds, the new credit balance is returned.\n"
      responses:
        '200':
          description: credits balance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Credits'
      tags:
      - Credits
components:
  schemas:
    Credits:
      type: object
      required:
      - consumed
      - remaining
      properties:
        consumed:
          type: number
          example: 123
        remaining:
          type: number
          example: 456
        stats:
          type: object
          properties:
            componentJobs:
              type: object
              properties:
                consumed:
                  type: number
                  example: 4567.89
            workspaceJobs:
              type: object
              properties:
                workspaceType:
                  type: string
                  enum:
                  - writer
                  - sandbox-sql
                  - transformation
                  - sandbox-data-science
                  example: writer
                warehouseSize:
                  type: string
                  enum:
                  - x-small
                  - small
                  - medium
                  - large
                  - x-large
                  - 2x-large
                  - 3x-large
                  - 4x-large
                  example: x-large
                consumed:
                  type: number
                  example: 1234.56
            marketplaceSubscription:
              type: object
              required:
              - vendor
              - state
              - billingLink
              properties:
                vendor:
                  type: string
                  enum:
                  - aws
                  - azure
                state:
                  type: string
                  enum:
                  - inactive
                  - active
                  - suspended
                  - unsubscribed
                billingLink:
                  type: string
                  format: url
              example:
                vendor: azure
                state: active
                billingLink: https://portal.azure.com/#view/HubsExtension/BrowseResourceBlade/resourceType/Microsoft.SaaS%2Fresources
  securitySchemes:
    StorageApiToken:
      type: apiKey
      in: header
      name: X-StorageApi-Token
    BillingManageToken:
      type: apiKey
      in: header
      name: X-KBC-ManageApiToken
      description: Application token with scope "billing:manage"
    MarketplacesSubscriptionManageToken:
      type: apiKey
      in: header
      name: X-KBC-ManageApiToken
      description: Application token with scope "marketplace-subscriptions:manage"