# Workspace

Source: https://projectfeed.app/docs/cli/notifications-workspace/workspace

Check the active workspace and its members, and download a workspace export.

View and change workspace settings, and manage members and invitations. Alias: `pf ws`

 `pf workspace list` List every workspace available to the selected credential

alias: pf ws ls

Example

Shell

```
pf workspace list
pf workspace list --json id,name,slug,role
```

 `pf workspace current` Show the workspace slug, name, role, and whether it came from configuration or single-workspace inference

Example

Shell

```
pf workspace current
pf workspace current --profile work
```

 `pf workspace view` Show the workspace name, role, plan, usage against plan limits, feature switches, and any plan caps it is over

Example

Shell

```
pf workspace view
pf workspace view --json plan,usage
```

 `pf workspace edit` Change workspace settings. Owners and admins only. Pass at least one option.

Options

-   `--name` string
    
    Workspace name, 1 to 100 characters
    
-   `--description` string
    
    Description, up to 500 characters
    
-   `--website` string
    
    http or https address. An empty string clears it.
    
-   `--brand-color` string
    
    Hex color such as #10B981. An empty string clears it.
    
-   `--feature` string
    
    name=true or name=false for timeTracking, chat, canvases, or clientPortals. Repeat for more than one.
    

Example

Shell

```
pf workspace edit --name "Acme Labs" --brand-color "#10B981"
pf workspace edit --feature chat=false --feature canvases=true
```

 `pf workspace admin-controls view` Show the workspace admin controls. Owners and admins only. API key, account token, webhook, and data export policies are managed in the app.

Example

Shell

```
pf workspace admin-controls view
```

 `pf workspace admin-controls edit` Change workspace admin controls. Owners and admins only. Pass at least one option.

Options

-   `--member-invite-policy` string
    
    owner_only, admin_and_owner, or all_members
    
-   `--guest-access` boolean
    
    true or false
    
-   `--external-sharing-policy` string
    
    disabled, admin_only, or all_members
    
-   `--client-feed-publishing-policy` string
    
    admin_only, project_admin, selected_members, or all_members
    
-   `--public-portals-policy` string
    
    allowed or disabled
    
-   `--share-link-default-expiry` string
    
    Whole days from 1 to 365, or none
    
-   `--share-link-max-expiry` string
    
    Whole days from 1 to 365, or none
    
-   `--share-link-require-password` boolean
    
    true or false
    
-   `--project-creation-policy` string
    
    admin_only or all_members
    
-   `--project-management-policy` string
    
    admin_only or creator_only
    
-   `--integration-channel-mapping-policy` string
    
    admin_only, project_admin, or all_members
    

Example

Shell

```
pf workspace admin-controls edit --member-invite-policy admin_and_owner --guest-access false
pf workspace admin-controls edit --share-link-default-expiry 7 --share-link-max-expiry none
```

 `pf workspace logo-remove` Remove the workspace logo. Owners and admins only. Upload a new logo with pf media upload --workspace-logo.

Options

-   `--expected-updated-at` number
    
    Fail if the workspace changed since this updatedAt
    
-   `--confirm` boolean
    
    Skip confirmation prompt
    
-   `--dry-run` boolean
    
    Preview without making changes
    

Example

Shell

```
pf workspace logo-remove --confirm
```

 `pf workspace security` Show the workspace security settings. Owners and admins only, and read-only: change them in the app. Allowlist entries are shown to the owner only.

Example

Shell

```
pf workspace security
```

 `pf activity list` List the workspace activity feed, newest first. It shows what you can see in the app and follows your feed preferences, so a page can be shorter than --limit while more remains. Needs the activity:read scope and a Pro or Enterprise workspace.

alias: pf activity ls

Options

-   `--project` string
    
    Only activity in this project, by ID or slug
    
-   `--actor` string
    
    Only activity by this user ID, or me
    
-   `--since` string
    
    Only activity after this time, as Unix milliseconds or an ISO 8601 time with a timezone
    
-   `--limit` number
    
    Max results per page (1-100, default: 25)
    
