Skip to main content
Manage access-control scopes.

tai scopes add

Map a URL to a scope (optionally with a dynamic match pattern). Example: tai scopes add read /api/tools

tai scopes delete

Delete a scope. Example: tai scopes delete read

tai scopes list

List every non-public route mapping as {url: scope_id}. Example: tai scopes list

tai scopes public-list

List every route pinned to the public marker. Example: tai scopes public-list

tai scopes public-pin

Pin a URL public (optionally with a dynamic match pattern). Example: tai scopes public-pin /universal_webhook/orders

tai scopes public-unpin

Unpin a public URL. Example: tai scopes public-unpin /universal_webhook/orders

tai scopes remove-url

Remove a URL from every scope that references it. Example: tai scopes remove-url /api/tools

tai scopes routes

List the app’s HTTP routes with each route’s scope mapping. A mapped of null marks an unassigned route. Example: tai scopes routes