Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/testing/k6/reference/cloud-rest-api/deprecated-rest-api.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/testing/k6/reference/cloud-rest-api/deprecated-rest-api/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Deprecated k6 REST API
Warning
The Grafana Cloud k6 endpoints under this section are deprecated and planned for removal in the near future. Migrate to the latest API endpoints to avoid disruptions.
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:
curl -H "Authorization: token <YOUR_API_TOKEN_HERE>" #replace with your tokenAPIs
| APIs | |
|---|---|
| Organizations | List and Read organizations |
| Projects | List and Read 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 resources from Grafana Labs