-   `--cursor` string
    
    Continue from nextCursor, including after a short page
    
-   `--page` boolean
    
    Include activity, hasMore and nextCursor with --json; cannot be used with --jq
    

Example

Shell

```
pf activity list
pf activity list --actor me --project launch --limit 50
pf activity list --since 2026-10-01T00:00:00Z --json --page
```

 `pf workspace api-keys list` List the workspace's active API keys. Owners and admins see every key, and other members see only their own. Secrets are never shown.

alias: pf ws api-keys ls

Options

-   `--limit` number
    
    Max results per page (1-100, default: 50)
    
-   `--cursor` string
    
    Continue from nextCursor
    
-   `--page` boolean
    
    Include apiKeys, hasMore and nextCursor with --json; cannot be used with --jq
    

Example

Shell

```
pf workspace api-keys list
pf ws api-keys list --json --page
```

 `pf workspace api-keys revoke <keyId>` Revoke a workspace API key at once. Owners and admins can revoke any key. Other members can revoke only keys they created.

Options

-   `--confirm` boolean
    
    Skip confirmation prompt
    
-   `--dry-run` boolean
    
    Preview without making changes
    

Example

Shell

```
pf workspace api-keys revoke <keyId> --confirm
```

 `pf workspace members` List workspace members

alias: pf ws members

Options

-   `--search` string
    
    Search members by name or email
    
-   `--limit` number
    
    Max results per page (1–50, default: 50)
    
-   `--cursor` string
    
    Continue from nextCursor, including after an empty page
    
-   `--page` boolean
    
    Include members, hasMore and nextCursor with --json; cannot be used with --jq
    

Example

Shell

```
pf workspace members
pf ws members --search "jane" --limit 5 --json --page
pf ws members --search "jane" --limit 5 --cursor '<nextCursor>' --json --page
```

 `pf workspace member-role <userId>` Change a workspace member's role. Owners and admins only; the owner's role and your own cannot change.

Options

-   `--role` string required
    
    admin, member, or viewer
    
-   `--expected-updated-at` number
    
    Fail if the membership changed since this updatedAt
    

Example

Shell

```
pf workspace member-role usr_abc123 --role admin
```

 `pf workspace member-remove <userId>` Remove a member from the workspace, which also ends their API keys and project memberships. Owners and admins only; the owner and yourself cannot be removed.

Options

-   `--expected-updated-at` number
    
    Fail if the membership changed since this updatedAt
    
-   `--confirm` boolean
    
    Skip confirmation prompt
    
-   `--dry-run` boolean
    
    Preview without making changes
    

Example

Shell

```
pf workspace member-remove usr_abc123 --dry-run
pf workspace member-remove usr_abc123 --confirm
```

 `pf workspace create` Create a workspace that you own. Needs a personal API token; you can own up to 10 workspaces.

Options

-   `--name` string required
    
    Workspace name
    
-   `--slug` string required
    
    URL slug: lowercase letters, numbers and dashes
    
-   `--idempotency-key` string
    
    Retry-safe request key
    

Example

Shell

```
pf workspace create --name "Acme Labs" --slug acme-labs
```

 `pf workspace leave` Leave the current workspace, which ends your API keys and project memberships in it. The owner cannot leave. Needs a personal API token.

Options

-   `--confirm` boolean
    
    Skip confirmation prompt
    
-   `--dry-run` boolean
    
    Preview without making changes
    

Example

Shell

```
pf --workspace acme workspace leave --confirm
```

 `pf workspace invitations list` List pending invitations. Owners and admins only.

alias: pf ws invitations ls

Options

-   `--limit` number
    
    Max results per page (1-100, default: 50)
    
-   `--cursor` string
    
    Continue from nextCursor
    
-   `--page` boolean
    
    Include invitations, hasMore and nextCursor with --json; cannot be used with --jq
    

Example

Shell

```
pf workspace invitations list
pf ws invitations list --limit 20 --json --page
```

 `pf workspace invitations send` Invite someone by email. The output says whether the email was sent and, when it was not, prints the invite link to share yourself. Each person can send 10 invitations an hour.

