Sensu Enterprise Console API Overview
The Sensu Enterprise Console API provides access to monitoring data across datacenters, including clients, checks, and events. Use the Console API to request adhoc check executions, silence check results, resolve events, and more.
RESTful JSON API
- Aggregates API
- Checks API
- Clients API
- Configuration API
- Datacenters API
- Events API
- Health API
- Results API
- Silenced API
- Stashes API
- Subscriptions API
RBAC for the Sensu Enterprise Console API
Sensu Enterprise integrates role-based access controls with the Console API to help give your users the right level of API functionality.
See the RBAC reference docs to create role-based access tokens and define the methods (
head) and APIs available to each role.
To access the API using a role-based access token, provide the token as a header or query parameter.
The examples below show an access token used to access the Events API.
In a header:
$ curl -H "Authorization: token TOKEN" https://localhost:3000/events
As a parameter:
$ curl https://localhost:3000/events?token=TOKEN