Skip to main content
GET
/
api
/
tags
List Tag Keys
curl --request GET \
  --url https://app.opencomputer.dev/api/tags \
  --header 'X-API-Key: <api-key>'
{
  "keys": [
    { "key": "team", "sandboxCount": 17, "valueCount": 4 },
    { "key": "env",  "sandboxCount": 23, "valueCount": 3 }
  ]
}
List all tag keys set on any sandbox in the org, with per-key counts of tagged sandboxes and distinct values. Useful for building group-by pickers without querying the full tag set.
{
  "keys": [
    { "key": "team", "sandboxCount": 17, "valueCount": 4 },
    { "key": "env",  "sandboxCount": 23, "valueCount": 3 }
  ]
}
Tag keys on torn-down sandboxes are retained so historical drilldowns keep resolving. As a result sandboxCount may include sandboxes that are no longer active.