# Confluent Cloud Metrics API API

> Confluent Cloud Metrics API API on Apizie: 5 endpoints (List metric descriptors, List resource descriptors, Query metric values, Export metric values, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://www.apizie.tech/v1/cloud:confluent-metrics-v2/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:confluent-metrics-v2`
- Category: Cloud
- Status: byok
- Source: https://docs.confluent.io/cloud/current/api.html
- Page: https://www.apizie.tech/api/cloud/confluent-metrics-v2
- OpenAPI: https://www.apizie.tech/api/cloud/confluent-metrics-v2/openapi.json

# Introduction The Confluent Cloud Metrics API provides actionable operational metrics about your Confluent Cloud deployment. This is a queryable HTTP API in which the user will `POST` a query written in JSON and get…

## Endpoints

### List metric descriptors
`GET https://www.apizie.tech/v1/cloud:confluent-metrics-v2/get-v2-metrics-dataset-descriptors-metrics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dataset | string | yes | The dataset to list metric descriptors for. Currently the only supported dataset name is `cloud`. See… |
| page_size | integer | no | The maximum number of results to return. The page size is an integer in the range from 1 through 1000. |
| page_token | string | no | The next page token. The token is returned by the previous request as part of `meta.pagination`. |
| resource_type | string | no | The type of the resource to list metric descriptors for. |

### List resource descriptors
`GET https://www.apizie.tech/v1/cloud:confluent-metrics-v2/get-v2-metrics-dataset-descriptors-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dataset | string | yes | The dataset to list resource descriptors for. Currently the only supported dataset name is `cloud`. See… |
| page_size | integer | no | The maximum number of results to return. The page size is an integer in the range from 1 through 1000. |
| page_token | string | no | The next page token. The token is returned by the previous request as part of `meta.pagination`. |

### Query metric values
`POST https://www.apizie.tech/v1/cloud:confluent-metrics-v2/post-v2-metrics-dataset-query` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dataset | string | yes | The dataset to query. Currently the only supported dataset name is `cloud`. See [here](#section/Object-Model/Datasets). |
| page_token | string | no | The next page token. The token is returned by the previous request as part of `meta.pagination`. Pagination is only supported for requests… |
| body | object | no | JSON request body |

### Export metric values
`GET https://www.apizie.tech/v1/cloud:confluent-metrics-v2/get-v2-metrics-dataset-export` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dataset | string | yes | The dataset to export metrics for. Currently the only supported dataset name is `cloud`. See [here](#section/Object-Model/Datasets). |
| resource.kafka.id | array | no | The ID of the Kafka cluster to export metrics for. This parameter can be specified multiple times (e.g.… |
| resource.connector.id | array | no | The ID of the Connector to export metrics for. This parameter can be specified multiple times. |
| resource.ksql.id | array | no | The ID of the ksqlDB application to export metrics for. This parameter can be specified multiple times. |
| resource.schema_registry.id | array | no | The ID of the Schema Registry to export metrics for. This parameter can be specified multiple times. |
| metric | array | no | The metric to export. If this parameter is not specified, all metrics for the resource will be exported. This parameter can be specified… |

### Query label values
`POST https://www.apizie.tech/v1/cloud:confluent-metrics-v2/post-v2-metrics-dataset-attributes` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dataset | string | yes | The dataset to query. |
| page_token | string | no | The next page token. The token is returned by the previous request as part of `meta.pagination`. |
| body | object | no | JSON request body |

## Example
```
curl "https://www.apizie.tech/v1/cloud:confluent-metrics-v2/get-v2-metrics-dataset-descriptors-metrics" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Confluent Cloud Metrics API API?
Create a free Apizie key, then send GET https://www.apizie.tech/v1/cloud:confluent-metrics-v2/get-v2-metrics-dataset-descriptors-metrics with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Confluent Cloud Metrics API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Confluent Cloud Metrics API itself also needs your own key from confluent.cloud.

### Can AI agents use the Confluent Cloud Metrics API API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:confluent-metrics-v2.

### What is the status of the Confluent Cloud Metrics API API?
Needs your own provider key (bring your own key)
