Menu
Grafana Cloud

Organizations Legacy 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.

List organizations

Returns a list of organizations associated with the authenticated user along with organization details.

GET https://api.k6.io/v3/organizations

json
{
  "organizations": [
    {
      "id": 0,
      "name": "string",
      "owner_id": 0,
      "description": "string",
      "billing_address": "string",
      "billing_country": "string",
      "billing_email": "user@example.com",
      "vat_number": "string",
      "created": "2020-08-13T18:28:45Z",
      "updated": "2020-08-13T18:28:45Z",
      "is_default": true
    }
  ]
}

Read organization details

Returns details for the specified organization.

GET https://api.k6.io/v3/organizations/{organization_id}

Path ParameterTypeDescription
organization_idintegerA unique integer value identifying this organization.
json
{
  "organization": {
    "id": 0,
    "name": "string",
    "owner_id": 0,
    "description": "string",
    "billing_address": "string",
    "billing_country": "string",
    "billing_email": "user@example.com",
    "vat_number": "string",
    "created": "2020-08-13T18:28:45Z",
    "updated": "2020-08-13T18:28:45Z",
    "is_default": true
  }
}

List organization projects

Returns all projects a user is member of in the specified organization.

GET https://api.k6.io/v3/organizations/{organization_id}/projects

Path ParameterTypeDescription
organization_idintegerA unique integer value identifying this organization.
json
{
  "projects": [
    {
      "id": 47,
      "name": "my Project",
      "description": "project for load testing of my site",
      "organization_id": 1013,
      "created": "2020-08-13T18:28:45Z",
      "updated": "2020-08-13T18:28:45Z",
      "is_default": true
    }
  ]
}