Administration
Inspect account and workspace state, manage and verify domains, export and check audit events, read reports, request workspace data exports, map Slack and Discord channels, manage client portals, and call the API without writing a separate client.
- PlanPro for DNS lookups and reports, Enterprise for audit logs, domain verification, and exports
- WhoOwners and admins for audit logs, domains, and most portal reads, the owner for exports
Choose the right command
- Identity and credentials
- Use pf me to inspect the authenticated account, workspace memberships, personal API tokens, and push devices. Verify the active credential first with pf auth check.
- Capacity and API version
- Use pf limits before a batch job to read the API version and current quota.
- Custom domains
- Use pf domains add to get the DNS record to publish, check public DNS, and request verification only after the record matches.
- Audit evidence
- Use pf audit-logs with an explicit time range and output format. Store the export in an access-controlled location and record the workspace and filter used. Use pf audit-stats for counts and pf audit-verify to check the chain.
- Slack and Discord channels
- Use pf integrations list to find a connection, pf integrations map to link a channel to a project, and pf integrations events to see what was sent.
- Reports and your own numbers
- Use pf reports for workspace, activity, storage, agent access, delivery, time, review, agent, and attention figures, and pf me stats for your own. Add --json when you need the full data.
- A complete copy of the workspace
- Use pf exports request to start an export and pf exports view to follow it. The workspace owner downloads the archive from Settings, Data export in the app.
- Client portals
- Use pf portals to read and manage portals, their guests and shared posts and docs, client feedback, and the reports sent through a portal.
- Uncovered API operation
- Use pf api when the ordinary CLI has no command for the endpoint. Follow the API reference for method, body, pagination, and version behavior.
Identity and limits
pf me viewShow your account profile. This is the default for pf me.
alias: pf me show
Example
pf me viewpf me editUpdate your display name, username, or name preference. Provide at least one of them.
alias: pf me update
Options
--display-namestringSet your display name. An empty value removes your custom name.
--name-preferencestringShow your username or full name: username or fullname
--usernamestringSet your username
--expected-updated-atnumberFail with 412 if your profile changed since this updatedAt
Example
pf me edit --display-name "Sam Rivera"
pf me edit --name-preference username
pf me edit --username sampf me orgsList the workspaces you belong to
alias: pf me organizations
Example
pf me orgspf me activityList what you did in the workspace, newest first. Needs the activity:read scope and a Pro or Enterprise workspace.
Options
--projectstringOnly activity in this project, by ID or slug
--sincestringOnly activity after this time, as Unix milliseconds or an ISO 8601 time with a timezone
--limitnumberMax results per page (1-100, default: 25)
--cursorstringContinue from nextCursor, including after a short page
--pagebooleanInclude activity, hasMore and nextCursor with --json; cannot be used with --jq
Example
pf me activity
pf me activity --project launch --since 2026-10-01T00:00:00Zpf me feed-preferencesShow which activity appears in your feed in this workspace, or change it. With no options it prints the preferences and where they come from.
Options
--showstringComma-separated preference names to turn on, such as showTaskComments
--hidestringComma-separated preference names to turn off
--accountbooleanYour account defaults, which every workspace starts from
--expected-updated-atnumberFail if the preferences changed since this updatedAt
Example
pf me feed-preferences
pf me feed-preferences --hide showTaskMicroChanges,showMemberActivity
pf me feed-preferences --account --show showPostEditspf me time-preferencesShow or change your time tracking preferences. The weekly target and the daily reminder are set per workspace. Idle detection is an account preference, so change it with --account.
Options
--weekly-targetstringHours you aim to log each week (1-100), or none to clear it
--daily-reminderstringon or off: remind you on days with no time logged
--weekend-reminderstringon or off: also remind you on weekends
--reminder-timezonestringIANA timezone for the reminder, such as Europe/Berlin
--idle-detectionstringon or off: pause the timer when you are away
--idle-minutesnumberMinutes away before the timer pauses: 5, 10, 15, or 30
--idle-actionstringWhat happens to idle time: keep, discard, or stop
--accountbooleanYour account preferences, where idle detection lives
--expected-updated-atnumberFail if the preferences changed since this updatedAt
Example
pf me time-preferences
pf me time-preferences --weekly-target 32 --daily-reminder on
pf me time-preferences --account --idle-detection on --idle-minutes 15pf me avatar-removeRemove your profile photo. The photo from your sign-in provider does not come back.
Options
--confirmbooleanSkip confirmation prompt
--dry-runbooleanPreview without making changes
Example
pf me avatar-remove --confirmpf me invitationsList pending invitations to other workspaces sent to your verified email addresses
Example
pf me invitationspf me invitation-acceptJoin a workspace by accepting an invitation, by the ID from pf me invitations
Options
--idempotency-keystringRetry-safe request key
Example
pf me invitation-accept jh7c2v9x4kq8m1n5p3r6s0t2w8y4z6a1pf me emailsList the email addresses on your account, with the primary one first and which are verified
Example
pf me emailspf me email-addAdd an email address to your account and send it a verification link. It cannot be used to sign in until it is verified.
Options
--idempotency-keystringRetry-safe request key
--dry-runbooleanPreview without making changes
Example
pf me email-add dana@example.compf me email-resendSend a new verification link to an unverified email address, by the ID from pf me emails
Example
pf me email-resend j57a8x0c0ab0n2sdq4k7m3e1d97s8r2bpf me email-removeRemove an unverified email address. Verified addresses are removed in the Project Feed app, which asks for an emailed code first.
Options
--confirmbooleanSkip confirmation prompt
--dry-runbooleanPreview without making changes
Example
pf me email-remove j57a8x0c0ab0n2sdq4k7m3e1d97s8r2b --confirmpf me deletion-statusCheck whether your account can be deleted, and list the workspaces that need a new owner first. Deleting the account happens in the Project Feed app.
Example
pf me deletion-statuspf me sessionsList the devices and browsers signed in to your account, with IP address and last activity
Example
pf me sessionspf me session-revokeSign out one device or browser, by the ID from pf me sessions
Options
--confirmbooleanSkip confirmation prompt
--dry-runbooleanPreview without making changes
Example
pf me session-revoke session_01JBX9K3T6Q2V8W4M7N5R1C0ZD --confirmpf me security-activityList your latest 50 sign-in and security events across every workspace
Example
pf me security-activitypf me statsShow your tasks, tracked time, contributions, and active days in this workspace
Options
--fromstringStart of the range: Unix milliseconds, a date, or an ISO time (default 30 days ago)
--tostringEnd of the range (default now)
Example
pf me stats
pf me stats --from 2026-09-01 --to 2026-09-30 --jsonpf me api-keys listList your personal API tokens. This is read-only. Create and revoke tokens under Account > Tools & tokens.
alias: pf me keys ls
Example
pf me api-keys listpf me push-subscriptions listList your registered push-notification devices
alias: pf me devices ls
Example
pf me push-subscriptions listpf me push-subscriptions delete <id>Remove a registered push-notification device
alias: pf me devices rm
Options
--dry-runbooleanPreview the removal without deleting the device
Example
pf me push-subscriptions delete <id> --dry-run
pf me push-subscriptions delete <id>pf limitsShow the API version and the current rate-limit quota. The request does not consume quota.
Example
pf limits --jsonCustom domains
Checking DNS records needs a Pro plan or higher. Adding a domain and verifying it need an Enterprise plan and a workspace owner or admin. Listing and removing domains are for owners and admins.
pf domains listList the workspace's custom domains with their verification method, record name, and status. Owners and admins only. The DNS value is not listed.
alias: pf domains ls
Options
--limitnumberDomains per page, 1 to 100 (default 50)
--cursorstringContinue from a previous page
--allbooleanFollow every cursor and print one list
--pagebooleanWith --json, keep hasMore and nextCursor alongside the rows
Example
pf domains list
pf domains list --json id,domain,isVerified
pf domains list --all --json id,domainpf domains add <domain>Add a custom domain and print the DNS record to publish: its type, name, value, and instructions. The value is shown only once. To get a new one, remove the domain and add it again. Owners and admins on an Enterprise plan only.
Options
--methodstringdns_txt (default) or dns_cname
--idempotency-keystringRetry-safe request key
Example
pf domains add example.com
pf domains add docs.example.com --method dns_cnamepf domains remove <domainId>Remove a custom domain. Owners and admins only, and it works after a plan downgrade.
Options
--confirmbooleanSkip confirmation prompt
--dry-runbooleanPreview without making changes
Example
pf domains remove <domainId> --dry-run
pf domains remove <domainId> --confirmpf domains check-dns <domain>Look up the public DNS records for a domain
Options
--typestringRecord type: TXT, CNAME, A, or MX (default TXT)
Example
pf domains check-dns example.com
pf domains check-dns example.com --type CNAMEpf domains verify <domainId>Trigger verification for a configured domain. Run it after the DNS record matches. Requires an owner or admin on an Enterprise plan.
Example
pf domains verify <domainId>Export audit events
Audit export needs an Enterprise plan and an owner or admin in the workspace. Events are workspace-scoped.
pf audit-logsExport workspace audit events. The export stops at the limit, so narrow the range or raise --limit when more records exist.
alias: pf audit
Options
--sincestringrequiredStart time as an ISO date or Unix milliseconds
--untilstringEnd time as an ISO date or Unix milliseconds (default now)
--limitnumberMaximum records, from 1 to 1000 (default 100)
--categoriesstringComma-separated categories to include
--event-typestringComma-separated event types to include, up to 20
--actorstringOnly events by this user ID
--resource-typestringOnly events on this kind of resource
--resource-idstringOnly events on this resource
--statusstringsuccess or failure
--cursorstringContinue from the next cursor of the previous page. JSON output prints it.
--formatstringjson, csv, or cef (default json)
--outputstringWrite the export to a file instead of standard output
Example
pf audit-logs --since 2026-07-01 --format csv --output audit.csv
pf audit --since 2026-07-01 --until 2026-07-15 --limit 500
pf audit-logs --since 2026-07-01 --event-type api_key.revoked --status successpf audit-statsCount audit events by category, status, and retention. Owners and admins on an Enterprise plan only.
Options
--sincestringStart time as an ISO date or Unix milliseconds (default 30 days ago)
--untilstringEnd time as an ISO date or Unix milliseconds (default now)
Example
pf audit-stats --since 2026-09-01pf audit-verifyCheck the audit log hash chain for edited or missing records. Exits with code 1 when the chain is not valid. Owners and admins on an Enterprise plan only.
Options
--start-sequencenumberFirst sequence number to check
--end-sequencenumberLast sequence number to check
--max-logsnumberMost records to check, 1 to 10000 (default 1000)
Example
pf audit-verify
pf audit-verify --max-logs 5000 --json- 1.
Confirm the workspace
Run
pf workspace currentand confirm you are an owner or admin there. - 2.
Choose a range and format
Use the smallest useful date range and the JSON, CSV, or CEF format you need.
- 3.
Write to a file
Use --output so a large evidence set does not print into shared terminal logs.
- 4.
Check the result
Inspect the first and last event timestamps, the filter, and the record count before handing off the file.
- 5.
Protect the export
Follow the workspace's security process. The file may contain member, identity, and setting activity.
pf workspace current
pf audit-logs --since 2026-07-01 --format json --output audit.json
pf audit-logs --since 2026-07-01 --format cef --output audit.cefClient portals
The list and view commands need a credential with portals:read. Every command that changes a portal, its feedback, or its reports needs portals:write. A portal is an ID or, for a public portal, its slug. Lists print one page and the cursor for the next. Add --json to get the full records. The Client Portals API lists who can use each route, and guest email addresses show only to owners and admins.
pf portals listList portals, newest first. Needs an owner or admin.
alias: pf portals ls
Options
--statusstringOnly active or revoked portals
--limitnumberResults per page, from 1 to 100 (default 50)
--cursorstringContinue from the cursor a previous page printed
--allbooleanFollow every cursor, stopping after 10,000 rows, and print one list
--pagebooleanWith --json, keep hasMore and nextCursor in the output
Example
pf portals list --status activepf portals view <portal>Show a portal's settings, guest and item counts, and links. The portal is an ID or the slug of a public portal.
alias: pf portals show
Example
pf portals view acme-updatespf portals create <name>Create a portal. Needs an owner or admin and portals:write. The portal link token is not printed. Use pf portals rotate-token to get one.
Options
--descriptionstringShort description
--projectsstringrequiredComma-separated project IDs or slugs the portal can share from. A portal always has at least one project
--templatestringclient_review (default), public_updates_feedback, or private_updates
--slugstringPublic address. Required for public_updates_feedback
--downloadsstringon or off. Whether guests can download shared files
--idempotency-keystringRetry-safe request key. Reuse it to retry without repeating the change
Example
pf portals create "Northwind review" --projects launch,brandpf portals update <portal>Change a portal's settings. Pass at least one flag. An empty --description, --welcome-note, or --home-doc clears it.
Options
--namestringNew name
--descriptionstringNew description
--welcome-notestringNote guests see first
--home-docstringID or identifier of a shared doc the portal opens on while Updates is off
--projectsstringComma-separated project IDs or slugs. Replaces the current list, and the list needs at least one project
--replace-all-projectsbooleanNeeded with --projects on a portal that covers more than 100 projects, because view shows only the first 100
--downloadsstringon or off. Whether guests can download shared files
--discussionstringon or off. The portal discussion
--brandingstringon or off. Show Project Feed branding to guests
--name-displaystringfullname or username
--expected-updated-atnumberFail with 412 if the portal changed since this updatedAt (Unix ms)
Example
pf portals update ptl_abc123 --name "Northwind launch review" --discussion offpf portals revoke <portal>Close a portal. Guests lose access. Asks for confirmation in a terminal.
Options
--confirmbooleanSkip the confirmation prompt
--expected-updated-atnumberFail with 412 if the portal changed since this updatedAt (Unix ms)
Example
pf portals revoke ptl_abc123 --confirmpf portals rotate-token <portal>Reset the portal's private link and print the new token once. The old token stops working at once. Do not paste the output into logs, tasks, or posts.
Options
--confirmbooleanSkip the confirmation prompt
Example
pf portals rotate-token ptl_abc123pf portals events <portal>List what guests and the team did on a portal, newest first. Needs an owner or admin.
Options
--typestringOnly events of this type, such as client_feed.feedback_created
--sincestringOnly events after this time: Unix milliseconds, YYYY-MM-DD, or an ISO timestamp with a timezone
--limitnumberResults per page, from 1 to 100 (default 50)
--cursorstringContinue from the cursor a previous page printed
--allbooleanFollow every cursor, stopping after 10,000 rows, and print one list
--pagebooleanWith --json, keep hasMore and nextCursor in the output
Example
pf portals events ptl_abc123 --type client_feed.feedback_created --since 2026-10-01pf portals insights <portal>Show visits and feedback, the median time to a first open, and who opened each shared item. Needs an owner or admin.
Options
--weeksnumberWeeks to cover: 4, 12, or 26 (default 12)
Example
pf portals insights ptl_abc123 --weeks 4pf portals check-slug <slug>Check that a public portal address is valid and free. Needs an owner or admin.
Example
pf portals check-slug acme-updatespf portals branding <portal>Change a portal's theme or accent color, or remove its logo or banner. Needs an owner or admin and a portal that is not read-only. Upload a logo with a portalLogo destination in pf media upload.
Options
--themestringsystem, light, or dark
--accent-colorstringAccent color such as #10B981
--clear-accent-colorbooleanRemove the accent color
--clear-logobooleanRemove the portal logo
--clear-bannerbooleanRemove the portal banner
--expected-updated-atnumberFail with 412 if the portal changed since this updatedAt (Unix ms)
Example
pf portals branding ptl_abc123 --theme light --accent-color "#10B981"pf portals sections <portal>Choose which sections guests see. Sections you leave out keep their setting. Needs an owner or admin and a portal that is not read-only.
Options
--updatesstringon or off. The Updates section
--feedbackstringon or off. The Feedback section
--filesstringon or off. The Files section
--docsstringon or off. The Docs section
--commentsstringon or off. Guest comments on a public portal
--expected-updated-atnumberFail with 412 if the portal changed since this updatedAt (Unix ms). Settings that merge default it to the updatedAt the command read
Example
pf portals sections ptl_abc123 --feedback on --comments offpf portals links <portal>Replace the links shown on a portal. Links must be https addresses. Needs an owner or admin and a portal that is not read-only.
Options
--linkstringA link as label=url. Repeat for each link
--featured-linkstringA link as label=url, shown as a large button at the top of a public portal. Up to 3
--clearbooleanRemove every link
--expected-updated-atnumberFail with 412 if the portal changed since this updatedAt (Unix ms)
Example
pf portals links ptl_abc123 --link "Status=https://status.example.com" --link "Docs=https://docs.example.com"pf portals launch <portal>Set the release date, release text and trailer shown at the top of a public portal. Details you don't pass keep their value. Needs an owner or admin and a portal that is not read-only.
Options
--release-datestringRelease day as YYYY-MM-DD. Empty text clears it
--release-labelstringShort text such as Coming spring 2027. Empty text clears it
--trailerstringhttps YouTube or Vimeo link. Empty text clears it
--clearbooleanRemove every launch detail
--expected-updated-atnumberFail with 412 if the portal changed since this updatedAt (Unix ms)
Example
pf portals launch ptl_abc123 --release-date 2027-03-14 --trailer "https://youtu.be/dQw4w9WgXcQ"pf portals subscribers list <portal>List the confirmed addresses on a public portal's mailing list, newest first. Needs an owner or admin.
Options
--limitnumberMax results, 1 to 50. Default 50
--cursorstringCursor from a previous page
Example
pf portals subscribers list ptl_abc123pf portals subscribers remove <portal> <subscriber>Remove an address from a public portal's mailing list. Needs an owner or admin.
Example
pf portals subscribers remove ptl_abc123 sub_abc123pf portals access <portal> <access>Open a portal to anyone with its address (public), or limit it to invited guests. A portal needs a slug the first time it goes public, and public portals need a plan that allows them. Needs an owner or admin and a portal that is not read-only.
Options
--slugstringPublic address. Check it first with pf portals check-slug
--expected-updated-atnumberFail with 412 if the portal changed since this updatedAt (Unix ms)
Example
pf portals access ptl_abc123 public --slug acme-updatespf portals indexing <portal> <switch>Let search engines index a public portal (on), or keep them out (off). Invited portals are never indexed. Needs an owner or admin and a portal that is not read-only.
Options
--expected-updated-atnumberFail with 412 if the portal changed since this updatedAt (Unix ms)
Example
pf portals indexing ptl_abc123 onpf portals feedback-config <portal>Change a portal's feedback form. Settings you leave out keep their value. Needs an owner or admin and a portal that is not read-only.
Options
--introstringText above the form. Empty text clears it
--pausedstringon or off. Stop taking new feedback
--allow-emailstringon or off. Let reporters leave an email address
--allow-screenshotsstringon or off. Let reporters attach screenshots
--destination-projectstringProject ID that receives tasks from reports. Empty text clears it
--categoriesstringThe whole category list as JSON, or @path to a JSON file. Each category has key, label, and fields
--expected-updated-atnumberFail with 412 if the portal changed since this updatedAt (Unix ms). Settings that merge default it to the updatedAt the command read
Example
pf portals feedback-config ptl_abc123 --paused onpf portals updates-config <portal>Change a portal's updates layout and auto-publish rules. Settings you leave out keep their value. Needs an owner or admin and a portal that is not read-only.
Options
--layoutstringinbox or timeline. A timeline makes it an Updates portal
--review-actionsstringon or off. Let invited guests approve or request changes
--auto-publishstringon or off. Publish matching posts without a manual share
--auto-publish-projectsstringComma-separated project IDs auto-publish draws from. They must be in the portal
--auto-publish-tagsstringComma-separated tag IDs a post needs. Empty text clears them
--expected-updated-atnumberFail with 412 if the portal changed since this updatedAt (Unix ms). Settings that merge default it to the updatedAt the command read
Example
pf portals updates-config ptl_abc123 --layout timeline --auto-publish on --auto-publish-projects prj_abc123pf portals moderation-config <portal>Choose how new member comments are held on a public portal. Needs an owner or admin.
Options
--hold-new-membersstringon or off. Hold a new member's first comments for approval
--approvals-to-trustnumberApproved comments that make a member trusted, from 0 to 20
--expected-updated-atnumberFail with 412 if the portal changed since this updatedAt (Unix ms). Settings that merge default it to the updatedAt the command read
Example
pf portals moderation-config ptl_abc123 --hold-new-members on --approvals-to-trust 3pf portals apply-template <portal> <template>Reset a portal's kind, sections, updates settings, and discussion switch to a preset: client_review, public_updates_feedback, or private_updates. The preset must match whether the portal is public. Asks for confirmation in a terminal. Needs an owner or admin.
Options
--confirmbooleanSkip the confirmation prompt
--expected-updated-atnumberFail with 412 if the portal changed since this updatedAt (Unix ms)
Example
pf portals apply-template ptl_abc123 private_updates --confirmpf portals members list <portal>List the people who joined a public portal, newest first, with their block state. Needs an owner or admin.
alias: pf portals members ls
Options
--limitnumberResults per page, from 1 to 50 (default 50)
--cursorstringContinue from the cursor a previous page printed
--allbooleanFollow every cursor, stopping after 10,000 rows, and print one list
--pagebooleanWith --json, keep hasMore and nextCursor in the output
Example
pf portals members list ptl_abc123pf portals members block <portal> <member>Block a member so they can no longer comment. Needs an owner or admin.
Options
--hide-allbooleanAlso hide what the member already posted
Example
pf portals members block ptl_abc123 pmb_abc123 --hide-allpf portals members unblock <portal> <member>Lift a member's block. Needs an owner or admin.
Example
pf portals members unblock ptl_abc123 pmb_abc123pf portals comments list <portal>List the comments waiting for approval on a public portal, or one shared post's comments with --item. Needs an owner or admin.
alias: pf portals comments ls
Options
--itemstringList the comments on this shared item instead
--statestringWith --item: visible, pending, or hidden (default visible)
--limitnumberResults per page, from 1 to 50 (default 50)
--cursorstringContinue from the cursor a previous page printed
--allbooleanFollow every cursor, stopping after 10,000 rows, and print one list
--pagebooleanWith --json, keep hasMore and nextCursor in the output
Example
pf portals comments list ptl_abc123
pf portals comments list ptl_abc123 --item itm_abc123 --state hiddenpf portals comments reply <portal> <item>Comment on a shared post as the team, or reply to a visible top-level comment. The comment shows at once. Needs access to the post, and the portal must be public with comments on.
Options
--contentstringrequiredComment text, 1 to 4000 characters
--parentstringID of the comment to reply to
--idempotency-keystringRetry-safe request key
Example
pf portals comments reply ptl_abc123 itm_abc123 --content "Thanks, a new version is coming Friday."pf portals comments approve <portal> <comment>Approve a comment that waits for approval. Needs an owner or admin.
Options
--expected-edited-atstringApprove only if the comment's editedAt is this value (Unix ms), or none if it was never edited
Example
pf portals comments approve ptl_abc123 cmt_abc123 --expected-edited-at nonepf portals comments reject <portal> <comment>Reject a comment that waits for approval. Needs an owner or admin.
Options
--expected-edited-atstringReject only if the comment's editedAt is this value (Unix ms), or none if it was never edited
Example
pf portals comments reject ptl_abc123 cmt_abc123pf portals comments hide <portal> <comment>Hide a visible comment. Needs an owner or admin.
Example
pf portals comments hide ptl_abc123 cmt_abc123pf portals comments unhide <portal> <comment>Show a hidden comment again. Needs an owner or admin.
Example
pf portals comments unhide ptl_abc123 cmt_abc123pf portals contacts list <portal>List the guests invited to a portal. Needs an owner or admin.
alias: pf portals contacts ls
Options
--statusstringOnly active or revoked guests
--limitnumberResults per page, from 1 to 100 (default 50)
--cursorstringContinue from the cursor a previous page printed
--allbooleanFollow every cursor, stopping after 10,000 rows, and print one list
--pagebooleanWith --json, keep hasMore and nextCursor in the output
Example
pf portals contacts list ptl_abc123 --status activepf portals contacts add <portal> <email>Invite a guest to an invited portal and email them. An email that already has access gets no new invite.
Options
--namestringGuest name
--idempotency-keystringRetry-safe request key. Reuse it to retry without repeating the change
Example
pf portals contacts add ptl_abc123 dana@example.com --name "Dana Guest"pf portals contacts resend <portal> <contactId>Send a guest their invite again.
Example
pf portals contacts resend ptl_abc123 ctc_abc123pf portals contacts remove <portal> <contactId>Remove a guest's access to a portal. Asks for confirmation in a terminal.
alias: pf portals contacts rm
Options
--confirmbooleanSkip the confirmation prompt
Example
pf portals contacts remove ptl_abc123 ctc_abc123pf portals items list <portal>List the posts shared on a portal with each client's latest verdict. Needs an owner or admin.
alias: pf portals items ls
Options
--include-revokedbooleanInclude items taken off the portal
--limitnumberResults per page, from 1 to 100 (default 50)
--cursorstringContinue from the cursor a previous page printed
--allbooleanFollow every cursor, stopping after 10,000 rows, and print one list
--pagebooleanWith --json, keep hasMore and nextCursor in the output
Example
pf portals items list ptl_abc123pf portals items share <portal> <post>Share a published post version on a portal. The post is an ID or an identifier. Needs the same permission as sharing in the app.
Options
--versionnumberVersion to share (default: the current version)
--idempotency-keystringRetry-safe request key. Reuse it to retry without repeating the change
Example
pf portals items share ptl_abc123 LAUNCH-4 --version 3pf portals items revoke <portal> <itemId>Take a shared post off a portal. Needs an owner or admin. Asks for confirmation in a terminal.
Options
--confirmbooleanSkip the confirmation prompt
Example
pf portals items revoke ptl_abc123 itm_abc123pf portals items decision <portal> <itemId>Ask the client to approve or request changes on a shared post. The portal needs review actions turned on.
Options
--cancelbooleanWithdraw the request instead
Example
pf portals items decision ptl_abc123 itm_abc123pf portals discussion view <portal>Show a portal's discussion thread and room IDs without creating the thread. Use them with pf chat.
alias: pf portals discussion show
Example
pf portals discussion view ptl_abc123pf portals discussion open <portal>Create the portal's discussion thread if it has none and print its thread and room IDs. Needs an owner or admin.
Example
pf portals discussion open ptl_abc123pf portals docs list <portal>List the docs shared on a portal with each doc's access level, including shares guests can no longer see, which show no under Guests see it. Warns when the list stopped at its 100-share limit. Needs an owner or admin.
alias: pf portals docs ls
Options
--pagebooleanWith --json, keep the truncated field in the output
Example
pf portals docs list ptl_abc123pf portals docs share <portal> <doc>Share a doc on a portal. The doc is an ID or an identifier. Needs an owner or admin.
Options
--accessstringview (default), comment, or edit
--subpagesstringon lets guests read the doc's subpages, view only. off turns it back off
--idempotency-keystringRetry-safe request key. Reuse it to retry without repeating the change
Example
pf portals docs share ptl_abc123 SCOPE-1 --access commentpf portals docs access <portal> <doc> <level>Change how guests can use a shared doc: view, comment, or edit.
Example
pf portals docs access ptl_abc123 SCOPE-1 viewpf portals docs revoke <portal> <doc>Stop sharing a doc on a portal. Asks for confirmation in a terminal.
Options
--confirmbooleanSkip the confirmation prompt
Example
pf portals docs revoke ptl_abc123 SCOPE-1pf portals feedback listList open client feedback across every portal, or the feedback on one portal or one post. The inbox and a portal's feedback need an owner or admin.
alias: pf portals feedback ls
Options
--portalstringFeedback on this portal (ID or public slug)
--poststringFeedback on this post (ID or identifier). Cannot be combined with --portal
--statusstringWith --portal: open (default) or all
--limitnumberResults per page, from 1 to 100 (default 50)
--cursorstringContinue from the cursor a previous page printed
--allbooleanFollow every cursor, stopping after 10,000 rows, and print one list
--pagebooleanWith --json, keep hasMore and nextCursor in the output
Example
pf portals feedback list
pf portals feedback list --portal acme-updates --status all
pf portals feedback list --post LAUNCH-4pf portals feedback countCount open client feedback threads across every portal. Needs an owner or admin.
Example
pf portals feedback countpf portals feedback view <feedbackId>Show a feedback thread with every reply. Use the ID of the first message or of any reply.
alias: pf portals feedback show
Example
pf portals feedback view fbk_abc123pf portals feedback create <itemId>Start a team message thread on a shared portal item. The guests see it. Needs portals:write and access to the post. If the message mentions workspace items the portal has not shared, nothing is sent and the command lists them.
Options
--contentstringMessage text, up to 5000 characters
--formatstringplaintext or markdown
--idempotency-keystringRetry-safe request key. Reuse it to retry without sending twice
Example
pf portals feedback create itm_abc123 --content "Thanks for the notes. A new version is coming Friday."pf portals feedback reply <feedbackId>Reply in a feedback thread. A reply to the guests emails them, and a reply that mentions unshared workspace items is not sent.
Options
--contentstringMessage text, up to 5000 characters
--formatstringplaintext or markdown
--audiencestringclient (default) shows the reply to the guests. workspace is a team-only note
--idempotency-keystringRetry-safe request key. Reuse it to retry without sending twice
Example
pf portals feedback reply fbk_abc123 --content "Fixed in version 3"
pf portals feedback reply fbk_abc123 --content "Check the logo spec first" --audience workspacepf portals feedback resolve <feedbackId>Resolve a feedback thread. When the guest asked for changes, the fix goes to the guest for sign-off instead and the thread stays open until they verify it. With --no-changes-needed the thread closes with no task or new version, or without sign-off when the guest never checked the fix, and the guest can still reopen it.
Options
--no-changes-neededbooleanClose a thread that needs no work, or end a round the guest never checked
--expected-updated-atnumberFail with 412 if the thread changed since this updatedAt (Unix ms)
Example
pf portals feedback resolve fbk_abc123pf portals feedback reopen <feedbackId>Reopen a resolved feedback thread. Only the guest can reopen a thread that waits on their sign-off.
Options
--expected-updated-atnumberFail with 412 if the thread changed since this updatedAt (Unix ms)
Example
pf portals feedback reopen fbk_abc123pf portals feedback address <feedbackId>Tell the guest a change request was fixed in a newer shared version so they can verify it. Every linked task must be done and a newer version must be shared on the portal.
Options
--itemstringPortal item that holds the fix (default: the current shared version)
--expected-updated-atnumberFail with 412 if the thread changed since this updatedAt (Unix ms)
Example
pf portals feedback address fbk_abc123pf portals feedback status <feedbackId> <status>Set a thread's team status: open, needs_changes, approved, or resolved. Only the guest can approve a change request.
Options
--expected-updated-atnumberFail with 412 if the thread changed since this updatedAt (Unix ms)
Example
pf portals feedback status fbk_abc123 needs_changespf portals feedback react <feedbackId> <emoji>Add, remove, or toggle your emoji reaction on a feedback message.
Options
--actionstringadd, remove, or toggle (default toggle). Use add or remove to retry safely
Example
pf portals feedback react fbk_abc123 👍 --action addpf portals submissions listList bug reports and requests sent through portals, newest first. Needs an owner, an admin, or a portal publisher grant. With --task, anyone who can open the task can list its reports.
alias: pf portals submissions ls
Options
--portalstringReports sent to this portal (ID or public slug)
--statusstringnew, accepted, duplicate, dismissed, or spam
--categorystringReports in this category key, such as bug
--needs-replybooleanOnly reports waiting for a team reply. Cannot be combined with --status or --category
--taskstringReports linked to this task (ID, identifier, or number). Cannot be combined with the other filters
--limitnumberResults per page, from 1 to 50 (default 50). With --task the most is 10
--cursorstringContinue from the cursor a previous page printed
--allbooleanFollow every cursor, stopping after 10,000 rows, and print one list
--pagebooleanWith --json, keep hasMore and nextCursor in the output
Example
pf portals submissions list --status new
pf portals submissions list --task LAUNCH-12pf portals submissions view <submissionId>Show a report with its replies.
alias: pf portals submissions show
Example
pf portals submissions view sub_abc123pf portals submissions task <submissionId>Create a task from a report and link the two. The report must be new or dismissed. Needs an owner or admin and write access to the project.
Options
--projectstringProject for the task (default: the portal's feedback destination project)
--titlestringTask title (default: the report title)
--expected-updated-atnumberFail with 412 if the report changed since this updatedAt (Unix ms)
--idempotency-keystringRetry-safe request key. Reuse it to retry without repeating the change
Example
pf portals submissions task sub_abc123 --project launchpf portals submissions link-task <submissionId> <task>Link a report to an existing task as a duplicate, or move a report that already has a task to a different one. To unlink a report, reopen it. A spam report must be unmarked first.
Options
--expected-updated-atnumberFail with 412 if the report changed since this updatedAt (Unix ms)
Example
pf portals submissions link-task sub_abc123 LAUNCH-12pf portals submissions reply <submissionId>Reply to a report. The reporter sees the reply and is emailed when they left an address.
Options
--bodystringrequiredReply text
--idempotency-keystringRetry-safe request key. Reuse it to retry without repeating the change
Example
pf portals submissions reply sub_abc123 --body "A fix ships Friday."pf portals submissions dismiss <submissionId>Dismiss a new report without making a task. Needs an owner or admin.
Options
--expected-updated-atnumberFail with 412 if the report changed since this updatedAt (Unix ms)
Example
pf portals submissions dismiss sub_abc123pf portals submissions spam <submissionId>Mark a new report as spam. This also blocks that reporter and their network address on the portal. Needs an owner or admin.
Options
--expected-updated-atnumberFail with 412 if the report changed since this updatedAt (Unix ms)
Example
pf portals submissions spam sub_abc123pf portals submissions unspam <submissionId>Move a spam report back to new and lift the blocks. Needs an owner or admin.
Options
--expected-updated-atnumberFail with 412 if the report changed since this updatedAt (Unix ms)
Example
pf portals submissions unspam sub_abc123pf portals submissions reopen <submissionId>Move an accepted, duplicate, or dismissed report back to new and unlink its task. Needs an owner or admin.
Options
--expected-updated-atnumberFail with 412 if the report changed since this updatedAt (Unix ms)
Example
pf portals submissions reopen sub_abc123pf portals submissions board <submissionId> <state>Show a report on a public portal's voting board (on) or hide it (off). Needs an owner or admin.
Options
--public-titlestringTitle visitors see on the board
--expected-updated-atnumberFail with 412 if the report changed since this updatedAt (Unix ms)
Example
pf portals submissions board sub_abc123 on --public-title "CSV export times out"Count and verify audit events
pf audit-stats counts events in a range by category, status, and retention. pf audit-verify checks the hash chain and exits with code 1 when a record fails, so a scheduled job can alert on it. Both need an Enterprise plan and an owner or admin. When a page of pf audit-logs output has more records, it prints a cursor. Pass it back as --cursor with the same filters. Only JSON output prints the cursor.
Reports
Reports show what the key's owner can open. Every report needs a Pro plan. The table view prints a few headline figures. Add --json for the full report. A note appears when the result stopped at a read or series limit. Narrow a report to one project with --in-project. The global --project option does the same, except for pf reports agent-access, which covers the whole workspace.
pf reports overviewPosts, comments, reactions, active members, new members, and the top contributor. Use --json for comparisons with the previous period and the full series. Needs a Pro plan.
Options
--fromstringStart of the range: Unix milliseconds, a date, or an ISO time (default 30 days ago)
--tostringEnd of the range (default now)
--in-projectstringOnly this project, by ID or slug
--memberstringOnly this member's work: a user ID, or me
Example
pf reports overview --from 2026-10-01pf reports activityEverything people did, counted by category: posts, comments, reactions, task updates, task comments, docs, canvas, chat, and portal. Use --json for daily counts and the most active members and projects. Needs a Pro plan.
Options
--fromstringStart of the range: Unix milliseconds, a date, or an ISO time (default 30 days ago)
--tostringEnd of the range (default now)
--in-projectstringOnly this project, by ID or slug
Example
pf reports activity --in-project launchpf reports storageFiles and storage added, the workspace total, the top file type, and the top uploader. Needs a Pro plan.
Options
--fromstringStart of the range: Unix milliseconds, a date, or an ISO time (default 30 days ago)
--tostringEnd of the range (default now)
--in-projectstringOnly this project, by ID or slug
--memberstringOnly this member's work: a user ID, or me
Example
pf reports storagepf reports agent-accessRequests, writes, and errors made through the API, the CLI, and MCP. Use --json for daily counts and the busiest clients, operations, and members. Needs a Pro plan.
Options
--fromstringStart of the range: Unix milliseconds, a date, or an ISO time (default 30 days ago)
--tostringEnd of the range (default now)
--memberstringOnly this member's work: a user ID, or me
Example
pf reports agent-access --member mepf reports deliveryTasks completed, created, open, and overdue, with cycle time. The table shows headline figures. Use --json for the full report. Needs a Pro plan.
Options
--fromstringStart of the range: Unix milliseconds, a date, or an ISO time (default 30 days ago)
--tostringEnd of the range (default now)
--in-projectstringOnly this project, by ID or slug
--memberstringOnly this member's work: a user ID, or me
Example
pf reports delivery
pf reports delivery --from 2026-09-15 --to 2026-10-15 --in-project launchpf reports timeTracked time with the top project. Use --json for the daily, project, member, and source series. Needs a Pro plan.
Options
--fromstringStart of the range: Unix milliseconds, a date, or an ISO time (default 30 days ago)
--tostringEnd of the range (default now)
--in-projectstringOnly this project, by ID or slug
--memberstringOnly this member's work: a user ID, or me
Example
pf reports time --member mepf reports reviewAnnotations, comments, resolution rate, and first response time on published posts. Needs a Pro plan.
Options
--fromstringStart of the range: Unix milliseconds, a date, or an ISO time (default 30 days ago)
--tostringEnd of the range (default now)
--in-projectstringOnly this project, by ID or slug
--memberstringOnly this member's work: a user ID, or me
Example
pf reports review --from 2026-10-01pf reports agentsHandoffs to agents and connected tools, with accept rate. Use --json for wait times and per-tool activity. Needs a Pro plan.
Options
--fromstringStart of the range: Unix milliseconds, a date, or an ISO time (default 30 days ago)
--tostringEnd of the range (default now)
--in-projectstringOnly this project, by ID or slug
--memberstringOnly this member's work: a user ID, or me
Example
pf reports agentspf reports attentionCounts of overdue, unassigned, stuck, stale, unanswered, and awaiting-review work as of now. Takes no range. Needs a Pro plan.
Options
--in-projectstringOnly this project, by ID or slug
--memberstringOnly this member's work: a user ID, or me
Example
pf reports attention --in-project launchFor one project, pf projects analytics and pf projects heatmap show task mix and activity by weekday and hour. Your own numbers are in pf me stats.
Workspace data exports
A complete workspace export is for the workspace owner on an Enterprise plan. The commands start and track the export. They do not download the archive. Download a finished archive from Settings, Data export in the app. One complete export is available every 30 days.
pf exports listList the latest exports and say whether a new one can be requested. Use --json for allowed, reason, and nextEligibleAt.
alias: pf exports ls
Example
pf exports listpf exports requestStart a complete workspace export, or return the one already queued or running. One complete export is available every 30 days.
Options
--idempotency-keystringRetry key, so a repeated command does not start two exports
Example
pf exports requestpf exports view <id>Show one export with its status, progress, size, and the date its archive stays available
Example
pf exports view <export-id>pf exports revoke <id>Revoke an export so its archive can no longer be downloaded
Options
--confirmbooleanSkip confirmation prompt
--dry-runbooleanPreview without making changes
Example
pf exports revoke <export-id> --dry-runChat integrations
These commands cover Slack and Discord connections. Connecting a workspace and removing a connection stay in Settings in the app. Viewers cannot use these commands. Steamworks, Perforce, GitHub and similar integrations, backfill imports, identity linking, and Figma are not in the CLI yet.
pf integrations listList the workspace's Slack and Discord connections with their status, mapping count, and linked users. A count followed by + is at least that number.
alias: pf integrations ls
Example
pf integrations listpf integrations view <connectionId>Show one connection with its granted scopes, whether they match what was requested, and token health
Example
pf integrations view <connection-id>pf integrations mappings <connectionId>List the channel mappings of a connection
Options
--limitnumberMax results per page
--cursorstringContinue from nextCursor
Example
pf integrations mappings <connection-id> --limit 20pf integrations map <connectionId>Map a Slack or Discord channel to a project. The workspace's channel mapping policy decides who may do this. Owners and admins always can.
Options
--channelstringrequiredChannel ID on the platform
--namestringrequiredChannel name
--target-projectstringProject the channel maps to, by ID or slug. The global --project also works.
--directionstringoutbound, inbound, or both
--eventsstringComma-separated event names to send to the channel, up to 50
--public-linksbooleanInclude public links in messages (outbound or both)
--no-public-linksbooleanLeave public links out of messages
--inbound-configstringInbound settings as a JSON object, or @path to a JSON file
--idempotency-keystringRetry key, so a repeated command does not map twice
Example
pf integrations map <connection-id> --target-project launch --channel C0123456789 --name launch-updates --direction outbound --events task.completed,post.published
pf integrations map <connection-id> --target-project launch --channel C0123456789 --name launch-intake --direction inbound --inbound-config @inbound.jsonpf integrations map-edit <connectionId> <mappingId>Change a channel mapping. Moving it to another project is for owners and admins. At least one change is required.
Options
--namestringNew channel name
--target-projectstringProject the channel maps to, by ID or slug. The global --project also works.
--directionstringoutbound, inbound, or both
--eventsstringComma-separated event names to send to the channel, up to 50
--public-linksbooleanInclude public links in messages (outbound or both)
--no-public-linksbooleanLeave public links out of messages
--inbound-configstringInbound settings as a JSON object, or @path to a JSON file
--expected-updated-atnumberFail with 412 if the mapping changed since this updatedAt
Example
pf integrations map-edit <connection-id> <mapping-id> --events task.completed --no-public-links
pf integrations map-edit <connection-id> <mapping-id> --target-project other-projectpf integrations unmap <connectionId> <mappingId>Remove a channel mapping and its digest settings. The channel itself is untouched.
Options
--confirmbooleanSkip confirmation prompt
--dry-runbooleanPreview without making changes
Example
pf integrations unmap <connection-id> <mapping-id> --dry-runpf integrations eventsList recent integration events, newest first. Owners and admins see the whole workspace. Other members must pass a project.
Options
--in-projectstringOnly events for this project, by ID or slug. The global --project also works.
--sincestringOnly events after this time: Unix milliseconds, a date, or an ISO time
--limitnumberMax results per page
--cursorstringContinue from nextCursor
Example
pf integrations events
pf integrations events --in-project launch --since 2026-10-01pf integrations betterstack statusShow the Better Stack connection and its task and write-back settings. Owners and admins only.
Example
pf integrations betterstack statuspf integrations betterstack connectConnect Better Stack with an Uptime API token. Project Feed checks the token and registers an incident webhook in Better Stack.
Options
--tokenstringBetter Stack API token. BETTERSTACK_API_TOKEN also works.
--token-stdinbooleanRead the API token from stdin
--teamstringBetter Stack team, required for a global token
Example
printf %s "$BETTERSTACK_TOKEN" | pf integrations betterstack connect --token-stdinpf integrations betterstack settingsTurn task creation or write-back on or off.
Options
--create-tasksstringon or off: new and reopened incidents become tasks
--write-backstringon or off: task status changes acknowledge, resolve, or reopen the incident
Example
pf integrations betterstack settings --write-back onpf integrations betterstack disconnectDisconnect Better Stack. Removes its webhook in Better Stack, the stored token, and every mapping.
Options
--confirmbooleanSkip confirmation prompt
Example
pf integrations betterstack disconnect --confirmpf integrations betterstack status-page-urlPrint the secret URL to paste into a webhook subscription on each mapped status page. Needs integrations:write.
Example
pf integrations betterstack status-page-urlpf integrations betterstack sourcesList the Better Stack monitors, heartbeats, and status pages that can be mapped.
Options
--kindstringmonitor, heartbeat, or status_page
Example
pf integrations betterstack sources --kind monitorpf integrations betterstack mappingsList mapped Better Stack sources and their task setting.
Example
pf integrations betterstack mappingspf integrations betterstack map <sourceId>Map a Better Stack monitor, heartbeat, or status page to a project.
Options
--kindstringrequiredmonitor, heartbeat, or status_page
--target-projectstringProject to map to. The global --project also works.
--create-tasksstringon or off: override the connection setting for this source
Example
pf integrations betterstack map 2049117 --kind monitor --target-project platformpf integrations betterstack map-edit <mappingId>Move a Better Stack mapping to another project or change its task setting.
Options
--target-projectstringMove the mapping to this project
--create-tasksstringon, off, or default to follow the connection
Example
pf integrations betterstack map-edit <mapping-id> --create-tasks defaultpf integrations betterstack unmap <mappingId>Remove a Better Stack mapping. Synced tasks and activity stay.
Options
--confirmbooleanSkip confirmation prompt
Example
pf integrations betterstack unmap <mapping-id> --confirmRaw API access
pf api uses your active profile and applies the same permissions and rate limits as other CLI commands. Run pf api --help for more examples.
pf api <method> <path>Call an API path with your credential injected. Supports GET, POST, PUT, PATCH, and DELETE, case-insensitive.
Options
--datastringRequest body as a JSON string
--inputstringRead a JSON body from a UTF-8 file. Use - for piped standard input. Cannot be combined with --data.
--paramstringQuery parameter as key=value. Repeatable. The last value for a key wins.
-f, --raw-fieldstringAdd a string field as key=value. GET and DELETE send it as a query parameter; other methods put it in the JSON body. Repeatable. key[sub]=value nests an object and key[]=value appends to an array in a body.
-F, --fieldstringAdd a typed field as key=value. true, false, null, and whole numbers are converted, and @path reads a file (@- reads standard input). Repeatable.
-i, --includebooleanPrint the HTTP status and response headers before the body. With --json, --jq, or --template they go to standard error.
--paginatebooleanOn a GET, follow nextCursor and merge the pages into one response: every list field, such as tasks and removed, is joined across pages, and the other fields come from the last page. It stops after 100 pages or 10,000 rows.
--slurpbooleanWith --paginate, print an array of the raw pages instead of merging them.
Example
pf api GET /projects --param limit=10
pf api GET /tasks -f status=todo --paginate --jq '.tasks[].identifier'
pf api POST /tasks -f title="Fix login" -F projectId=abc123 -F priority=2
pf api POST /posts --data '{"title": "Sprint update", "content": "The login fix is ready for review.", "projectId": "abc123"}'
pf api PATCH /tasks/<id> --input task.json
cat task.json | pf api PATCH /tasks/<id> --input -
pf api GET /auth/check -iPaths start with / and are relative to the API base. Full URLs and fragments are rejected. GET and DELETE do not accept bodies. --data, --input, and -f/-F fields are mutually exclusive. Valid JSON primitives such as false, 0, an empty string, and null are sent as written. Invalid input exits with code 2 before authentication or a request. An HTTP 204 response prints JSON null.
pf api routes [filter]List the API routes your credential can call, with their scopes and the matching CLI commands. The list comes from the route manifest bundled with your installed pf, so it matches that version.
Options
--methodstringOnly routes for this HTTP method
--scopestringOnly routes that need this scope
Example
pf api routes tasks
pf api routes --method POST --scope tasks:write
pf api routes --jsonAdministrative safety
- Run a corresponding GET or list command before a mutation and save the exact resource ID.
- Use JSON output for scripts. Do not parse the human table or infer identity from a display name.
- Keep API keys, DNS provider credentials, audit files, and raw response bodies out of posts, tasks, screenshots, and shared logs.
- Check rate limits before a batch, bound pagination, and make retried writes idempotent where the API supports an idempotency key.
- Use a service account for owned automation instead of a personal token that disappears with one member.
Fix administrative CLI problems
- An administrative command returns 403
- Run pf auth check and verify the current workspace, member role, effective scopes, workspace access, and workspace policy. Owner-only and admin-only operations remain restricted through the CLI.
- A domain remains unverified
- Compare the exact record name, type, and value with public DNS. Wait for DNS propagation, check again, and trigger verification only after the public record matches.
- An audit export is empty
- Check the workspace and your role, then widen the date range or remove category filters one at a time. Save the query with the export.
- An audit export is missing records
- The export stops at --limit. Raise it up to 1000 or split the date range into smaller windows.
- A raw request returns 400
- Check the HTTP method, relative path, query parameter spelling, JSON body, and documented API version. Do not retry an unchanged invalid request.
- A batch is rate limited
- Read Retry-After or the rate-limit headers, stop parallel retries, and resume with bounded concurrency. Use pf limits to inspect current quota.