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.
To read, update, and start tests, use the /loadtests/v2/tests/ path.
List load tests
Returns all tests within a specified project.
If no project is specified, k6 returns the default project.
You MAY sort or query the results with query parameters.
GEThttps://api.k6.io/loadtests/v2/tests
Query Parameters
Type
Description
Example
project_id
integer
Returns tests associated with a given project_id
/loadtests/v2/tests?project_id={project_id}
ids[]
integer
Returns tests with given ids.
/loadtests/v2/tests?ids[]={id_1}&ids[]={id_2}
order_by
string
Selects the parameter to use to order the returned tests. Available parameter values: id, name, last_run_time.