Instana SLI Report API
The SLI Report API from Instana — 1 operation(s) for sli report.
Operations 1
GET
/api/sli/report/{sliId}
Generate SLI report (Limitation: the Classic Edition API report can be…
#
The SLI Report API from Instana — 1 operation(s) for sli report.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/instana:instana-sli-report-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
email: support@instana.com
name: © Instana
url: http://instana.com
termsOfService: https://www.instana.com/terms-of-use/
title: Instana REST API documentation SLI Report API
version: 1.307.1417
x-ibm-ahub-try: true
x-logo:
altText: instana logo
backgroundColor: '#FAFBFC'
url: header-logo.svg
description: 'Searching for answers and best pratices? Check our IBM Instana Community. Our API documentation is moving to
API Hub
— please update your bookmarks now, as the current site will be deprecated after Release-306. ## Overview
The Instana REST API provides programmatic access to the Instana platform. It can be used to retrieve data available through the Instana UI Dashboard -- metrics, events, traces, etc -- and also to automate configuration tasks such as user management. ### Navigating the API documentation
The API endpoints are grouped by product area and functionality. This generally maps to how our UI Dashboard is organized, hopefully making it easier to locate which endpoints you''d use to fetch the data you see visualized in our UI. The UI sections include:
- Websites & Mobile Apps
- Applications
- Infrastructure
- Synthetic Monitoring
- Events
- Automation
- Service Levels
- Settings
- etc
### Rate Limiting
A rate limit is applied to API usage. Up to 5,000 calls per hour can be made. How many remaining calls can be made and when this call limit resets, can inspected via three headers that are part of the responses of the API server. - **X-RateLimit-Limit:** Shows the maximum number of calls that may be executed per hour. - **X-RateLimit-Remaining:** How many calls may still be executed within the current hour. - **X-RateLimit-Reset:** Time when the remaining calls will be reset to the limit. For compatibility reasons with other rate limited APIs, this date is not the date in milliseconds, but instead in seconds since 1970-01-01T00:00:00+00:00. ### Further Reading
We provide additional documentation for our REST API in our product documentation. Here you''ll also find some common queries for retrieving data and configuring Instana. ## Getting Started with the REST API
### API base URL
The base URL for an specific instance of Instana can be determined using the tenant and unit information. - `base`: This is the base URL of a tenant unit, e.g. `https://test-example.instana.io`. This is the same URL that is used to access the Instana user interface. - `apiToken`: Requests against the Instana API require valid API tokens. An initial API token can be generated via the Instana user interface. Any additional API tokens can be generated via the API itself. ### Curl Example
Here is an Example to use the REST API with Curl. First lets get all the available metrics with possible aggregations with a GET call. ```bash
curl --request GET \
--url https://test-instana.instana.io/api/application-monitoring/catalog/metrics \
--header ''authorization: apiToken xxxxxxxxxxxxxxxx''
```
Next we can get every call grouped by the endpoint name that has an error count greater then zero. As a metric we could get the mean error rate for example. ```bash
curl --request POST \
--url https://test-instana.instana.io/api/application-monitoring/analyze/call-groups \
--header ''authorization: apiToken xxxxxxxxxxxxxxxx'' \
--header ''content-type: application/json'' \
--data ''{
"group":{
"groupbyTag":"endpoint.name"
},
"tagFilters":[
{
"name":"call.error.count",
"value":"0",
"operator":"GREATER_THAN"
}
],
"metrics":[
{
"metric":"errors",
"aggregation":"MEAN"
}
]
}''
```
### Generating REST API clients
The API is specified using the OpenAPI v3 (previously known as Swagger) format. You can download the current specification at our GitHub API documentation. OpenAPI tries to solve the issue of ever-evolving APIs and clients lagging behind. Please make sure that you always use the latest version of the generator, as a number of improvements are regularly made. To generate a client library for your language, you can use the OpenAPI client generators.'
servers:
- description: Instana Backend
url: https://{unit}-{tenant}.instana.io
variables:
tenant:
default: tenant
description: Customer tenant unit
unit:
default: unit
description: Customer tenant name
- description: Instana Self-Hosted Backend
url: https://{domain}
variables:
domain:
default: example.com
description: Customer Self-Hosted domain
tags:
- name: SLI Report
paths:
/api/sli/report/{sliId}:
get:
operationId: getSli
parameters:
- description: ID of the Service Level Indicator (SLI)
example: nCtEoR6NSPqG61QkIkwwCw
in: path
name: sliId
required: true
schema:
type: string
- description: Target SLO
example: 0.99
in: query
name: slo
required: true
schema:
type: number
format: double
- description: From Timestamp in milliseconds (13-digit)
example: 1706713140000
in: query
name: from
required: true
schema:
type: integer
format: int64
- description: To Timestamp in milliseconds (13-digit)
example: 1706713140000
in: query
name: to
required: true
schema:
type: integer
format: int64
responses:
'200':
content:
application/json:
example:
sli: 0.008228916434859497
slo: 0.1
totalErrorBudget: 10236633
errorBudgetRemaining: -1043808
fromTimestamp: 1707771600000
toTimestamp: 1707858000000
violationDistribution: null
schema:
type: array
items:
$ref: '#/components/schemas/SliReport'
description: OK
'404':
content:
application/json:
example:
errors:
- There is no SLI configuration for the given ID or the report hasn't been generated yet.
schema:
type: array
items:
type: string
description: There is no SLI configuration for the given ID or the report hasn't been generated yet.
security:
- ApiKeyAuth:
- Default
summary: 'Generate SLI report (Limitation: the Classic Edition API report can be…'
tags:
- SLI Report
x-ibm-ahub-byok: true
components:
schemas:
SliReport:
type: object
properties:
errorBudgetRemaining:
type: integer
format: int64
description: This is the error budget remaining compared to the total error budget
fromTimestamp:
type: integer
format: int64
description: from timestamp in milliseconds (13-digit)
sli:
type: number
format: double
description: 'Service Level Indicator: This indicates the actual performance measure of the service'
slo:
type: number
format: double
description: 'Service Level Objective: This is the target value that should be met by the SLI'
toTimestamp:
type: integer
format: int64
description: to timestamp in milliseconds (13-digit)
totalErrorBudget:
type: integer
format: int64
description: This is the total error budget available
violationDistribution:
type: object
additionalProperties:
type: integer
format: int32
securitySchemes:
ApiKeyAuth:
in: header
name: authorization
type: apiKey
description: "## Example\n\n```bash\ncurl --request GET \\\n --url https://test-instana.instana.io/api/application-monitoring/catalog/metrics \\\n --header 'authorization: apiToken xxxxxxxxxxxxxxxx'\n```\n"
x-tagGroups:
- name: Websites & Mobile Apps
tags:
- Website Metrics
- Website Catalog
- Website Analyze
- Website Configuration
- Mobile App Metrics
- Mobile App Catalog
- Mobile App Analyze
- Mobile App Configuration
- End User Monitoring
- name: Applications
tags:
- Application Metrics
- Application Resources
- Application Catalog
- Application Analyze
- Application Settings
- Application Topology
- Application Alert Configuration
- Global Application Alert Configuration
- name: Infrastructure
tags:
- Infrastructure Analyze
- Infrastructure Metrics
- Infrastructure Resources
- Infrastructure Catalog
- Infrastructure Topology
- name: Logging
tags:
- Logging Analyze
- name: Synthetic Monitoring
tags:
- Synthetic Catalog
- Synthetic Metrics
- Synthetic Settings
- Synthetic Test Playback Results
- Synthetic Alert Configuration
- name: Logs
tags:
- Log Alert Configuration
- name: Events
tags:
- Events
- Event Settings
- name: Automation
tags:
- Action Catalog
- Action History
- Policies
- name: Service Levels
tags:
- SLI Settings
- SLI Report
- Apdex Settings
- Apdex Report
- Service Levels Objective(SLO) Configurations
- Service Levels Objective(SLO) Report
- Service Levels Alert Configuration
- SLO Correction Configurations
- SLO Correction Windows
- name: AI Management
tags:
- AI Management
- name: Settings
tags:
- Custom Dashboards
- User
- Groups
- Teams
- Roles
- Audit Log
- API Token
- Maintenance Configuration
- Synthetic Calls
- Session Settings
- Automation Settings
- Authentication
- name: Open Beta Features
tags:
- Infrastructure Analyze
- name: Closed Beta Features
tags:
- Infrastructure Alert Configuration
- name: Instana
tags:
- Releases
- Host Agent
- Health
- Usage