GetAppMonitorData - CloudWatch RUM


Retrieves the raw performance events that RUM has collected from your web application, so that you can do your own processing or analysis of this data.

Request Syntax

POST /appmonitor/Name/data HTTP/1.1 Content-type: application/json { "Filters": [ { "Name": "string", "Values": [ "string" ] } ], "MaxResults": number, "NextToken": "string", "TimeRange": { "After": number, "Before": number } }

URI Request Parameters

The request uses the following URI parameters.


The name of the app monitor that collected the data that you want to retrieve.

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: ^(?!\.)[\.\-_#A-Za-z0-9]+$

Required: Yes

Request Body

The request accepts the following data in JSON format.


An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.

Type: Array of QueryFilter objects

Required: No


The maximum number of results to return in one operation.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 100.

Required: No


Use the token returned by the previous operation to request the next page of results.

Type: String

Required: No


A structure that defines the time range that you want to retrieve results from.

Type: TimeRange object

Required: Yes

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Events": [ "string" ], "NextToken": "string" }

Response Elements

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

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


The events that RUM collected that match your request.

Type: Array of strings


A token that you can use in a subsequent operation to retrieve the next set of results.

Type: String


For information about the errors that are common to all actions, see Common Errors.


You don't have sufficient permissions to perform this action.

HTTP Status Code: 403


Internal service exception.

HTTP Status Code: 500


Resource not found.

HTTP Status Code: 404


The request was throttled because of quota limits.

HTTP Status Code: 429


One of the arguments for the request is not valid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: