AWS X-Ray Insights API

Automated anomaly detection insights

Operations 2

POST /Insights AWS X-Ray Get Insight Summaries #
POST /Insight AWS X-Ray Get Insight Details #

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/aws-x-ray-insights-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

aws-x-ray-insights-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AWS X-Ray Encryption Insights API
  description: AWS X-Ray provides APIs for managing trace data, sampling rules, groups, and encryption configuration. X-Ray helps developers analyze and debug distributed applications by collecting trace data as requests travel through application components.
  version: '2016-04-12'
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/xray/
servers:
- url: https://xray.{region}.amazonaws.com
  description: AWS X-Ray regional endpoint
  variables:
    region:
      default: us-east-1
      description: AWS region
security:
- aws_sig_v4: []
tags:
- name: Insights
  description: Automated anomaly detection insights
paths:
  /Insights:
    post:
      operationId: GetInsightSummaries
      summary: AWS X-Ray Get Insight Summaries
      description: Retrieves the summaries of all insights for the specified group.
      tags:
      - Insights
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - StartTime
              - EndTime
              properties:
                States:
                  type: array
                  items:
                    type: string
                    enum:
                    - ACTIVE
                    - CLOSED
                GroupARN:
                  type: string
                GroupName:
                  type: string
                StartTime:
                  type: string
                  format: date-time
                EndTime:
                  type: string
                  format: date-time
                MaxResults:
                  type: integer
                NextToken:
                  type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  InsightSummaries:
                    type: array
                    items:
                      $ref: '#/components/schemas/InsightSummary'
                  NextToken:
                    type: string
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /Insight:
    post:
      operationId: GetInsight
      summary: AWS X-Ray Get Insight Details
      description: Retrieves the summary information of an insight.
      tags:
      - Insights
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - InsightId
              properties:
                InsightId:
                  type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  Insight:
                    $ref: '#/components/schemas/Insight'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    Insight:
      type: object
      properties:
        InsightId:
          type: string
        GroupARN:
          type: string
        GroupName:
          type: string
        RootCauseServiceId:
          $ref: '#/components/schemas/ServiceId'
        Categories:
          type: array
          items:
            type: string
        State:
          type: string
          enum:
          - ACTIVE
          - CLOSED
        StartTime:
          type: string
          format: date-time
        EndTime:
          type: string
          format: date-time
        Summary:
          type: string
        ClientRequestImpactStatistics:
          type: object
          properties:
            FaultCount:
              type: integer
              format: int64
            OkCount:
              type: integer
              format: int64
            TotalCount:
              type: integer
              format: int64
        RootCauseServiceRequestImpactStatistics:
          type: object
          properties:
            FaultCount:
              type: integer
              format: int64
            OkCount:
              type: integer
              format: int64
            TotalCount:
              type: integer
              format: int64
        TopAnomalousServices:
          type: array
          items:
            type: object
            properties:
              ServiceId:
                $ref: '#/components/schemas/ServiceId'
    InsightSummary:
      type: object
      properties:
        InsightId:
          type: string
        GroupARN:
          type: string
        GroupName:
          type: string
        RootCauseServiceId:
          $ref: '#/components/schemas/ServiceId'
        Categories:
          type: array
          items:
            type: string
            enum:
            - FAULT
        State:
          type: string
          enum:
          - ACTIVE
          - CLOSED
        StartTime:
          type: string
          format: date-time
        EndTime:
          type: string
          format: date-time
        Summary:
          type: string
        ClientRequestImpactStatistics:
          type: object
          properties:
            FaultCount:
              type: integer
              format: int64
            OkCount:
              type: integer
              format: int64
            TotalCount:
              type: integer
              format: int64
        RootCauseServiceRequestImpactStatistics:
          type: object
          properties:
            FaultCount:
              type: integer
              format: int64
            OkCount:
              type: integer
              format: int64
            TotalCount:
              type: integer
              format: int64
        TopAnomalousServices:
          type: array
          items:
            type: object
            properties:
              ServiceId:
                $ref: '#/components/schemas/ServiceId'
        LastUpdateTime:
          type: string
          format: date-time
    ServiceId:
      type: object
      properties:
        Name:
          type: string
        Names:
          type: array
          items:
            type: string
        AccountId:
          type: string
        Type:
          type: string
  securitySchemes:
    aws_sig_v4:
      type: apiKey
      name: Authorization
      in: header
      description: AWS Signature Version 4