Skip to content

Start here

OverviewConnect your agentClient onboarding

Guides

WorkspacesScan manualFix ReviewScheduled scans

Reference

CLI guideService APIClient operations

For agents

docs/agents.mdllms.txt
Apex/Docs
⌘K
Connect your agent

Start here

OverviewConnect your agentClient onboarding

Guides

WorkspacesScan manualFix ReviewScheduled scans

Reference

CLI guideService APIClient operations

For agents

docs/agents.mdllms.txt
Docs/Reference/Client operations

Client operations

Manage workspaces, security context, findings, reports, integrations and account settings through the CLI, local MCP, hosted MCP or REST.


Use the same workflow from each client

CLI release availability

The apex client commands are staged for the next CLI release. Existing commands remain available in the published CLI. Hosted MCP and REST expose the operations listed by the deployed catalog.

terminal
$ apex client list
$ apex client schema workspace-update
$ apex client workspace-get --company <company-id> --workspace-ref <workspace-uuid>
$ apex client workspace-update --file update.json
$ apex client workspace-active-threat-model-update --markdown threat-model.md

Supply a JSON object with resource selectors, payload for the request body, and optional query values. Use --file - to read JSON from stdin. The local CLI and MCP can resolve a saved workspace binding. Hosted MCP requires explicit resource UUIDs and uses its connected organization.

Both MCP surfaces expose apex-client-<operation>. REST accepts POST /api/apex/v1/client/<operation> with a service key. Download the deployed catalog, then use each operation’s schema link below for its input contract.

  • Threat models: upload and review a library version, save its exact reviewed hash, download or restore versions, and apply Markdown to a compatible direct-scan workspace. Audit Setup keeps its immutable artifact approval and launch guards.
  • Files: context-file-upload accepts one file up to 10 MiB. Attach its returned file metadata with workspace-update. Setup messages accept up to eight files, 10 MiB each and 25 MiB total, with stable clientMessageId and clientAttachmentIds. CLI --attachment reads local files. CLI and local MCP stage files automatically when inline bytes exceed 1 MiB in total.
  • Large files in hosted MCP or REST: JSON inputs are limited to 4 MiB. Prepare with context-file-upload-prepare (or scan-setup-upload-prepare with scanId), upload each 1 MiB part through the matching -part operation, then pass files: [{uploadToken}] to context-file-upload or scan-setup-message. Include name, contentType, size and sha256 when preparing. Private temporary parts expire from the existing orphan cleanup flow; upload tokens expire after two hours and are bound to the account, organization and exact operation.
  • Downloads: binary results contain contentType, contentBase64, offset, totalBytes and sha256, with at most 1 MiB of bytes per response. Continue with download.offset = nextOffset. CLI --output and the local MCP apex-client-save-artifact tool (operation, input, outputPath) assemble the complete file and verify its hash. Existing files require explicit --force (or MCP force) to overwrite. The total client download limit is 40 MiB.
  • Archives: create source upload sessions, PUT archive bytes to their signed storage URLs, complete each upload, then supply completed scanSources to workspace-scan. Upload completion does not launch a scan.
  • Retries: retain requestId, clientMessageId, continuationId and exact reviewed hashes. A conflict requires reloading the current state. Bulk feedback and status operations return one receipt per finding; HTTP 207 means some items failed. Do not replay successful items automatically.
  • Black creation: black-workspace-create requires a stable requestId UUID, also available as CLI --request-id. Replay the same ID and payload after a lost response. A changed payload is rejected. Existing reservations recover without another charge; an unfinished request is never automatically relaunched.
  • Provider OAuth and checkout operations return URLs. The user completes the browser step; generating a URL does not imply that connection or payment succeeded.

Scopes and current account permissions

Each operation below lists its exact scopes. Workspace, company, billing, integration and ecosystem permissions each have separate read and write scopes. Default service keys and default OAuth consent remain scans:create, scans:read and findings:read.

Membership and SSO changes require the separate company:security scope. It can change who accesses your organization and how they sign in. General company write access does not grant these capabilities. Current manager authority is still required.

