org
Usage: deepline org [options] [command]
List, create, and set organizations.
Options:
-h, --help display help for command
Commands:
members List org members and manage their grants.
service-accounts Manage service accounts: members that are not
people and own API keys.
sso Manage Enterprise org SSO.
scim Manage SCIM user provisioning from your identity
provider (Enterprise).
workspace [options] Show which workspace this CLI acts in, or set it
with `set`.
default-workspace [options] Show this org's default workspace.
workspaces List and manage this org's workspaces.
logo [options] [url] Show, set, or remove the current organization's
logo.
list [options] List your organizations.
create [options] <name> Create a new organization and switch this CLI to
it.
status [options] Show the current organization and auth source.
set [options] [selection] Set the organization for the selected auth scope.
help [command] display help for command
org members
Usage: deepline org members [options] [command]
List org members and manage their grants.
Options:
-h, --help display help for command
Commands:
list [options] List one page of memberships and effective grants.
set-grants [options] <member-id> <grants...> Replace a member’s grants (read, run, admin). Requires admin.
help [command] display help for command
org members list
Usage: deepline org members list [options]
List one page of memberships and effective grants.
Options:
--cursor <cursor> Continue from the previous page
--json Output JSON
-h, --help display help for command
Explanation:
Purpose: List one page of members in the authenticated org.
Input: Optional --cursor from the previous page.
Output: members (id, userId, role, effective grants) and cursor (null at the end).
Cost: Does not spend credits.
org members set-grants
Usage: deepline org members set-grants [options] <member-id> <grants...>
Replace a member’s grants (read, run, admin). Requires admin.
Options:
--json Output JSON
-h, --help display help for command
Explanation:
Purpose: Replace an org member's grants. Requires an admin grant.
Input: a member id from org members list, followed by one or more grants:
read (explicitly read-only tools), run (any tool and existing Plays; cannot create or edit Plays), admin (tools and org management), member (existing access, including Play authoring).
Example: deepline org members set-grants <member-id> read
Multiple grants are additive. Run includes read; admin includes both and can create, edit, and publish Plays.
Existing member roles retain their permissions, including Play authoring. Only owners may change ownership,
and the last owner cannot be removed. Read-only tools may still spend credits.
Output: ok, memberId, and the stored role.
Cost: This command does not spend credits.
org service-accounts
Usage: deepline org service-accounts [options] [command]
Manage service accounts: members that are not people and own API keys.
Options:
-h, --help display help for command
Commands:
list [options] List service accounts and, for admins, their keys.
create [options] <name> Create a service account. Requires admin.
set-role [options] <service-account-id> <role> Change a service account’s role. Requires admin.
delete [options] <service-account-id> Delete a service account and revoke its keys. Requires admin.
keys Create, rotate and revoke a service account’s API key. A service account holds one active key.
help [command] display help for command
org service-accounts list
Usage: deepline org service-accounts list [options]
List service accounts and, for admins, their keys.
Options:
--json Output JSON
-h, --help display help for command
Explanation:
Purpose: List the org's service accounts: members that are not people and own API keys,
so production credentials keep working when people leave.
Input: none.
Output: serviceAccounts (id, name, role, activeKeyCount, lastUsedAt, createdAt; keys with id, keyPrefix,
keyLast4, createdAt, and lastUsedAt for admins, null for other members). Never key material.
Cost: Does not spend credits.
org service-accounts create
Usage: deepline org service-accounts create [options] <name>
Create a service account. Requires admin.
Options:
--role <role> read, run, or member
--json Output JSON
-h, --help display help for command
Explanation:
Purpose: Create a service account. Requires an admin grant.
Input: a name (1 to 64 characters, unique in the org ignoring case) and --role read, run, or member.
Service accounts cannot be admins or owners and cannot sign in.
Example: deepline org service-accounts create prod-pipeline --role run
Output: serviceAccount (id, name, role). Create its one key next with org service-accounts keys create <id>.
Cost: Does not spend credits.
org service-accounts set-role
Usage: deepline org service-accounts set-role [options] <service-account-id> <role>
Change a service account’s role. Requires admin.
Options:
--json Output JSON
-h, --help display help for command
Explanation:
Purpose: Change a service account's role. Requires an admin grant.
Input: a service account id from org service-accounts list, then read, run, or member.
The service account's key uses the new role on its next request.
Output: serviceAccount with the stored role.
Cost: Does not spend credits.
org service-accounts delete
Usage: deepline org service-accounts delete [options] <service-account-id>
Delete a service account and revoke its keys. Requires admin.
Options:
--json Output JSON
-h, --help display help for command
Explanation:
Purpose: Delete a service account. Requires an admin grant.
Input: a service account id from org service-accounts list.
Revokes its key and removes its org membership. Deleting twice is a no-op.
Output: id and revokedKeyCount.
Cost: Does not spend credits.
org service-accounts keys
Usage: deepline org service-accounts keys [options] [command]
Create, rotate and revoke a service account’s API key. A service account holds
one active key.
Options:
-h, --help display help for command
Commands:
create [options] <service-account-id> Create the API key for a service account that has none. Requires admin.
rotate [options] <service-account-id> Replace a service account’s API key: the old key stops working and the new one is shown once. Requires admin.
revoke [options] <service-account-id> <key-id> Revoke a service account API key. Requires admin.
help [command] display help for command
org service-accounts keys create
Usage: deepline org service-accounts keys create [options] <service-account-id>
Create the API key for a service account that has none. Requires admin.
Options:
--json Output JSON
-h, --help display help for command
Explanation:
Purpose: Create the API key for a service account that has none. Requires an admin grant.
A service account holds one active key; this fails with SERVICE_ACCOUNT_KEY_EXISTS while it has one.
Input: a service account id from org service-accounts list.
Output: apiKey (shown once; Deepline stores only its hash) and key (id, keyPrefix, keyLast4).
Store apiKey in your secret manager and set it as DEEPLINE_API_KEY where the job runs.
Cost: Does not spend credits.
org service-accounts keys rotate
Usage: deepline org service-accounts keys rotate [options] <service-account-id>
Replace a service account’s API key: the old key stops working and the new one
is shown once. Requires admin.
Options:
--json Output JSON
-h, --help display help for command
Explanation:
Purpose: Replace a service account's API key. Requires an admin grant.
Input: a service account id from org service-accounts list.
In one step the active key is revoked and a new one issued; requests with the old key fail from then on,
so update DEEPLINE_API_KEY where the job runs right away. Not retried automatically: if the response is
lost, run org service-accounts list to see which key is active, and rotate again if you lack it.
Output: apiKey (shown once), key (id, keyPrefix, keyLast4), and revokedKeyIds.
Cost: Does not spend credits.
org service-accounts keys revoke
Usage: deepline org service-accounts keys revoke [options] <service-account-id> <key-id>
Revoke a service account API key. Requires admin.
Options:
--json Output JSON
-h, --help display help for command
Explanation:
Purpose: Revoke a service account's key without replacing it. Requires an admin grant.
Input: a service account id, then a key id, both from org service-accounts list.
Requests with the key fail from then on. Revoking a revoked key is a no-op.
Output: keyId and status.
Cost: Does not spend credits.
org sso
Usage: deepline org sso [options] [command]
Manage Enterprise org SSO.
Options:
-h, --help display help for command
Commands:
status [options] Show this org's SSO connection and plan eligibility.
configure-oidc [options]
configure-saml [options]
request-token [options] Get or renew the SSO domain verification token.
verify [options] Verify the SSO domain TXT record.
test [options] Validate the saved SSO connection configuration.
remove [options] Remove this org's SSO connection.
help [command] display help for command
org sso status
Usage: deepline org sso status [options]
Show this org's SSO connection and plan eligibility.
Options:
--json Emit JSON output
-h, --help display help for command
org sso configure-oidc
Usage: deepline org sso configure-oidc [options]
Options:
--domain <domain> Verified email domain
--issuer <url> OIDC issuer URL
--client-id <id> OIDC client ID
--client-secret-file <path> File containing the client secret
--json Emit JSON output
-h, --help display help for command
org sso configure-saml
Usage: deepline org sso configure-saml [options]
Options:
--domain <domain> Verified email domain
--idp-metadata-file <path> Identity provider metadata XML file
--json Emit JSON output
-h, --help display help for command
org sso request-token
Usage: deepline org sso request-token [options]
Get or renew the SSO domain verification token.
Options:
--json Emit JSON output
-h, --help display help for command
org sso verify
Usage: deepline org sso verify [options]
Verify the SSO domain TXT record.
Options:
--json Emit JSON output
-h, --help display help for command
org sso test
Usage: deepline org sso test [options]
Validate the saved SSO connection configuration.
Options:
--json Emit JSON output
-h, --help display help for command
org sso remove
Usage: deepline org sso remove [options]
Remove this org's SSO connection.
Options:
--json Emit JSON output
-h, --help display help for command
org scim
Usage: deepline org scim [options] [command]
Manage SCIM user provisioning from your identity provider (Enterprise).
Options:
-h, --help display help for command
Commands:
status [options] Show this org's SCIM connection and plan eligibility.
create-token [options] Create the SCIM connection and print its token once.
rotate-token [options] Replace the SCIM token; the previous token stops
working.
remove [options] Remove this org's SCIM connection. Provisioned members
stay in the org.
groups Map SCIM groups from your identity provider to
workspaces (Enterprise; owners and admins).
help [command] display help for command
org scim status
Usage: deepline org scim status [options]
Show this org's SCIM connection and plan eligibility.
Options:
--json Emit JSON output
-h, --help display help for command
org scim create-token
Usage: deepline org scim create-token [options]
Create the SCIM connection and print its token once.
Options:
--json Emit JSON output
-h, --help display help for command
org scim rotate-token
Usage: deepline org scim rotate-token [options]
Replace the SCIM token; the previous token stops working.
Options:
--json Emit JSON output
-h, --help display help for command
org scim remove
Usage: deepline org scim remove [options]
Remove this org's SCIM connection. Provisioned members stay in the org.
Options:
--json Emit JSON output
-h, --help display help for command
org scim groups
Usage: deepline org scim groups [options] [command]
Map SCIM groups from your identity provider to workspaces (Enterprise; owners
and admins).
Options:
-h, --help display help for command
Commands:
list [options] List the org's SCIM groups and the workspace each
maps to.
get [options] <group-id> Show a SCIM group and where each member stands (in
the org, in the workspace).
map [options] <group-id> Map a SCIM group to a workspace; the group's org
members join it.
unmap [options] <group-id> Unmap a SCIM group. Members leave the workspace
unless added manually or by another mapped group.
help [command] display help for command
org scim groups list
Usage: deepline org scim groups list [options]
List the org's SCIM groups and the workspace each maps to.
Options:
--json Emit JSON output
-h, --help display help for command
Explanation:
Purpose: List the groups your identity provider pushed over SCIM (/api/scim/v2/Groups) and the workspace each maps to.
Requires the owner or admin role.
Output: eligible (Enterprise SSO entitlement) and groups (group_id, display_name, external_id, team_id and team_name of the mapped workspace or null, member_count, updated_at of the last change).
Cost: Does not spend credits.
org scim groups get
Usage: deepline org scim groups get [options] <group-id>
Show a SCIM group and where each member stands (in the org, in the workspace).
Options:
--json Emit JSON output
-h, --help display help for command
Explanation:
Purpose: Show one SCIM group and where each member stands. Requires the owner or admin role.
Input: a group id from org scim groups list.
Output: group, and members (user_id, email, org_member, in_workspace). org_member is false while SCIM has deactivated someone; their workspace access returns when they are reactivated.
Cost: Does not spend credits.
org scim groups map
Usage: deepline org scim groups map [options] <group-id>
Map a SCIM group to a workspace; the group's org members join it.
Options:
--workspace <workspace-id> Workspace id from `deepline org workspaces list`
(not the default workspace)
--json Emit JSON output
-h, --help display help for command
Explanation:
Purpose: Map a SCIM group to a workspace. Requires the owner or admin role and Enterprise SSO.
Input: a group id from org scim groups list and --workspace <workspace-id> from org workspaces list. The default workspace already has every org member and can't be mapped; an archived workspace can't be mapped.
Example: deepline org scim groups map <group-id> --workspace <workspace-id>
Every group member who is in the org joins the workspace. After that, people the identity provider adds to or removes from the group join or leave the workspace. A group maps to one workspace; mapping it again moves it. A workspace can have several groups.
Groups never add or remove org members and never change org roles; only SCIM user deprovisioning removes someone from the org.
Members of a large group join in the background: group.syncing is true until they all have; check it with org scim groups get.
Output: group (with syncing), changed (false when it was already mapped there), and the workspace memberships this request added and removed.
Cost: Does not spend credits.
org scim groups unmap
Usage: deepline org scim groups unmap [options] <group-id>
Unmap a SCIM group. Members leave the workspace unless added manually or by
another mapped group.
Options:
--json Emit JSON output
-h, --help display help for command
Explanation:
Purpose: Unmap a SCIM group from its workspace. Requires the owner or admin role.
Input: a group id from org scim groups list.
Members leave the workspace as soon as this returns, unless someone added them manually (org workspaces add-member) or another mapped group still includes them. Removing a manual member who a mapped group includes keeps them in the workspace until the group no longer does.
Output: group, changed, and the workspace memberships this request removed.
Cost: Does not spend credits.
org workspace
Usage: deepline org workspace [options] [command]
Show which workspace this CLI acts in, or set it with `set`.
Options:
--json Print JSON
-h, --help display help for command
Commands:
set [options] [selection] Save the workspace this CLI acts in for the current
org.
org workspace set
Usage: deepline org workspace set [options] [selection]
Save the workspace this CLI acts in for the current org.
Options:
--json Emit JSON output
-h, --help display help for command
org default-workspace
Usage: deepline org default-workspace [options] [command]
Show this org's default workspace.
Options:
--json Emit JSON output
-h, --help display help for command
org workspaces
Usage: deepline org workspaces [options] [command]
List and manage this org's workspaces.
Options:
-h, --help display help for command
Commands:
move [options] <kind> <id> Move a Play, view, workflow, monitor, Fleet, cloud job, or secret to another workspace.
move-status [options] <move-id> Show the progress of a workspace move.
integrations Show and manage a workspace's integration overrides. Without one, a workspace uses the org's integration.
list [options] List the org's workspaces, the default workspace first.
create [options] <name> Create a workspace (owners and admins; 64 characters at most).
rename [options] <workspace-id> <name> Rename a workspace (owners and admins).
archive [options] <workspace-id> Archive a workspace (owners and admins). Refused, with the list, while it has active schedules or monitors.
unarchive [options] <workspace-id> Restore an archived workspace with its members (owners and admins).
members [options] <workspace-id> List a workspace's members.
add-member [options] <workspace-id> <user> Add an org member to a workspace by user id or email (owners and admins).
remove-member [options] <workspace-id> <user> Remove someone from a workspace by user id or email (owners and admins). They stay in the org.
cap Read and manage workspaces' rolling 30-day spending caps (owners and admins change them).
help [command] display help for command
org workspaces move
Usage: deepline org workspaces move [options] <kind> <id>
Move a Play, view, workflow, monitor, Fleet, cloud job, or secret to another
workspace.
Options:
--to <workspace-id> The workspace to move it to, or "default" for the default
workspace
--with-views Move a Play's views with it (a view must use a Play in
its own workspace)
--json Emit JSON output
-h, --help display help for command
org workspaces move-status
Usage: deepline org workspaces move-status [options] <move-id>
Show the progress of a workspace move.
Options:
--json Emit JSON output
-h, --help display help for command
org workspaces integrations
Usage: deepline org workspaces integrations [options] [command]
Show and manage a workspace's integration overrides. Without one, a workspace
uses the org's integration.
Options:
-h, --help display help for command
Commands:
list [options] <workspace-id> List each connected integration in a workspace as inherited from the org or overridden.
set [options] <workspace-id> <provider> Override a provider in one workspace with the workspace's own API key (owners and admins). For an OAuth provider, omit the key and open the printed URL. For meta_audiences, pass a Meta system user token as the key.
test [options] <workspace-id> <provider> Test a provider exactly as the workspace resolves it: its override, else the org’s (owners and admins).
clear [options] <workspace-id> <provider> Clear a workspace's override of a provider so it uses the org's again (owners and admins).
help [command] display help for command
org workspaces integrations list
Usage: deepline org workspaces integrations list [options] <workspace-id>
List each connected integration in a workspace as inherited from the org or
overridden.
Options:
--json Emit JSON output
-h, --help display help for command
org workspaces integrations set
Usage: deepline org workspaces integrations set [options] <workspace-id> <provider>
Override a provider in one workspace with the workspace's own API key (owners
and admins). For an OAuth provider, omit the key and open the printed URL. For
meta_audiences, pass a Meta system user token as the key.
Options:
--api-key <key> The workspace’s API key for this provider
--api-key-file <path> Read the API key from a file
--api-key-stdin Read the API key from standard input
--json Emit JSON output
-h, --help display help for command
org workspaces integrations test
Usage: deepline org workspaces integrations test [options] <workspace-id> <provider>
Test a provider exactly as the workspace resolves it: its override, else the
org’s (owners and admins).
Options:
--json Emit JSON output
-h, --help display help for command
org workspaces integrations clear
Usage: deepline org workspaces integrations clear [options] <workspace-id> <provider>
Clear a workspace's override of a provider so it uses the org's again (owners
and admins).
Options:
--json Emit JSON output
-h, --help display help for command
org workspaces list
Usage: deepline org workspaces list [options]
List the org's workspaces, the default workspace first.
Options:
--archived Include archived workspaces
--json Emit JSON output
-h, --help display help for command
org workspaces create
Usage: deepline org workspaces create [options] <name>
Create a workspace (owners and admins; 64 characters at most).
Options:
--json Emit JSON output
-h, --help display help for command
org workspaces rename
Usage: deepline org workspaces rename [options] <workspace-id> <name>
Rename a workspace (owners and admins).
Options:
--json Emit JSON output
-h, --help display help for command
org workspaces archive
Usage: deepline org workspaces archive [options] <workspace-id>
Archive a workspace (owners and admins). Refused, with the list, while it has
active schedules or monitors.
Options:
--json Emit JSON output
-h, --help display help for command
org workspaces unarchive
Usage: deepline org workspaces unarchive [options] <workspace-id>
Restore an archived workspace with its members (owners and admins).
Options:
--json Emit JSON output
-h, --help display help for command
org workspaces members
Usage: deepline org workspaces members [options] <workspace-id>
List a workspace's members.
Options:
--json Emit JSON output
-h, --help display help for command
org workspaces add-member
Usage: deepline org workspaces add-member [options] <workspace-id> <user>
Add an org member to a workspace by user id or email (owners and admins).
Options:
--json Emit JSON output
-h, --help display help for command
org workspaces remove-member
Usage: deepline org workspaces remove-member [options] <workspace-id> <user>
Remove someone from a workspace by user id or email (owners and admins). They
stay in the org.
Options:
--json Emit JSON output
-h, --help display help for command
org workspaces cap
Usage: deepline org workspaces cap [options] [command]
Read and manage workspaces' rolling 30-day spending caps (owners and admins
change them).
Options:
-h, --help display help for command
Commands:
list [options] List workspace caps with spend in the last 30 days, and the organization cap.
get [options] <workspace-id> Show a workspace's cap and its spend in the last 30 days.
set [options] <workspace-id> <credits> Set, raise, or lower a workspace's rolling 30-day cap in credits (owners and admins).
remove [options] <workspace-id> Remove a workspace's cap (owners and admins).
help [command] display help for command
org workspaces cap list
Usage: deepline org workspaces cap list [options]
List workspace caps with spend in the last 30 days, and the organization cap.
Options:
--json Emit JSON output
-h, --help display help for command
Explanation:
Purpose: List the org's workspace spending caps with each workspace's spend in the last 30 days, beside the organization cap.
Input: none. Owners and admins see every workspace; other members see the workspaces they belong to.
Output: org_cap (enabled, monthly_credits_limit, spent_credits) and caps (team_id, name, archived, enabled, monthly_credits_limit,
spent_credits, remaining_credits, version, updated_at, updated_by_user_id).
Cost: Does not spend credits.
org workspaces cap get
Usage: deepline org workspaces cap get [options] <workspace-id>
Show a workspace's cap and its spend in the last 30 days.
Options:
--json Emit JSON output
-h, --help display help for command
Explanation:
Purpose: Show one workspace's rolling 30-day spending cap and its spend in the last 30 days.
Input: a workspace id from org workspaces list. The default workspace has no cap of its own; the organization cap bounds it.
Output: cap (the cap list fields) and org_cap.
Cost: Does not spend credits.
org workspaces cap set
Usage: deepline org workspaces cap set [options] <workspace-id> <credits>
Set, raise, or lower a workspace's rolling 30-day cap in credits (owners and
admins).
Options:
--json Emit JSON output
-h, --help display help for command
Explanation:
Purpose: Set, raise, or lower a workspace's rolling 30-day spending cap. Requires the owner or admin role.
Input: a workspace id from org workspaces list, then the cap in whole credits (at least 1).
Example: deepline org workspaces cap set <workspace-id> 500
A charge runs only when it fits both the organization cap and the workspace's cap; a denied call fails with
MONTHLY_BILLING_LIMIT_EXCEEDED and cap_scope "workspace". A workspace cap may be higher than the organization cap;
the organization cap still applies. Raising it brings back Monitors the cap paused.
Output: cap and changed (false when the cap already had this value).
Cost: Does not spend credits.
org workspaces cap remove
Usage: deepline org workspaces cap remove [options] <workspace-id>
Remove a workspace's cap (owners and admins).
Options:
--json Emit JSON output
-h, --help display help for command
Explanation:
Purpose: Remove a workspace's spending cap. Requires the owner or admin role.
Input: a workspace id from org workspaces list.
Removing it brings back Monitors the cap paused; the organization cap still applies.
Output: cap (enabled false) and changed (false when it had no cap).
Cost: Does not spend credits.
org logo
Usage: deepline org logo [options] [url]
Show, set, or remove the current organization's logo.
Options:
--domain <domain> Use the logo for this company's domain
--remove Remove the logo
--json Emit JSON output
-h, --help display help for command
org list
Usage: deepline org list [options]
List your organizations.
Options:
--workspaces Also list each organization's workspaces
--json Emit JSON output
-h, --help display help for command
org create
Usage: deepline org create [options] <name>
Create a new organization and switch this CLI to it.
Options:
--json Emit JSON output
-h, --help display help for command
org status
Usage: deepline org status [options]
Show the current organization and auth source.
Options:
--json Emit JSON output
-h, --help display help for command
org set
Usage: deepline org set [options] [selection]
Set the organization for the selected auth scope.
Options:
--org-id <id> Set using an explicit organization id
--auth-scope <scope> Where to save auth: auto, folder, or global (default:
"auto")
--json Emit JSON output
-h, --help display help for command