You can access the Embedded Grafana using Last9 API and manage your Grafana Dashboards
Last week we released the embedded Grafana, which can be used to explore metrics coming into your Levitate clusters.
This week we are happy to announce the API access to the embedded Grafana so that you can create and manage the Grafana dashboards with just the Last9 API.
Last9 API uses OAuth2 Bearer tokens for read, write and delete operations.
The tokens can be generated from the API Access page for the first time.
Once on the API access page, you can generate the tokens by clicking on GENERATE TOKENS.
Last9 API supports three types of tokens:
Read tokens - used for GET endpoints.
Write tokens - used for the POST and PUT endpoints.
Delete tokens - used for DELETE endpoints.
Each token is also accompanied by the refresh token used to regenerate the access token when it expires.
Base URL
The base URL for accessing embedded Grafana is as follows.