Skip to main content
A team maps 1:1 to an organization on Inference.net. Every command that talks to the API scopes its request to a team, using a request header, so switching teams is instant and does not require signing in again.
Team management commands require session login (inf auth login). A project API key cannot list, switch, create, or invite to teams.

inf team list

List every team you belong to. The active team is flagged with a green dot ().
Alias: inf team ls

inf team current

Show the ID, name, and slug of the active team.
If no team is active, the command errors and points you at inf team switch <id>.

inf team switch

Set a different team as the active team for later commands. The CLI looks up your teams to resolve the ID, slug, or name you pass, then stores the resolved team ID in local config. It does not call organization/set-active, so it never touches your session’s stored active team on the server.
Alias: inf team use

Arguments

Examples

Switching teams does not change your active project. Run inf project list after switching to see the new team’s projects, then inf project switch <id> to pick one.

inf team create

Create a new team with a default project, and make both active.

Arguments

Example

inf team invite

Invite a person to the active team by email.

Arguments

Options

Examples

Invite to a specific team without switching your active team, using the global --team flag: