multi-router.aidocs

API Reference

Tags

Listing the tag names used in an organization.

Tags label routers, prompts, prompt repos and model groups, and budgets can be scoped to a tag. Each resource adds and removes its own tags through its /tags endpoints; this endpoint lists every tag name in use in the organization.

MethodPathDescriptionScope
GET/v1/tagsList the organization's tag names.tags:read
Response 200json
{
  "organization_id": "org_7Tq2Wd9KxP",
  "data": ["production", "staging", "support"],
  "next_cursor": null,
  "has_more": false
}
TrafficAPI Tokens
Was this helpful?