froogdocs
Dashboard

DocsAccounts

Organizations

An organization is a team workspace: one wallet and shared sandboxes, environments, snapshots, keys, webhooks, GitHub and CI. Your account stays your personal workspace.

$ froog org create Acme                     # you become owner
$ froog org switch acme                     # CLI, account keys and MCP now act in Acme
$ froog org invite dana@example.com         # emails a link (7 days, one use)
$ froog org members                         # members, caps, usage, invites
$ froog --org personal new scratch          # one command in your own account
$ froog org switch personal

Which workspace a request uses: an organization key's org; else the X-Froog-Org header (id, name or personal; CLI --org / FROOG_ORG); else your active org; else personal. Unknown name: 404 org_not_found; duplicate name: 409 ambiguous_org. A sandbox stays in the workspace it was created in.

Personal, never shared: sign-in connections, SSH keys, account API keys, the active org, closing the account.

Roles

RoleCan
memberCreate and use shared sandboxes, save snapshots, use inboxes and Revere, read billing and the environment, make own org keys
adminAlso members, caps, environment, AI, webhooks, GitHub/CI, inboxes and Revere monitors (can add paid seats), stop/delete any sandbox, audit log, all org keys
ownerAlso wallet, seats, data controls, roles, admins, rename, transfer, delete. One per org

Without the role: 403 org_role_forbidden. The owner can't leave; froog org transfer EMAIL first. You can't close your account while you own an org (409).

Members and invites

froog org invite EMAIL (--admin, owner only) emails a link; the invitee signs in any way and joins, or runs froog org accept TOKEN. Links work once for 7 days (404 invite_not_found, 410 invite_expired). Removing a member (froog org remove EMAIL) or leaving (froog org leave) stops their org keys at once; their sandboxes stay.

Shared and private sandboxes

Members see every org sandbox. shared ones any member can use; private ones only the creator (403 sandbox_private, including via its snapshots). Default is shared; change it with froog org default-visibility private or froog new --visibility private, and later with froog share / froog unshare. Forks of private sandboxes are private.

SSH: shared sandboxes accept every member's keys, private ones only the creator's. Access changes apply to running sandboxes at once. What a member did with sudo while they had access stays: rebuild sandboxes you don't trust. See security.

Organization API keys

A key made in an org (froog --org acme api-key create ci --preset ci) acts only there (403 api_key_org_mismatch), as its creator, never above their role. It can't touch billing, keys, webhooks, AI settings or personal routes (403 api_key_org_forbidden), and stops when its member leaves. Account keys act in an org only when a request names it or it's your active org.

Seats, limits and per-member caps

An org has its own card, billing, spending cap and limits. Seats aren't billed; they cap membership (froog org seats 5).

Owners and admins can cap a member: froog org cap EMAIL --running 3 --usage 50 (0 removes).

CapLimitsPast it
max_running_sandboxesOrg sandboxes the member runs at once429 member_limit_reached
max_usage_usdMember's org usage this month, list prices402 team_member_cap_reached

A sandbox counts against its creator. Over a cap, froog stops the member's newest org sandboxes within a minute; nothing is lost.

Audit log. Each org has its own audit log (owners and admins), naming the member on every entry, with org.* actions for membership changes. Org emails go to the owner.

Delete with froog org delete (owner, last member, no sandboxes left). Subscriptions end without refund; data is erased after 30 days like a closed account.

API: GET · POST /orgs, PATCH /orgs/active, /orgs/{org}, /orgs/{org}/members, /orgs/{org}/invites, /orgs/{org}/seats; full list in API. Reading needs account.read, changing account.admin.