Cortex offers a feature flag for enabling teams as first-class entities in the Cortex Catalog API.
This is enabled for all new tenants by default.
This update replaces the legacy /api/v1/teams and /api/v1/teams/departments endpoints as forward proofing for future deprecation.
When the feature flag is set to true for your tenant, you can
- Query and manage team data directly through the Catalog API, just like other entity types
- Retrieve team YAML descriptors and metadata, including any custom fields previously unavailable through the
/api/v1/teamsendpoint.
Self hosted customers can add this flag:
insert into account_flags (tenant_id, flag, value) VALUES ((select id from tenants limit 1), 'ALLOW_TEAM_ENTITIES_IN_CATALOG_API', 'true');For more information, see our API documentation.