Each operation below names every required scope. The current user’s company membership, team visibility, manager role, scan permission, credits and feature flags still apply. Enabling a recurring paid schedule also requires scans:create. Expand an OAuth connection’s requested scopes through a new consent flow, or create an explicitly scoped service key.

Paid launches, artifact approval that can launch a scan, and enabling or changing paid schedules require authorized: true in JSON or CLI --authorized. Set it only when the user has authorized the target, scope and credit use, including authorization already given in the session.

Service-key issuance and revocation remain in the company Settings page and scripted apex service-key commands. Browser account sign-in, trial redemption and claim, employee tools and internal scan administration retain their dedicated interfaces.

Azure DevOps

  • azure-status

    Manage authorized Azure DevOps status with the company beta and source-access checks.

    integrations:read · Read · Input JSON schema

  • azure-connections

    Manage authorized Azure DevOps connections with the company beta and source-access checks.

    integrations:read · Read · Input JSON schema

  • azure-connect-token

    Manage authorized Azure DevOps connect-token with the company beta and source-access checks.

    integrations:write · Change · Input JSON schema

  • azure-disconnect

    Manage authorized Azure DevOps disconnect with the company beta and source-access checks.

    integrations:write · Change · Input JSON schema

  • azure-repositories

    Manage authorized Azure DevOps repositories with the company beta and source-access checks.

    integrations:read · Read · Input JSON schema

  • azure-repositories-approve

    Manage authorized Azure DevOps repositories-approve with the company beta and source-access checks.

    integrations:write · Change · Input JSON schema

  • azure-source

    Manage authorized Azure DevOps source with the company beta and source-access checks.

    integrations:read · Read · Input JSON schema

Billing

  • billing-purchases

    Read company purchases and credit balances.

    billing:read · Read · Input JSON schema

  • billing-invoice

    Retrieve a purchase invoice.

    billing:read · Read · Input JSON schema

  • billing-receipt

    Retrieve a purchase receipt.

    billing:read · Read · Input JSON schema

  • billing-checkout

    Create a credit-purchase checkout URL. The customer completes the payment in their browser.

    billing:write · Change · Input JSON schema

  • billing-auto-top-up

    Read current automatic top-up settings.

    billing:read · Read · Input JSON schema

  • billing-auto-top-up-update

    Update automatic top-up settings using the same billing checks as the frontend.

    billing:write · Change · Input JSON schema

  • billing-low-credit

    Read low-credit alert preferences.

    billing:read · Read · Input JSON schema

  • billing-low-credit-update

    Update low-credit alert settings.

    billing:write · Change · Input JSON schema

  • billing-auto-top-up-disable

    Disable automatic credit top-ups.

    billing:write · Change · Input JSON schema

  • billing-discount-codes

    List active discount codes available to this organization.

    billing:read · Read · Input JSON schema

  • billing-prices

    List currently configured credit-pack prices and product identifiers for checkout.

    billing:read · Read · Input JSON schema

