Confluent Partitions API

The Partitions API from Confluent — 2 operation(s) for partitions.

Operations 2

GET /kafka/v3/clusters/{cluster_id}/topics/{topic_name}/partitions List partitions for a topic #
GET /kafka/v3/clusters/{cluster_id}/topics/{topic_name}/partitions/{partition_id} Get a single partition #

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/confluent-partitions-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

confluent-partitions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Confluent Cloud Kafka REST ACLs Partitions API
  version: v3
  description: Best-effort OpenAPI 3.1 description of a subset of the Confluent Cloud Kafka REST API (v3) and Cloud Management API as published at https://docs.confluent.io/. Authoritative, full reference lives in Confluent's per-resource API documentation; this spec covers commonly used cluster, topic, partition, consumer group, and ACL operations together with the documented HTTP Basic (API key) authentication scheme.
  contact:
    name: Confluent Documentation
    url: https://docs.confluent.io/
  license:
    name: Confluent Community License / Apache 2.0
    url: https://www.confluent.io/confluent-community-license/
servers:
- url: https://api.confluent.cloud
  description: Confluent Cloud control plane
- url: https://{kafka_cluster_host}
  description: Confluent Cloud Kafka REST endpoint for a specific cluster
  variables:
    kafka_cluster_host:
      default: pkc-xxxxx.region.provider.confluent.cloud
      description: Kafka cluster bootstrap host portion of the REST endpoint
security:
- basicAuth: []
- bearerAuth: []
tags:
- name: Partitions
paths:
  /kafka/v3/clusters/{cluster_id}/topics/{topic_name}/partitions:
    parameters:
    - $ref: '#/components/parameters/ClusterId'
    - $ref: '#/components/parameters/TopicName'
    get:
      tags:
      - Partitions
      summary: List partitions for a topic
      operationId: listPartitions
      responses:
        '200':
          description: Partition list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartitionList'
  /kafka/v3/clusters/{cluster_id}/topics/{topic_name}/partitions/{partition_id}:
    parameters:
    - $ref: '#/components/parameters/ClusterId'
    - $ref: '#/components/parameters/TopicName'
    - $ref: '#/components/parameters/PartitionId'
    get:
      tags:
      - Partitions
      summary: Get a single partition
      operationId: getPartition
      responses:
        '200':
          description: Partition
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Partition'
components:
  parameters:
    PartitionId:
      name: partition_id
      in: path
      required: true
      schema:
        type: integer
    TopicName:
      name: topic_name
      in: path
      required: true
      schema:
        type: string
    ClusterId:
      name: cluster_id
      in: path
      required: true
      schema:
        type: string
  schemas:
    PartitionList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Partition'
    Partition:
      type: object
      properties:
        partition_id:
          type: integer
        leader:
          type: integer
        replicas:
          type: array
          items:
            type: integer
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic authentication using a Confluent Cloud API key (ID:secret)
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OAuth 2.0 bearer token (Confluent STS, external OAuth, or partner token)