List the teams you belong to, choose which one the CLI acts in, and manage its members. The active team is sent as X-Team-Id on every request and is stored per environment. Administration commands are gated server-side by your role, so a denial means your role lacks the capability.
List the teams you belong to, choose which one the CLI acts in, and manage its members.
The active team is sent as X-Team-Id on every request and is stored per environment.
Administration commands are gated server-side by your role, so a denial means your role lacks the capability.
Archives the active team, or the team named by --team.
Archived teams reject every request, so anyone acting in one must switch with "cosmicac teams use".
Requires the team.archive capability.
Lists the GPU nodes a platform admin reserved for the active team, or for the team named by --team.
A team with reserved nodes runs only on those nodes; a team with none draws from the shared pool.
Requires the dashboard.read capability, so members can see their own team without platform_admin.
List members and pending invites, change roles, suspend or reinstate people, and remove them.
Every subcommand acts on the active team unless --team names another.
Returns a suspended member of the active team, or the team named by --team, to active.
Requires the users.suspend capability, the same one that suspends.
Adds a user who already has an account straight into the team, with no invite to accept.
Requires the platform_admin role. Team leads invite by email from the web UI instead.
Roles: teamlead, member, viewer.
Lists members and pending invites for the active team, or the team named by --team.
Requires the users.read capability. Pending invites have no user id until the person signs up.
Removes a member from the active team, or the team named by --team.
Requires the users.remove capability. To keep the membership but block access, suspend instead.
Changes the role of a member of the active team, or the team named by --team.
Requires the users.role.change capability.
Roles: teamlead, member, viewer. The platform_admin role is not assignable per team.
Suspends a member of the active team, or the team named by --team.
A suspended member keeps their role but every request they make in the team is refused.
Requires the users.suspend capability. Reinstate them with "cosmicac teams members activate".
Lists the capabilities the server grants you in the active team, or in the team named by --team.
The server is authoritative: commands are never hidden, they fail with an explanation.
Create, list and delete the persistent NFS storage a team attaches to GPU container jobs.
A volume outlives the jobs using it, and only one job can hold it at a time.
Every subcommand acts on the active team unless --team names another.
Creating and deleting need a team lead role; listing is open to every member.
Creates persistent NFS storage the team can attach to GPU container jobs, mounted at /mnt/team-volume.
Anything not passed as a flag is asked for.
Provisioning the share takes a few minutes, so the volume starts out provisioning and turns available on its own. Pass --wait to watch it.
Requires the storage.create capability, which only a team lead has.
Deletes a storage volume of the active team, or the team named by --team, naming it by id or name.
The data on it is destroyed and cannot be recovered.
A volume attached to a job cannot be deleted; delete the job first.
Requires the storage.delete capability, which only a team lead has.
Lists the storage volumes of the active team, or the team named by --team.
Requires the storage.read capability, which every role has by default.
An attached volume is mounted at /mnt/team-volume inside the job.