Apex Black

  • black-workspace-settings

    Read saved Black workspace settings and test-user selections.

    workspaces:read · Read · Input JSON schema

  • black-workspace-run

    Run an existing Black workspace with test users, proxy, rotatingProxy, SMS and reviewed threat-model options. Paid operation.

    scans:create · Change · Input JSON schema

  • black-workspace-proxy-test

    Verify a supplied SOCKS5 proxy before launching.

    workspaces:write · Change · Input JSON schema

  • black-workspace-threat-model

    Read Black interactive threat-model setup.

    workspaces:read · Read · Input JSON schema

  • black-workspace-threat-model-start

    Prepare a Black threat model before scanning.

    scans:create · Change · Input JSON schema

  • black-workspace-threat-model-answer

    Answer Black threat-model interview questions.

    workspaces:write · Change · Input JSON schema

  • black-workspace-threat-model-update

    Save edits to the reviewed Black threat model.

    workspaces:write · Change · Input JSON schema

  • black-workspace-retests

    Read workspace Black retest history and configuration.

    findings:read · Read · Input JSON schema

  • black-workspace-retest-start

    Retest selected Black findings with supplied credentials and target override. Paid operation.

    scans:create + findings:read · Change · Input JSON schema

  • black-workspace-create

    Create a free Black draft with draftOnly: true, or start a reviewed operation using 200 Standard credits with authorized: true. Supports test users, proxy and SMS options.

    scans:create · Change · Input JSON schema

  • black-test-users

    Read redacted test-user configuration for a company/workspace.

    workspaces:read · Read · Input JSON schema

  • black-test-users-update

    Create/load a test-user draft, upsert or remove test users. Supply companyId/workspaceId and the action. Credentials are never telemetered.

    workspaces:write · Change · Input JSON schema

  • black-proxy-test

    Verify a per-launch supplied proxy.

    workspaces:write · Change · Input JSON schema

  • black-rotating-providers

    List available rotating egress providers.

    workspaces:read · Read · Input JSON schema

  • black-sms-availability

    Read shared receive-only SMS availability.

    workspaces:read · Read · Input JSON schema

  • black-target-check

    Check target reachability before launch without starting a scan.

    scans:read · Change · Input JSON schema

  • black-workspace-reports

    Read Black workspace assessment reports.

    findings:read · Read · Input JSON schema

Company

  • company-team-create

    Create a company team.

    company:write · Change · Input JSON schema

  • company-invite

    Invite a company member under current manager authority.

    company:security · Change · Input JSON schema

  • company-platform-integrations

    Read platform compatibility integrations.

    integrations:read · Read · Input JSON schema

  • company-platform-integrations-update

    Save platform compatibility integrations.

    integrations:write · Change · Input JSON schema

  • company-clarion-mode

    Set Clarion delivery mode.

    integrations:write · Change · Input JSON schema

  • company-team-update

    Update team name, people and workspace access.

    company:write · Change · Input JSON schema

  • company-team-delete

    Delete a company team.

    company:write · Change · Input JSON schema

  • company-member-update

    Disable, enable or change a company member role; requires current manager authority.

    company:security · Change · Input JSON schema

  • company-scan-permission

    Set the member scan permission under current manager authority.

    company:write · Change · Input JSON schema

  • company-linear-options

    Read company issue-tracker routing choices.

    integrations:read · Read · Input JSON schema

  • company-integration-update

    Save company Linear/Jira routing configuration.

    integrations:write · Change · Input JSON schema

  • company-integration-disconnect

    Disconnect a company Linear/Jira integration.

    integrations:write · Change · Input JSON schema

  • company-integration-connect

    Return the provider connection URL; complete OAuth consent in the browser.

    integrations:write · Change · Input JSON schema

  • company-clarion-update

    Update the Clarion connection.

    integrations:write · Change · Input JSON schema

  • company-clarion-disconnect

    Disconnect Clarion.

    integrations:write · Change · Input JSON schema

  • company-clarion-test

    Send the configured Clarion test delivery.

    integrations:write · Change · Input JSON schema

  • company-people

    Read organization members, granted users and scan permissions visible in company settings.

    company:read · Read · Input JSON schema

  • company-teams

    Read teams and workspace assignments visible to the current account.

    company:read · Read · Input JSON schema

  • company-clarion

    Read Clarion connection status.

    integrations:read · Read · Input JSON schema

  • company-usage

    Read company credit usage and balance movement history.

    billing:read · Read · Input JSON schema

  • company-access-grant

    Grant an existing Cantina user access to the company or one team.

    company:security · Change · Input JSON schema

  • company-sso-connections

    Read company sso-connections when the compatibility profile is enabled.

    company:read · Read · Input JSON schema

  • company-sso-connections-create

    Create company sso-connections with current manager authorization.

    company:security · Change · Input JSON schema

  • company-sso-connections-delete

    Remove company sso-connections with current manager authorization.

    company:security · Change · Input JSON schema

  • company-sso-rules

    Read company sso-rules when the compatibility profile is enabled.

    company:read · Read · Input JSON schema

  • company-sso-rules-create

    Create company sso-rules with current manager authorization.

    company:security · Change · Input JSON schema

  • company-sso-rules-delete

    Remove company sso-rules with current manager authorization.

    company:security · Change · Input JSON schema

  • company-issue-trackers

    Read Linear and Jira connection state and saved company destinations without credentials.

    integrations:read · Read · Input JSON schema

