Skip to main content
GET
/
2
/
teams
/
{teamSlug}
/
api-keys
/
{ID}
Get an API Key
curl --request GET \
  --url https://api.honeycomb.io/2/teams/{teamSlug}/api-keys/{ID} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "hcxik_12345678901234567890123456",
    "attributes": {
      "key_type": "ingest",
      "name": "us-west-2 collectors key",
      "disabled": false,
      "permissions": {
        "create_datasets": false
      },
      "timestamps": {
        "created": "2022-09-22T17:32:11Z",
        "updated": "2022-10-31T15:08:11Z"
      }
    },
    "relationships": {
      "environment": {
        "data": {
          "id": "hxenv_12345678901234567890123456"
        }
      },
      "creator": {
        "data": {
          "id": "<string>"
        }
      },
      "editor": {
        "data": {
          "id": "<string>"
        }
      }
    },
    "links": {
      "self": "/2/teams/my-team/api-keys/hcxik_12345678901234567890123456"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.honeycomb.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate using a Honeycomb Management Key.

Pass the Management Key as a Bearer token in the Authorization header:

Authorization: Bearer hcxmk_12345678901234567890123456:12345678901234567890123456789012

Construct the key value by joining the Key ID and Secret with a colon (:).

To learn how to create a Management Key, visit Manage Team API Keys. To learn more about authenticating requests, visit API Authentication.

Path Parameters

teamSlug
string
required

The slug of the Team

ID
string
required

A unique identifier

Response

Success

data
object
required