ptkl project
Manage projects, workspaces, invites, and project users from the command line.
Overview
ptkl project is the project control-plane: creating and inspecting projects, managing
workspaces within a project, inviting and managing project users, and configuring project-level
billing behavior (usage billing modes and automatic balance top-up).
Every subcommand resolves the active profile the same way as the rest of the toolkit, and every
read-shaped subcommand supports the standard output flags (-f/--format, -o/--output,
--template) plus the --env <dev|live> option.
Subcommands
| Subcommand | Description |
|---|---|
create |
Create a new project |
list |
List all projects for the current user |
info |
Get information about the current project |
archive |
Archive the current project |
settings |
Update project settings |
workspace create |
Create a new workspace |
workspace update |
Update a workspace |
workspace delete |
Delete a workspace |
invite |
Invite users to the current project |
invites |
List pending invites for the current project |
accept |
Accept a project invite |
users list |
List users in the current project |
users update |
Update a project user |
users remove |
Remove a user from the project |
billing-modes |
Get or update per-service usage billing mode overrides |
auto-topup |
Configure automatic balance top-up |
ptkl project create
Create a new project.
Options
| Option | Description |
|---|---|
-n, --name <name> |
Project name (required) |
-d, --description <description> |
Project description |
Example
ptkl project list
List all projects visible to the current user.
Example
ptkl project info
Get information about the project the active profile is scoped to.
Example
ptkl project archive
Archive the current project.
Warning
Archiving a project is a significant, potentially disruptive action — confirm you have the
right profile active (ptkl profile) before running this.
Example
ptkl project settings
Update project-level settings.
Options
| Option | Description |
|---|---|
-d, --data <json> |
Settings object as a JSON string (required) |
Example
ptkl project workspace
Manage workspaces within the current project.
ptkl project workspace create
| Option | Description |
|---|---|
-n, --name <name> |
Workspace name (required) |
-d, --description <description> |
Workspace description |
ptkl project workspace update
| Option | Description |
|---|---|
-u, --uuid <uuid> |
Workspace UUID (required) |
-d, --data <json> |
Fields to update, as a JSON object string (required) |
ptkl project workspace delete
| Option | Description |
|---|---|
-u, --uuid <uuid> |
Workspace UUID (required) |
ptkl project invite
Invite one or more users to the current project.
Options
| Option | Description |
|---|---|
-e, --emails <emails...> |
Email addresses to invite (required) |
-r, --roles <roles...> |
Role UUIDs to grant the invitees (required) |
Example
ptkl project invite \
--emails alice@example.com bob@example.com \
--roles 550e8400-e29b-41d4-a716-446655440000
ptkl project invites
List pending invites for the current project.
Example
ptkl project accept
Accept a pending project invite by UUID.
Options
| Option | Description |
|---|---|
-u, --uuid <uuid> |
Invite UUID (required) |
Example
ptkl project users
Manage users already in the current project (see ptkl users for inviting new
project members through the standalone users command; this subtree operates on project
membership records directly).
ptkl project users list
ptkl project users update
| Option | Description |
|---|---|
-u, --uuid <uuid> |
User UUID (required) |
-d, --data <json> |
Fields to update, as a JSON object string (required) |
ptkl project users remove
| Option | Description |
|---|---|
-u, --uuid <uuid> |
User UUID (required) |
ptkl project billing-modes
Get or update the project's per-service usage billing mode overrides (e.g. which services bill in credits vs. a subscription allowance).
Options
| Option | Description |
|---|---|
-s, --set <json> |
Usage billing modes to set, as a JSON object string (e.g. '{"kortex":"credits"}'); omit to read the current modes |
Example
# read current modes
ptkl project billing-modes
# update
ptkl project billing-modes --set '{"kortex":"credits"}'
ptkl project auto-topup
Configure automatic balance top-up for the current project: when the project balance drops below
--threshold, the platform automatically charges --amount.
Options
| Option | Description |
|---|---|
--enabled <enabled> |
Enable or disable auto top-up: true | false (required) |
--threshold <threshold> |
Balance threshold (in cents) that triggers a top-up (default: 0) |
--amount <amount> |
Amount (in cents) to top up when triggered (default: 0) |
Example
See Also
ptkl template— search, install, and manage project templatesptkl config— per-user configurationptkl users— invite and manage project usersptkl role— manage roles assigned to project users- Toolkit Overview — all available toolkit commands