Skip to main content
GET
/
2
/
teams
/
{teamSlug}
/
environments
List all Environments
curl --request GET \
  --url https://api.honeycomb.io/2/teams/{teamSlug}/environments \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "type": "environments",
      "links": {
        "self": "<string>"
      },
      "attributes": {
        "name": "<string>",
        "description": "<string>",
        "color": "blue",
        "slug": "<string>",
        "settings": {
          "delete_protected": true
        }
      }
    }
  ],
  "links": {
    "next": "/2/teams/my-team/api-keys?page[after]=3025fa645ad1100d&page[size]=10"
  }
}

Authorizations

Authorization
string
header
required

A Honeycomb Management Key is required to use this API.

The token should be passed in the "Authorization" header, and the secret should be prefixed with "Bearer " followed by the API Key's ID and secret, separated by a colon.

For example, Authorization: Bearer hcxmk_12345678901234567890123456:12345678901234567890123456789012

More information can be found in the Manage API Keys documentation.

Path Parameters

teamSlug
string
required

The slug of the Team

Query Parameters

page[after]
string

The string value of the next attribute from a previous result page. The cursor value must be empty or omitted for the first request of a cursor-paginated query.

page[size]
number
default:20

The number of entries to include per response. Maximum value is 100.

Required range: 1 <= x <= 100

Response

Success

data
object[]
required

Links to iterate through the pages of results.