Ecosystems

  • ecosystem-invite

    Invite a project and reserve credits from the existing ecosystem pool.

    ecosystem:write · Change · Input JSON schema

  • ecosystem-allocate

    Allocate existing pool credits to an eligible ecosystem project.

    ecosystem:write · Change · Input JSON schema

  • ecosystem-invitation-update

    Resend the selected ecosystem invitation email with a fresh invitation token.

    ecosystem:write · Change · Input JSON schema

  • ecosystem-invitation-revoke

    Revoke an ecosystem invitation and release reserved credits.

    ecosystem:write · Change · Input JSON schema

  • ecosystem-projects

    Read ecosystem projects, pool balances and allocations.

    ecosystem:read · Read · Input JSON schema

  • ecosystem-invitations

    Read pending and historical ecosystem invitations.

    ecosystem:read · Read · Input JSON schema

  • ecosystem-project-view

    Read an approved ecosystem project, completed scans and published findings through the same parent-sharing grant as the frontend. Child selectors use projectScanId and projectFindingId.

    ecosystem:read + findings:read · Read · Input JSON schema

Context files

  • context-file-upload-prepare

    Prepare a private, expiring upload for one file up to 10 MiB; send its bounded parts, then pass {uploadToken} in the target operation’s files array.

    workspaces:write · Change · Input JSON schema

  • context-file-upload-part

    Upload one 1 MiB file part with its expiring token and partIndex. Repeating the same part is safe; final SHA-256 verification prevents partial or changed content.

    workspaces:write · Change · Input JSON schema

  • context-file-upload

    Upload one context file (10 MiB maximum). Attach returned metadata with workspace-update.

    workspaces:write · Change · Input JSON schema

  • context-file-download

    Download a context file attached to this authorized workspace.

    workspaces:read · Read · Input JSON schema

Scans

  • scan-setup-upload-prepare

    Prepare a private, expiring upload for one file up to 10 MiB; send its bounded parts, then pass {uploadToken} in the target operation’s files array.

    scans:create · Change · Input JSON schema

  • scan-setup-upload-part

    Upload one 1 MiB file part with its expiring token and partIndex. Repeating the same part is safe; final SHA-256 verification prevents partial or changed content.

    scans:create · Change · Input JSON schema

  • scan-progress

    Read full product progress, stages and budget.

    scans:read + findings:read · Read · Input JSON schema

  • scan-continue-eligibility

    Check budget continuation eligibility or recover the outcome by continuationId.

    scans:read · Read · Input JSON schema

  • scan-continue

    Add credits and resume this budget-paused scan. Reuse the same continuationId and exact credits after an ambiguous failure.

    scans:create · Change · Input JSON schema

  • scan-insights

    Read findings and scan-insight trajectories.

    findings:read · Read · Input JSON schema

  • scan-setup

    Read setup session, events and artifacts.

    scans:read · Read · Input JSON schema

  • scan-setup-message

    Answer a setup question or send context; supports attachments through files.

    scans:create · Change · Input JSON schema

  • scan-setup-auto-answer

    Switch the active setup interview to automatic answers. Final artifact approval remains explicit.

    scans:create · Change · Input JSON schema

  • scan-setup-stop

    Stop the current setup agent turn.

    scans:create · Change · Input JSON schema

  • scan-setup-end

    Exit setup, release the scan reservation and stop its disposable sandbox.

    scans:create · Change · Input JSON schema

  • scan-setup-finalization

    Retry finalization and launch the explicitly approved Audit Setup scan. Requires scan permission and scan-creation scope.

    scans:create · Change · Input JSON schema

  • scan-reports-exhaustive

    Read exhaustive PDF readiness or download the prepared report.

    findings:read · Read · Input JSON schema

  • scan-reports

    List versioned assessment reports.

    findings:read · Read · Input JSON schema

  • scan-black-runtime

    Read live Black operation stages, agent activity and findings-sync status.

    scans:read + findings:read · Read · Input JSON schema

  • scan-black-traffic

    Read captured Black HTTP requests with cursor pagination.

    scans:read + findings:read · Read · Input JSON schema

  • scan-black-report

    Read the Black report.

    findings:read · Read · Input JSON schema

  • scan-setup-artifact

    Read a complete setup artifact and its reviewed hash.

    scans:read · Read · Input JSON schema

  • scan-setup-artifact-review

    Review the exact setup artifact hash; explicit approval is required before a paid launch.

    scans:create · Change · Input JSON schema

  • scan-assessment-pdf

    Download an assessment report version.

    findings:read · Read · Input JSON schema

  • scan-report-create

    Generate and email a scan-specific security review PDF.

    findings:write · Change · Input JSON schema

  • scan-clarion-send

    Deliver a selected set of eligible findings to Clarion.

    findings:write · Change · Input JSON schema

  • scan-setup-attachment

    Download a protected Audit Setup attachment.

    scans:read · Read · Input JSON schema

  • scan-list

    List accessible organization scans and progress with pagination.

    scans:read + findings:read · Read · Input JSON schema

