

# DescribeObservation
<a name="API_DescribeObservation"></a>

Describes an anomaly or error with the application.

## Request Syntax
<a name="API_DescribeObservation_RequestSyntax"></a>

```
{
   "AccountId": "string",
   "ObservationId": "string"
}
```

## Request Parameters
<a name="API_DescribeObservation_RequestParameters"></a>

For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

The request accepts the following data in JSON format.

 ** [AccountId](#API_DescribeObservation_RequestSyntax) **   <a name="appinsights-DescribeObservation-request-AccountId"></a>
The AWS account ID for the resource group owner.  
Type: String  
Length Constraints: Fixed length of 12.  
Pattern: `^\d{12}$`   
Required: No

 ** [ObservationId](#API_DescribeObservation_RequestSyntax) **   <a name="appinsights-DescribeObservation-request-ObservationId"></a>
The ID of the observation.  
Type: String  
Length Constraints: Fixed length of 38.  
Pattern: `o-[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}`   
Required: Yes

## Response Syntax
<a name="API_DescribeObservation_ResponseSyntax"></a>

```
{
   "Observation": { 
      "CloudWatchEventDetailType": "string",
      "CloudWatchEventId": "string",
      "CloudWatchEventSource": "string",
      "CodeDeployApplication": "string",
      "CodeDeployDeploymentGroup": "string",
      "CodeDeployDeploymentId": "string",
      "CodeDeployInstanceGroupId": "string",
      "CodeDeployState": "string",
      "EbsCause": "string",
      "EbsEvent": "string",
      "EbsRequestId": "string",
      "EbsResult": "string",
      "Ec2State": "string",
      "EndTime": number,
      "HealthEventArn": "string",
      "HealthEventDescription": "string",
      "HealthEventTypeCategory": "string",
      "HealthEventTypeCode": "string",
      "HealthService": "string",
      "Id": "string",
      "LineTime": number,
      "LogFilter": "string",
      "LogGroup": "string",
      "LogText": "string",
      "MetricName": "string",
      "MetricNamespace": "string",
      "RdsEventCategories": "string",
      "RdsEventMessage": "string",
      "S3EventName": "string",
      "SourceARN": "string",
      "SourceType": "string",
      "StartTime": number,
      "StatesArn": "string",
      "StatesExecutionArn": "string",
      "StatesInput": "string",
      "StatesStatus": "string",
      "Unit": "string",
      "Value": number,
      "XRayErrorPercent": number,
      "XRayFaultPercent": number,
      "XRayNodeName": "string",
      "XRayNodeType": "string",
      "XRayRequestAverageLatency": number,
      "XRayRequestCount": number,
      "XRayThrottlePercent": number
   }
}
```

## Response Elements
<a name="API_DescribeObservation_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Observation](#API_DescribeObservation_ResponseSyntax) **   <a name="appinsights-DescribeObservation-response-Observation"></a>
Information about the observation.  
Type: [Observation](API_Observation.md) object

## Errors
<a name="API_DescribeObservation_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 400

 ** ResourceNotFoundException **   
The resource does not exist in the customer account.  
HTTP Status Code: 400

 ** ValidationException **   
The parameter is not valid.  
HTTP Status Code: 400

## See Also
<a name="API_DescribeObservation_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/application-insights-2018-11-25/DescribeObservation) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/application-insights-2018-11-25/DescribeObservation) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/application-insights-2018-11-25/DescribeObservation) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/application-insights-2018-11-25/DescribeObservation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/application-insights-2018-11-25/DescribeObservation) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/application-insights-2018-11-25/DescribeObservation) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/application-insights-2018-11-25/DescribeObservation) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/application-insights-2018-11-25/DescribeObservation) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/application-insights-2018-11-25/DescribeObservation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/application-insights-2018-11-25/DescribeObservation) 