Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Instana Website Analyze API

The following four endpoints expose our analyze functionality.## Mandatory Parameters :**type** **group (only for group Endpoints)** It is mandatory to select a tag by which the beacons are grouped for the distinct endpoint call* *groupByTag* select a tag by which the beacons are grouped * a full list of available tags can be retrieved from the [website tag catalog](#operation/getWebsiteCatalogTags)* *groupByTagSecondLevelKey* tags of type KEY_VALUE_PAIR need a second parameter e.g for `beacon.meta` you would need provide the label you want to groupBy here.## Optional Parameters:**pagination*** *offset* set the starting point for the data retrieval* *retrievalSize* you set the number of returned values* *ingestionTime* if you want to paginate through your result set you are interested in having the data for a fixed time point, the results set has a `cursor` class that has a ingestionTime property that indicates what you have to enter here.**order****timeFrame** As in our UI you can specify the timeframe for metrics retrieval.``` windowSize to (ms) (unix-timestamp)<----------------------|```**tagFilterExpression** As in the UI you are able to filter your query using tags and operators such as `AND` and `OR`. To get a list of all available tags you can query the [tag catalog](#operation/getWebsiteCatalogTags)* *name* The name of the tag as returned by the catalog, e.g `beacon.meta`, `beacon.http.path`* *value* The filter value of the tag, possible types are: * "STRING" alphanumerical values, valid operators: "EQUALS", "CONTAINS", "NOT_EQUAL", "NOT_CONTAIN", "NOT_EMPTY", "IS_EMPTY" * "NUMBER" numerical values, valid operators: "EQUALS", "LESS_THAN" "GREATER_THAN" * "KEY_VALUE_PAIR" of you are using meta tags `beacon.meta` you can filter for those by setting `yourMetaTagName=foo` in the value field, valid operators: "EQUALS", "CONTAINS", "NOT_EQUAL", "NOT_CONTAIN", "NOT_EMPTY", "IS_EMPTY"* *operator* one of the valid operators for the type of the selected tag**metrics** A list of metric objects that define which metric should be returned, with the defined aggregation. Each metrics objects consists of minimum two items:1. *metric* select a particular metric, available metrics in this context are * Latency Mean * Error Rate2. *aggregation* depending on the selected metric different aggregations are available e.g. SUM, MEAN, P95. The aforementioned [catalog endpoint](#operation/getWebsiteCatalogMetrics) gives you the metrics with the available aggregations.3. *granularity* * If it is not set you will get a an aggregated value for the selected timeframe * If the granularity is set you will get data points with the specified granularity **in seconds** * The granularity should not be greater than the `windowSize` (important: `windowSize` is expressed in **milliseconds**) * The granularity should not be set too small relative to the `windowSize` to avoid creating an excessively large number of data points (max 600) ## Defaults:**timeFrame**```"timeFrame": { "windowSize": 60000, "to": {current timestamp}}```

Instana Website Analyze API is one of 62 APIs that Instana publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Website Analyze. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 18 schemas. It is described by OpenAPI 3.0.1, at version 1.307.1417.

Requests are made against 2 base URLs: https://{unit}-{tenant}.instana.io, https://{domain}.

2 operations 2 paths 18 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.307.1417
Servers
https://{unit}-{tenant}.instana.io
https://{domain}
Authentication
API Key
Contact
Terms of Service
Resource Areas
1

Authentication & Security 1

Instana Website Analyze API declares 1 security scheme for authenticating requests. An API key is passed in the header as authorization (ApiKeyAuth).

  • ApiKeyAuth — Example bash curl --request GET \ --url https://test-instana.instana.io/api/application-monitoring/catalog/metrics \ --header 'authorization: apiToken xxxxxxxx…

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Website Analyze 2

The following four endpoints expose our analyze functionality. Mandatory Parameters : type group (only for group Endpoints) It is mandatory to select a tag by which the beacons ar…

POST
/api/website-monitoring/analyze/beacon-groups
Get grouped beacon metrics
getBeaconGroups 1 param body → 200401500
POST
/api/website-monitoring/analyze/beacons
Get all beacons
getBeacons body → 200401500

Schemas 18

The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are WebsiteMonitoringBeacon (105 properties), GetWebsiteBeaconGroups (8 properties), JsStackTraceLine (6 properties), WebsiteBeaconResult (6 properties). Each schema is shown below with its type and property counts.

DeprecatedTagFilter
object
4 properties 3 required
WebsiteMonitoringMetricsConfiguration
object
3 properties 2 required
AdjustedTimeframe
object
Time frame provided in API request is slightly adjusted in response for faster API response. For example, In request payload, if timeframe is 08:03 - 14:03, wh…
2 properties 1 required
WebsiteMonitoringBeacon
object
105 properties 7 required
WebsiteBeaconGroupsItem
object
Represents an array of call group item containing several attributes that describe its properties. The item includes fields such as cursor, metrics, name, and…
4 properties 3 required
GetWebsiteBeaconGroups
object
8 properties 3 required
CursorPagination
object
Details for controlling the pagination of the API response. This object allows you to define the starting point for retrieving records, how many records to ski…
3 properties
WebsiteBeaconGroupsResult
object
6 properties 1 required
Order
object
Specifies the ordering of the results. It contains fields that define the sorting criteria, the collation for sorting, and the direction in which the results s…
3 properties 2 required
IngestionOffsetCursor
object
Cursor to use between successive queries
GetWebsiteBeacons
object
4 properties 1 required
TagFilterExpressionElement
object
Boolean expression of tag filters to define the scope of relevant calls.
1 property 1 required
ImpactedBeaconInfo
object
5 properties
WebsiteBeaconResult
object
6 properties 1 required
WebsiteBeaconTagGroup
object
3 properties 2 required
JsStackTraceLine
object
6 properties 1 required
TimeFrame
object
Time range for which the data should be retrieved.
2 properties
WebsiteBeaconsItem
object
Represents an array of call group item containing several attributes that describe its properties. The item includes fields such as cursor, metrics, name, and…
3 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

instana-website-analyze-api-openapi.yml Raw ↑

Other APIs Instana publishes across the network.

Instana Action Catalog API
Instana Action History API
Instana AI Management API
Instana Apdex Report API
Instana Apdex Settings API
Instana API Token API
Instana Application Alert Configuration API
Instana Application Analyze API
Instana Application Catalog API
Instana Application Metrics API
Instana Application Resources API
Instana Application Settings API