Findings

  • finding-get

    Read full finding details and evidence metadata.

    findings:read · Read · Input JSON schema

  • finding-comments

    Read the finding discussion and threaded replies.

    findings:read · Read · Input JSON schema

  • finding-comment-create

    Add a finding comment or reply with content and optional parentId.

    findings:write · Change · Input JSON schema

  • finding-feedback-read

    Read client validity feedback, selected assumptions, labels and severity suggestions.

    findings:read · Read · Input JSON schema

  • finding-feedback-write

    Save valid/invalid feedback, selectedAssumptionIds, suggestedSeverity, labels and fixPrUrls.

    findings:write · Change · Input JSON schema

  • finding-fix-review

    Read fix-review history and outcomes.

    findings:read · Read · Input JSON schema

  • finding-fix-review-start

    Start a fix review using PR URLs or repository-current targets. Paid operation.

    scans:create + findings:read · Change · Input JSON schema

  • finding-fix-review-dismiss

    Reject an exact fixReviewId outcome with an optional reason.

    findings:write · Change · Input JSON schema

  • finding-fix-handoff

    Create a managed fix-agent handoff and retrieve scoped instructions.

    findings:write · Change · Input JSON schema

  • finding-comment-subscription

    Read your report-comment email subscription.

    findings:read · Read · Input JSON schema

  • finding-comment-subscription-update

    Set your report-comment email subscription.

    findings:write · Change · Input JSON schema

  • finding-clarion-send

    Send an eligible finding to the configured Clarion integration.

    findings:write · Change · Input JSON schema

  • finding-black-retest

    Read Black retest history, prerequisites and latest verdict.

    findings:read · Read · Input JSON schema

  • finding-black-retest-start

    Run an authorized Black proof retest. Paid operation.

    scans:create + findings:read · Change · Input JSON schema

  • finding-comment-delete

    Delete your comment, or moderate when authorized.

    findings:write · Change · Input JSON schema

  • finding-evidence

    Retrieve a protected finding screenshot artifact.

    findings:read · Read · Input JSON schema

  • finding-black-retest-proof

    Read protected retest proof details.

    findings:read · Read · Input JSON schema

  • finding-feedback-delete

    Remove your client feedback for a finding.

    findings:write · Change · Input JSON schema

  • finding-feedback-summary

    Read the shared feedback timeline, participant notes and assumptions.

    findings:read · Read · Input JSON schema

  • finding-fix-options

    Read eligible repositories, branches and pull requests for remediation review.

    findings:read · Read · Input JSON schema

  • finding-report-content

    Read protected published report content and terminal replay evidence for this finding.

    findings:read · Read · Input JSON schema

  • finding-page-context

    Read workspace, scan and previous/next finding navigation context.

    findings:read · Read · Input JSON schema

  • finding-integration-options

    Read available finding export destinations and current Linear, Jira, Clarion and Cantina export state.

    findings:read · Read · Input JSON schema

