Aiven AI Gateway API

The AIGateway API from Aiven — 4 operation(s) for aigateway.

Operations 7

POST /project/{project}/ai-gateway/keys Create an AI Gateway key #
GET /project/{project}/ai-gateway/keys List the AI Gateway keys of a project #
GET /project/{project}/ai-gateway/keys/{key_id} Get the AI Gateway key of a project #
DELETE /project/{project}/ai-gateway/keys/{key_id} Revoke an AI Gateway key #
PATCH /project/{project}/ai-gateway/keys/{key_id} Update an AI Gateway key #
GET /project/{project}/ai-gateway/models List the models the AI Gateway serves #
GET /project/{project}/ai-gateway/usage Get how many tokens a project has spent on the AI Gateway, per key, minute… #

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/aiven:aiven-aigateway-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

aiven-aigateway-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@aiven.io
    name: Aiven support team
    url: https://aiven.io/support-services
  title: Aiven API Documentation AI Gateway API
  version: v1
  x-logo:
    altText: Aiven logo
    backgroundColor: '#fafafa'
    href: https://api.aiven.io/doc
    url: https://aiven.io/assets/img/aiven-logo.png
  description: '# Introduction


    Direct link to openapi.json for use with external tools


    Aiven is a modern fully-managed open source data platform for streaming, storing, and analyzing data on any public cloud. On Aiven Platform, you can operate your data infrastructure with a few devops tools: Aiven Console, Aiven Terraform Provider, Aiven CLI, and Aiven Operator for Kubernetes. All of them are built on an open secure powerful REST API for integration with custom tooling. The Aiven REST API

    provides programmatic access to Aiven.io services. To call the Aiven API, you can use either CLI tools (for example, `cURL` or Aiven CLI client) or GUI tools, such as the Aiven public API Postman collection. This Aiven API documentation will help you operate your Aiven organization, projects, or services programmatically by integrating your applications and processes with Aiven. # Description


    Aiven''s APIs (Application Programming Interfaces) power its platform for data management. Aiven has a number of REST APIs that can help you build strong and robust data infrastructure for your applications. The Aiven API is organized around core resources. Each core resource has multiple endpoints, which can be interacted with using different HTTP methods. ## Core resources


    ### Platform APIs


    Account

    Operations on the organization level related to accounts, projects, user groups, users, invites, billing groups, payment methods, credit cards, authentication methods, and more

    User

    Operations related to users and users'' profiles, access, authentication, authorization, user management, and more

    Project

    General operations on projects related to users, VPCs, invitations, alerts, peering connections, and more

    BillingGroup

    Operation on invoices, billing groups'' credits and events

    Support ticket

    Operations on support tickets: listing, creating, looping users in


    ### Services APIs


    Service

    All general (non-service-specific) operations on the service level: service creation, termination, configuration, updates, information retrieval, reset, and more

    Service Integrations

    Operations related to integrating services and managing service integrations

    Service: ClickHouse

    ClickHouse-specific operations on queries and databases

    Service: Flink

    Operations on Flink queries, jobs, and applications

    Service: Kafka

    Kafka and Kafka Connect specific operations on connectors, ACL entries, quotas, topics, topic messages, schema registry, and more

    Service: Kafka MirrorMaker

    Operations on replication flows

    Service: MySQL

    Fetching service query statistics

    Service: OpenSearch

    Operations on ACL configuration, security administration and configuration

    Service: PostgreSQL

    Operations on extensions, service query statistics, and connection pools


    # Requests


    There are multiple ways you can interact with the Aiven API over HTTP. You can access it by sending requests from a client (for example, a web browser) to the Aiven''s server. In this API reference, you''ll find code examples of how to do that using `cURL` and a few different client libraries (programming languages). To send an API request, you need to specify the following:


    * HTTP method

    * Path

    * Request headers


    Typically, `content-type` needs to be set to `application/json`: `content-type: application/json`. There are a few exceptions though. * Path, query, or body parameters (either required or optional).'
servers:
- url: https://api.aiven.io/v1
tags:


# --- truncated at 32 KB (52 KB total) ---
# Full source: https://artifacts.apis.io/aiven/openapi/aiven-aigateway-api-openapi.yml