Versions token

An auth token issued by a backend for a fixed set of versions, with an expiry in seconds and a list of scopes; the usual way to let a browser load models it may not otherwise see.

A versions token is the auth token most integrations issue. The backend, logged in with an API token, asks for a token over a set of version UUIDs with expires_seconds and the scopes the browser needs — typically geometry:read for the viewers and query:run for queries — and passes the result to the page. The page creates its client from that token and can load exactly those versions until the token expires.

Optional settings: ip_addresses or lock_to_caller_ip pin the token to addresses, link_account records the issuing account, and the deprecated tasks list names allowed tasks instead of scopes. A versions token cannot create tokens of its own.