Bulk finding actions

  • findings-bulk-feedback

    Save feedback on up to 100 findings, returning a status and receipt for each selection. A partial response uses HTTP 207.

    findings:write · Change · Input JSON schema

  • findings-bulk-status

    Update remediation status on up to 100 findings, preserving expectedUpdatedAt and per-item outcomes.

    findings:write · Change · Input JSON schema

  • findings-export

    Export complete client-visible details, comments and remediation history for up to 1000 selected findings.

    findings:read · Read · Input JSON schema

  • findings-mark-viewed

    Mark explicit findings or scans as viewed by the current account.

    findings:write · Change · Input JSON schema

  • findings-statistics

    Read aggregate finding statistics visible in the connected organization.

    findings:read · Read · Input JSON schema

Fix Review

  • fix-review-batch-read

    Read a bulk fix-review batch and partial outcomes.

    findings:read · Read · Input JSON schema

  • fix-review-selected-preflight

    Preflight selected findings with explicit repository targets.

    findings:read · Change · Input JSON schema

  • fix-review-selected-start

    Start selected findings bulk fix review. Paid operation.

    scans:create + findings:read · Change · Input JSON schema

  • fix-agent-selected

    Create managed fix-agent handoffs for selected findings.

    findings:write · Change · Input JSON schema

Forgejo

  • forgejo-connect

    Return a browser connection URL. Open only when the user chooses to connect forgejo.

    integrations:write · Change · Input JSON schema

  • forgejo-connections

    Manage authorized Forgejo connections with current frontend permissions.

    integrations:read · Read · Input JSON schema

  • forgejo-connect-token

    Manage authorized Forgejo connections with current frontend permissions.

    integrations:write · Change · Input JSON schema

  • forgejo-disconnect

    Manage authorized Forgejo connections with current frontend permissions.

    integrations:write · Change · Input JSON schema

  • forgejo-repositories

    Manage authorized Forgejo repositories with current frontend permissions.

    integrations:read · Read · Input JSON schema

  • forgejo-status

    Manage authorized Forgejo status with current frontend permissions.

    integrations:read · Read · Input JSON schema

  • forgejo-branches

    Browse authorized Forgejo repository branches.

    integrations:read · Read · Input JSON schema

  • forgejo-commit

    Browse authorized Forgejo repository commit.

    integrations:read · Read · Input JSON schema

  • forgejo-tree

    Browse authorized Forgejo repository tree.

    integrations:read · Read · Input JSON schema

  • forgejo-pull-requests

    Browse authorized Forgejo repository pull-requests.

    integrations:read · Read · Input JSON schema

GitHub

  • github-installations

    List authorized GitHub installations.

    integrations:read · Read · Input JSON schema

  • github-repositories

    List repositories available through the selected GitHub installation.

    integrations:read · Read · Input JSON schema

  • github-branches

    Browse authorized GitHub repository branches.

    integrations:read · Read · Input JSON schema

  • github-commits

    Browse authorized GitHub repository commits.

    integrations:read · Read · Input JSON schema

  • github-commit

    Browse authorized GitHub repository commit.

    integrations:read · Read · Input JSON schema

  • github-tree

    Browse authorized GitHub repository tree.

    integrations:read · Read · Input JSON schema

  • github-pull-requests

    Browse authorized GitHub repository pull-requests.

    integrations:read · Read · Input JSON schema

  • github-pull-request

    Read an authorized GitHub pull request.

    integrations:read · Read · Input JSON schema

  • github-connect

    Return a browser connection URL. Open only when the user chooses to connect github.

    integrations:write · Change · Input JSON schema

