Organizations
Grafana Cloud

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

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
  }
}