Menu
DocumentationGrafana CloudTesting and syntheticsPerformance testingReference pagesCloud REST APILegacy REST API
Grafana Cloud
k6 Legacy REST API
Warning
The Legacy REST API is no longer under active development. It should not be used except when it provides capabilities not yet offered by the Grafana Cloud k6 REST API.
Welcome to the Legacy REST API docs!
The things you can do with the Legacy REST API include:
- View data about organizations
- Start tests
- Retrieve data about tests and test runs
Authentication
Authentication is based on a custom token scheme.
The Auth Token lets you interact with the k6 CLI and REST API.
Requests to the cloud API MUST contain an authorization header with the value of your token. Using curl, a request looks like this:
bash
curl -H "Authorization: token <YOUR_API_TOKEN_HERE>" #replace with your token
APIs
APIs | |
---|---|
Organizations | List, Read, and List projects |
Load tests | List, Read, Update and Delete a Load Test |
Load test runs | Start, Stop, List and Read a Load Test Run |
Test run metrics | List, Read, and Export metric test data |
Error reference | Error message format |
Was this page helpful?
Related documentation
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video
Getting started with the Grafana LGTM Stack
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.
Video
Intro to Kubernetes monitoring in Grafana Cloud
In this webinar you’ll learn how Grafana offers developers and SREs a simple and quick-to-value solution for monitoring their Kubernetes infrastructure.
Video
Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.