Skip to content

Get label keys

GET
/api/v1/groups/labels
curl --request GET \
--url http://localhost:3000/api/v1/groups/labels \
--header 'X-API-Key: <X-API-Key>'

Retrieves all unique label keys used in the organization.

Label keys retrieved successfully

Media type application/json
object
keys
required

List of unique label keys used in the organization

Array<string>
Example
{
"keys": [
"environment",
"region",
"tier",
"version"
]
}

Unauthorized

Forbidden — caller lacks required permission