Amazon Connect Metrics API

Operations for retrieving real-time and historical metrics

GitHub OpenAPI
Business capability
Contact Centre Operations Management BC-430.30

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /metrics/definitions/{InstanceId} Create a custom metric · Create Metric #
Ask an LLM
“How do I create a custom metric that combines existing metrics?”
“Can a new metric be set to draft until I publish it?”
Tell an agent
Create metric {Name} in instance {InstanceId} with calculation {MetricCalculation} and unit {Unit}.
Create custom metric {Name} in {InstanceId} with {Unit} and status {Status}.
GET /metrics/definitions/{InstanceId} List custom metrics definitions · List Metrics #
Ask an LLM
“Which custom metrics have I defined in my Connect instance?”
“Can I list only the AWS-managed metrics?”
Tell an agent
List the metric definitions in instance {InstanceId}.
Show {type} metrics in instance {InstanceId}.
DELETE /metrics/definitions/{InstanceId}/{MetricId} Delete a custom metric · Delete Metric #
Ask an LLM
“How do I remove a custom metric I no longer use?”
“Why does deleting a metric fail if it's used in a dashboard?”
Tell an agent destructive · confirm first
Delete metric {MetricId} from instance {InstanceId}.
Remove custom metric {MetricId} in {InstanceId}.
GET /metrics/definitions/{InstanceId}/{MetricId} Get a custom metric definition · Describe Metric #
Ask an LLM
“What calculation and unit does one of my custom metrics use?”
“Can I see the saved version of a metric?”
Tell an agent
Describe metric {MetricId} in instance {InstanceId}.
Show the definition of custom metric {MetricId} in {InstanceId}.
POST /metrics/contact Get a contact's queue position and wait time · Get Contact Metrics #
Ask an LLM
“How many callers are ahead of a specific contact in the queue?”
“What is the estimated wait time for one contact?”
Tell an agent
Get metrics {Metrics} for contact {ContactId} in instance {InstanceId}.
Tell me the position in queue and wait time for contact {ContactId} in {InstanceId}.
POST /metrics/current/{InstanceId} Get real-time metrics for an instance · Get Current Metric Data #
Ask an LLM
“How many agents are online right now?”
“What are the real-time metrics for my contact center?”
Tell an agent
Get current metrics {CurrentMetrics} for instance {InstanceId} with filters {Filters}.
Show real-time metrics {CurrentMetrics} for {InstanceId} grouped by {Groupings}.
POST /metrics/userdata/{InstanceId} Get real-time user data for an instance · Get Current User Data #
Ask an LLM
“Which agents are currently on the phone or in a queue?”
“Can I see real-time user data for my contact center?”
Tell an agent
Get current user data for instance {InstanceId} with filters {Filters}.
Show real-time user data for {InstanceId} matching {Filters}.
POST /metrics/historical/{InstanceId} Get historical metrics for an instance · Get Metric Data #
Ask an LLM
“How many contacts came in last month?”
“Can I get historical metrics for a date range?”
Tell an agent
Get historical metrics {HistoricalMetrics} for instance {InstanceId} from {StartTime} to {EndTime} with filters {Filters}.
Pull historical metrics {HistoricalMetrics} for {InstanceId} grouped by {Groupings}.
POST /metrics/data Get historical metrics for a Connect instance · Get Metric Data V2 #
Ask an LLM
“How do I pull historical metrics for my Amazon Connect instance over the last three months?”
“Can I filter and group metrics by queue or routing profile?”
Tell an agent
Get the {Metrics} metrics for instance {ResourceArn} from {StartTime} to {EndTime} grouped by {Groupings}.
Get {Metrics} for {ResourceArn} over {StartTime} to {EndTime} filtered by {Filters}.

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/amazon-connect:amazon-connect-metrics-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-connect-metrics-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Connect Service Metrics API
  version: '2017-08-08'
  description: Generated from AWS's published Smithy model for Amazon Connect Service. 9 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://connect.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


# --- truncated at 32 KB (72 KB total) ---
# Full source: https://artifacts.apis.io/amazon-connect/openapi/amazon-connect-metrics-api-openapi.yml