Skip to main content
GET
Get a label

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

labelId
string
required

Response

A successful response.

label
object

Label is a first-class, referenceable label entity (V2). Labels can be policy-scoped (policy_id set) or independent (policy_id empty). Policy-scoped labels are uniquely identified by (customer_id, name, policy_id). Independent labels are uniquely identified by (customer_id, name).

labelVersions
object[]

Versions on this label, ordered by sequential_version ascending (oldest first), then version ID. This is a bounded page (default 100, max 1000). When more versions remain, next_page_token is set; continue with ListLabelVersions using that token.

nextPageToken
string