Browse the docs

Workspace settings

This page lists what you set when you sign in, link a repository and run a workspace: the slug, the name, members and roles, invitation links, the trial, deletion, and what setup writes.

A workspace is the Cloud side of one repository. One repository belongs to one workspace. For the tutorial, see Connect your repository.

Sign in

putnami cloud login signs you in with the OAuth device flow. The CLI prints a URL and a code, you approve in a browser, and the CLI stores a short-lived session. It also writes the registry endpoint recipes. It links no repository: only putnami cloud setup does.

Want to Do this
Print the URL instead of opening a browser putnami cloud login --no-open
Use another OAuth client putnami cloud login --client-id <id>
Request other scopes putnami cloud login --scope "openid profile email apikeys:write"
See who you are putnami cloud whoami
Sign the CLI out of this machine putnami cloud logout

login --workspace is deprecated and ignored. Use putnami cloud setup --workspace <id>.

The default scope includes apikeys:write. The CLI uses it for the short-lived keys behind cache and registry tokens. A machine token created with putnami cloud token create does not use it.

Lifetime Value
Access token 5 minutes
Delegated CLI sign-in (approved by an agent with approve_cli_login) Stops renewing 12 hours after approval
Machine token from the app 7, 30 or 365 days, or no expiry. Default 30.
Machine token from token create --expires Nd, Nw, a duration or an RFC 3339 time, such as 90d

whoami

putnami cloud whoami prints the account signed in on this machine and the workspace this repository is linked to, one check each:

whoami  ok  you@example.com, workspace ws-acme

  METRIC              VALUE     WINDOW
  session expires in  5h42m10s  now

  STATE  CHECK      DETAIL
  ok     session    signed in as you@example.com
  ok     workspace  linked to workspace ws-acme

It exits 1 when you are not signed in or the repository is not linked. The failing check names the command that fixes it. --output=json prints the same status as data. See the CLI reference.

Sign out

putnami cloud logout removes the local credentials and revokes the registry keys it can reach. Run it from a session that is still valid, so the remote keys are revoked and not only the local files.

Sign out in putnami.app, Console or Admin signs you out of that browser only. The Putnami apps you opened in it stop renewing their sign-in and sign out within 5 minutes. The CLI, the AI agents you connected through MCP and your other devices stay signed in. The sign-out page also offers Also sign out everywhere else, unchecked. Tick it to end every other session too, for example after you lose a device.

putnami cloud setup links the repository to a workspace. Run it once per repository.

Want to Do this
Create a workspace and link it putnami cloud setup
Link an existing workspace putnami cloud setup --workspace <id|slug|name>
Name a new workspace putnami cloud setup --workspace-name "<name>"
Choose the slug of a new workspace putnami cloud setup --slug <slug>
Use another default environment putnami cloud setup --environment <env> (default prod)
Record the repository URL putnami cloud setup --repository <url>
Skip the build cache putnami cloud setup --no-cache
Set the cache mode putnami cloud setup --cache-mode minimal|toplevel|full (or PUTNAMI_CACHE_MODE)
Configure only when already linked putnami cloud setup --auto

With no argument, setup creates a workspace named from the name of your putnami.workspace.json or putnami.json.

What setup creates

Only when the repository is not linked yet, setup creates the workspace, its place on the platform and its runtime profile (slug, repository). On your first call, the platform also creates your account and a personal organization where you are admin. A failed step undoes the earlier ones.

Setup creates no registry key, no bucket and no cloud resource. Those come with the first deploy.

What setup writes

File Holds Commit it
putnami.workspace.json, under options.@putnami/cloud.workspace The workspace id, and the platform URL when it is not the default Yes
.putnami/cache.json The remote build cache settings: a token source, never a bearer Yes
.putnami/cloud-link.json A local copy of the link No
Registry token recipes How to mint a registry token on demand. Stored on your machine, outside the repository. No

Setup writes only the link, the cache settings and the recipes. The /audit skill ships as agent content of @putnami/cloud: add extension:@putnami/cloud to agentArtifacts and run putnami install. Its settings live under options["@putnami/cloud"].audit. A repository set up before this change holds an older copy under .AI/skills/audit, .agents/skills/audit and .claude/skills/audit. Delete those three directories first: putnami install keeps files it does not manage.

--auto and putnami cloud install

Command What it does
putnami cloud setup --auto Ensure mode for automation. Configures Cloud only when the repository is linked and you are signed in. Never creates a workspace. Never fails the surrounding command.
putnami cloud install Runs when you install @putnami/cloud. Replays an existing link, cache and registry recipes. Creates nothing. It is not setup --auto.

Choose the slug of a new workspace

