---
title: "POST /InsightImpactGraph"
method: POST
path: "/InsightImpactGraph"
---

# POST /InsightImpactGraph

`POST /InsightImpactGraph`

Retrieves a service graph structure filtered by the specified insight. The service graph is limited to only structural information. For a complete service graph, use this API with the GetServiceGraph API.

## Request body

- object
  - `InsightId` string, required — The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.
  - `StartTime` string, date-time, required — The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value provided and can't be more than 30 days old.
  - `EndTime` string, date-time, required — The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided. The time range between the start time and end time can't be more than six hours.
  - `NextToken` string — Specify the pagination token returned by a previous request to retrieve the next page of results.

## Response `200`

Success

- GetInsightImpactGraphResult
  - `InsightId` string — The insight's unique identifier.
  - `StartTime` string, date-time — The provided start time.
  - `EndTime` string, date-time — The provided end time.
  - `ServiceGraphStartTime` string, date-time — The time, in Unix seconds, at which the service graph started.
  - `ServiceGraphEndTime` string, date-time — The time, in Unix seconds, at which the service graph ended.
  - `Services` InsightImpactGraphService[] — The Amazon Web Services instrumented services related to the insight.
    - `ReferenceId` integer — Identifier for the service. Unique within the service map.
    - `Type` string — <p>Identifier for the service. Unique within the service map.</p> <ul> <li> <p>Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, AWS::EC2::Instance for an application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB table that the application used. </p> </li> <li> <p>Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't target a specific table. </p> </li> <li> <p>Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for downstream calls to Amazon DynamoDB that didn't target a specific table. </p> </li> <li> <p>remote - A downstream service of indeterminate type.</p> </li> </ul>
    - `Name` string — The canonical name of the service.
    - `Names` String[] — A list of names for the service, including the canonical name.
    - `AccountId` string — Identifier of the Amazon Web Services account in which the service runs.
    - `Edges` InsightImpactGraphEdge[] — Connections to downstream services.
      - `ReferenceId` integer — Identifier of the edge. Unique within a service map.
  - `NextToken` string — Pagination token.

## Other responses

- `480` — InvalidRequestException
- `481` — ThrottledException

---

[API](https://skmtc.net/aws/apis/xray.md) · [All operations](https://skmtc.net/aws/apis/xray/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/xray/versions/4970909a360e/schema)
