{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:confluent-metrics-v2/get-v2-metrics-dataset-descriptors-metrics":{"get":{"operationId":"cloud_confluent_metrics_v2_get_v2_metrics_dataset_descriptors_metrics","summary":"List metric descriptors","description":"GET /v2/metrics/{dataset}/descriptors/metrics","tags":["cloud"],"parameters":[{"name":"dataset","in":"query","required":true,"description":"The dataset to list metric descriptors for. Currently the only supported dataset name is `cloud`. See…","schema":{"type":"string","description":"The dataset to list metric descriptors for. Currently the only supported dataset name is `cloud`. See…"}},{"name":"page_size","in":"query","required":false,"description":"The maximum number of results to return. The page size is an integer in the range from 1 through 1000.","schema":{"type":"integer","default":100,"description":"The maximum number of results to return. The page size is an integer in the range from 1 through 1000."}},{"name":"page_token","in":"query","required":false,"description":"The next page token. The token is returned by the previous request as part of `meta.pagination`.","schema":{"type":"string","description":"The next page token. The token is returned by the previous request as part of `meta.pagination`."}},{"name":"resource_type","in":"query","required":false,"description":"The type of the resource to list metric descriptors for.","schema":{"type":"string","description":"The type of the resource to list metric descriptors for."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:confluent-metrics-v2/get-v2-metrics-dataset-descriptors-resources":{"get":{"operationId":"cloud_confluent_metrics_v2_get_v2_metrics_dataset_descriptors_resources","summary":"List resource descriptors","description":"GET /v2/metrics/{dataset}/descriptors/resources","tags":["cloud"],"parameters":[{"name":"dataset","in":"query","required":true,"description":"The dataset to list resource descriptors for. Currently the only supported dataset name is `cloud`. See…","schema":{"type":"string","description":"The dataset to list resource descriptors for. Currently the only supported dataset name is `cloud`. See…"}},{"name":"page_size","in":"query","required":false,"description":"The maximum number of results to return. The page size is an integer in the range from 1 through 1000.","schema":{"type":"integer","default":100,"description":"The maximum number of results to return. The page size is an integer in the range from 1 through 1000."}},{"name":"page_token","in":"query","required":false,"description":"The next page token. The token is returned by the previous request as part of `meta.pagination`.","schema":{"type":"string","description":"The next page token. The token is returned by the previous request as part of `meta.pagination`."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:confluent-metrics-v2/post-v2-metrics-dataset-query":{"post":{"operationId":"cloud_confluent_metrics_v2_post_v2_metrics_dataset_query","summary":"Query metric values","description":"POST /v2/metrics/{dataset}/query","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["dataset"],"properties":{"dataset":{"type":"string","description":"The dataset to query. Currently the only supported dataset name is `cloud`. See [here](#section/Object-Model/Datasets)."},"page_token":{"type":"string","description":"The next page token. The token is returned by the previous request as part of `meta.pagination`. Pagination is only supported for requests…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:confluent-metrics-v2/get-v2-metrics-dataset-export":{"get":{"operationId":"cloud_confluent_metrics_v2_get_v2_metrics_dataset_export","summary":"Export metric values","description":"GET /v2/metrics/{dataset}/export","tags":["cloud"],"parameters":[{"name":"dataset","in":"query","required":true,"description":"The dataset to export metrics for. Currently the only supported dataset name is `cloud`. See [here](#section/Object-Model/Datasets).","schema":{"type":"string","description":"The dataset to export metrics for. Currently the only supported dataset name is `cloud`. See [here](#section/Object-Model/Datasets)."}},{"name":"resource.kafka.id","in":"query","required":false,"description":"The ID of the Kafka cluster to export metrics for. This parameter can be specified multiple times (e.g.…","schema":{"type":"array","description":"The ID of the Kafka cluster to export metrics for. This parameter can be specified multiple times (e.g.…"}},{"name":"resource.connector.id","in":"query","required":false,"description":"The ID of the Connector to export metrics for. This parameter can be specified multiple times.","schema":{"type":"array","description":"The ID of the Connector to export metrics for. This parameter can be specified multiple times."}},{"name":"resource.ksql.id","in":"query","required":false,"description":"The ID of the ksqlDB application to export metrics for. This parameter can be specified multiple times.","schema":{"type":"array","description":"The ID of the ksqlDB application to export metrics for. This parameter can be specified multiple times."}},{"name":"resource.schema_registry.id","in":"query","required":false,"description":"The ID of the Schema Registry to export metrics for. This parameter can be specified multiple times.","schema":{"type":"array","description":"The ID of the Schema Registry to export metrics for. This parameter can be specified multiple times."}},{"name":"metric","in":"query","required":false,"description":"The metric to export. If this parameter is not specified, all metrics for the resource will be exported. This parameter can be specified…","schema":{"type":"array","description":"The metric to export. If this parameter is not specified, all metrics for the resource will be exported. This parameter can be specified…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:confluent-metrics-v2/post-v2-metrics-dataset-attributes":{"post":{"operationId":"cloud_confluent_metrics_v2_post_v2_metrics_dataset_attributes","summary":"Query label values","description":"POST /v2/metrics/{dataset}/attributes","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["dataset"],"properties":{"dataset":{"type":"string","description":"The dataset to query."},"page_token":{"type":"string","description":"The next page token. The token is returned by the previous request as part of `meta.pagination`."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}