res = client.labels.retrieve(external_id="my_label", ignore_unknown_ids=True)
{
"items": [
{
"externalId": "my.known.id",
"name": "<string>",
"createdTime": 1730204346000,
"description": "<string>",
"dataSetId": 4503599627370496
}
],
"nextCursor": "<string>"
}Required capabilities:
labelsAcl:READ
Retrieve labels using their external ids
res = client.labels.retrieve(external_id="my_label", ignore_unknown_ids=True)
{
"items": [
{
"externalId": "my.known.id",
"name": "<string>",
"createdTime": 1730204346000,
"description": "<string>",
"dataSetId": 4503599627370496
}
],
"nextCursor": "<string>"
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Was this page helpful?