Amazon Connect · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Amazon Connect Service Metrics API

10 actions 10 updates phrasing extends openapi/amazon-connect-metrics-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Amazon Connect's API. It is a proposal applied on top of the contract, not a document Amazon Connect publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 10

$.info
$.paths['/metrics/definitions/{InstanceId}'].get
$.paths['/metrics/definitions/{InstanceId}'].put
$.paths['/metrics/definitions/{InstanceId}/{MetricId}'].get
$.paths['/metrics/definitions/{InstanceId}/{MetricId}'].delete
$.paths['/metrics/contact'].post
$.paths['/metrics/current/{InstanceId}'].post
$.paths['/metrics/userdata/{InstanceId}'].post
$.paths['/metrics/historical/{InstanceId}'].post
$.paths['/metrics/data'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Amazon Connect Service Metrics API
  version: 1.0.0
extends: openapi/amazon-connect-metrics-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-24'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 9
- target: $.paths['/metrics/definitions/{InstanceId}'].get
  update:
    x-apievangelist-phrasing:
      intent: List custom metrics definitions
      effect: read
      questions:
      - Which custom metrics have I defined in my Connect instance?
      - Can I list only the AWS-managed metrics?
      instructions:
      - text: List the metric definitions in instance {InstanceId}.
        slots:
          InstanceId: path.InstanceId
      - text: Show {type} metrics in instance {InstanceId}.
        slots:
          type: query.type
          InstanceId: path.InstanceId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/metrics/definitions/{InstanceId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create a custom metric
      effect: write
      questions:
      - How do I create a custom metric that combines existing metrics?
      - Can a new metric be set to draft until I publish it?
      instructions:
      - text: Create metric {Name} in instance {InstanceId} with calculation {MetricCalculation} and unit {Unit}.
        slots:
          Name: requestBody.Name
          InstanceId: path.InstanceId
          MetricCalculation: requestBody.MetricCalculation
          Unit: requestBody.Unit
      - text: Create custom metric {Name} in {InstanceId} with {Unit} and status {Status}.
        slots:
          Name: requestBody.Name
          InstanceId: path.InstanceId
          Unit: requestBody.Unit
          Status: requestBody.Status
      method: generated
      generated: '2026-11-24'
- target: $.paths['/metrics/definitions/{InstanceId}/{MetricId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a custom metric definition
      effect: read
      questions:
      - What calculation and unit does one of my custom metrics use?
      - Can I see the saved version of a metric?
      instructions:
      - text: Describe metric {MetricId} in instance {InstanceId}.
        slots:
          MetricId: path.MetricId
          InstanceId: path.InstanceId
      - text: Show the definition of custom metric {MetricId} in {InstanceId}.
        slots:
          MetricId: path.MetricId
          InstanceId: path.InstanceId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/metrics/definitions/{InstanceId}/{MetricId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a custom metric
      effect: destructive
      questions:
      - How do I remove a custom metric I no longer use?
      - Why does deleting a metric fail if it's used in a dashboard?
      instructions:
      - text: Delete metric {MetricId} from instance {InstanceId}.
        slots:
          MetricId: path.MetricId
          InstanceId: path.InstanceId
      - text: Remove custom metric {MetricId} in {InstanceId}.
        slots:
          MetricId: path.MetricId
          InstanceId: path.InstanceId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/metrics/contact'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a contact's queue position and wait time
      effect: read
      questions:
      - How many callers are ahead of a specific contact in the queue?
      - What is the estimated wait time for one contact?
      instructions:
      - text: Get metrics {Metrics} for contact {ContactId} in instance {InstanceId}.
        slots:
          Metrics: requestBody.Metrics
          ContactId: requestBody.ContactId
          InstanceId: requestBody.InstanceId
      - text: Tell me the position in queue and wait time for contact {ContactId} in {InstanceId}.
        slots:
          ContactId: requestBody.ContactId
          InstanceId: requestBody.InstanceId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/metrics/current/{InstanceId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Get real-time metrics for an instance
      effect: read
      questions:
      - How many agents are online right now?
      - What are the real-time metrics for my contact center?
      instructions:
      - text: Get current metrics {CurrentMetrics} for instance {InstanceId} with filters {Filters}.
        slots:
          CurrentMetrics: requestBody.CurrentMetrics
          InstanceId: path.InstanceId
          Filters: requestBody.Filters
      - text: Show real-time metrics {CurrentMetrics} for {InstanceId} grouped by {Groupings}.
        slots:
          CurrentMetrics: requestBody.CurrentMetrics
          InstanceId: path.InstanceId
          Groupings: requestBody.Groupings
      method: generated
      generated: '2026-11-24'
- target: $.paths['/metrics/userdata/{InstanceId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Get real-time user data for an instance
      effect: read
      questions:
      - Which agents are currently on the phone or in a queue?
      - Can I see real-time user data for my contact center?
      instructions:
      - text: Get current user data for instance {InstanceId} with filters {Filters}.
        slots:
          InstanceId: path.InstanceId
          Filters: requestBody.Filters
      - text: Show real-time user data for {InstanceId} matching {Filters}.
        slots:
          InstanceId: path.InstanceId
          Filters: requestBody.Filters
      method: generated
      generated: '2026-11-24'
- target: $.paths['/metrics/historical/{InstanceId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Get historical metrics for an instance
      effect: read
      questions:
      - How many contacts came in last month?
      - Can I get historical metrics for a date range?
      instructions:
      - text: Get historical metrics {HistoricalMetrics} for instance {InstanceId} from {StartTime} to {EndTime} with filters {Filters}.
        slots:
          HistoricalMetrics: requestBody.HistoricalMetrics
          InstanceId: path.InstanceId
          StartTime: requestBody.StartTime
          EndTime: requestBody.EndTime
          Filters: requestBody.Filters
      - text: Pull historical metrics {HistoricalMetrics} for {InstanceId} grouped by {Groupings}.
        slots:
          HistoricalMetrics: requestBody.HistoricalMetrics
          InstanceId: path.InstanceId
          Groupings: requestBody.Groupings
      method: generated
      generated: '2026-11-24'
- target: $.paths['/metrics/data'].post
  update:
    x-apievangelist-phrasing:
      intent: Get historical metrics for a Connect instance
      effect: read
      questions:
      - 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?
      - Which metrics does GetMetricDataV2 support compared with the older version?
      instructions:
      - text: Get the {Metrics} metrics for instance {ResourceArn} from {StartTime} to {EndTime} grouped by {Groupings}.
        slots:
          ResourceArn: requestBody.ResourceArn
          Metrics: requestBody.Metrics
          StartTime: requestBody.StartTime
          EndTime: requestBody.EndTime
          Groupings: requestBody.Groupings
      - text: Get {Metrics} for {ResourceArn} over {StartTime} to {EndTime} filtered by {Filters}.
        slots:
          ResourceArn: requestBody.ResourceArn
          Metrics: requestBody.Metrics
          StartTime: requestBody.StartTime
          EndTime: requestBody.EndTime
          Filters: requestBody.Filters
      - text: Pull {Metrics} from {ResourceArn} for the {Interval} interval using token {NextToken}.
        slots:
          ResourceArn: requestBody.ResourceArn
          Metrics: requestBody.Metrics
          Interval: requestBody.Interval
          NextToken: requestBody.NextToken
      method: generated
      generated: '2026-11-24'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/amazon-connect-metrics-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.