Options

-   `--email` string required
    
    Address to invite
    
-   `--role` string required
    
    admin, member, or viewer
    
-   `--idempotency-key` string
    
    Retry-safe request key
    

Example

Shell

```
pf workspace invitations send --email alex@example.com --role member
```

 `pf workspace invitations resend <invitationId>` Send a pending invitation email again. Owners and admins only; counts toward the 10 invitations an hour. If delivery is unconfirmed, wait a few minutes before resending.

Example

Shell

```
pf workspace invitations resend inv_abc123
```

 `pf workspace invitations revoke <invitationId>` Cancel a pending invitation. Owners and admins only.

Options

-   `--confirm` boolean
    
    Skip confirmation prompt
    
-   `--dry-run` boolean
    
    Preview without making changes
    

Example

Shell

```
pf workspace invitations revoke inv_abc123 --confirm
```

 `pf workspace export download <export-id>` Download a prepared workspace export and transfer its media to a local directory or S3-compatible destination

Options

-   `--base-url` string
    
    Project Feed app URL
    
-   `--output` string
    
    Local destination directory
    
-   `--s3-destination` string
    
    S3-compatible destination such as s3://bucket/prefix
    
-   `--s3-endpoint` string
    
    S3-compatible endpoint URL
    
-   `--s3-region` string
    
    S3 region
    
-   `--state-file` string
    
    Transfer state directory path
    
-   `--concurrency` number
    
    Parallel media transfers, default 4
    

Example

Shell

```
PROJECT_FEED_EXPORT_TOKEN=<transfer-code> pf workspace export download <export-id> --output ./workspace-export
PROJECT_FEED_EXPORT_TOKEN=<transfer-code> pf workspace export download <export-id> --s3-destination s3://archive/project-feed
```

Member pages can be empty or shorter than --limit while hasMore is true. Keep the same workspace and search, and pass nextCursor with --cursor until hasMore is false. Use --page --json for the page envelope. Ordinary --json and --jq use the member array, with continuation hints on stderr. Each command requests one page.

## Select and verify a workspace

1.  1.
    
    ### List workspaces
    
    Run `pf workspace list` and choose the exact slug, not the display name.
    
2.  2.
    
    ### Select one
    
    Pass `--workspace <slug>` for one command or set defaultWorkspace in the active profile.
    
3.  3.
    
    ### Verify it
    
    Run `pf workspace current` and check its Source value before a write or export.
    
4.  4.
    
    ### Confirm member roles
    
    Use `pf workspace members --search` to confirm a member's effective workspace role before mentioning or assigning them in automation.
    

## Download a workspace export

Create the export in Workspace Settings first. The download command needs the export ID and one-time transfer code. In an interactive terminal it prompts for the code. Unattended runs must supply PROJECT_FEED_EXPORT_TOKEN through a protected environment.

-   Use a dedicated empty local directory or explicit S3 prefix for the destination.
-   Keep transfer state so an interrupted media download can resume.
-   Start with the default concurrency and lower it when the destination or network is rate limited.
-   After completion, inspect the export manifest and compare the reported media-object count with the destination.

## Fix workspace problems

Workspace selection is ambiguous

Run pf workspace list, then pass --workspace or set defaultWorkspace. A workspace is inferred only when the selected key can access exactly one.

A member is not listed

Verify the workspace and search, then follow nextCursor with --cursor while hasMore is true, including after empty pages. Start without a cursor when changing workspace or search. If the member is still missing, check their workspace status in the product. Project-only guests are not interchangeable with workspace members.

An export transfer stops

Keep the destination and transfer state, correct the network or destination error, and rerun the same export ID. Do not request a second export only to resume media.

The transfer code is rejected

Use the code issued for that export and check whether it expired or was already replaced. Do not pass the code in shell history or logs.

## Next steps

-   [Review workspace roles and access](https://projectfeed.app/docs/team)
-   [Create and verify a workspace export](https://projectfeed.app/docs/data-export)
-   [Configure workspace profiles](https://projectfeed.app/docs/cli/configuration/configuration)
