fb_.
These keys are for Dojo itself: apps, deployments, sharing and the rest of the API reference. Keys for the Hosted AI service in this tab are a different kind: see Hosted AI API keys.
Create a key
- Open your workspace in Dojo and go to API keys.
- Choose Create key, give it a name, and pick when it expires: never, 30 days, 90 days or 1 year.
- Copy the key. Dojo shows it once and keeps only its first characters, such as
fb_a1b2c3d4e…, to recognise it.
npx frogbot dojo keys create <name> creates a key with your CLI sign-in. It is never broader than that sign-in. See Creating keys.
Use a key
With the CLI, setFROGBOT_DOJO_TOKEN:
Call the API
Send the key as a Bearer token:Signed-in devices
Each terminal sign-in is listed with your keys as a device namedCLI on <computer>, and the keys list shows which key or device made each key. Revoke a device to sign that terminal out.
Revoke a key
Choose Revoke next to the key, or runnpx frogbot dojo keys revoke <id>. Revoking a key also revokes the keys it made, unless you choose to keep them. Leaving a workspace revokes every key you made for it.