Portal Application Analytics (3.0.0)

Download OpenAPI specification:Download

API for querying Application Analytics.

Application Analytics

The API for querying Application Analytics. Application Analytics is only available for when the user is authenticated.

Query Application Analytics

Query

Authorizations:
portalAccessToken
Request Body schema: application/json

Object describing the query sent to analytics API.

metrics
required
Array of strings = 1 items
Items Enum: "request_count" "request_per_minute" "response_latency_average" "response_size_average" "response_size_sum" "request_size_average" "request_size_sum"

A property of your API (such as request count or latency) that you wish to query on. Your chosen metric is aggregated within the specified dimensions, meaning that if you query 'request count by application', you'll receive the total number of requests each application received within the given time frame.

dimensions
Array of strings [ 0 .. 2 ] items
Default: []
Items Enum: "api" "application" "status_code" "status_code_grouped" "time"

The dimensions for the query. A query may have up to 2 dimensions, including time. If no dimensions are provided, the report will simply return the provided metric aggregated across all available data.

granularity
string
Enum: "tenSecondly" "thirtySecondly" "minutely" "fiveMinutely" "tenMinutely" "thirtyMinutely" "hourly" "twoHourly" "twelveHourly" "daily" "weekly"

granularity is only valid for queries that include a time dimension, and it specifies the time buckets in for the returned data.

RelativeTimeRangeDto (object) or AbsoluteTimeRangeDto (object)
Default: {"type":"relative","time_range":"1h"}

The time range to query.

Array of ApiFilter (object) or ApplicationFilter (object) or StatusCodeFilter (object) or StatusCodeGroupedFilter (object)
Default: []

Responses

Request samples

Content type
application/json
Example
{
  • "time_range": {
    },
  • "metrics": [
    ],
  • "filters": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "meta": {
    },
  • "data": [
    ]
}

Application Analytics Config

Get config for application analytics

Authorizations:
portalAccessToken

Responses

Response samples

Content type
application/json
Example
{
  • "analytics": null
}