Skip to main content
Each end user of your product has a namespace. The complete program of this page is in examples/end-users.

From your backend

Your backend holds an API key and names the end user of each request:

Tokens

An agent acting for one end user should hold a token of their namespace rather than your key: with it, the agent, and every script its model writes, reaches that namespace only.
The token, rewind_nt_…, is only in this answer.
With a token, another end user’s run answers 404:
Revoke one token by its id, or every token of an end user, signed ones issued before now included:

Limits

Set default limits for every end user, and exceptions for one, under your organization’s ceiling:
A refused start throws quota-exceeded, whose quota says which limit, at which scope, its value, the use and when it frees. The agent tools return it to the model in words it can relay.

Use and alerts

Crossing 80 % and 100 % of a limit also sends the webhook quota.alert.

Credentials and erasure