> ## Documentation Index
> Fetch the complete documentation index at: https://www.artie.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Increase Kafka topic partitions

> Increases a topic's partition count. Not allowed on Artie-managed topics (anything under . outside the customer namespace, or Kafka-internal topics), because adding partitions breaks per-key ordering for Artie pipelines. On a Managed Kafka cluster any topic but the cluster's own ( and strimzi.cruisecontrol.*) can grow, and the cluster must be active (409 otherwise).

`POST /kafka-clusters/{uuid}/topics/{topic}/partitions`

Increases a topic's partition count. Not allowed on Artie-managed topics (anything under `<companyUUID>.` outside the customer namespace, or Kafka-internal `__` topics), because adding partitions breaks per-key ordering for Artie pipelines. On a Managed Kafka cluster any topic but the cluster's own (`__` and `strimzi.cruisecontrol.*`) can grow, and the cluster must be active (409 otherwise).

## Authorization

* `Authorization` (header): API key passed as a Bearer token in the Authorization header.

## Path parameters

* `topic` (string, required)
* `uuid` (string, required)

## Body (application/json)

* `currentPartitionCount` (integer, required)
* `newPartitionCount` (integer, required)

## Example request

```bash
curl --request POST \
  --url https://api.artie.com/kafka-clusters/{uuid}/topics/{topic}/partitions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "currentPartitionCount": 123,
  "newPartitionCount": 123
}'
```

## Responses

### 204 No Content

### 400 Bad Request

### 404 Not Found

### 409 Conflict

### 500 Internal Server Error

### 502 Bad Gateway