A slug is the short name of a workspace, such as acme. The platform uses it to name what the workspace runs: its services start with <slug>-, and the workspace holds the event topic names that start with <slug>., such as acme.orders.created.

putnami cloud setup --workspace-name "Acme" --slug acme
Rule Detail
Length At most 12 characters.
Characters Lowercase letters, digits and single dashes, starting with a letter: acme, acme-prod, a1.
Unique No two workspaces share a slug. Setup fails when the slug is taken.
Fixed A workspace keeps the slug it was created with.
Refused names The platform's own names: agency, business, catalog, cloud, config, control, data, delivery, distribution, events, identity, infra, intelligence, observability, platform, putnami, qa, runtime, source, surfaces, tooling.
Refused endings A dash and one of those names, such as my-data or api-identity. The platform refuses every push receive of a topic named under such a slug.

Setup checks the slug before it sends any request. Without --slug, the platform derives a slug from the workspace id, such as w-0-db8055e0. It is valid and hard to read: choose a slug when you create the workspace.

--slug applies only when setup creates the workspace. When the repository is already linked, or with --workspace, setup accepts the flag only when it equals the workspace's slug, so you can run the same command twice. With another slug, setup stops and writes nothing in the repository.

Name and appearance

Setting Where Who
Workspace name putnami.app, Settings › Workspace › General A workspace admin. Every member reads the new name. The slug and the workspace's addresses do not change.
Workspaces shown on Home Settings › You › Preferences Each person
Theme (Putnami, Lin or Ardoise) and mode (System, Light or Dark) Settings › You › Preferences › Appearance Each person, for that browser

Members and roles

A workspace admin adds people in putnami.app, under Settings › Workspace › Members. A role picker on each row changes a role at once. Each person has one role.

Role What it allows
workspace.viewer Read runs, verdicts and changes. Change nothing.
workspace.member Also run work on Putnami Cloud.
workspace.admin Also manage the workspace, its members, its configuration and its secrets.
Way to add someone How it works
By email Enter an email address and a role. The person signs in with that address.
With a link Pick a role and select Create link, then send the link yourself. Putnami sends no email.

An invitation link:

  • shows once, when you create it: copy it then;
  • lets one person join, once;
  • expires after 7 days;
  • stops working when an admin revokes it under Pending links, or when the person who created it is no longer an admin of the workspace.

A workspace holds at most 100 pending links. Revoke one to create another. The person opens the link and signs in. The page names the workspace, the role and the expiry. They select Accept and join and land in the workspace with the link's role. A link that was used, expired or revoked says so: ask an admin for a new one.

The 7-day trial

A workspace gets the plans' features for 7 days from its first analyzed change: the first pull request whose report Putnami received. No admin turns it on and no payment is asked. Every page of the workspace shows a banner that names that change and the days left, until a plan is taken.

Fact Detail
Start Once per workspace. A later change does not restart it.
Before November 20, 2026 A workspace whose first analyzed change is older than that date has no trial.
End The banner says so. The workspace keeps its history and its observation. Nothing is deleted. The banner links to Integrations, where a card says how an admin subscribes.
Observed repositories The trial lifts the organization's limit of 5 repositories observed from its own CI. Uploads create workspaces with no limit until the trial of the organization's first workspace ends. An organization gets this once. Afterwards the limit applies again to new repositories, and the workspaces created during the trial stay. A refused upload's message says how to lift the limit.

GET /v1/workspaces/{workspace}/subscriptions/{offering} answers the trial beside the commercial state: state (none, running, ended or unavailable), started_at, ends_at and the change it started with. While the trial runs on a workspace that never subscribed, entitlement reads allow, as for an active plan. A suspended or canceled plan wins over the trial. commercial stays what an admin subscribed.

Delete and restore a workspace

An admin of the workspace's organization deletes it in the console: open the workspace's settings, then General, then Delete workspace. Type the workspace's name. The button stays disabled until the name matches. The section shows the purge date, 30 days from today. There is no CLI verb.

When What happens
At once The workspace freezes. Members, machine tokens and service identities are refused. Services scale to 0. Scheduled jobs pause. Only organization admins still read it. Other members no longer see it on Home or in their lists. Every page shows a banner with the purge date.
During the 30 days Nothing is deleted. An organization admin selects Restore in the banner, and the workspace is active again for its members.
After the 30 days The platform deletes the workspace's data, services, jobs, domains, database users and topics. You cannot restore it.

Automation calls the same routes: POST /v1/workspaces/{workspace}/offboard, with the workspace's name in the body as confirmation, and POST /v1/workspaces/{workspace}/restore. Both answers give the workspace's state and purge_after.

Next