GitLab

  • gitlab-connect

    Return a browser connection URL. Open only when the user chooses to connect gitlab.

    integrations:write · Change · Input JSON schema

  • gitlab-connections

    List GitLab connections without their access tokens.

    integrations:read · Read · Input JSON schema

  • gitlab-connect-token

    Connect a GitLab personal access token. Secrets are not returned.

    integrations:write · Change · Input JSON schema

  • gitlab-connection-update

    Replace a GitLab connection access token.

    integrations:write · Change · Input JSON schema

  • gitlab-disconnect

    Disconnect an authorized GitLab connection.

    integrations:write · Change · Input JSON schema

  • gitlab-oauth-app-update

    Configure the company self-hosted GitLab OAuth application.

    integrations:write · Change · Input JSON schema

  • gitlab-repositories

    List authorized GitLab repositories.

    integrations:read · Read · Input JSON schema

  • gitlab-branches

    Browse authorized GitLab repository branches.

    integrations:read · Read · Input JSON schema

  • gitlab-commits

    Browse authorized GitLab repository commits.

    integrations:read · Read · Input JSON schema

  • gitlab-commit

    Browse authorized GitLab repository commit.

    integrations:read · Read · Input JSON schema

  • gitlab-tree

    Browse authorized GitLab repository tree.

    integrations:read · Read · Input JSON schema

  • gitlab-merge-requests

    Browse authorized GitLab repository merge-requests.

    integrations:read · Read · Input JSON schema

Notifications

  • notifications-update

    Set your scan-completion email subscription.

    company:write · Change · Input JSON schema

  • notifications-read

    Read your organization and workspace notification subscriptions.

    company:read · Read · Input JSON schema

Workspaces

  • workspace-update

    Update workspace name, prefix, description, context, contextLinks, contextFiles, platformProfile or recurring scan/fix-review schedule.

    workspaces:write · Change · Input JSON schema

  • workspace-archive

    Archive a workspace using the same active-scan and context-operation checks as the frontend.

    workspaces:write · Change · Input JSON schema

  • workspace-create

    Create an empty workspace with companyId, name and optional description. Configure repositories and security context with their dedicated operations.

    workspaces:write · Change · Input JSON schema

  • workspace-repositories-update

    Update saved repositories and pinned source scope.

    workspaces:write · Change · Input JSON schema

  • workspace-duplicate-policy

    Read future-scan duplicate suppression dispositions.

    workspaces:read · Read · Input JSON schema

  • workspace-duplicate-policy-update

    Set suppressedDispositions for future duplicates.

    workspaces:write · Change · Input JSON schema

  • workspace-cvss

    Read current CVSS policy and template.

    workspaces:read · Read · Input JSON schema

  • workspace-cvss-update

    Save enabled and policy, synchronizing the scanner and Bedrock.

    workspaces:write · Change · Input JSON schema

  • workspace-cvss-versions

    Read CVSS policy version history when enabled.

    workspaces:read · Read · Input JSON schema

  • workspace-threat-models

    Read saved threat-model versions and current reviewed draft.

    workspaces:read · Read · Input JSON schema

  • workspace-threat-model-change

    Review Markdown, edit a section, save an exact reviewed hash, restore a version or cancel a draft. Reuse requestId after ambiguous failure.

    workspaces:write · Change · Input JSON schema

  • workspace-threat-model-download

    Download a saved Markdown threat model, draft or template.

    workspaces:read · Read · Input JSON schema

  • workspace-active-threat-model

    Read the active workspace threat model.

    workspaces:read · Read · Input JSON schema

  • workspace-active-threat-model-update

    Apply reviewed threatModelMd to the active workspace model for future direct scans. Audit Setup immutable models retain their guard.

    workspaces:write · Change · Input JSON schema

  • workspace-scan

    Start a scan with the frontend repository, mode, scope, context and prior-model options. Use public scan IDs only. Paid operation.

    scans:create · Change · Input JSON schema

  • workspace-audit-setup

    Discover resumable Audit Setup and compatible prior context models.

    scans:read · Read · Input JSON schema

  • workspace-scan-trends

    Read workspace scan findings trends.

    scans:read + findings:read · Read · Input JSON schema

  • workspace-metrics

    Read workspace security metrics.

    scans:read + findings:read · Read · Input JSON schema

  • workspace-sbom

    Export the workspace dynamic SBOM when compatibility is enabled.

    workspaces:read · Read · Input JSON schema

  • workspace-fix-review-preflight

    Preflight a bulk fix review with repository assignments and branch overrides.

    findings:read · Change · Input JSON schema

  • workspace-fix-review-start

    Start a workspace bulk fix review. Paid operation.

    scans:create + findings:read · Change · Input JSON schema

  • workspace-reports

    List generated workspace PDF reports.

    findings:read · Read · Input JSON schema

  • workspace-report-create

    Generate the frontend’s all-scans Apex Security Review PDF report for this workspace.

    findings:write · Change · Input JSON schema

  • workspace-report-export

    Export workspace report content.

    findings:read · Read · Input JSON schema

  • workspace-share-links

    List workspace/finding sharing links.

    workspaces:read + findings:read · Read · Input JSON schema

  • workspace-share-create

    Create an expiring optionally passphrase-protected workspace or single-finding link.

    workspaces:write + findings:read · Change · Input JSON schema

  • workspace-linear-options

    Read Linear routing choices.

    integrations:read · Read · Input JSON schema

  • workspace-linear-update

    Save Linear destination and automatic delivery.

    integrations:write · Change · Input JSON schema

  • workspace-jira-options

    Read Jira project, issue type and required-field choices.

    integrations:read · Read · Input JSON schema

  • workspace-jira-update

    Save Jira destination, required fields and automatic delivery.

    integrations:write · Change · Input JSON schema

  • workspace-report-download

    Download a generated workspace PDF.

    findings:read · Read · Input JSON schema

  • workspace-share-update

    Revoke or update a share link.

    workspaces:write + findings:read · Change · Input JSON schema

  • workspace-share-usage

    Read sharing sessions and usage.

    workspaces:read + findings:read · Read · Input JSON schema

  • workspace-get

    Read saved workspace configuration, source scope, context and recurring schedule.

    workspaces:read · Read · Input JSON schema

  • workspace-list

    List workspaces and optional scan statistics in the selected organization.

    workspaces:read + findings:read · Read · Input JSON schema

  • workspace-scan-state

    Read the most recent scan launch state.

    scans:read · Read · Input JSON schema

  • workspace-fix-review-progress

    Read a workspace batch fix-review progress.

    findings:read · Read · Input JSON schema

  • workspace-share-revoke

    Revoke a workspace share link and its sessions.

    workspaces:write + findings:read · Change · Input JSON schema

  • workspace-report-resend

    Resend the generated report email to the authenticated requesting account.

    findings:write · Change · Input JSON schema

  • workspace-restore

    Restore an archived workspace without deleting its history.

    workspaces:write · Change · Input JSON schema

  • workspace-archives

    List accessible archived workspaces in pages of 50.

    workspaces:read · Read · Input JSON schema

  • workspace-health

    Read workspace health and cohort analytics when enabled for this company.

    findings:read · Read · Input JSON schema

  • workspace-findings-query

    Query published workspace findings with frontend facets, grouping, counts and pagination.

    findings:read · Read · Input JSON schema

  • workspace-scan-recover

    Reconcile this account’s previously dispatched paid scan without reserving another credit. Use after an ambiguous launch response.

    scans:read · Read · Input JSON schema

  • workspace-share-session-views

    Read the selected share session’s finding view activity.

    findings:read · Read · Input JSON schema

  • workspace-share-session-revoke

    Revoke one share session without revoking the whole share link.

    workspaces:write · Change · Input JSON schema

Repository archives

  • source-uploads-create

    Create upload sessions for up to 20 repository tar.gz archives in an existing authorized workspace. PUT file bytes to the returned upload URLs, then complete each upload.

    scans:create · Change · Input JSON schema

  • source-upload-complete

    Verify an uploaded repository archive and return its archiveId for a scanSources entry.

    scans:create · Change · Input JSON schema

Was this useful?
Last updated November 25, 2026 · v2026.04

On this page

  1. Usage
  2. Permissions
  3. Azure DevOps
  4. Billing
  5. Apex Black
  6. Company
  7. Ecosystems
  8. Context files
  9. Scans
  10. Findings
  11. Bulk finding actions
  12. Fix Review
  13. Forgejo
  14. GitHub
  15. GitLab
  16. Notifications
  17. Workspaces
  18. Repository archives

Related

CLI guideService API