# Strix > This file is very large and may be truncated. For an index of this content, please refer to https://docs.app.strix.ai/llms.txt instead. > Explore Strix documentation for AI penetration testing, vulnerability triage, and remediation. Read platform guides and the API reference. # Get dashboard analytics Source: https://docs.app.strix.ai/api-reference/analytics/get-dashboard-analytics /openapi.json get /analytics/stats Aggregate counts powering the dashboard (scans, vulnerabilities by severity/status, and more). Accepts the same filter query params as the dashboard. Asset-scoped tokens cannot access organization-wide analytics. # Get dashboard overview Source: https://docs.app.strix.ai/api-reference/analytics/get-dashboard-overview /openapi.json get /analytics/overview Unified dashboard overview: KPIs with period-over-period deltas, issues-over-time by source (pentests vs PR reviews), severity breakdown, PR review effectiveness (distinct PRs, verdicts, addressed rate, top repos and contributors), remediation trends, exploitability (KEV/EPSS) of open issues and active dependency CVEs, threat intelligence feed (recently exploited and high-risk CVEs, flagged when they match your open issues), and activity heatmap. Asset-scoped tokens cannot access organization-wide analytics. # Get scan frequency timeline Source: https://docs.app.strix.ai/api-reference/analytics/get-scan-frequency-timeline /openapi.json get /analytics/scan-frequency Daily scan counts for roughly the last 10 months, suitable for a contribution-style heatmap. Asset-scoped tokens cannot access organization-wide analytics. # Get an asset discovery run Source: https://docs.app.strix.ai/api-reference/asset-discovery/get-an-asset-discovery-run /openapi.json get /asset-discovery/runs/{runId} Returns one asset discovery run with its status, summary, and asset count. # Get the asset discovery schedule Source: https://docs.app.strix.ai/api-reference/asset-discovery/get-the-asset-discovery-schedule /openapi.json get /asset-discovery/schedule Returns how often discovery runs start on their own, which verified domains they start from, which outcomes send a notification, and who gets it. # Ignore or restore a discovered asset Source: https://docs.app.strix.ai/api-reference/asset-discovery/ignore-or-restore-a-discovered-asset /openapi.json patch /asset-discovery/assets/{assetId} Set the triage status of a discovered asset. Use `ignored` to remove the asset from the review list. Use `new` to restore it. An imported asset cannot change status. # Import a discovered asset as a domain Source: https://docs.app.strix.ai/api-reference/asset-discovery/import-a-discovered-asset-as-a-domain /openapi.json post /asset-discovery/assets/{assetId}/import Add a discovered host name or IPv4 address to the domain inventory. When the host is under a domain the organization already verified, or is an IPv4 address the organization already verified, the new domain is verified and a scan can start at once. Otherwise, verify the domain first with `verifyDomain`. A netblock, a wildcard, or an IPv6 address is not one target and cannot be imported (422 `not_importable`). # List asset discovery runs Source: https://docs.app.strix.ai/api-reference/asset-discovery/list-asset-discovery-runs /openapi.json get /asset-discovery Returns the most recent asset discovery runs for the authenticated organization, the run that is in progress, the verified domains a new run can start from, and the recurring schedule. Asset Discovery is free: runs are not limited and do not use credits. # List discovered assets Source: https://docs.app.strix.ai/api-reference/asset-discovery/list-discovered-assets /openapi.json get /asset-discovery/assets Returns the discovered assets of the authenticated organization. By default the response contains only assets with the `new` status. Set `status` to `all` to include imported and ignored assets. # Start asset discovery Source: https://docs.app.strix.ai/api-reference/asset-discovery/start-asset-discovery /openapi.json post /asset-discovery Start a passive reconnaissance run that finds the hosts, certificates, and infrastructure that belong to the organization. The run starts from the verified domains you select. Strix runs one discovery per organization at a time. When a run is already in progress, the response returns that run with `reused` set to true. Asset Discovery is free: runs are not limited and do not use credits. # Update the asset discovery schedule Source: https://docs.app.strix.ai/api-reference/asset-discovery/update-the-asset-discovery-schedule /openapi.json patch /asset-discovery/schedule Sets when runs start (`cron` read in `timezone`), which verified domains they start from (`seeds`), the outcomes that send a notification, and the notification targets. Discovery schedules may recur hourly. The notification settings also apply to runs started by hand. # Add a domain Source: https://docs.app.strix.ai/api-reference/assets/add-a-domain /openapi.json post /domains Register a domain asset for the authenticated organization. Strix probes HTTPS reachability and checks the allowlist, existing verified domains, the DNS TXT record, the verification file, and the meta tag. The ownership checks share one deadline of 4 seconds and run at the same time as the 5 second reachability probe. When no record is found, `verified` is false and `detail` names the DNS TXT record to add. Add the record, then call `verifyDomain`. # Add multiple domains Source: https://docs.app.strix.ai/api-reference/assets/add-multiple-domains /openapi.json post /domains/bulk Add up to 100 domains in one request. Results follow input order. Each item can succeed or fail independently. Existing domains do not consume additional capacity. Repeated normalized hosts return the same domain. Strix checks ownership and reachability for each domain. Pending domains include verification instructions. # Add repositories Source: https://docs.app.strix.ai/api-reference/assets/add-repositories /openapi.json post /repositories Register one or more repository assets for the authenticated organization. # List domains Source: https://docs.app.strix.ai/api-reference/assets/list-domains /openapi.json get /domains Returns a paginated list of domains for the authenticated organization. # List repositories Source: https://docs.app.strix.ai/api-reference/assets/list-repositories /openapi.json get /repositories Returns a paginated list of repositories for the authenticated organization. # Remove a domain Source: https://docs.app.strix.ai/api-reference/assets/remove-a-domain /openapi.json delete /domains/{domainId} # Remove a repository Source: https://docs.app.strix.ai/api-reference/assets/remove-a-repository /openapi.json delete /repositories/{repositoryId} # Update a domain Source: https://docs.app.strix.ai/api-reference/assets/update-a-domain /openapi.json patch /domains/{domainId} Update domain context, workspace header inheritance, tags, or business_unit. Tags and business_unit require the Enterprise plan. # Update repository settings Source: https://docs.app.strix.ai/api-reference/assets/update-repository-settings /openapi.json patch /repositories/{repositoryId} # Verify a domain Source: https://docs.app.strix.ai/api-reference/assets/verify-a-domain /openapi.json post /domains/{domainId}/verify Checks DNS, verification file, meta tag, allowlist, and existing organization verification methods. # Verify a domain through a connected DNS provider Source: https://docs.app.strix.ai/api-reference/assets/verify-a-domain-through-a-connected-dns-provider /openapi.json post /domains/{domainId}/auto-verify Creates the _strix-verification TXT record through the organization's connected DNS provider (Vercel or Cloudflare) and runs the DNS verification check. Requires an organization admin to have connected the provider in the dashboard first. # List audit events Source: https://docs.app.strix.ai/api-reference/audit/list-audit-events /openapi.json get /audit Returns enterprise audit events for the authenticated organization, with optional CSV, Snowflake NDJSON, or Splunk NDJSON export formats. # Buy credits with a machine payment Source: https://docs.app.strix.ai/api-reference/billing/buy-credits-with-a-machine-payment /openapi.json post /billing/topup Not available on self-hosted deployments (returns 404). Enterprise organizations billed per pentest cannot use it (returns 400); they add pentests from Settings > Billing. Buy scan credits with the Machine Payments Protocol (MPP). Authenticate with `X-Strix-Authorization: Bearer ` because MPP uses the standard Authorization header for its payment credential. The first request without a payment credential returns HTTP 402 with a payment challenge. Pay the challenge with a Stripe agent wallet (https://link.com/agents), then retry the request with the payment credential. The user approves each payment in the Link app. If the user does not want a wallet, create a hosted checkout link with the billing checkout operation instead. A verified payment grants the credits one time and returns a receipt. Requires the billing:write scope and the admin role. # Create a billing portal link Source: https://docs.app.strix.ai/api-reference/billing/create-a-billing-portal-link /openapi.json post /billing/portal Not available on self-hosted deployments (returns 404). Create a hosted billing portal link. A person must open the link to change the payment method or the subscription. Requires the admin role and the billing:write scope. # Create a checkout link Source: https://docs.app.strix.ai/api-reference/billing/create-a-checkout-link /openapi.json post /billing/checkout Not available on self-hosted deployments (returns 404). Create a hosted checkout link for a plan or a credit pack. A person must open the link and complete the payment. Requires the admin role and the billing:write scope. # Get automatic top-up settings Source: https://docs.app.strix.ai/api-reference/billing/get-automatic-top-up-settings /openapi.json get /billing/auto-topup Not available on self-hosted deployments (returns 404). Get the automatic top-up settings for the organization. Requires the billing:read scope, an unscoped token, and the admin role. # Get the credit balance Source: https://docs.app.strix.ai/api-reference/billing/get-the-credit-balance /openapi.json get /billing/credits Not available on self-hosted deployments (returns 404). Get the current top-up credit balance for the organization. The response also gives the whole-credit balance that Chat can spend. A credit that Chat has only partly used counts as one. Requires the billing:read scope. # Get the scan limit Source: https://docs.app.strix.ai/api-reference/billing/get-the-scan-limit /openapi.json get /billing/scan-limit Not available on self-hosted deployments (returns 404). Get the scan limit for the organization and the number of scans used in the current period. Each scan counts once, for all of its repositories and domains. Retests and failed scans do not count. Periods use UTC, and a week starts on Monday. The value of `scan_limit` is null when the organization has no limit. Requires the billing:read scope. # Update automatic top-up settings Source: https://docs.app.strix.ai/api-reference/billing/update-automatic-top-up-settings /openapi.json put /billing/auto-topup Not available on self-hosted deployments (returns 404). Update the automatic top-up settings for the organization. Automatic top-up charges the saved payment method when a scan or a chat needs more credits. The monthly cap applies to all automatic purchases. The chat limit applies to the automatic purchases made for one chat. To enable automatic top-up, the organization needs a usable saved card. If the organization has no saved card, or the card has expired, the API returns 409 with code `no_payment_method` or `card_expired`. If automatic top-up is not configured for this deployment, the API returns 503. An admin adds a card under Billing in the dashboard. Requires the billing:write scope and the admin role. # Approve or deny a chat action Source: https://docs.app.strix.ai/api-reference/chat/approve-or-deny-a-chat-action /openapi.json post /chat/{chatId}/approvals/{approvalId} Decides one pending approval. Deciding an approval on another member's chat requires a current admin or analyst role. Guarded operations are deletes, revocations, disconnects, removes, shares, role and organization changes, and actions that start work or reach outside Strix (scans, retests, fix pull requests, ticket pushes, invites). On `approve` the operation runs as the token's user inside the token's operation scopes and delegation, and the outcome is delivered to the agent with the next chat message. Returns 409 when the approval was already decided. # Arm a chat with engagement credentials Source: https://docs.app.strix.ai/api-reference/chat/arm-a-chat-with-engagement-credentials /openapi.json post /chat/{chatId}/credentials Attaches saved domain test users and/or credentials supplied in the request to a chat, so its agent can authenticate to the target. Values are encrypted at rest and handed only to the chat's trusted orchestrator, where host-side auth tools expose derived values (a resolved login, a TOTP code) to the agent; they never enter the chat transcript, the model context, or the agent sandbox. Re-attaching an account replaces it. Recorded as a chat.credentials.attached audit event. # Create a chat share link Source: https://docs.app.strix.ai/api-reference/chat/create-a-chat-share-link /openapi.json post /chat/{chatId}/share Generates a public, read-only share URL for the chat. Asset-scoped tokens can only share chats owned by their effective user. # Download a chat's whole workspace as a zip Source: https://docs.app.strix.ai/api-reference/chat/download-a-chats-whole-workspace-as-a-zip /openapi.json get /chat/{chatId}/files/archive Streams every file in the running chat agent's /workspace as a zip archive using safe relative POSIX entry names. Production follows response backpressure and aborts in-flight sandbox downloads if the consumer disconnects, so the whole archive is never buffered. Export is rejected before streaming when the workspace listing exceeds 2 MiB or 10,000 entries, any file is over 50 MiB, or advertised content exceeds 512 MiB total. Each file response is bounded before JSON parsing and base64 decoding, and the stream fails instead of returning a partial archive if a file grows beyond 50 MiB after listing, actual total content exceeds 512 MiB, a file cannot be read, or the 30-second archive deadline expires. # Download a file from a chat's workspace Source: https://docs.app.strix.ai/api-reference/chat/download-a-file-from-a-chats-workspace /openapi.json get /chat/{chatId}/files/download Downloads one file (max 50 MiB) from the running chat agent's /workspace. The bridge response is bounded before JSON parsing and base64 decoding. # File a chat finding into the organization's issues Source: https://docs.app.strix.ai/api-reference/chat/file-a-chat-finding-into-the-organizations-issues /openapi.json post /chat/{chatId}/findings/{findingId}/file Adds a chat-discovered finding to the organization's issue list. Idempotent: re-filing returns the same finding. When the organization already tracks an equivalent finding (same title, target and endpoint), the finding is left unfiled and duplicate_of identifies the existing issue. Recorded as a chat.finding.filed audit event. # Get a chat Source: https://docs.app.strix.ai/api-reference/chat/get-a-chat /openapi.json get /chat/{chatId} # Get a chat action approval Source: https://docs.app.strix.ai/api-reference/chat/get-a-chat-action-approval /openapi.json get /chat/{chatId}/approvals/{approvalId} Reads one approval the chat agent requested for a guarded API operation. A pending row stays decidable until someone approves or denies it. The chat must be visible to the token's user. # Get a finding reported in a chat Source: https://docs.app.strix.ai/api-reference/chat/get-a-finding-reported-in-a-chat /openapi.json get /chat/{chatId}/findings/{findingId} Returns the complete vulnerability row for a finding reported in the chat. The row includes findings that are not filed in the organization's issue list. # Get chat credit usage Source: https://docs.app.strix.ai/api-reference/chat/get-chat-credit-usage /openapi.json get /chat/usage Not available on self-hosted deployments (returns 404). Get the credits that Chat can spend and the cost of a typical chat in the organization. Give `chat_id` to also get what that chat has used and what automatic top-up bought for it. A chat uses part of a credit for each agent step. Requires the chat:read scope. # Lift the per-chat auto top-up limit for a chat Source: https://docs.app.strix.ai/api-reference/chat/lift-the-per-chat-auto-top-up-limit-for-a-chat /openapi.json put /chat/{chatId}/auto-topup-limit Lifts the organization's per-chat automatic top-up limit for one chat, or applies it again. A lifted chat can keep buying credits automatically past `chat_cap_credits`. The monthly cap still applies. Admins only. The chat must be visible to the token's user. Read the current state with `GET /chat/usage?chat_id=…` (`chat_auto_topup_cap_lifted`). # List a chat's engagement credentials Source: https://docs.app.strix.ai/api-reference/chat/list-a-chats-engagement-credentials /openapi.json get /chat/{chatId}/credentials Returns metadata for the credentials armed on a chat plus the saved domain test users the caller may attach. Secret material (passwords, TOTP seeds) is never returned. # List chat messages Source: https://docs.app.strix.ai/api-reference/chat/list-chat-messages /openapi.json get /chat/{chatId}/messages Returns the newest finished messages oldest first, up to `limit`. `omitted` counts older messages not returned. Messages over 8,000 characters are cut and marked `truncated`. Streaming replies appear after they finish. Poll `getChat` for `status` and call this operation again. `content` is the text shown in the dashboard. Attached context is not included. # List chats Source: https://docs.app.strix.ai/api-reference/chat/list-chats /openapi.json get /chat Most recent chats for the organization (up to 50). # List exportable files in a chat's workspace Source: https://docs.app.strix.ai/api-reference/chat/list-exportable-files-in-a-chats-workspace /openapi.json get /chat/{chatId}/files Lists files in the running chat agent's /workspace so artifacts (reports, PoCs, generated files) can be exported. The sandbox response is limited to 2 MiB and 10,000 entries before JSON normalization. # List the findings an agent reported in a chat and of the pentests it launched Source: https://docs.app.strix.ai/api-reference/chat/list-the-findings-an-agent-reported-in-a-chat-and-of-the-pentests-it-launched /openapi.json get /chat/{chatId}/findings Findings discovered inside a chat are exploratory and stay out of the organization's issue lists until a member files one; filed_at reflects that state. # Re-scope a chat to verified domains Source: https://docs.app.strix.ai/api-reference/chat/re-scope-a-chat-to-verified-domains /openapi.json put /chat/{chatId}/domains Replaces the verified organization domains a chat is authorized against, including while it is running: the domains are re-validated (owned, verified, inside the caller's access scopes), persisted, and pushed to the running agent, which re-labels proxy traffic and is told its scope changed. An empty list restores organization-wide authorization. # Revoke a chat's engagement credentials Source: https://docs.app.strix.ai/api-reference/chat/revoke-a-chats-engagement-credentials /openapi.json delete /chat/{chatId}/credentials Clears every credential armed on the chat, in storage and in the running orchestrator. Recorded as a chat.credentials.revoked audit event. # Run a command in a chat's agent sandbox Source: https://docs.app.strix.ai/api-reference/chat/run-a-command-in-a-chats-agent-sandbox /openapi.json post /chat/{chatId}/terminal Executes one non-interactive command inside the chat agent's sandbox, starting from a directory under /workspace. Execution time and output size are capped by the runtime, and every attempt is recorded as a chat.terminal.command audit event. # Send a chat message Source: https://docs.app.strix.ai/api-reference/chat/send-a-chat-message /openapi.json post /chat/{chatId}/message Sends a message to an active chat. Interacting with another member's chat requires a current admin or analyst role; viewers can interact with their own chats without cloud MCP access. Use `application/json` for text-only, or `multipart/form-data` to attach files. `message` may be omitted for a control-only request when `cancel_current` or `stop_agent` is true. Read the agent's replies with `listChatMessages`. # Start a chat Source: https://docs.app.strix.ai/api-reference/chat/start-a-chat /openapi.json post /chat Starts a new agent chat. Use `application/json` for text-only, or `multipart/form-data` to attach files (field `files`). # Update a chat's cloud MCP connections Source: https://docs.app.strix.ai/api-reference/chat/update-a-chats-cloud-mcp-connections /openapi.json put /chat/{chatId}/connections Replaces the chat's connection selection and delivers it to the running agent. Null restores defaults from the chat's domain scope; an empty list disables cloud MCP access. Foreign or unknown ids are rejected. Unavailable organization connections and deleted ids already saved on the chat are dropped from explicit selections. Requires an admin or analyst role. Chat agent credentials cannot update connections. Scoped members can update only their own chats. # Wake a chat workspace Source: https://docs.app.strix.ai/api-reference/chat/wake-a-chat-workspace /openapi.json post /chat/{chatId}/wake Wakes the chat workspace when it is asleep. Waking another member's chat requires a current admin or analyst role. The workspace is running when the request returns. A released workspace returns 409 and is recreated by the next message; an ended workspace returns 410. # Change current CLI session scopes Source: https://docs.app.strix.ai/api-reference/cli/change-current-cli-session-scopes /openapi.json patch /cli/session Change the saved scope profile or custom requested scopes without exceeding the immutable ceiling approved at login. Broader access requires a new browser sign-in. # Complete an interactive CLI sign-in Source: https://docs.app.strix.ai/api-reference/cli/complete-an-interactive-cli-sign-in /openapi.json post /cli/login/complete Finish an interactive CLI sign-in after the user picks a workspace and scopes. Send the `selection_token` from the poll response. The workspace must be one of the user's memberships. The server always includes the minimum scopes and the member's role limits the final set. When `workspace_name` is present, the server checks that the user is an admin, mints the token, and then renames the chosen workspace. A failed rename does not fail the sign-in. The selection token expires after 10 minutes. This endpoint does not require authentication. # Explain the CLI sign-in endpoint Source: https://docs.app.strix.ai/api-reference/cli/explain-the-cli-sign-in-endpoint /openapi.json get /cli/login Browsers sometimes open this URL. The endpoint accepts POST only, so this GET performs no action. It returns 405 with an Allow header and a short explanation. The body is HTML when the Accept header includes text/html, otherwise JSON. This endpoint does not require authentication. # Explain the CLI sign-in poll endpoint Source: https://docs.app.strix.ai/api-reference/cli/explain-the-cli-sign-in-poll-endpoint /openapi.json get /cli/login/poll Browsers sometimes open this URL. The endpoint accepts POST only, so this GET performs no action. It returns 405 with an Allow header and a short explanation. The body is HTML when the Accept header includes text/html, otherwise JSON. This endpoint does not require authentication. # Get the current CLI session Source: https://docs.app.strix.ai/api-reference/cli/get-the-current-cli-session /openapi.json get /cli/session Inspect the authenticated CLI device session, its effective scopes, saved scope preference, and immutable login consent ceiling. No API scope is required; the bearer must be a personal Strix CLI session. # Poll a CLI sign-in Source: https://docs.app.strix.ai/api-reference/cli/poll-a-cli-sign-in /openapi.json post /cli/login/poll Exchange a device code for a personal API token. While the user has not approved the sign-in, the response is 400 with an `error` field of `authorization_pending` or `slow_down` — wait for the returned interval and poll again. `access_denied` and `expired_token` are terminal. On approval, the endpoint provisions the user and a default organization when needed, and returns a personal API token with a 90 day expiry. Set `interactive` to true to get a workspace list and a scope catalog instead of a token, then finish with POST /cli/login/complete. This endpoint does not require authentication. # Revoke the current CLI session Source: https://docs.app.strix.ai/api-reference/cli/revoke-the-current-cli-session /openapi.json delete /cli/session Revoke the authenticated CLI session itself. No token-management scope is required. # Start a CLI sign-in Source: https://docs.app.strix.ai/api-reference/cli/start-a-cli-sign-in /openapi.json post /cli/login Start the OAuth 2.0 device authorization flow (RFC 8628). The response contains a user code and a verification URL. Show both to the user, then poll POST /cli/login/poll with the device code. This endpoint does not require authentication. # Create a network connector Source: https://docs.app.strix.ai/api-reference/connectors/create-a-network-connector /openapi.json post /connectors Provisions a connector and returns a `docker run` command and a `kubectl apply` manifest to start the agent inside the customer network. Requires a tier with network connectors enabled. On self-hosted installs the routes answer 404 until the app has Tailscale credentials (`TAILSCALE_OAUTH_CLIENT_ID`, `TAILSCALE_OAUTH_CLIENT_SECRET`, `TAILSCALE_CUSTOMER_TAG`). Personal tokens must belong to an organization admin (parity with the dashboard). # Delete a network connector Source: https://docs.app.strix.ai/api-reference/connectors/delete-a-network-connector /openapi.json delete /connectors/{connectorId} Deletes the connector and revokes its devices. Personal tokens must belong to an organization admin (parity with the dashboard). # Get a network connector Source: https://docs.app.strix.ai/api-reference/connectors/get-a-network-connector /openapi.json get /connectors/{connectorId} # Get live connector status Source: https://docs.app.strix.ai/api-reference/connectors/get-live-connector-status /openapi.json get /connectors/{connectorId}/status Queries the connector's live health and updates the stored status. # List network connectors Source: https://docs.app.strix.ai/api-reference/connectors/list-network-connectors /openapi.json get /connectors # Add a container image Source: https://docs.app.strix.ai/api-reference/containers/add-a-container-image /openapi.json post /containers/images Verify image-read access and track an image repository. Strix discovers and stores an available tag, digest, and platform without starting a scan. Google Artifact Registry supplies upload times to select the newest tagged version. Other registries use an existing latest tag or a sole tag. Unordered multiple tags require an explicit choice. Set scan to true to start an initial scan with the detected or explicit version. Initial scans and explicit versions must fit the compressed size limit. The default limit is 8 GiB. Self-hosted installs can change it with STRIX_CONTAINER_MAX_IMAGE_BYTES. Existing images return created false and status 200. Session callers need the admin or analyst role without asset scopes. The organization must have container scanning access. # Amazon ECR connection setup Source: https://docs.app.strix.ai/api-reference/containers/amazon-ecr-connection-setup /openapi.json get /containers/registries/ecr-setup Returns the external id, the Strix AWS account, and the role name that an Amazon ECR pull role must trust, plus a CloudFormation quick-create link. Call this endpoint before you create an `ecr` registry. Container scanning requires the Enterprise plan. # Connect a container registry Source: https://docs.app.strix.ai/api-reference/containers/connect-a-container-registry /openapi.json post /containers/registries Connect a registry and verify the credential. Strix encrypts the credential and never returns it. Session callers must hold the admin or analyst role without asset scopes. Container scanning requires the Enterprise plan. # Connect or pause registry push events Source: https://docs.app.strix.ai/api-reference/containers/connect-or-pause-registry-push-events /openapi.json post /containers/registries/{registryId}/webhook Save the registry master switch and shared tag rule without changing image inclusion. Existing secrets are preserved. Requires an unscoped admin or analyst. Include images through PATCH /containers/images/{imageId}. An authenticated matching push verifies delivery and starts scans. Token-created connections recheck the token's current permissions, expiry and revocation on each push. Events during an active scan are not queued. # Disconnect a container registry Source: https://docs.app.strix.ai/api-reference/containers/disconnect-a-container-registry /openapi.json delete /containers/registries/{registryId} Delete the registry, its images, and its scan history. Strix closes the open findings of those images. Session callers must hold the admin or analyst role without asset scopes. # Export a container image SBOM Source: https://docs.app.strix.ai/api-reference/containers/export-a-container-image-sbom /openapi.json get /containers/images/{imageId}/sbom Download the SBOM of one completed scan as an SPDX 2.3 or CycloneDX 1.6 JSON document. Without `scan_id`, Strix uses the latest completed scan. Strix builds the document from the stored components, so it matches `listContainerImageComponents`. # Get a container image Source: https://docs.app.strix.ai/api-reference/containers/get-a-container-image /openapi.json get /containers/images/{imageId} Image metadata with its registry, latest scan, layers, and image configuration from the latest completed scan. # Get a container registry Source: https://docs.app.strix.ai/api-reference/containers/get-a-container-registry /openapi.json get /containers/registries/{registryId} # Get containers summary Source: https://docs.app.strix.ai/api-reference/containers/get-containers-summary /openapi.json get /containers/summary Organization-wide counts for the Containers dashboard. Container scanning requires the Enterprise plan. # Get registry push connection settings Source: https://docs.app.strix.ai/api-reference/containers/get-registry-push-connection-settings /openapi.json get /containers/registries/{registryId}/webhook Return setup instructions, private connection details, and the last verified delivery status. Requires containers:write because these secrets authorize scans, plus an unscoped admin or analyst. A null webhook means this registry has no push connection. # List container image components Source: https://docs.app.strix.ai/api-reference/containers/list-container-image-components /openapi.json get /containers/images/{imageId}/components SBOM components from one scan. Without `scan_id`, Strix uses the latest completed scan. # List container image findings Source: https://docs.app.strix.ai/api-reference/containers/list-container-image-findings /openapi.json get /containers/images/{imageId}/findings Findings for the image. Each finding is a vulnerability row, so the Vulnerabilities endpoints accept its `id`. # List container image scans Source: https://docs.app.strix.ai/api-reference/containers/list-container-image-scans /openapi.json get /containers/images/{imageId}/scans Scan history for the image, newest first. Each entry is one image snapshot: the run that scanned the image and the digest, platform, layers, and configuration that the run recorded. The list contains at most 50 snapshots. # List container images Source: https://docs.app.strix.ai/api-reference/containers/list-container-images /openapi.json get /containers/images Tracked images with counts from their latest completed scan. Container scanning requires the Enterprise plan. # List container registries Source: https://docs.app.strix.ai/api-reference/containers/list-container-registries /openapi.json get /containers/registries Registries that the organization connected. Container scanning requires the Enterprise plan. # List images in a connected registry Source: https://docs.app.strix.ai/api-reference/containers/list-images-in-a-connected-registry /openapi.json get /containers/registries/{registryId}/repositories Return up to 50 image repository names per page. Requires containers:read and an unscoped admin or analyst. Strix uses the stored credential on the server. GitHub connections list the selected package owner's images only. Older GitHub connections without account selection default to the credential username and accept a namespace override. Docker Hub defaults to the connection username or library for anonymous connections. Google Artifact Registry requires a project-id/repository namespace and artifactregistry.packages.list permission on that repository. Google filters image names before pagination and returns a native page token. Strix does not download the complete Google catalog. ECR uses ecr:DescribeRepositories. Other registries use the OCI catalog, when available. Pull access does not guarantee listing access. If listing fails, callers can still add an image by its reference. # Read image versions before tracking Source: https://docs.app.strix.ai/api-reference/containers/read-image-versions-before-tracking /openapi.json get /containers/registries/{registryId}/versions Read image versions and verify the selected manifest without adding an image or starting a scan. Requires containers:read and an unscoped admin or analyst. Strix uses the stored registry credential on the server. Google Artifact Registry uses the native API when the service account has artifactregistry.versions.list. Native pages contain up to 50 versions, newest first, with one representative tag per version. Use cursor to read older versions. The first native page selects its newest tagged version. Later native pages return selected null. Pull-only custom roles keep the existing Docker-compatible listing without pagination. Other registries use an existing latest tag or a sole tag. Multiple unordered tags return selected null so the caller can choose. Empty repositories also return selected null. # Remove a container image Source: https://docs.app.strix.ai/api-reference/containers/remove-a-container-image /openapi.json delete /containers/images/{imageId} Delete the image and its scan history. Strix closes the open findings of the image. Session callers must hold the admin or analyst role without asset scopes. # Start a container image scan Source: https://docs.app.strix.ai/api-reference/containers/start-a-container-image-scan /openapi.json post /containers/images/{imageId}/scans Resolve the tag to a digest and queue a scan. An image whose compressed size is above the scan limit (8 GiB; self-hosted installs can change it with `STRIX_CONTAINER_MAX_IMAGE_BYTES`) fails with status 400 before Strix queues the scan. One scan per image can be queued or running at a time. Strix returns `409` when a scan is already active. Session callers must hold the admin or analyst role without asset scopes. # Update a container image Source: https://docs.app.strix.ai/api-reference/containers/update-a-container-image /openapi.json patch /containers/images/{imageId} Change the watched tags, the linked repository, or the enabled flag. Session callers must hold the admin or analyst role without asset scopes. # Verify a container registry connection Source: https://docs.app.strix.ai/api-reference/containers/verify-a-container-registry-connection /openapi.json post /containers/registries/{registryId}/verify Authenticate against the registry with the stored credential and update `status`. Session callers must hold the admin or analyst role without asset scopes. # Delete a domain header Source: https://docs.app.strix.ai/api-reference/domains/delete-a-domain-header /openapi.json delete /domains/{domainId}/scan-headers/{headerId} Requires test_users:write and access to the domain. Asset-scoped actors can manage headers only when every domain in the existing and requested scopes is accessible. Only unrestricted actors can set an empty scope for all domains. Strix encrypts values and never returns saved values. Empty or omitted values keep the saved value on update. # List saved domain headers Source: https://docs.app.strix.ai/api-reference/domains/list-saved-domain-headers /openapi.json get /domains/{domainId}/scan-headers List headers saved on this domain, headers whose scope includes this domain, and headers that apply to all domains. Values stay hidden. Requires test_users:read and access to the domain. The can_manage field indicates whether the actor can edit the full scope. # Save a domain header Source: https://docs.app.strix.ai/api-reference/domains/save-a-domain-header /openapi.json post /domains/{domainId}/scan-headers Requires test_users:write and access to the domain. Asset-scoped actors can manage headers only when every domain in the existing and requested scopes is accessible. Only unrestricted actors can set an empty scope for all domains. Strix encrypts values and never returns saved values. Empty or omitted values keep the saved value on update. # Update a domain header Source: https://docs.app.strix.ai/api-reference/domains/update-a-domain-header /openapi.json patch /domains/{domainId}/scan-headers/{headerId} Requires test_users:write and access to the domain. Asset-scoped actors can manage headers only when every domain in the existing and requested scopes is accessible. Only unrestricted actors can set an empty scope for all domains. Strix encrypts values and never returns saved values. Empty or omitted values keep the saved value on update. # Add a cloud project connection Source: https://docs.app.strix.ai/api-reference/integrations/add-a-cloud-project-connection /openapi.json post /integrations/cloud/{id}/projects Adds a project under an existing cloud connection. The source connection must own a provider credential. # Configure Azure repository service hooks Source: https://docs.app.strix.ai/api-reference/integrations/configure-azure-repository-service-hooks /openapi.json post /integrations/azure_repos/hooks Create or repair service hooks for registered repositories on this connection. Requires an organization admin, integrations:write, Azure project service-hook permissions, and an HTTPS webhook address reachable by Azure. Safe to retry. # Connect a self-hosted Jira with a token Source: https://docs.app.strix.ai/api-reference/integrations/connect-a-self-hosted-jira-with-a-token /openapi.json post /integrations/jira/server/connect Connects a self-hosted Jira (Data Center or Server) with an instance URL and a personal access token. This route is available only on on-prem Strix installs and returns 404 on hosted Strix. The token must belong to an organization admin (parity with the dashboard). When the token has Jira administrator rights, Strix registers the status webhook. Otherwise the response carries the webhook URL for a Jira administrator to add by hand. # Connect Azure Repos with a token Source: https://docs.app.strix.ai/api-reference/integrations/connect-azure-repos-with-a-token /openapi.json post /integrations/azure_repos/connect Verifies a repository and saves an encrypted PAT connection. The connection can discover other accessible repositories in this Azure organization or Server collection. Requires an admin and integrations:write. Use Code (Read & write), User profile (Read), and permission to manage project service hooks for all features. Register repositories separately to enable scans and reviews. # Connect bitbucket with a token Source: https://docs.app.strix.ai/api-reference/integrations/connect-bitbucket-with-a-token /openapi.json post /integrations/bitbucket/connect Connects Bitbucket with an API token. Personal tokens must belong to an organization admin (parity with the dashboard). # Connect gitlab with a token Source: https://docs.app.strix.ai/api-reference/integrations/connect-gitlab-with-a-token /openapi.json post /integrations/gitlab/connect Connects GitLab with a personal access token. Personal tokens must belong to an organization admin (parity with the dashboard). # Connect or update a compliance platform Source: https://docs.app.strix.ai/api-reference/integrations/connect-or-update-a-compliance-platform /openapi.json put /integrations/grc/{provider} Creates or updates the connection. For Vanta, create a private *Build Integrations* app in the Vanta Developer Console, add the four Strix resources, and send the app's client ID, client secret and resource IDs. Credentials are verified with a token request before they are stored. Administrators only. # Create a cloud connection Source: https://docs.app.strix.ai/api-reference/integrations/create-a-cloud-connection /openapi.json post /integrations/cloud Connects a provider with a pasted access token, a custom MCP server that you run, or a knowledge card. Set `provider` to `custom` and give the server `url` (https only, public address) to connect a custom MCP server. Set `provider` to `supabase`, `cloudflare`, or `vercel` and give the provider access token to connect a first-party provider. Set `card` to a knowledge card id to connect it as on the dashboard: a token card takes `access_token`, and cards that sign in at the vendor cannot be connected here. AWS, Azure, and Google use dashboard verification or browser sign-in flows. On a self-hosted deployment only `custom` is accepted. `applies_to_domain_ids` and `applies_to_repository_ids` only preselect the connection for new scans on those assets; which connections a run may use is fixed by the scan's connection selection. The access token is encrypted at rest and is never returned. Personal tokens must belong to an organization admin (parity with the dashboard). Tokens narrowed to specific assets cannot create connections. # Create an installation link Source: https://docs.app.strix.ai/api-reference/integrations/create-an-installation-link /openapi.json post /integrations/{provider}/install-url Create the hosted installation link for one provider. A person must open the link and approve the access. The link works for 10 minutes, and only for the user who requested it, signed in to Strix in that browser. `github` returns a GitHub App installation link, which also opens the repository access settings when the app is already installed. `bitbucket`, `slack`, `jira`, and `linear` return the provider authorization page. `supabase`, `cloudflare`, `azure`, and `vercel` return the provider sign-in page that creates a cloud connection. `jira` and `linear` need a plan with ticketing integrations. GitLab, Azure Repos, AWS, and Google Cloud have no link: connect GitLab and Azure Repos with a token through their connect operations, and the others in the dashboard. Returns 500 when the provider sign-in is not configured on a self-hosted server. Requires the admin role and the integrations:write scope. # Disconnect a cloud MCP connection Source: https://docs.app.strix.ai/api-reference/integrations/disconnect-a-cloud-mcp-connection /openapi.json delete /integrations/cloud/{id} Removes an organization cloud MCP connection using the dashboard lifecycle. Requires integrations:write and organization admin parity; tokens limited to specific assets are refused. Disconnect is idempotent. Project connections retain shared grants when needed. Azure disconnect stops Strix access; Microsoft consent is managed separately. # Disconnect a compliance platform Source: https://docs.app.strix.ai/api-reference/integrations/disconnect-a-compliance-platform /openapi.json delete /integrations/grc/{provider} Deletes the connection and its stored credentials. Data already pushed to the provider is not removed. Administrators only. # Disconnect an integration Source: https://docs.app.strix.ai/api-reference/integrations/disconnect-an-integration /openapi.json delete /integrations/{provider} Disconnects the integration for the organization. `installation_id` is required for GitHub, GitLab, Bitbucket, and Azure Repos, which may have multiple installations; omit it for organization-wide providers such as Slack. Personal tokens must belong to an organization admin (parity with the dashboard). # Discover Azure repositories Source: https://docs.app.strix.ai/api-reference/integrations/discover-azure-repositories /openapi.json get /integrations/azure_repos/repositories List repositories accessible through the organization's Azure connections. Deduplicates connections and synchronizes registered repository renames using immutable Azure IDs. Requires an admin and integrations:read. full_name includes the host and collection path; use it unchanged when registering repositories or launching PR reviews. failedConnections reports partial discovery failures. # Get compliance platform connection Source: https://docs.app.strix.ai/api-reference/integrations/get-compliance-platform-connection /openapi.json get /integrations/grc/{provider} Returns the connection to a compliance platform such as Vanta, with its sync state. The client secret is never returned. # Get integration settings Source: https://docs.app.strix.ai/api-reference/integrations/get-integration-settings /openapi.json get /integrations/{provider}/settings Returns the settings for the Linear, Jira or Slack integration. For Linear and Jira, administrators and service tokens also receive the connected repositories and the repository routes. For Slack, returns the notification settings (default channel, severities, toggles and per-group channel routing). # List a Jira project's priorities Source: https://docs.app.strix.ai/api-reference/integrations/list-a-jira-projects-priorities /openapi.json get /integrations/{provider}/priorities Priorities available on the create screen of the project, in Jira's order (highest first), for the `jira_priority_map` setting. Defaults to the connected account's default project; `collection_id` overrides it. Empty for Linear. Personal tokens must belong to an organization administrator (parity with the dashboard). # List assignable users for a ticketing integration Source: https://docs.app.strix.ai/api-reference/integrations/list-assignable-users-for-a-ticketing-integration /openapi.json get /integrations/{provider}/users Returns the provider users who can be the default assignee: active Linear workspace users, or the users assignable in the Jira project given by `collection_id` (default: the default project). Personal tokens must belong to an organization administrator (parity with the dashboard). # List cloud connections Source: https://docs.app.strix.ai/api-reference/integrations/list-cloud-connections /openapi.json get /integrations/cloud Returns the cloud connections available to scans in the organization. # List evidence documents Source: https://docs.app.strix.ai/api-reference/integrations/list-evidence-documents /openapi.json get /integrations/grc/{provider}/documents Lists the documents in the compliance platform that the connected app may upload evidence to. Use a document `id` as `evidence_document_id`. Administrators only. # List integrations Source: https://docs.app.strix.ai/api-reference/integrations/list-integrations /openapi.json get /integrations Connected SCM installations, ticketing accounts, and OAuth availability. # List sync runs Source: https://docs.app.strix.ai/api-reference/integrations/list-sync-runs /openapi.json get /integrations/grc/{provider}/runs Returns the most recent sync runs for the connection, newest first. # Preview a ticket from a sample finding Source: https://docs.app.strix.ai/api-reference/integrations/preview-a-ticket-from-a-sample-finding /openapi.json get /integrations/{provider}/preview Returns the ticket that a sample finding would produce with the integration's current settings: destination, issue type, assignee, pentest grouping, and the rendered title and description. Use it to check templates before you save. Nothing is created. To preview a real finding, use `GET /vulnerabilities/{vulnerabilityId}/preview`. # Push findings to the compliance platform now Source: https://docs.app.strix.ai/api-reference/integrations/push-findings-to-the-compliance-platform-now /openapi.json post /integrations/grc/{provider}/sync Runs a full sync: all open findings of the organization replace the previous state in the provider, and the latest compliance report is uploaded as evidence when a document is configured. Returns 409 when a sync is already running. Administrators only. # Reject an unsupported token-based integration provider Source: https://docs.app.strix.ai/api-reference/integrations/reject-an-unsupported-token-based-integration-provider /openapi.json post /integrations/{provider}/connect Authenticated JSON fallback for provider identifiers other than the dedicated GitLab and Bitbucket connect routes. Always returns 400 after scope and admin checks. # Reject an unsupported token-validation provider Source: https://docs.app.strix.ai/api-reference/integrations/reject-an-unsupported-token-validation-provider /openapi.json post /integrations/{provider}/validate Authenticated JSON fallback for provider identifiers other than the dedicated GitLab and Bitbucket validation routes. Always returns 400 after scope and admin checks. # Send a test ticket Source: https://docs.app.strix.ai/api-reference/integrations/send-a-test-ticket /openapi.json post /integrations/{provider}/test-ticket Creates one real ticket from a sample finding, with the integration's templates, label, and default assignee, so you can check the setup end to end. The ticket title starts with `[Strix test]`. It is not linked to a finding and is never synced; delete it in the provider when you are done. Personal tokens must belong to an organization administrator (parity with the dashboard). # Update integration settings Source: https://docs.app.strix.ai/api-reference/integrations/update-integration-settings /openapi.json patch /integrations/{provider}/settings Updates settings for the Linear, Jira or Slack integration. For Linear and Jira, set `issue_label_enabled` and `issue_label_name` to add a label to each issue that Strix creates. For Slack, any channel id set on `slack_default_channel_id` or `slack_channel_groups` must be one Strix can post to: public channels are joined automatically, private channels need @Strix invited first. Personal tokens must belong to an organization administrator (parity with the dashboard). # Validate a bitbucket token Source: https://docs.app.strix.ai/api-reference/integrations/validate-a-bitbucket-token /openapi.json post /integrations/bitbucket/validate Checks a personal access token without persisting it. Personal tokens must belong to an organization admin (parity with the dashboard). # Validate a gitlab token Source: https://docs.app.strix.ai/api-reference/integrations/validate-a-gitlab-token /openapi.json post /integrations/gitlab/validate Checks a personal access token without persisting it. Personal tokens must belong to an organization admin (parity with the dashboard). # Validate Azure Repos access Source: https://docs.app.strix.ai/api-reference/integrations/validate-azure-repos-access /openapi.json post /integrations/azure_repos/validate Verifies repository access without saving the PAT. Requires an admin and integrations:write. # Verify a saved Azure Repos connection Source: https://docs.app.strix.ai/api-reference/integrations/verify-a-saved-azure-repos-connection /openapi.json post /integrations/azure_repos/verify Reads the saved repository with its existing PAT or Microsoft OAuth credential. Refreshes an expiring OAuth token server-side. Requires an organization admin and integrations:write. Does not launch a scan. # List pending invitations Source: https://docs.app.strix.ai/api-reference/invitations/list-pending-invitations /openapi.json get /organization/invitations # Revoke invitation Source: https://docs.app.strix.ai/api-reference/invitations/revoke-invitation /openapi.json delete /organization/invitations/{invitationId} # Browse documents in a knowledge source Source: https://docs.app.strix.ai/api-reference/knowledge/browse-documents-in-a-knowledge-source /openapi.json get /knowledge/sources/{sourceId}/documents Lists the documents a person could pin by running the provider's listing tool on the vendor's MCP server and reading the result in code. Providers without a listing recipe answer 501. Organization-global knowledge sources are not available to asset-scoped tokens. # Create a custom skill Source: https://docs.app.strix.ai/api-reference/knowledge/create-a-custom-skill /openapi.json post /knowledge/skills Creates a custom skill. The agent runtime registers the skill as org/ and can load it during a run. A personal token must belong to an organization admin. Asset-scoped tokens cannot use this operation. # Create a knowledge document Source: https://docs.app.strix.ai/api-reference/knowledge/create-a-knowledge-document /openapi.json post /knowledge Manage organization knowledge. Organization-global knowledge writes are not available to asset-scoped tokens. # Create or update a knowledge policy Source: https://docs.app.strix.ai/api-reference/knowledge/create-or-update-a-knowledge-policy /openapi.json post /knowledge/policies Creates or updates an organization knowledge policy. Personal tokens must belong to an organization admin (parity with the dashboard). Organization-global knowledge writes are not available to asset-scoped tokens. # Delete a custom skill Source: https://docs.app.strix.ai/api-reference/knowledge/delete-a-custom-skill /openapi.json delete /knowledge/skills/{skillName} Deletes a custom skill. Strix removes the skill from every future run. A personal token must belong to an organization admin. Asset-scoped tokens cannot use this operation. # Delete a knowledge document Source: https://docs.app.strix.ai/api-reference/knowledge/delete-a-knowledge-document /openapi.json delete /knowledge/{documentId} Manage organization knowledge. Organization-global knowledge writes are not available to asset-scoped tokens. # Delete a knowledge policy Source: https://docs.app.strix.ai/api-reference/knowledge/delete-a-knowledge-policy /openapi.json delete /knowledge/policies/{policyKey} Deletes an organization knowledge policy. Personal tokens must belong to an organization admin (parity with the dashboard). Organization-global knowledge writes are not available to asset-scoped tokens. # Get a custom skill Source: https://docs.app.strix.ai/api-reference/knowledge/get-a-custom-skill /openapi.json get /knowledge/skills/{skillName} Returns one custom skill and its content. Asset-scoped tokens cannot use this operation. # List connected knowledge sources Source: https://docs.app.strix.ai/api-reference/knowledge/list-connected-knowledge-sources /openapi.json get /knowledge/sources Lists the organization's connected knowledge sources and their selected resources. Organization-global knowledge sources are not available to asset-scoped tokens. # List custom skills Source: https://docs.app.strix.ai/api-reference/knowledge/list-custom-skills /openapi.json get /knowledge/skills Lists the custom skills of the organization. A custom skill is a markdown playbook the agent can load during a run. A skill applies organization-wide by default, or only to the repositories in its scope. Asset-scoped tokens cannot use this operation. # List knowledge documents Source: https://docs.app.strix.ai/api-reference/knowledge/list-knowledge-documents /openapi.json get /knowledge # List knowledge entries for a repository Source: https://docs.app.strix.ai/api-reference/knowledge/list-knowledge-entries-for-a-repository /openapi.json get /knowledge/repos/{repo}/entries # List knowledge policies Source: https://docs.app.strix.ai/api-reference/knowledge/list-knowledge-policies /openapi.json get /knowledge/policies # List repository knowledge profiles Source: https://docs.app.strix.ai/api-reference/knowledge/list-repository-knowledge-profiles /openapi.json get /knowledge/repos # Remove a knowledge source Source: https://docs.app.strix.ai/api-reference/knowledge/remove-a-knowledge-source /openapi.json delete /knowledge/sources/{sourceId} Disconnects the source and deletes its selected resources and note. Strix asks the vendor's authorization server to revoke the grant first and reports whether that succeeded; when it did not, the response says what is left to finish at the provider. Removing a source that is already gone succeeds. Personal tokens must belong to an organization admin, and asset-scoped tokens cannot remove organization-global sources. # Update a custom skill Source: https://docs.app.strix.ai/api-reference/knowledge/update-a-custom-skill /openapi.json patch /knowledge/skills/{skillName} Updates the description, the content, or the scope of a custom skill. You cannot change the name. A personal token must belong to an organization admin. Asset-scoped tokens cannot use this operation. # Update a knowledge document Source: https://docs.app.strix.ai/api-reference/knowledge/update-a-knowledge-document /openapi.json patch /knowledge/{documentId} Manage organization knowledge. Organization-global knowledge writes are not available to asset-scoped tokens. # Update a knowledge source Source: https://docs.app.strix.ai/api-reference/knowledge/update-a-knowledge-source /openapi.json patch /knowledge/sources/{sourceId} Replaces the source note and selected resource list. Context is optional. Personal tokens must belong to an organization admin, and asset-scoped tokens cannot update organization-global sources. # Update a repository knowledge profile Source: https://docs.app.strix.ai/api-reference/knowledge/update-a-repository-knowledge-profile /openapi.json patch /knowledge/repos/{repo}/profile Update a repository knowledge profile. Asset-scoped tokens may update profiles only for repositories covered by their token scopes. # Get license status Source: https://docs.app.strix.ai/api-reference/license/get-license-status /openapi.json get /license License state for self-hosted installs: whether licensing is enforced, the current state (unlicensed/valid/expired/grace_exceeded/invalid), signed entitlements (seat, domain, repo, developer, pentest, and concurrency limits plus feature flags), expiry, and install-wide aggregate usage counts. Licenses are verified offline from a signed token, so there is no sync (last_synced_at is always null). On SaaS this always reports enforced=false. Requires the license:read scope. Personal tokens must belong to an org admin (service tokens are admin-issued and exempt). # Get LLM costs overview Source: https://docs.app.strix.ai/api-reference/llm/get-llm-costs-overview /openapi.json get /llm-costs Self-hosted installs and hosted organizations that run on their own LLM keys; returns 404 elsewhere. Full LLM spend analytics: KPIs with period deltas, month-to-date and projected burn, cost and token timelines, breakdowns by model/asset/member, most expensive runs, and cache efficiency. Requires an unrestricted token (tokens limited by rbac scopes are rejected). # Get LLM model settings Source: https://docs.app.strix.ai/api-reference/llm/get-llm-model-settings /openapi.json get /llm-settings Self-hosted installs and hosted organizations that run on their own LLM keys; returns 404 elsewhere. Organization admins with an unrestricted token get named model configurations (API keys and extra headers are never returned, only whether they are set), per-purpose model assignments (default, scan, pr_review, chat, dedupe, app), env-fallback models per purpose, and current month-to-date spend per run type. Other members and asset-scoped tokens get a read-only view: each model config carries only `id`, `name` and `model` (key status, base URL, headers, tuning and pricing are cleared), plus the assignments and env-fallback models, and `mtdSpend` is omitted. # Get LLM usage for a run Source: https://docs.app.strix.ai/api-reference/llm/get-llm-usage-for-a-run /openapi.json get /llm-costs/runs/{runType}/{runId} Self-hosted installs and hosted organizations that run on their own LLM keys; returns 404 elsewhere. Cost, token, and request totals recorded for a single scan, PR review, or chat run. `usage` is null until the run has reported cost. Requires an unrestricted token (tokens limited by rbac scopes are rejected). # Update LLM model settings Source: https://docs.app.strix.ai/api-reference/llm/update-llm-model-settings /openapi.json put /llm-settings Self-hosted installs and hosted organizations that run on their own LLM keys; returns 404 elsewhere. Requires the organization admin role. Full-state save of model configurations and per-purpose assignments. Include `apiKey` on a model config to set or replace its key (stored encrypted). Omit it to keep the existing key. Same for `extraHeaders` (an empty string clears the stored value). # Invite organization member Source: https://docs.app.strix.ai/api-reference/members/invite-organization-member /openapi.json post /organization/members # List organization members Source: https://docs.app.strix.ai/api-reference/members/list-organization-members /openapi.json get /organization/members # Remove member Source: https://docs.app.strix.ai/api-reference/members/remove-member /openapi.json delete /organization/members/{membershipId} # Update member role Source: https://docs.app.strix.ai/api-reference/members/update-member-role /openapi.json patch /organization/members/{membershipId} # Get notification settings Source: https://docs.app.strix.ai/api-reference/organization/get-notification-settings /openapi.json get /settings/notifications Returns the organization's notification settings, including SLA deadline reminder configuration. # Get organization Source: https://docs.app.strix.ai/api-reference/organization/get-organization /openapi.json get /organization Returns workspace configuration for the authenticated token organization. # Get trust page settings Source: https://docs.app.strix.ai/api-reference/organization/get-trust-page-settings /openapi.json get /trust-page Returns the organization's public trust page settings, the public page and badge URLs, and the summary the page shows (last and next pentest, pull requests reviewed, programs in scope). Asset-scoped tokens cannot read this resource. # Update notification settings Source: https://docs.app.strix.ai/api-reference/organization/update-notification-settings /openapi.json patch /settings/notifications Update the organization's notification settings (admin only). Enable SLA deadline reminders and choose email/Slack delivery and the warning period. # Update organization Source: https://docs.app.strix.ai/api-reference/organization/update-organization /openapi.json patch /organization Rename the authenticated token organization. # Update trust page settings Source: https://docs.app.strix.ai/api-reference/organization/update-trust-page-settings /openapi.json patch /trust-page Publishes or unpublishes the trust page and sets its hidden sections. Omitted fields keep their current values. The first update assigns the random id in the page URL. Publishing requires at least one domain the organization verified in Strix, otherwise the request fails with 409. Requires the admin role. # Get a PR review Source: https://docs.app.strix.ai/api-reference/pr-reviews/get-a-pr-review /openapi.json get /pr-reviews/{prReviewId} Fetches a PR review with its findings. Results are limited to repositories within the token's rbac scopes. # Get PR review settings Source: https://docs.app.strix.ai/api-reference/pr-reviews/get-pr-review-settings /openapi.json get /pr-reviews/settings # List PR reviews Source: https://docs.app.strix.ai/api-reference/pr-reviews/list-pr-reviews /openapi.json get /pr-reviews Lists PR reviews for the organization. Results include only repositories within the token RBAC scopes. # List security issues caught by PR reviews Source: https://docs.app.strix.ai/api-reference/pr-reviews/list-security-issues-caught-by-pr-reviews /openapi.json get /pr-reviews/findings Lists every security issue that the organization's PR reviews caught. Each issue appears once. Repeated reports of the same issue across review runs of one pull request are collapsed. Dependency CVEs and retest rows are excluded. Results include only repositories within the token RBAC scopes. # Start a PR review Source: https://docs.app.strix.ai/api-reference/pr-reviews/start-a-pr-review /openapi.json post /pr-reviews/start Triggers a security review of a specific pull request. The target repository must be within the token's rbac scopes. # Update PR review settings Source: https://docs.app.strix.ai/api-reference/pr-reviews/update-pr-review-settings /openapi.json patch /pr-reviews/settings Updates organization PR review settings. Personal tokens must belong to an organization admin (parity with the dashboard). # Discover repositories available through connected installations Source: https://docs.app.strix.ai/api-reference/repositories/discover-repositories-available-through-connected-installations /openapi.json get /repositories/discovery Lists repositories available through the authenticated organization's GitHub, GitLab, Bitbucket and Azure Repos connections, including repositories not yet added as assets. Requires assets:read and an organization-wide token; asset-scoped tokens receive 403. Uses the same discovery logic and response as the dashboard. GitHub search is a case-insensitive full_name substring match, sorted by full_name, over a process-local inventory cached for two minutes and capped at 100 pages of 100 repositories per installation. Search pagination is applied per installation/provider, so a combined page can exceed per_page. An empty search uses direct provider pagination. refresh=1 with search reloads GitHub inventory (concurrent refreshes share the refresh walk); without search it invalidates GitHub inventory and returns only the normal direct page. The next search reloads. GitHub access-change webhooks invalidate inventory on the receiving instance; other instances expire within the TTL. Provider failures may return partial or empty results; Azure failures include a warning. # List repository branches Source: https://docs.app.strix.ai/api-reference/repositories/list-repository-branches /openapi.json get /repositories/{repositoryId}/branches Uses the registered repository connection. Supports GitHub, GitLab, Bitbucket, and Azure Repos. Honors repository scopes. Requires assets:read and the same role as the dashboard picker. # List repository pull requests Source: https://docs.app.strix.ai/api-reference/repositories/list-repository-pull-requests /openapi.json get /repositories/{repositoryId}/pull-requests Uses the registered repository connection. Supports GitHub, GitLab, Bitbucket, and Azure Repos. Honors repository scopes. Requires assets:read and the same role as the dashboard picker. # Download the diagnostics bundle Source: https://docs.app.strix.ai/api-reference/run-logs/download-the-diagnostics-bundle /openapi.json get /run-logs/diagnostics Self-hosted installs only. Returns a ZIP archive with deployment diagnostics for support. Secrets are redacted. # Get run metrics Source: https://docs.app.strix.ai/api-reference/run-logs/get-run-metrics /openapi.json get /metrics Self-hosted installs only. Returns the run workload metrics in the Prometheus text exposition format: open runs by workload and state (waiting, active, paused, idle, released), the idle time of live chat workspaces, the sandbox cleanups by reason (idle, cancel, ceiling, reaper, budget, launch_failure, oom, evicted, lost, finished) and the CPU and memory in use per run sandbox, outer and inner container where the backend can tell them apart. The output holds no organization IDs, run IDs, targets, tokens or request content. Point a Prometheus scrape job at this path with the token as its bearer token. Hosted installs return 404. # List LLM requests Source: https://docs.app.strix.ai/api-reference/run-logs/list-llm-requests /openapi.json get /llm-requests Self-hosted installs and hosted organizations that run on their own LLM keys; returns 404 elsewhere. Lists the LLM provider requests that the engine made for the runs of the authenticated organization, newest first. Each entry is one provider attempt: a success, a refusal, a timeout or one retry. An entry holds the provider request ID, the status code, the model, the latency, the token usage, the response headers as the provider sent them and the free-form provider details. An entry never holds a prompt or a completion. Raw request and response bodies are never stored. Hosted installs return 404. # List run logs Source: https://docs.app.strix.ai/api-reference/run-logs/list-run-logs /openapi.json get /run-logs Self-hosted installs only. Lists the persisted engine logs of pentests, PR reviews, chats and login verifications of the authenticated organization. Hosted installs return 404. # Read one run log Source: https://docs.app.strix.ai/api-reference/run-logs/read-one-run-log /openapi.json get /run-logs/{run_type}/{run_id} Self-hosted installs only. Returns the tail of one run log of the authenticated organization. JSON holds at most 8 MiB, and `format=raw` or `download=1` holds at most 32 MiB. Secrets are redacted before the text leaves the server. # Cancel a scan Source: https://docs.app.strix.ai/api-reference/scans/cancel-a-scan /openapi.json post /scans/{scanId}/cancel Cancel a pending or running scan. Credits may be refunded if cancelled within 5 minutes. # Create a scan Source: https://docs.app.strix.ai/api-reference/scans/create-a-scan /openapi.json post /scans Launch a new penetration test scan against the specified targets. For retry-safe at-most-once creation, send an Idempotency-Key and reuse the exact same key and request after a lost or ambiguous response. The key is optional for backward compatibility, retained for 24 hours, and cannot be reused with a different actor, operation, or payload. A terminal response is replayed only after the caller still passes current target/resource authorization; revoked access returns a fresh 403/404 without exposing the receipt. Use a new key only for a deliberate new attempt. # Delete a scan Source: https://docs.app.strix.ai/api-reference/scans/delete-a-scan /openapi.json delete /scans/{scanId} Permanently deletes a scan and its findings. # Delete a scan draft Source: https://docs.app.strix.ai/api-reference/scans/delete-a-scan-draft /openapi.json delete /scans/drafts/{draftId} Deletes a scan draft. The launch link of the draft stops working. This operation does not change scans, targets, test users, or other saved resources. You cannot undo this operation. # Download scan report Source: https://docs.app.strix.ai/api-reference/scans/download-scan-report /openapi.json get /scans/{scanId}/report Generate and download a report for a completed scan. Report downloads require an Enterprise plan. On Pro, each organization can download one technical PDF report for free; it stays free to re-download for that scan. # Download scan SARIF Source: https://docs.app.strix.ai/api-reference/scans/download-scan-sarif /openapi.json get /scans/{scanId}/sarif Generate a SARIF 2.1.0 export for active vulnerabilities on a scan. # Download the scan's HTTP traffic for Burp Suite, Caido, or raw HTTP tools Source: https://docs.app.strix.ai/api-reference/scans/download-the-scans-http-traffic-for-burp-suite-caido-or-raw-http-tools /openapi.json get /scans/{scanId}/traffic/export Returns every request and response the scan proxied, oldest first, in the format that the `format` query parameter selects. `burp` (default) is one Burp Suite XML saved-items file with base64 request and response bodies. Load it in Burp Suite with a saved-items importer extension, or in Caido with burp2caido. `caido` is one JSON array in the shape of the Caido HTTP History export, with base64 `raw` bytes for each request and response. `raw` is one ZIP file with the exact request bytes and response bytes of each exchange as separate `.http` files, plus a `README.txt` with counts. Requests with no archived raw exchange are not included. The Burp file and the raw ZIP report how many exchanges were written and how many were not available. Requires an Enterprise plan. # Export scan report as a download link Source: https://docs.app.strix.ai/api-reference/scans/export-scan-report-as-a-download-link /openapi.json post /scans/{scanId}/report/exports Generate a report for a completed scan and return a short-lived signed download link instead of the file. Same options and plan requirements as `GET /scans/{scanId}/report`; use this from clients that cannot receive a file, such as the Strix MCP. The link expires after one hour and the file is deleted shortly after. Report downloads require an Enterprise plan. On Pro, each organization can download one technical PDF report for free; it stays free to re-download for that scan. # Get a browser frame Source: https://docs.app.strix.ai/api-reference/scans/get-a-browser-frame /openapi.json get /scans/{scanId}/browser-frames/{seq} Returns the bytes of one browser frame of a scan. The response `Content-Type` is the `content_type` of the frame. # Get a scan as a reusable template Source: https://docs.app.strix.ai/api-reference/scans/get-a-scan-as-a-reusable-template /openapi.json get /scans/{scanId}/template Returns the scan's configuration shaped for starting a new, similar scan. Credentials are returned as metadata only (username, notes, MFA method, has_stored_secret) — raw secrets such as passwords, TOTP seeds, MFA inboxes, and login URLs are never included. Use test_user_ids with POST /scans to reuse saved test users. Their secrets are rehydrated server-side. # Get one agent of a scan Source: https://docs.app.strix.ai/api-reference/scans/get-one-agent-of-a-scan /openapi.json get /scans/{scanId}/work/{agentId} Returns one agent with its leads, the findings it filed, its research counters and the first page of its actions, oldest first. Follow `continue_cursor` in the dashboard for later pages; this endpoint returns only the first page of actions. # Get scan details Source: https://docs.app.strix.ai/api-reference/scans/get-scan-details /openapi.json get /scans/{scanId} Returns full scan details including associated vulnerabilities. A pentest's list omits dependency CVE findings. A supply-chain scan's findings are all dependency CVEs. The response embeds them only when the token also holds the `dependencies:read` scope. Without that scope, the supply-chain list is empty. Container scans include package CVE findings only when the token also holds both `dependencies:read` and `containers:read`. Other container findings remain visible with `scans:read`. # Get the live cost-limit state of a running scan Source: https://docs.app.strix.ai/api-reference/scans/get-the-live-cost-limit-state-of-a-running-scan /openapi.json get /scans/{scanId}/budget Self-hosted only; the route answers 404 elsewhere. Reads the actual spend, the cost limit, and the paused state from the running pentest. Calls in flight when the limit was reached finish and are counted, so `spent_usd` can exceed `max_budget_usd`. # Get the threat model of a scan Source: https://docs.app.strix.ai/api-reference/scans/get-the-threat-model-of-a-scan /openapi.json get /scans/{scanId}/threat-model Returns the threat model that the agents wrote for each target of this scan, as Markdown. A threat model describes the target, its trust boundaries, its attack surface and attacker stories, and how severity was calibrated. Each entry is the latest saved version for that target. Diagrams are fenced Mermaid blocks in the Markdown. The list is empty when the scan saved no threat model. # Get what a scan's agents are doing Source: https://docs.app.strix.ai/api-reference/scans/get-what-a-scans-agents-are-doing /openapi.json get /scans/{scanId}/work Returns the scan's Agent Magic state. `agents` lists every agent with its assignment, status, current focus and closing summary. `leads` are the questions agents pursued, each open, confirmed, ruled out, or left open when its agent ended before answering it, with its evidence. `findings` carry the agent that filed them when known. `updates` are the narrator's scan updates, newest first, with the refs of the moments it marked as breakthroughs. `counters` maps each agent to how many times it started each counted tool. # List scan drafts Source: https://docs.app.strix.ai/api-reference/scans/list-scan-drafts /openapi.json get /scans/drafts Returns the scan drafts of the organization that have not expired, newest first. A draft that a person saves in the dashboard does not expire. A draft that an API token creates expires after seven days. The list contains only the drafts whose targets and uploads the caller can use. A draft is a staged scan that a human launches from the dashboard. Give launch_url to the human who will review and launch the scan. This operation does not launch a scan. # List scan retests Source: https://docs.app.strix.ai/api-reference/scans/list-scan-retests /openapi.json get /scans/{scanId}/retests Lists the newest retest of each finding of this scan, with progress counts. Dependency CVE findings require dependencies:read, in addition to scans:read. Container package CVE findings also require containers:read. Without the required scopes, the response excludes these findings from runs, launches, and progress counts. Non-dependency findings remain visible with scans:read. # List scans Source: https://docs.app.strix.ai/api-reference/scans/list-scans /openapi.json get /scans Returns a paginated list of scans for the authenticated organization. Each scan carries finding counts. A pentest's counts omit dependency CVE findings. A supply-chain scan's findings are all dependency CVEs, so its counts are nonzero only when the token also holds the `dependencies:read` scope. # List the agents of a scan Source: https://docs.app.strix.ai/api-reference/scans/list-the-agents-of-a-scan /openapi.json get /scans/{scanId}/agents Lists the agents that ran in this scan, with the task, status, parent agent, and finding count of each agent. Use the returned agent id with GET /scans/{scanId}/trace to read what one agent did. # List the browser frames of a scan Source: https://docs.app.strix.ai/api-reference/scans/list-the-browser-frames-of-a-scan /openapi.json get /scans/{scanId}/browser-frames Returns the frames of the browsers that the agents used during this scan. The runtime saves one frame after each browser command that can change the page, for example `open`, `click`, `fill` and `press`. Each frame gives the agent, the browser, the command, and the address and title of the page. The list is empty when the agents did not use a browser. A scan holds a maximum of 10,000 frames. One response holds a maximum of 1,000 frames. When `next_after` is not `null`, send the request again with `after` set to that value to get the next frames. # Pause, resume, or stop a scan at its cost limit Source: https://docs.app.strix.ai/api-reference/scans/pause-resume-or-stop-a-scan-at-its-cost-limit /openapi.json post /scans/{scanId}/budget Self-hosted only; the route answers 404 elsewhere. Pause and resume apply to running pentests launched with the `pause` cost policy. `resume` with `max_budget_usd` raises the limit before waking the agents, and the new limit must be greater than the actual spend. `stop` works for any active pentest: the run ends like a cancelled scan, findings and logs are kept, and no report is written. # Read one agent's trace Source: https://docs.app.strix.ai/api-reference/scans/read-one-agents-trace /openapi.json get /scans/{scanId}/trace Returns one page of an agent's steps, oldest first. A step is an agent message, a tool call, a tool result, or a reported finding. Long payloads are shortened and marked with truncated. To read a shortened payload in full, call GET /scans/{scanId}/trace/{eventId} with the step's event_id. To read the next page, send the returned cursor value. If the response contains a note field, the trace is incomplete and the note tells you why. # Read one trace step in full Source: https://docs.app.strix.ai/api-reference/scans/read-one-trace-step-in-full /openapi.json get /scans/{scanId}/trace/{eventId} Returns the complete payload of one trace step. Use this endpoint when the trace returned the step with truncated set to true. # Rename a scan Source: https://docs.app.strix.ai/api-reference/scans/rename-a-scan /openapi.json patch /scans/{scanId} Sets a new scan title. The server trims the title and accepts 1 to 120 characters. # Rerun a scan Source: https://docs.app.strix.ai/api-reference/scans/rerun-a-scan /openapi.json post /scans/{scanId}/rerun Create a new scan with the same configuration as the specified scan. The new scan is a full pentest. In the background, a separate retest scan also verifies the open issues of the specified scan, in its own sandbox and with its own agent, so the full pentest does not know the old issues. An open issue that the retest scan does not reproduce is set to `fixed`. Read the retest scan through `GET /scans/{scanId}/retests` on the specified scan. A retest scan cannot be rerun and returns 409 with code `RETEST_RERUN_UNSUPPORTED`; retest the issue with `POST /vulnerabilities/{vulnerabilityId}/retest` instead. A scan whose launch was rejected no longer has its uploads; if it had uploads, the rerun returns 409 with code `RERUN_UPLOADS_UNAVAILABLE`, and you must start a new scan with the files. For retry-safe at-most-once creation, send an Idempotency-Key and reuse the exact same key and request after a lost or ambiguous response. The key is optional for backward compatibility, retained for 24 hours, and cannot be reused with a different actor, operation, or source scan. A terminal response is replayed only after the caller still passes current source-scan authorization; revoked access returns a fresh 403/404 without exposing the receipt. Use a new key only for a deliberate new rerun. # Retest all findings Source: https://docs.app.strix.ai/api-reference/scans/retest-all-findings /openapi.json post /scans/{scanId}/retest-all Starts retests for findings of the source scan. For a container scan, send tag or digest and optional platform. Strix starts one targeted image retest and returns 202 with scan_id. It checks only the selected findings and does not look for new issues; use Run scan for a full image assessment. Choose scope open for open and in_progress findings, or all for all container findings. Strix skips findings that already have an active retest. Each non-package finding uses one agent; all package CVEs share one agent. The run allows up to 50 agents (49 non-package findings when a package agent is needed). Requests above this cap return 400: Too many non-package findings for one retest; retest open issues or fewer findings. If no findings are eligible, Strix returns an error without starting a scan. Container scanning requires an unscoped admin or analyst and the container scanning feature. API tokens for container retests also require containers:write, in addition to scans:write. Agent verdicts decide each target result, shown in the source scan Retests tab. For other scans, Strix starts targeted retests in the background and returns a retest batch. Several findings share groups of up to 50. Read results through GET /scans/{scanId}/retests. # Send a scan message Source: https://docs.app.strix.ai/api-reference/scans/send-a-scan-message /openapi.json post /scans/{scanId}/message Sends a live prompt to a running scan. `message` is required unless `cancel_current` is true. You must provide at least one of these fields. # Stage a scan for human launch Source: https://docs.app.strix.ai/api-reference/scans/stage-a-scan-for-human-launch /openapi.json post /scans/drafts Use this operation to hand a configured pentest to a human for launch. This operation does not launch a scan or reserve credits. First set up verified domains, connected repositories, saved test users, domain scan headers, uploads, and knowledge resources. Use create_test_user for test accounts and create_domain_scan_header for saved headers. The credentials and headers arrays must be absent or empty. Inline secrets are not accepted. Configure the targets and context with the same fields as createScan. Give the user launch_url from the response. That link opens Review & Launch in the dashboard. The human reviews the configuration and clicks Launch. A draft that this operation creates expires after seven days. Launch checks current access, targets, and billing again. # Upload scan SARIF to GitHub Source: https://docs.app.strix.ai/api-reference/scans/upload-scan-sarif-to-github /openapi.json post /scans/{scanId}/sarif Generate SARIF for active scan vulnerabilities and upload it to GitHub code scanning. Requires an Enterprise plan. # Create a schedule Source: https://docs.app.strix.ai/api-reference/schedules/create-a-schedule /openapi.json post /schedules Create a recurring scan schedule. Optionally trigger an immediate scan with `also_run_now`. Supply Chain schedules require the Enterprise Supply Chain entitlement. When `also_run_now` creates a chargeable scan, the optional Idempotency-Key covers both schedule creation and that immediate scan; reuse the exact same key only to retry the exact same request. Replay and in-progress responses are still subject to current authorization against the persisted schedule when it exists. # Delete a schedule Source: https://docs.app.strix.ai/api-reference/schedules/delete-a-schedule /openapi.json delete /schedules/{scheduleId} # Get a schedule's editable configuration Source: https://docs.app.strix.ai/api-reference/schedules/get-a-schedules-editable-configuration /openapi.json get /schedules/{scheduleId}/template Returns the full stored configuration of the schedule, in a format that you can edit with PATCH /schedules/{scheduleId} — targets, prompts, test users, headers, scope, timing, notifications, and uploads. Credentials are returned as metadata only (username, notes, MFA method, has_stored_secret) and headers as metadata only (name, notes, has_stored_value) — raw secrets such as passwords, TOTP seeds, header values, MFA inboxes, and login URLs are never included. Keep a stored header value on PATCH by sending keep_stored_value: true. # Get schedule details Source: https://docs.app.strix.ai/api-reference/schedules/get-schedule-details /openapi.json get /schedules/{scheduleId} Returns schedule details including recent run history. # List schedules Source: https://docs.app.strix.ai/api-reference/schedules/list-schedules /openapi.json get /schedules Returns all scan schedules for the organization. Requires Pro plan. # Trigger a schedule immediately Source: https://docs.app.strix.ai/api-reference/schedules/trigger-a-schedule-immediately /openapi.json post /schedules/{scheduleId}/trigger Trigger an immediate run of a scheduled scan. Stored Supply Chain schedules require the Enterprise Supply Chain entitlement. When a pentest schedule fires, the open issues of its earlier runs also get separate retest scans (up to 50 issues each), in their own sandboxes and with their own agents, so the new pentest does not know the old issues. Each open issue is retested once, in a run scoped like the newest earlier run whose scope still reaches it. An open issue that the retest scan does not reproduce is set to `fixed`. Read the retest scans through `GET /scans/{scanId}/retests` on each earlier run that has open issues. A 200 acknowledges durable queue acceptance; later execution failures are reported in the schedule's run health and are never silently launched a second time. Manual schedule fires support the optional Idempotency-Key contract used by scan creation: reuse the exact same key only to retry the same schedule trigger after a lost or ambiguous response. Replay and in-progress responses are returned only after current authorization against the schedule succeeds. # Update a schedule Source: https://docs.app.strix.ai/api-reference/schedules/update-a-schedule /openapi.json patch /schedules/{scheduleId} Update a schedule's configuration, cron expression, or pause/resume it. Send `action: "pause"` or `action: "resume"` to toggle, or provide fields to update. # Search across the workspace Source: https://docs.app.strix.ai/api-reference/search/search-across-the-workspace /openapi.json get /search One query across issues (STRIX id, title, CVE, CWE, host), pentests, PR reviews (repository, title, number), chats, repositories, domains, network connectors and schedules. Results come back grouped by kind, each group ranked exact match first, then prefix, then substring, newest first within a rank. Only the kinds the token has a read scope for are searched (`vulnerabilities:read` for issues, `scans:read` for pentests, `pr_reviews:read`, `chat:read`, `assets:read` for repositories and domains, `connectors:read`, `schedules:read`); kinds outside the token's scopes are skipped, and the same asset scopes and plan features apply as on each kind's own list endpoint. An empty `q` returns the most recent items of each kind. A kind whose lookup failed is listed in `failed` while the other groups are still returned. # Export repository SBOM Source: https://docs.app.strix.ai/api-reference/supply-chain/export-repository-sbom /openapi.json get /repositories/{repositoryId}/supply-chain/sbom # Get organization supply-chain summary Source: https://docs.app.strix.ai/api-reference/supply-chain/get-organization-supply-chain-summary /openapi.json get /supply-chain/summary # Get repository supply-chain summary Source: https://docs.app.strix.ai/api-reference/supply-chain/get-repository-supply-chain-summary /openapi.json get /repositories/{repositoryId}/supply-chain/summary Counts for the resolved scope. Pull-request and merge-request scans keep no SBOM snapshot, so scoping to one of those jobs with `job_id` serves `component_count`, `finding_count`, `malicious_count`, `suspicious_count`, `vulnerable_count`, and `severity_counts` from the job's stored scan result. For those scopes `latest_snapshot` is null and `ecosystem_counts` is empty, because neither can be derived without stored component rows. A change-scan job that ran before scan results were stored reports zero counts. # List repository SBOM components Source: https://docs.app.strix.ai/api-reference/supply-chain/list-repository-sbom-components /openapi.json get /repositories/{repositoryId}/supply-chain/components # List repository supply-chain findings Source: https://docs.app.strix.ai/api-reference/supply-chain/list-repository-supply-chain-findings /openapi.json get /repositories/{repositoryId}/supply-chain/findings Open findings for the resolved scope. Pull-request and merge-request scans keep no SBOM snapshot, so scoping to one of those jobs with `job_id` serves the findings from the job's stored scan result: `snapshot` is null, and on each finding `id`, `source`, `first_seen_at`, and `last_seen_at` are null because no stored finding row exists to carry them. For those scopes `component_id` matches nothing (there are no stored component rows to filter on), and the list is capped at the first 100 findings while `finding_count` on the summary endpoint still covers the whole set. A change-scan job that ran before scan results were stored returns an empty list. # Start supply-chain scans for eligible repositories Source: https://docs.app.strix.ai/api-reference/supply-chain/start-supply-chain-scans-for-eligible-repositories /openapi.json post /supply-chain/pentest Start a dependency scan for each eligible repository that has no pending or running scan. # Trigger a supply-chain scan Source: https://docs.app.strix.ai/api-reference/supply-chain/trigger-a-supply-chain-scan /openapi.json post /repositories/{repositoryId}/supply-chain/scan # Update repository supply-chain policy Source: https://docs.app.strix.ai/api-reference/supply-chain/update-repository-supply-chain-policy /openapi.json patch /repositories/{repositoryId}/supply-chain/policy # Create a domain test user Source: https://docs.app.strix.ai/api-reference/test-users/create-a-domain-test-user /openapi.json post /domains/{domainId}/test-users Creates a test account the agent can log in as. Secrets are encrypted at rest and never returned. Email-based MFA requires a Strix-managed inbox (see provision-inbox). # Create a network test user Source: https://docs.app.strix.ai/api-reference/test-users/create-a-network-test-user /openapi.json post /networks/{networkId}/test-users Creates a test account the agent can log in as. Secrets are encrypted at rest and never returned. Email-based MFA requires a Strix-managed inbox (see provision-inbox). # Delete a domain test user Source: https://docs.app.strix.ai/api-reference/test-users/delete-a-domain-test-user /openapi.json delete /domains/{domainId}/test-users/{userId} Deletes the test user when called on its home domain. When called on another domain covered by the user's scope, only detaches that domain from the scope (response includes `detached: true`). Org-wide (all-domains) users can only be deleted from their home domain (409 otherwise). # Delete a network test user Source: https://docs.app.strix.ai/api-reference/test-users/delete-a-network-test-user /openapi.json delete /networks/{networkId}/test-users/{userId} Deletes the test user when called on its home domain. When called on another domain covered by the user's scope, only detaches that domain from the scope (response includes `detached: true`). Org-wide (all-domains) users can only be deleted from their home domain (409 otherwise). # Download login verification evidence Source: https://docs.app.strix.ai/api-reference/test-users/download-login-verification-evidence /openapi.json get /domains/{domainId}/login-evidence/{checkId}/{attempt}/{kind} Streams one artifact of a login verification. The verification's `evidence` lists the attempts and the kinds each attempt has. The response supports `Range` requests, so a video player can seek. # Get the latest login verification Source: https://docs.app.strix.ai/api-reference/test-users/get-the-latest-login-verification /openapi.json get /domains/{domainId}/test-users/{userId}/verify Returns the latest login verification for a saved test user, or `null` if it has never been verified. Poll this while a verification is `pending` / `running`. # Get the latest login verification Source: https://docs.app.strix.ai/api-reference/test-users/get-the-latest-login-verification-1 /openapi.json get /networks/{networkId}/test-users/{userId}/verify Returns the latest login verification for a saved test user, or `null` if it has never been verified. Poll this while a verification is `pending` / `running`. # List domain test users Source: https://docs.app.strix.ai/api-reference/test-users/list-domain-test-users /openapi.json get /domains/{domainId}/test-users # List network test users Source: https://docs.app.strix.ai/api-reference/test-users/list-network-test-users /openapi.json get /networks/{networkId}/test-users # Provision a Strix-managed inbox Source: https://docs.app.strix.ai/api-reference/test-users/provision-a-strix-managed-inbox /openapi.json post /domains/{domainId}/test-users/provision-inbox Creates a Strix-controlled AgentMail inbox (in the caller's org pod) for email-OTP / magic-link MFA. The agent reads verification emails from this inbox during scans. # Read a single inbox message Source: https://docs.app.strix.ai/api-reference/test-users/read-a-single-inbox-message /openapi.json get /domains/{domainId}/test-users/{userId}/inbox/{messageId} Returns the full message body as readable text and the list of links in the message. HTML is converted to text so OTP codes and magic-link URLs are preserved. # Read a test user's inbox Source: https://docs.app.strix.ai/api-reference/test-users/read-a-test-users-inbox /openapi.json get /domains/{domainId}/test-users/{userId}/inbox Lists recent messages in the test user's Strix-managed inbox (e.g. OTP / magic-link emails). # Update a domain test user Source: https://docs.app.strix.ai/api-reference/test-users/update-a-domain-test-user /openapi.json patch /domains/{domainId}/test-users/{userId} # Update a network test user Source: https://docs.app.strix.ai/api-reference/test-users/update-a-network-test-user /openapi.json patch /networks/{networkId}/test-users/{userId} # Verify a test user's login Source: https://docs.app.strix.ai/api-reference/test-users/verify-a-test-users-login /openapi.json post /domains/{domainId}/test-users/{userId}/verify Starts a short agent run (usually a minute or two) that drives the target's real login form with the saved credentials and reports a structured outcome, so a broken login surfaces before a scan. Returns 202 with a pending verification, or 200 with an in-flight / recent one that is reused. The domain must be ownership-verified. The login URL may live on another host (SSO tenant, IdP, separate auth site). On hosted Strix it must be a public http(s) endpoint. Self-hosted installs also accept private addresses. # Verify a test user's login Source: https://docs.app.strix.ai/api-reference/test-users/verify-a-test-users-login-1 /openapi.json post /networks/{networkId}/test-users/{userId}/verify Starts a short agent run (usually a minute or two) that drives the target's real login form with the saved credentials and reports a structured outcome, so a broken login surfaces before a scan. Returns 202 with a pending verification, or 200 with an in-flight / recent one that is reused. The login URL must use HTTP(S). Network test users can use private addresses because verification runs on the selected network. # Create an API token Source: https://docs.app.strix.ai/api-reference/tokens/create-an-api-token /openapi.json post /tokens Create a new service or personal API token. The raw token secret is returned only in this response. Asset-scoped tokens cannot access organization-wide token management. # List API tokens Source: https://docs.app.strix.ai/api-reference/tokens/list-api-tokens /openapi.json get /tokens List API tokens visible to the authenticated user. Admins see all tokens. Non-admins see only their own personal tokens. Asset-scoped tokens cannot access organization-wide token management. # Revoke an API token Source: https://docs.app.strix.ai/api-reference/tokens/revoke-an-api-token /openapi.json delete /tokens/{tokenId} Revoke an API token. Asset-scoped tokens cannot access organization-wide token management. # Delete an upload Source: https://docs.app.strix.ai/api-reference/uploads/delete-an-upload /openapi.json delete /uploads/{uploadId} Delete an unreferenced upload. Asset-scoped tokens may delete only uploads created by their effective user; unscoped tokens retain organization-wide access. Inaccessible upload IDs return 404. Uploads already attached to any scan are immutable and return 409 without removing the storage object or soft-deleting the row. # Finalize an upload Source: https://docs.app.strix.ai/api-reference/uploads/finalize-an-upload /openapi.json post /uploads/complete Queues bounded archive validation after the byte transfer. Repeat this request after a 202 response until validation completes. Repeating completion for a completed upload is idempotent. Asset-scoped tokens can finalize only uploads from their effective user. Unscoped tokens retain organization-wide access. # Request a signed upload URL Source: https://docs.app.strix.ai/api-reference/uploads/request-a-signed-upload-url /openapi.json post /uploads/request Reserves an upload and returns a signed URL (and resumable endpoint for large files) to PUT the file bytes to. Files ending in .zip are always treated as repository source archives and cannot be downgraded to documentation by setting category. # Create a fix pull request Source: https://docs.app.strix.ai/api-reference/vulnerabilities/create-a-fix-pull-request /openapi.json post /vulnerabilities/{vulnerabilityId}/create-fix-pr Opens a pull request with an agent-authored fix for the vulnerability. For code findings, this patches the affected files. For dependency findings (npm-based projects), it bumps the direct dependency in package.json or pins the vulnerable transitive package through the project's override mechanism (npm overrides, yarn resolutions, or pnpm overrides). # Create a share link for a vulnerability Source: https://docs.app.strix.ai/api-reference/vulnerabilities/create-a-share-link-for-a-vulnerability /openapi.json post /vulnerabilities/{vulnerabilityId}/share Generates a read-only share URL for the vulnerability. Anyone who has the URL can open the report without an account, and must enter the password when one is set. Send `password` to set or replace the password every link to this vulnerability asks for, or `null` to clear it. Omit it to keep the current setting. # Export a vulnerability to a ticketing provider Source: https://docs.app.strix.ai/api-reference/vulnerabilities/export-a-vulnerability-to-a-ticketing-provider /openapi.json post /vulnerabilities/{vulnerabilityId}/push Creates or syncs a Jira or Linear ticket for the vulnerability using the organization's connected ticketing integration. If a ticket already exists for the vulnerability and provider, its status is synced instead of creating a duplicate. # Export multiple vulnerabilities to a ticketing provider Source: https://docs.app.strix.ai/api-reference/vulnerabilities/export-multiple-vulnerabilities-to-a-ticketing-provider /openapi.json post /vulnerabilities/bulk-push Creates or syncs Jira or Linear tickets for up to 100 vulnerabilities in a single request. Each vulnerability is processed independently. The response reports per-vulnerability success or failure. # Get a screenshot Source: https://docs.app.strix.ai/api-reference/vulnerabilities/get-a-screenshot /openapi.json get /vulnerabilities/{vulnerabilityId}/screenshots/{ordinal} Returns the bytes of one screenshot of a vulnerability. The response `Content-Type` is the screenshot's `content_type`. # Get details of multiple vulnerabilities Source: https://docs.app.strix.ai/api-reference/vulnerabilities/get-details-of-multiple-vulnerabilities /openapi.json get /vulnerabilities/batch Returns the same full details as `getVulnerability` for up to 100 findings in one request. Use this operation to read many findings, for example the ids from one page of `listVulnerabilities`. The response keeps the order of `ids`. Ids that do not exist, or that the token cannot see, are in `not_found`. Dependency findings also need the `dependencies:read` scope, and container image findings also need the `containers:read` scope. # Get fix pull request settings Source: https://docs.app.strix.ai/api-reference/vulnerabilities/get-fix-pull-request-settings /openapi.json get /fix-pr-settings Returns how the organization names the pull requests that Strix opens to fix findings. A null value means the default is in use. # Get share settings for a vulnerability Source: https://docs.app.strix.ai/api-reference/vulnerabilities/get-share-settings-for-a-vulnerability /openapi.json get /vulnerabilities/{vulnerabilityId}/share Returns whether share links for the vulnerability ask for a password, the most recent revocation cut-off, and the newest access requests from viewers who opened a locked or password-protected link. # Get vulnerability details Source: https://docs.app.strix.ai/api-reference/vulnerabilities/get-vulnerability-details /openapi.json get /vulnerabilities/{vulnerabilityId} Returns full details for a single vulnerability. Dependency findings also need the `dependencies:read` scope, and container image findings also need the `containers:read` scope. # Get vulnerability history Source: https://docs.app.strix.ai/api-reference/vulnerabilities/get-vulnerability-history /openapi.json get /vulnerabilities/{vulnerabilityId}/history Returns lifecycle audit entries for one vulnerability, including status, severity, snooze, note, and reason changes. # Link a pull request to a vulnerability Source: https://docs.app.strix.ai/api-reference/vulnerabilities/link-a-pull-request-to-a-vulnerability /openapi.json put /vulnerabilities/{vulnerabilityId}/fix-pr Stores a pull request or merge request URL as the vulnerability's fix PR. Works for every finding, including black-box findings with no repository. Accepts GitHub pull requests, GitLab merge requests and Bitbucket pull requests on any host, including self-hosted instances. Strix attaches the pull request to each Linear or Jira ticket of the finding. A previous pull request on the finding is replaced and removed from those tickets. Tickets created later pick up the stored pull request automatically. Returns 409 when the stored pull request changed while the request was in flight. # Link an additional pull request to a vulnerability Source: https://docs.app.strix.ai/api-reference/vulnerabilities/link-an-additional-pull-request-to-a-vulnerability /openapi.json post /vulnerabilities/{vulnerabilityId}/fix-prs Adds a pull request or merge request to the vulnerability's additional pull requests, next to its fix PR (`fix_pr_url`), for example when a fix spans several repositories. The fix PR is not changed. Strix attaches the pull request to each Linear or Jira ticket of the finding, and tickets created later pick it up automatically. Adding a URL the finding already has, including its fix PR, changes nothing. Returns 409 when the pull request was removed while the request was in flight. # List captured HTTP exchanges Source: https://docs.app.strix.ai/api-reference/vulnerabilities/list-captured-http-exchanges /openapi.json get /vulnerabilities/{vulnerabilityId}/http-exchanges Returns the HTTP request metadata that supports a vulnerability. Set `include_content` to `true` to include stored request and response text. # List screenshots Source: https://docs.app.strix.ai/api-reference/vulnerabilities/list-screenshots /openapi.json get /vulnerabilities/{vulnerabilityId}/screenshots Returns the screenshots the agent attached to a vulnerability as visual evidence, in display order. Most vulnerabilities have none: the agent attaches a screenshot only when the image proves something the captured HTTP and text cannot. Each entry gives a `url` that serves the image bytes with the same API key. # List vulnerabilities Source: https://docs.app.strix.ai/api-reference/vulnerabilities/list-vulnerabilities /openapi.json get /vulnerabilities Returns a paginated list of vulnerabilities across all scans for the organization. Set the finding_type query parameter to dependency to read dependency findings. This filter also requires the dependencies:read scope. # Preview the ticket for a vulnerability Source: https://docs.app.strix.ai/api-reference/vulnerabilities/preview-the-ticket-for-a-vulnerability /openapi.json get /vulnerabilities/{vulnerabilityId}/preview Returns the destination, issue type, assignee, pentest group, and rendered title and description that `POST /vulnerabilities/{vulnerabilityId}/push` would create for the vulnerability. Nothing is created in the provider. # Retest a vulnerability Source: https://docs.app.strix.ai/api-reference/vulnerabilities/retest-a-vulnerability /openapi.json post /vulnerabilities/{vulnerabilityId}/retest Starts a focused retest for a finding. For a container finding, send tag or digest and optional platform. Strix starts one targeted image retest and returns 202 with scan_id. It checks only the selected finding and does not look for new issues; use Run scan for a full image assessment. Each non-package finding uses one agent; package CVEs share one agent. Container retests allow up to 50 agents (49 non-package findings when a package agent is needed); requests above this cap return 400: Too many non-package findings for one retest; retest open issues or fewer findings. Container scanning requires an unscoped admin or analyst and the container scanning feature. API tokens for container retests also require containers:write, in addition to scans:write. The agent writes the target verdict. Read the result through latest_retest on the issue or GET /scans/{scanId}/retests on the source scan. # Retest selected findings Source: https://docs.app.strix.ai/api-reference/vulnerabilities/retest-selected-findings /openapi.json post /vulnerabilities/retest Starts retests for the given findings, which can come from different scans. Strix groups the findings by the scan that found them and starts the same retest batch as `POST /scans/{scanId}/retest-all` for each scan, limited to the given findings. It skips findings with no source scan, container image findings, findings outside the token's scope, and ignored or unused findings. It also skips findings that already have a retest running or starting. Read results through `GET /scans/{scanId}/retests` for each returned batch. # Revoke all share links for a vulnerability Source: https://docs.app.strix.ai/api-reference/vulnerabilities/revoke-all-share-links-for-a-vulnerability /openapi.json delete /vulnerabilities/{vulnerabilityId}/share Invalidates every share URL created for the vulnerability before this call. Viewers who open a revoked link can request access. Share URLs created after this call stay valid. # Unlink an additional pull request from a vulnerability Source: https://docs.app.strix.ai/api-reference/vulnerabilities/unlink-an-additional-pull-request-from-a-vulnerability /openapi.json delete /vulnerabilities/{vulnerabilityId}/fix-prs Removes one pull request from the vulnerability's additional pull requests and from each Linear or Jira ticket of the finding. Pass the URL in the JSON body or the `url` query parameter. Succeeds when the finding does not have that pull request. Use `DELETE /vulnerabilities/{vulnerabilityId}/fix-pr` to unlink the fix PR itself. Returns 409 when the pull request was added again while the request was in flight. # Unlink the pull request from a vulnerability Source: https://docs.app.strix.ai/api-reference/vulnerabilities/unlink-the-pull-request-from-a-vulnerability /openapi.json delete /vulnerabilities/{vulnerabilityId}/fix-pr Clears the vulnerability's fix PR and removes the pull request link from each Linear or Jira ticket of the finding. Succeeds when the finding has no pull request. # Update fix pull request settings Source: https://docs.app.strix.ai/api-reference/vulnerabilities/update-fix-pull-request-settings /openapi.json patch /fix-pr-settings Sets the title template and the branch prefix for the fix pull requests that Strix opens. Omitted fields keep their current values. Send null or an empty string to return a field to its default. Requires the admin role. # Update status or severity of multiple vulnerabilities Source: https://docs.app.strix.ai/api-reference/vulnerabilities/update-status-or-severity-of-multiple-vulnerabilities /openapi.json post /vulnerabilities/bulk-update Applies one status and/or severity change to up to 100 vulnerabilities in a single request. The server processes each vulnerability independently and reports per-vulnerability success or failure. Vulnerabilities that already have the requested values count as successful. # Update vulnerability status, severity, or CVSS Source: https://docs.app.strix.ai/api-reference/vulnerabilities/update-vulnerability-status-severity-or-cvss /openapi.json patch /vulnerabilities/{vulnerabilityId} Change status and/or severity, or adjust the CVSS v3.1 base metrics with a required reason. CVSS adjustments cannot be combined with status or severity. The server calculates the score, vector and severity, and preserves the manual rating when scans update the same issue. # Create a webhook Source: https://docs.app.strix.ai/api-reference/webhooks/create-a-webhook /openapi.json post /webhooks Create a new webhook subscription. The signing `secret` is returned only in this response. Asset-scoped tokens must provide an in-scope business_unit and cannot create organization-wide subscriptions. # Delete a webhook Source: https://docs.app.strix.ai/api-reference/webhooks/delete-a-webhook /openapi.json delete /webhooks/{webhookId} Delete a webhook. Asset-scoped tokens may delete only a webhook whose business_unit is covered by their token scopes. # Get a webhook Source: https://docs.app.strix.ai/api-reference/webhooks/get-a-webhook /openapi.json get /webhooks/{webhookId} Returns a webhook subscription. Asset-scoped tokens may access only a webhook whose business_unit is covered by their token scopes. # Get a webhook delivery Source: https://docs.app.strix.ai/api-reference/webhooks/get-a-webhook-delivery /openapi.json get /webhooks/{webhookId}/deliveries/{deliveryId} Returns one delivery attempt record, including the event payload that was sent and the endpoint's response status and body. Asset-scoped tokens may access deliveries only for an in-scope business_unit webhook. # List webhook deliveries Source: https://docs.app.strix.ai/api-reference/webhooks/list-webhook-deliveries /openapi.json get /webhooks/{webhookId}/deliveries Returns a paginated delivery log for a specific webhook, newest first. Filter by `status` to see only failed or pending deliveries. Asset-scoped tokens may access deliveries only for an in-scope business_unit webhook. # List webhooks Source: https://docs.app.strix.ai/api-reference/webhooks/list-webhooks /openapi.json get /webhooks Returns webhooks for the organization. Asset-scoped tokens see only subscriptions whose business_unit is covered by their token scopes. # Resend a failed webhook delivery Source: https://docs.app.strix.ai/api-reference/webhooks/resend-a-failed-webhook-delivery /openapi.json post /webhooks/{webhookId}/deliveries/{deliveryId}/resend Creates a new pending delivery with the same event and payload as a delivery that reached `failed`, and dispatches it through the regular sender with a fresh retry budget. The original delivery is left unchanged as the record of its attempts. Only deliveries with status `failed` can be resent. Asset-scoped tokens may resend only for an in-scope business_unit webhook. # Send a test delivery Source: https://docs.app.strix.ai/api-reference/webhooks/send-a-test-delivery /openapi.json post /webhooks/{webhookId}/test Sends a `webhook.test` event to the endpoint. The delivery is signed and delivered exactly like a real event (same headers, envelope, retries) and appears in the delivery log, so you can confirm the endpoint receives and verifies Strix payloads. The `data` payload contains `webhook_id`, `organization_id`, `message`, and `triggered_by`. The webhook must be enabled. # Update a webhook Source: https://docs.app.strix.ai/api-reference/webhooks/update-a-webhook /openapi.json patch /webhooks/{webhookId} Update webhook URL, events, active status, or rotate the signing secret. Asset-scoped tokens may update only an in-scope business_unit webhook. If you omit business_unit, the webhook keeps its current business_unit. If you change business_unit, use an in-scope value. # Create a workspace Source: https://docs.app.strix.ai/api-reference/workspaces/create-a-workspace /openapi.json post /workspaces Create a workspace and make the token owner its admin. Requires a personal token and the organizations:write scope. # List your workspaces Source: https://docs.app.strix.ai/api-reference/workspaces/list-your-workspaces /openapi.json get /workspaces List the workspaces that the token owner is a member of. Requires a personal token; no API scope is required so a minimal CLI session can recover and switch. # Switch the token to another workspace Source: https://docs.app.strix.ai/api-reference/workspaces/switch-the-token-to-another-workspace /openapi.json post /workspaces/{organizationId}/token Switch the authenticated personal token in place to a workspace that its owner is already a member of. The token row, bearer secret, expiry, saved scope preference, and immutable login consent ceiling are preserved, so the request is safe to retry after a lost response. The owner's current target-workspace role caps effective authority. No API scope is required and widening beyond the consent ceiling is rejected. # Authentication Source: https://docs.app.strix.ai/authentication Token types, scopes, and best practices ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) ## Token types Strix has two types of API tokens: ### Personal tokens * Attached to one user * Expire after 90 days (default) * Best for individual scripts and local tools ### Service keys * Org-level, not attached to a user * Can stay valid for a long time (no default expiry) * Best for CI/CD pipelines and production integrations * **Only org admins can create service keys** ## Default scopes **Service keys** default scopes: ``` scans:read, scans:write, vulnerabilities:read, vulnerabilities:write, schedules:read, schedules:write, assets:read, webhooks:read, webhooks:write ``` **Personal tokens** default scopes: ``` scans:read, scans:write, vulnerabilities:read, vulnerabilities:write, schedules:read, schedules:write, assets:read ``` These defaults apply when creating a token from API Access or `POST /api/v1/tokens`. Device login creates a named CLI session with Minimal, Recommended, Full, or Custom access and an immutable login ceiling. It is shown separately from ordinary keys in API Access and reused by later sign-ins from the same CLI installation. See [CLI login](/guides/cli-login). `webhooks:write` is admin-only. `tokens:write` lets an active member manage ordinary personal tokens; the current CLI session can list/switch its memberships, inspect or narrow itself, and revoke itself without that scope. Its login ceiling prevents switching from widening authority. Only organization admins can create service keys or manage another member's tokens. You can change the scopes when you create a token. ## Resource-restricted tokens API `scopes` control what a token may do. With Enterprise RBAC, optional `rbac_scopes` further restrict which assets it may access. Each resource restriction is an object with exactly these fields: ```json theme={null} {"type": "tag", "value": "payments"} ``` `type` is `target`, `tag`, or `business_unit`; `value` is 1–120 characters and may contain ASCII letters, digits, `.`, `_`, `:`, `/`, `@`, or `-`. A `target` value identifies one asset, while `tag` and `business_unit` values match asset metadata. An empty `rbac_scopes` array means organization-wide asset access within the token's API scopes and the creator's current role. When a token-authenticated caller creates another token and omits `rbac_scopes`, the new token inherits the caller's restrictions. An explicit list must be a subset of the caller token's restrictions. API scopes are similarly capped by the member's current organization role and by the caller token. The CLI exposes the token request fields directly: ```bash theme={null} strix cloud tokens create \ --type personal \ --name payments-reader \ --scopes scans:read vulnerabilities:read assets:read \ --rbac-scopes '[{"type":"tag","value":"payments"}]' \ --expires-in-days 30 ``` Use `--expires-at ` instead for an absolute expiration. The token secret is returned only by the create response; store it securely before leaving the output. ## Available scopes Each endpoint specifies the scope that it requires. A token can only call the endpoints that match its scopes. | Scope | Grants | | - | - | | `scans:read` / `scans:write` | View / manage pentests, retests, templates | | `scans:message` | Send messages to a running pentest | | `vulnerabilities:read` / `vulnerabilities:write` | View / update findings, history, fix PRs | | `dependencies:read` | View dependency inventory | | `supply_chain:read` / `supply_chain:write` | View / update supply-chain alerts | | `schedules:read` / `schedules:write` | View / manage scheduled scans | | `assets:read` / `assets:write` | View / manage domains and repositories | | `pr_reviews:read` / `pr_reviews:write` | View / start PR reviews and settings | | `connectors:read` / `connectors:write` | View / manage network connectors | | `knowledge:read` / `knowledge:write` | View / manage org knowledge, policies, settings | | `integrations:read` / `integrations:write` | View / connect / disconnect SCM integrations | | `uploads:write` | Request, finalize, and delete file uploads | | `chat:read` / `chat:write` | View / start chats and send messages | | `analytics:read` | Read dashboard analytics | | `llm:read` / `llm:write` | View / update self-hosted LLM settings and usage | | `test_users:read` / `test_users:write` | View / manage domain test users and inboxes | | `license:read` | View license details | | `billing:read` / `billing:write` | View billing / buy credits and manage automatic top-up | | `organizations:read` / `organizations:write` | View / manage organization settings | | `members:read` / `members:write` | View / manage members | | `invitations:read` / `invitations:write` | View / manage invitations | | `webhooks:read` / `webhooks:write` | View / manage webhooks (write is admin-only) | | `audit:read` | Read the audit log | | `tokens:write` | Manage your personal tokens; admins can manage organization tokens and service keys | ## Using tokens Include the token in the `Authorization` header: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/scans" \ -H "Authorization: Bearer " ``` Managed CLI sessions also send `X-Strix-Workspace: ` on normal API requests. This pins a process to the workspace it started in and turns a concurrent switch into a safe `409` conflict. Ordinary API tokens do not require this header. ## Best practices * Give each integration only the scopes that it needs (**least privilege**) * **Rotate tokens regularly**, especially service keys * If a token is compromised, **revoke it immediately**. A revoked token stops operation on the next request * Use **personal tokens** for development and **service keys** for production # Set up a pentest with your AI agent Source: https://docs.app.strix.ai/guides/agent-setup Let an AI coding agent such as Claude Code, Codex, Cursor, or Devin configure a pentest through the Strix MCP server, then review and launch it yourself ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) A coding agent that can read your repository knows your application better than a form does. Strix gives the agent a prompt and a set of MCP tools. The agent adds targets, test users, and context, then gives you a link. You open the link, review the setup, and launch the pentest. The agent does not launch the pentest and does not spend credits. ## Copy the prompt 1. Open **Pentests**, then select **New pentest**. 2. Select **Set up with your AI agent**. Strix copies the prompt. 3. Paste the prompt into your agent, in the repository of the application that you want to test. The prompt contains the MCP server URL of your Strix deployment and the steps to connect it. See [MCP server](/guides/mcp) for the client setup. ## What the agent does The prompt tells the agent to do these steps: 1. Connect the Strix MCP server and ask you to sign in. On Strix Cloud, the agent installs Strix from the MCP marketplace or connector directory of your client when Strix is listed there. On a self-hosted deployment, the agent adds the MCP server URL of your deployment and asks you for a Strix API token. A self-hosted deployment does not use OAuth sign-in for MCP. Create the token in **API access**, on the **Tokens** tab. 2. Read the codebase to find the deployed URLs, user roles, tenant boundaries, and login method. 3. Find the live domains of the application from the deploy and hosting configuration, and add them. A domain must be verified before Strix can test it. The agent tells you which DNS record or file to add if automatic verification is not possible. 4. Find the repositories of the application through your connected code host, and add them with the deployed branch. If GitHub or Bitbucket is not connected, or cannot reach a repository, the agent gives you a link that opens the code host's authorization page. The agent gives the same kind of link to connect Supabase, Cloudflare, Vercel, and Azure. Each link works for 10 minutes, and only for you while you are signed in to Strix. For GitLab, Azure Repos, AWS, and Google Cloud, the agent sends you to **Integrations**. If the agent finds no live domain, it stages a whitebox pentest of the repositories alone and tells you that no domain is in scope. 5. Map the auth matrix: each role, each tenant boundary, each login method, and what each role can and cannot reach. 6. Create two test users for each role in the matrix, in separate tenants where the application has tenants. The agent uses the sign-up and invite flows of your application, saves each user in Strix, and verifies that each login works. For email codes and magic links, the agent uses a Strix inbox. See [Test users](/guides/test-users). 7. Save API keys for API-only roles as scan headers on the domain. 8. Write knowledge documents about the architecture, the auth matrix, the API, the data model, and the business rules. See [Knowledge](/guides/knowledge). 9. Connect external knowledge sources, such as documentation, wikis, and tickets. 10. Connect the cloud infrastructure that runs the application. Supabase, Cloudflare, and Vercel use an access token. Other systems connect as a custom MCP server. For AWS, Azure, and Google Cloud, the agent sends you to **Integrations** to connect in the browser. 11. Call `create_scan_draft` with the targets, test users, cloud connections, context, focus, and concerns. 12. Give you the `launch_url` and a summary of the setup, with the test user for each cell of the auth matrix. The agent asks you for each access token. Give it a read-only token with the least privilege for the environment under test. The agent tells you when it cannot create a role, and why. ## Review and launch Open the `launch_url`. The pentest wizard opens on **Review & Launch** with the setup from the agent. Go back to a previous step to change anything, then launch the pentest. A draft link works for admins and analysts of the same workspace. A draft from an agent or an API token expires after 7 days. A draft that you save in the wizard does not expire. ## Scan drafts A draft is a pentest configuration that is saved but not started. A draft does not reserve credits. Create a draft with the `create_scan_draft` MCP tool or with the API: ```bash theme={null} curl -X POST https://app.strix.ai/api/v1/scans/drafts \ -H "Authorization: Bearer $STRIX_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "domain_ids": [""], "test_user_ids": [""], "context": "Multi-tenant invoicing application…", "org_knowledge_enabled": true }' ``` The response contains the link: ```json theme={null} { "id": "53599178-ef28-4fe1-92da-b9d2eaec17f2", "launch_url": "https://app.strix.ai/new-scan?draftId=53599178-ef28-4fe1-92da-b9d2eaec17f2&step=review", "expires_at": "2026-11-23T16:47:33Z" } ``` The request body is the same as the body of a scan, with one difference. A draft cannot contain `credentials` or `headers`. Save test users and domain scan headers first, then refer to test users with `test_user_ids`. The token needs the `scans:write` scope. You can also save a draft from the wizard. On **Review & Launch**, select **Save draft**. Strix copies the link. This draft does not expire. Logins and header values that you typed into the wizard are not saved in the draft. To find a saved draft, open **Pentests** and select the **Drafts** tab. The tab lists the drafts that have not expired, and only the drafts whose targets you can use. Select a draft to open it on **Review & Launch**. To remove a draft, open its menu and select **Delete draft**. Admins and analysts see the tab. The API has the same operations. `GET /api/v1/scans/drafts` lists the drafts. `DELETE /api/v1/scans/drafts/{draftId}` deletes a draft. Each operation needs the `scans:write` scope. The MCP tools are `list_scan_drafts` and `delete_scan_draft`. # Analytics Source: https://docs.app.strix.ai/guides/analytics Read dashboard analytics and scan frequency timelines ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) Analytics endpoints supply the same aggregate metrics that the dashboard shows. ## Dashboard overview One unified response contains all the data that the dashboard shows: * KPIs with deltas against the previous period * Issues over time (stacked by severity, split by pentest or PR review source) * Severity breakdown * Open-vs-fixed and MTTR trends * Exploitability (KEV and EPSS) * Top issues and affected assets * CWE distribution * Activity heatmap * PR review metrics (reviews over time split by verdict, findings-addressed rate, top repos and contributors) ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/analytics/overview?range=30d" \ -H "Authorization: Bearer " ``` The `range` parameter accepts `7d`, `30d`, `90d`, `all`, or `custom` (with `from` and `to` ISO dates). Stock metrics (security score, open issues, severity breakdown, top issues and assets) always show the current all-time posture. Flow metrics (issues found, PRs reviewed, pentests run) apply only to the selected window. **Required scope:** `analytics:read` ## Dashboard stats Severity counts, status counts, and headline metrics for your organization: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/analytics/stats" \ -H "Authorization: Bearer " ``` **Required scope:** `analytics:read` ## Scan frequency A timeline of scan activity. Use it to make charts of throughput over time: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/analytics/scan-frequency" \ -H "Authorization: Bearer " ``` **Required scope:** `analytics:read` # Asset Discovery Source: https://docs.app.strix.ai/guides/asset-discovery Find the hosts and infrastructure that belong to your organization, then import them as domains ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) Asset Discovery runs a passive reconnaissance agent against the domains you verified. The agent finds hosts, certificates, providers, and infrastructure that belong to your organization. The agent does not attack a target. Strix writes each asset to the inventory as soon as the agent finds it. ## Start a run ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/asset-discovery" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "seeds": ["example.com"], "org_names": ["Example Inc"], "instructions": "Include the hosts on our cloud accounts." }' ``` **Required scope:** `discovery:write` All fields are optional. When you omit `seeds`, the run starts from every verified domain. Each entry in `seeds` must be a domain that your organization verified. Strix returns status `422` for an unverified or malformed domain. Strix runs one discovery per organization at a time. When a run is in progress, the endpoint returns that run with `reused` set to `true`. ## List runs ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/asset-discovery" \ -H "Authorization: Bearer " ``` **Required scope:** `discovery:read` The response contains the most recent runs, the run in progress, the verified domains a run can start from, and the schedule. ## Get a run ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/asset-discovery/runs/" \ -H "Authorization: Bearer " ``` **Required scope:** `discovery:read` A completed run has a `summary`. The summary has at most four short lines. The first line gives the number of hosts. Each other line names one asset that can be a concern and says why. The summary does not describe how the agent found the assets. ## List discovered assets ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/asset-discovery/assets?status=new&apex=example.com" \ -H "Authorization: Bearer " ``` **Required scope:** `discovery:read` By default the response contains only assets with the `new` status. Set `status` to `all` to include imported and ignored assets. You can also filter by `search`, `source`, `kind`, `apex`, and `run_id`. ## Import an asset as a domain ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/asset-discovery/assets//import" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"asset_type": "web_app"}' ``` **Required scope:** `discovery:write` When the host is under a domain that your organization verified, Strix marks the new domain as verified. You can start a scan on that domain at once. When the host is not under a verified domain, verify the new domain first. See [Scans](/guides/scans) for domain verification. ## Ignore or restore an asset ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/asset-discovery/assets/" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"status": "ignored"}' ``` **Required scope:** `discovery:write` Set `status` to `new` to show the asset again. An imported asset cannot change status. ## Schedule recurring runs A schedule starts a run at a fixed time from every verified domain. Domains that you verify later are part of the next run. ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/asset-discovery/schedule" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "cron": "0 9 * * 1", "timezone": "America/New_York", "notify_events": ["new_assets", "failed"], "notify_slack": true, "slack_channel_id": "C0123456789", "notify_emails": ["security@example.com"] }' ``` **Required scope:** `discovery:write` `cron` is a 5-field cron expression (minute, hour, day of month, month, day of week). Strix reads it in `timezone`, an IANA timezone name. The example runs every Monday at 09:00 in New York, also across daylight saving changes. A schedule must fire at most once an hour. If the expression fires more often, Strix returns status 422 with the `invalid_cron` code. Send `null` as `cron` to stop recurring runs. Fields that you omit keep their current value. `notify_events` and `notify_emails` replace the full list. `notify_emails` accepts up to 10 addresses. Send an empty list to stop email notifications. To read the schedule, send `GET` to the same path with the `discovery:read` scope. The response includes `next_run_at` as a UTC timestamp, `last_fired_at`, and the status of the last scheduled run. ## Notifications The notification settings apply to scheduled runs and to runs that you start by hand. `notify_events` selects the outcomes that send a message. A run sends at most one message. | Event | When Strix sends a message | | - | - | | `new_assets` | A completed run found assets that were not in the inventory before. This is the default. | | `completed` | A run completed, also when it found nothing new. A completed run with new assets sends one message, as `new_assets` when that event is on. | | `failed` | A run stopped without a result. | Send an empty `notify_events` list to stop all notifications. * With `notify_slack` set to `true`, Strix posts to the channel in `slack_channel_id`. The channel must be in the connected Slack workspace. Set `slack_channel_id` to `null` to post to the default channel of the Slack integration. See [Slack integration](/guides/slack-integration). * Each address in `notify_emails` gets one email. For `new_assets`, the email lists the new hosts and the run summary. A message never contains a price or a credit amount. # Billing and credits Source: https://docs.app.strix.ai/guides/billing Read the credit balance, buy credits with machine payments, and manage automatic top-ups ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) > [!NOTE] > > If your organization has an Enterprise contract, the contract sets your prices and the features that your plan includes. The credit prices in these docs apply to self-serve plans. Self-serve workspaces use scan credits for standard managed pentests. One credit costs \$1.00 before the volume discount on larger top-ups. Retests and supply-chain dependency scans are credit-exempt. These endpoints let an API caller or agent read the balance, buy credits, and manage automatic top-ups. Strix calculates the scan price from the requested scope before launch. Uploading source does not make the scan free. Treat the estimate returned for the request as authoritative. If the workspace cannot cover the estimate, scan creation returns HTTP `402 Payment Required` with code `scan_credit_limit_reached`. The CLI maps this to exit code `5`. The rejected request creates no scan and consumes no credits. Validation and plan rejections that occur before launch also consume no credits. The `402` body tells the caller how to recover. It leads with a credit purchase that is sized to the rejected request: * `credits_to_buy` is the number of credits that the request needs above the current balance. Strix rounds it up to a whole credit and keeps it inside the top-up limits. When the route cannot estimate the request, the value is the default pack. * `price_usd` is the price of `credits_to_buy` credits. * `checkout_url` is a hosted checkout link for exactly `credits_to_buy` credits. Open it in a browser and pay. The field is present only when the token could call `POST /api/v1/billing/checkout` itself: the token has `billing:write`, has no `rbac_scopes`, and belongs to an admin or is a service token. When the field is absent, the `hint` names the billing page instead. * `hint` is the one-line next step. The CLI prints it after the error. * `topup_options` lists the recovery paths in the order that a headless caller should try them. Each option contains the API `method` and `path`, the matching `cli` command, and a `description`. The `POST` options also contain the request `body` to send. ```json theme={null} { "detail": "Out of credits. Buy more to keep running pentests. Buy 14 credits ($14) at https:///c/... (hosted checkout, opens in the browser). Then retry this request.", "requiredTier": "cloud", "code": "scan_credit_limit_reached", "hint": "Buy 14 credits ($14) at https:///c/... (hosted checkout, opens in the browser). Then retry this request.", "checkout_url": "https:///c/...", "credits_to_buy": 14, "price_usd": 14, "topup_url": "https://app.strix.ai/settings/billing", "topup_options": [ { "method": "POST", "path": "/api/v1/billing/checkout", "body": { "product": "strix_top_up", "credits": 14 }, "cli": "strix cloud billing subscribe --plan strix_top_up --data '{\"credits\":14}'", "description": "Create a hosted checkout link for exactly the credits this request needs. The user pays in the browser. When the 402 already carries `checkout_url`, open that link instead of calling this." }, { "method": "POST", "path": "/api/v1/billing/topup", "body": { "credits": 14 }, "cli": "strix cloud billing topup --credits 14", "description": "Opt-in machine payment for agents that hold a Stripe agent wallet. ..." }, { "method": "GET", "path": "/api/v1/billing/credits", "cli": "strix cloud billing credits", "description": "Check the current credit balance." } ], "required_credits": 60, "available_credits": 46 } ``` Scan reruns, schedule creation with `also_run_now: true`, and manual schedule triggers return the same body. Chat requests on the Cloud plan return the same body with code `chat_credit_limit_reached` when the wallet is empty. Chat rejections use the default pack for `credits_to_buy` and do not contain `checkout_url`. See [Chat](/guides/chat) for how Chat uses credits. The machine payment option (`POST /api/v1/billing/topup`) is for agents that hold a Stripe agent wallet. Callers without a wallet must skip it and use the hosted checkout. When the workspace can still start the Cloud plan trial, the body also contains a `plan_trial` object after the top-up fields: ```json theme={null} { "plan_trial": { "plan": "strix_cloud", "trial_days": 7, "includes": "PR security reviews on every pull request", "adds_scan_credits": false, "method": "POST", "path": "/api/v1/billing/checkout", "cli": "strix cloud billing subscribe --plan strix_cloud", "url": "https://app.strix.ai/settings/billing", "description": "Separately, the Cloud plan adds PR security reviews on every pull request (no scan credits) and starts with a free trial of up to 7 days: ..." } } ``` The Cloud plan includes PR security reviews and does not include scan credits. `adds_scan_credits` is always `false`. A caller that needs to run a scan must buy credits, not start the trial. The `plan_trial` object is present only when the workspace has not subscribed before, can still start the trial, and checkout would not charge the caller at once. When the object is present, the `detail` text also mentions the trial. Use `plan` as the `product` value for `POST /api/v1/billing/checkout`. Subscribers, former subscribers, and workspaces with an ended trial receive the plain top-up guidance. ## Get the credit balance ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/billing/credits" \ -H "Authorization: Bearer " ``` **Required scope:** `billing:read` The response contains the current `balance`, `chat_balance`, and `price_per_credit_cents`. Scans reserve whole credits from `balance`. `chat_balance` gives the whole credits that Chat can still spend. It equals `balance`, or `balance` plus one while Chat holds the unspent part of a credit that it started to use. An Enterprise workspace can have a wallet balance. The contract sets whether scan launches debit it. Enterprise chats do not debit it. ## Buy credits with a machine payment This endpoint accepts agent payments through the Stripe Machine Payments Protocol (MPP). The purchase requires an admin role on the workspace. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/billing/topup" \ -H "X-Strix-Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"credits": 20}' ``` **Required scope:** `billing:write` Send the API token in the `X-Strix-Authorization` header for this endpoint. MPP uses the standard `Authorization` header for the payment credential. The first request returns HTTP `402 Payment Required` with a payment challenge in the `WWW-Authenticate` header. Pay the challenge with an MPP wallet, for example the Stripe Link agent wallet, and retry the request with the payment credential. See the [Stripe machine payments documentation](https://docs.stripe.com/payments/machine) for wallet setup. The challenge body also contains `checkout_url` and `wallet_setup`. `checkout_url` is a hosted checkout link for the same number of credits. It is present when the token could call `POST /api/v1/billing/checkout` itself. `wallet_setup` tells a caller without a wallet to open `checkout_url` and pay in the browser instead. The protocol headers of the challenge do not change. ```json theme={null} { "checkout_url": "https:///c/...", "wallet_setup": "Most users should skip this challenge and open checkout_url to pay for 20 credits in the browser. ..." } ``` When the payment succeeds, the response confirms the grant: ```json theme={null} { "credits_granted": 20, "duplicate": false, "reference": "pi_...", "balance": 40 } ``` Credit grants are idempotent on the payment `reference`. A retry with the same paid credential returns `duplicate: true` and grants no additional credits. ## Get automatic top-up settings ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/billing/auto-topup" \ -H "Authorization: Bearer " ``` **Required scope:** `billing:read` The response contains `enabled`, `topup_credits`, `monthly_cap_credits`, `chat_cap_credits`, and `used_this_month`. ## Update automatic top-up settings Automatic top-ups charge the saved payment method of the workspace when the balance runs out. Scan launches and Chat turns both trigger a top-up. The same `topup_credits` and `monthly_cap_credits` apply to both. The `chat_cap_credits` limit applies to one chat. When the top-ups for a chat reach that limit, Strix pauses the chat instead of a new charge. Manual purchases and scans are not affected. The update requires an admin role on the workspace. ```bash theme={null} curl -X PUT "https://app.strix.ai/api/v1/billing/auto-topup" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "enabled": true, "topup_credits": 240, "monthly_cap_credits": 2400, "chat_cap_credits": 20 }' ``` **Required scope:** `billing:write` Set `monthly_cap_credits` to `null` to remove the monthly limit. Set `chat_cap_credits` to `null` to remove the limit for one chat. An omitted field keeps the stored value. An admin can also lift the per-chat limit for a single chat, without a change to the workspace limit. Use `PUT /api/v1/chat//auto-topup-limit` with `{"lifted": true}`. The monthly cap still applies to that chat. See [Chat](/guides/chat#lift-the-per-chat-automatic-top-up-limit) for the details. ## Create a checkout link Use this endpoint to buy a plan or a credit pack. The response contains a hosted checkout page. A person must open the page and complete the payment. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/billing/checkout" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"product": "strix_cloud"}' ``` **Required scope:** `billing:write` The accepted products are `strix_cloud` for the Cloud plan, `strix_startup` for an approved startup offer, and `strix_top_up` for a credit pack. The request needs an admin role on the workspace. The response contains `checkout_url`. The open-source CLI opens this page with the `strix cloud billing subscribe --plan strix_cloud` command. ## Create a billing portal link The billing portal shows the invoices of the workspace. A person can change the payment method and the plan there. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/billing/portal" \ -H "Authorization: Bearer " ``` **Required scope:** `billing:write` The request needs an admin role on the workspace. The response contains `portal_url`. If the workspace does not yet have a billing customer, the endpoint returns HTTP `409 Conflict` with instructions to subscribe first. Create a checkout link with the preceding endpoint, complete that handoff as a person, and then request the portal again. Provider failures return `502 Bad Gateway`; an on-premises deployment where the hosted portal is unavailable returns `400 Bad Request`. The CLI equivalent is `strix cloud billing portal`. It prints or opens the hosted link; it never changes payment details by itself. For machine-payment top-ups, `strix cloud billing topup --credits --no-pay` prints the payment challenge without paying it. In an interactive terminal, the paying form asks for confirmation. In an agent, CI, or other non-interactive process, payment cannot proceed unless `--yes` is present; obtain the user's approval before running `strix cloud billing topup --credits --yes`. The `--yes` and `--no-pay` options are mutually exclusive. `--yes` authorizes the CLI to invoke the configured wallet, but Link may still require the user to approve or complete the payment. # Chat Source: https://docs.app.strix.ai/guides/chat Start and continue Strix chat sessions programmatically ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) Use chat to send messages to a Strix agent and get replies. You can attach repositories and files to give context. Chat is available on the Cloud plan and on Enterprise plans. You can also chat from Slack. See [Chat with Strix in Slack](/guides/slack-integration#chat-with-strix-in-slack). ## What the chat agent can do in Strix The agent can run the operations of the Strix API for you: list, read, create, update, and delete scans, findings, schedules, assets, domains, repositories, integrations, knowledge entries, members, webhooks, and pull request reviews. It can also read the agent traces and repositories of your workspace to answer questions about them, and read the Strix documentation to answer questions about the product. The operations are grouped into tools per API area (for example `strix_scans`, `strix_test_users`). The agent calls an area tool with an `operation` name and an `arguments` object, and asks `strix_api_operation_schema` for the exact argument shape of an operation when it needs it. The agent acts as the member whose message it is working on. Your role and your asset scopes apply to every operation, so a member with the viewer role cannot make changes. When another member sends a message, the current turn stops and the agent continues as that member. A subagent acts only when a member messages that subagent directly; it then acts as that member. If you use an API token to start a chat or send it a message, the operation scopes of that token also apply: when you message through a token without `vulnerabilities:write`, the agent cannot change findings. The agent cannot manage chats, API tokens, billing, or credentials. Strix records each change the same as a change in the dashboard. ### Approval for dangerous operations Some operations wait for a member to approve them before they run: deletes, cancel, revoke, disconnect, remove, share, changes to member roles or the organization, and actions that start work or reach outside Strix such as scans, retests, fix pull requests, ticket pushes, and member invites. When the agent calls one of these, the chat shows an **Approve** / **Deny** card. Nothing runs until a member clicks a decision. An approval expires 30 minutes after the agent requests it. API users read and decide approvals through the API: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/chat//approvals/" \ -H "Authorization: Bearer " ``` **Required scope:** `chat:read` ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/chat//approvals/" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"decision": "approve"}' ``` **Required scope:** `chat:write` The body `decision` accepts `approve` or `deny`. On `approve` the operation runs as the token's user inside the token's scopes, and the result arrives in the chat as a new message. A request on an approval that is decided or expired returns HTTP `409`. ## Credits On the Cloud plan, Chat uses prepaid credits from the same wallet as scans. One credit costs \$1.00. Strix deducts the credits after each agent tool call, not after each message. Enterprise chats do not consume credits. Read the spendable Chat balance with `GET /api/v1/billing/credits`. The `chat_balance` field gives whole credits only. A credit that Chat has only partly used counts as one. ### Chat credit usage A chat uses part of a credit for each agent step. Read the exact usage with `GET /api/v1/chat/usage`. ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/chat/usage?chat_id=" \ -H "Authorization: Bearer " ``` **Required scope:** `chat:read` The response gives amounts in microcredits. One credit is 1,000,000 microcredits. * `available_microcredits`: the credits that Chat can still spend. * `typical_chat_microcredits`: the median total cost of the recent chats in the workspace, or `null` when the workspace has no charged chat yet. * `sampled_chats`: the number of chats in that sample. * `chat_microcredits`: the total that the chat in `chat_id` has used. Zero when you omit `chat_id`. * `chat_auto_topup_credits`: the whole credits that automatic top-up bought for that chat. * `chat_auto_topup_cap_lifted`: `true` when an admin lifted the per-chat automatic top-up limit for that chat. When the workspace has no credits, `POST /api/v1/chat` and `POST /api/v1/chat//message` return HTTP `402 Payment Required` with code `chat_credit_limit_reached`. The request starts no turn and consumes no credits. The body has the same `hint`, `topup_url`, and `topup_options` fields as the scan paywall response. When automatic top-up is on and did not refill the wallet, the body also has a `reason` field. See [Billing and credits](/guides/billing) for the recovery steps. When the wallet runs out during an agent turn, Strix pauses the chat and writes a system notice to the thread. Buy credits, then send a message to continue. If automatic top-up is enabled for the workspace, Strix refills the wallet before it pauses the chat. ### Lift the per-chat automatic top-up limit When the `reason` is `chat_cap_reached`, the automatic top-ups for this chat reached the `chat_cap_credits` limit of the workspace. An admin can lift that limit for this one chat. The chat can then buy credits automatically past the per-chat limit. The monthly cap of the workspace still applies. In the dashboard, the out-of-credits dialog shows the **Lift the limit for this chat** action. Strix sends the held message when the limit is lifted. ```bash theme={null} curl -X PUT "https://app.strix.ai/api/v1/chat//auto-topup-limit" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"lifted": true}' ``` **Required scope:** `billing:write` The response contains `chat_id` and `lifted`. Send `{"lifted": false}` to apply the workspace limit to the chat again. The request requires an admin role on the workspace. A chat that the token cannot reach returns HTTP `404`. ## List chats ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/chat?limit=20" \ -H "Authorization: Bearer " ``` **Required scope:** `chat:read` ## Start a chat ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/chat" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "message": "Review the auth flow in my-org/my-repo for IDOR risks", "repos": [{"repoId": "", "branch": "main"}] }' ``` To attach files, send `multipart/form-data` instead of JSON. Use the same fields and add the file parts. **Required scope:** `chat:write` ## Get a chat ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/chat/" \ -H "Authorization: Bearer " ``` **Required scope:** `chat:read` ## Send a message ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/chat//message" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"message": "Now check the password reset endpoint"}' ``` To stop an active agent turn before you send the message, set `"cancel_current": true`. `message` can be omitted for a control-only request when either `cancel_current` or `stop_agent` is `true`. `cancel_current` cancels the in-flight turn; `stop_agent` parks the target agent and its descendants: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/chat//message" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"stop_agent": true}' ``` **Required scope:** `chat:write` Read the agent's replies with `GET /api/v1/chat/{chatId}/messages` or the MCP tool `list_chat_messages`. ## Export workspace files Chat artifacts live under `/workspace` in the running agent sandbox. List exportable files: ```bash theme={null} curl "https://app.strix.ai/api/v1/chat//files" \ -H "Authorization: Bearer " ``` The listing is capped at 10,000 entries and 2 MiB before the sandbox response is parsed and normalized. An oversized listing returns `413`. Download one file. The API accepts either an absolute path under `/workspace` or a convenient relative path such as `report.md`; relative paths resolve from `/workspace`. Traversal and absolute paths outside `/workspace` are rejected. An individual export is limited to 50 MiB. ```bash theme={null} curl --get "https://app.strix.ai/api/v1/chat//files/download" \ -H "Authorization: Bearer " \ --data-urlencode "path=/workspace/report.md" \ --output report.md ``` Or stream the whole workspace as a ZIP: ```bash theme={null} curl "https://app.strix.ai/api/v1/chat//files/archive" \ -H "Authorization: Bearer " \ --output workspace.zip ``` Archive export preflights the same 2 MiB / 10,000-entry listing limit, a 50 MiB per-file limit, and 512 MiB of uncompressed content, with a 30-second archive deadline. ZIP entries must be safe relative POSIX paths. The service bounds sandbox JSON and base64 responses before parsing or decoding them, streams with response backpressure, and cancels in-flight sandbox work if the client disconnects. An empty workspace returns `404`, and oversized listings or files return `413`. Invalid listing, export, or file data from the sandbox returns `502`; an unavailable, unready, or timed-out sandbox returns `503`. A file read failure or actual-byte overflow fails the stream instead of returning a valid-looking partial ZIP. **Required scope:** `chat:read` The CLI adds safe file handling and refuses to replace an existing output unless `--force` is explicit: ```bash theme={null} strix cloud chat files strix cloud chat files download --path report.md --output report.md strix cloud chat files archive --output workspace.zip ``` ## Create a share link ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/chat//share" \ -H "Authorization: Bearer " ``` **Required scope:** `chat:write` # CLI login Source: https://docs.app.strix.ai/guides/cli-login Sign in from the Strix CLI with the device authorization flow ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) The CLI login endpoints let a terminal or a coding agent create a Strix account and get an API token without a dashboard visit. The flow uses OAuth 2.0 device authorization. The open-source CLI runs this flow with the `strix cloud login` command. ## Start device authorization This endpoint does not require authentication. The browser step establishes the user identity. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/cli/login" ``` The response contains a `user_code`, a `verification_uri_complete`, a `device_code`, an `expires_in` value, and a poll `interval` in seconds. Show the `user_code` to the user and open `verification_uri_complete` in a browser. Keep the `device_code` private. This endpoint and the poll endpoint accept POST only. If a browser opens one of these URLs with GET, the server starts no sign-in. It returns `405` with an `Allow: POST` header and a short explanation. The body is HTML for a browser and JSON for other clients. The JSON body contains the `strix cloud login` command, the install URL, and the documentation URL. ## Poll for completion Poll this endpoint with the `device_code` at the returned interval. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/cli/login/poll" \ -H "Content-Type: application/json" \ -d '{"device_code": "", "scope_profile": "recommended", "client_instance_id": "", "device_name": "macOS CLI · a1b2c3d4"}' ``` Choose `scope_profile` as `minimal`, `recommended`, or `full`, or send a custom `scopes` array. The server always includes the minimum scopes `scans:read`, `scans:write`, and `billing:read`; the member's role caps the final set. The CLI exposes `--scope-profile` and `--scopes`. The open-source CLI generates one opaque `client_instance_id` per installation and a privacy-safe `device_name` that contains no hostname. Sending both makes later sign-ins from the same installation replace that session's secret and expiry in the same database row instead of creating an unlimited series of keys. Different installations remain separately visible and revocable in **Settings → API Access** as CLI sessions. Omit both fields only for compatibility with an older client. Without either field, the server uses Recommended. This profile covers the resources that `strix cloud` commands use every day: * Scans: `scans:read`, `scans:write`, `scans:message`, `uploads:write` * Findings: `vulnerabilities:read`, `vulnerabilities:write`, `dependencies:read`, `supply_chain:read`, `supply_chain:write` * Assets and schedules: `assets:read`, `assets:write`, `schedules:read`, `schedules:write` * Reviews and knowledge: `pr_reviews:read`, `pr_reviews:write`, `knowledge:read`, `knowledge:write`, `chat:read`, `chat:write` * Connectors: `connectors:read`, `connectors:write` * Integrations: `integrations:read`, `integrations:write` * Workspace: `organizations:read`, `organizations:write`, `webhooks:read`, `audit:read`, `analytics:read`, `license:read`, `billing:read`, `billing:write` The workspace and integration scopes let an admin agent complete the first-time setup steps from the login response. The agent can name the workspace and connect a repository provider. The billing scopes let an admin agent complete the user-approved Link/MPP credit top-up flow when a scan needs credits. Account administration still requires Full or an explicit custom scope request: `members:read`, `members:write`, `invitations:read`, `invitations:write`, `webhooks:write`, `tokens:write`, `llm:read`, `llm:write`, `test_users:read`, and `test_users:write`. Workspace listing and switching the current CLI session do not themselves require `organizations:read` or `tokens:write`. The server omits the scopes that the member's role cannot receive. A profile change applies to new logins only. An existing session keeps the ceiling that the user approved at sign-in. While the user has not confirmed in the browser, the response is an error with the code `authorization_pending`. Continue to poll. If the response code is `slow_down`, increase the poll interval by 5 seconds. ## Interactive workspace and scope selection Send `"interactive": true` in the poll request to select a workspace and scopes after the browser step. When the user confirms in the browser, the response then contains `selection_required: true`, a short-lived `selection_token`, `is_new_user`, the workspaces of the user, and the full scope catalog with descriptions. Each scope entry shows if the scope is part of the minimum set, if it is a default, and the lowest member role that can receive it. Each workspace entry contains `has_default_name`. This value is true when the user is an admin and the workspace still has the generated name, for example `Alex's Workspace`. Complete the login with the selection: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/cli/login/complete" \ -H "Content-Type: application/json" \ -d '{"selection_token": "", "organization_id": "", "scope_profile": "minimal", "workspace_name": "Acme Security"}' ``` The workspace must be one of the memberships of the user. The server always includes the minimum scopes. The role of the member limits the final set. The selection token expires after 10 minutes. The `strix cloud login` command uses this flow in an interactive terminal. It offers a workspace picker and the scope presets Recommended, Full access, and Minimal. The `--workspace` flag selects a workspace by name or ID without a prompt. The `workspace_name` field is optional. Use it when the workspace has `has_default_name` set to true. The user must be an admin of the workspace. The server mints the token and then renames the workspace. A failed rename does not fail the sign-in. If the value equals the current default name, the server records that the user chose the name. An empty value keeps the current name. In an interactive terminal, the `strix cloud login` command asks a first-time user for a workspace name. When the user confirms, the response contains the account and a personal API token: ```json theme={null} { "api_token": "strix_...", "organization_id": "", "organization_name": "My workspace", "email": "user@example.com", "expires_at": "2026-11-24T00:00:00.000Z", "is_new_user": true, "scopes": ["scans:read", "scans:write", "billing:read"], "scope_ceiling": ["scans:read", "scans:write", "billing:read"], "requested_scopes": ["scans:read", "scans:write", "billing:read"], "scope_profile": "minimal", "token_id": "", "credential_source": "cli", "device_name": "macOS CLI · a1b2c3d4", "onboarding": { "workspace_named": false, "repositories_connected": false, "domains_added": false, "github_install_url": "https://github.com/apps/strix/installations/new?state=..." }, "next_steps_hint": "Your workspace still has its default name. Name it with strix cloud org update --name. ...", "next_steps": [ { "action": "Name your workspace", "cli": "strix cloud org update --name \"Acme Security\"", "method": "PATCH", "path": "/api/v1/organization" }, { "action": "Connect GitHub repositories for PR security reviews and code scans", "cli": "strix cloud integrations install github", "method": "POST", "path": "/api/v1/integrations/github/install-url" }, { "action": "List your workspaces", "cli": "strix cloud workspaces list", "method": "GET", "path": "/api/v1/workspaces" }, { "action": "Add a domain to test", "cli": "strix cloud domains add --domain example.com --asset-type web_app", "method": "POST", "path": "/api/v1/domains" }, { "action": "Check your scan credits", "cli": "strix cloud billing credits", "method": "GET", "path": "/api/v1/billing/credits" }, { "action": "Start a scan", "cli": "strix cloud scans start --engagement-type live_test --domain-ids --wait", "method": "POST", "path": "/api/v1/scans" } ], "dashboard_url": "https://app.strix.ai" } ``` The `next_steps` list gives the first actions after a sign-in, in order. Each step contains the CLI command and the matching API call. An agent can read the list from the JSON response. The CLI prints `next_steps_hint` after a successful login. The `onboarding` object reports what the workspace still lacks. The server computes it from live data on every sign-in: * `workspace_named` is false while the workspace still has the generated default name. Rename the workspace with `PATCH /api/v1/organization`. * `repositories_connected` is true when at least one repository has an active installation. * `domains_added` is true when at least one domain exists in the workspace. * `github_install_url` is present for an admin session without asset scopes while no repository is connected. A person opens the link in a browser. If the browser has no dashboard session, the dashboard asks the person to sign in with the same account and then returns to the installation. The link expires after 10 minutes. The setup steps in `next_steps` match the permissions of the session. The list contains the rename step only when the session has `organizations:write`. The list contains the GitHub step only when the session has `integrations:write` and `github_install_url` is present. If the server cannot read the live state, the response omits `onboarding`. The token is still valid in that case. When the workspace can still start the Cloud plan trial, the list ends with a step that starts the trial. The Cloud plan includes PR security reviews and starts with a free trial of up to 7 days. The plan does not include scan credits. The `api_token` value is shown only once. Store it in a secure location. `scope_ceiling` is the immutable maximum authority accepted at this login; workspace and profile changes can narrow it but cannot widen it. Broader access requires another browser sign-in. For a first-time user, Strix creates the account and a default workspace automatically. The token is valid for 90 days. ## CLI output and automation In a terminal, `strix cloud` output is compact and action-oriented: lists favor names, branches, lifecycle states, and numbered selectors. Internal organization and user IDs are omitted, while a required selector that is too long for a compact table is repeated losslessly in a copyable block. Paginated lists print the next `--page` or `--offset`, and detail views prioritize useful prose within a safe terminal bound. A bare resource group with a safe read operation runs its default list/read action; use `-h` or `help` to list that group's verbs. Pass `--json` for the complete record. When stdout is redirected or is not a terminal, output automatically becomes JSON and the CLI never prompts. Binary downloads are the exception: redirect their raw bytes intentionally, or use `--output FILE --json` to write the file and receive structured download metadata. ## Workspaces A personal token belongs to one workspace. Use these endpoints to list the workspaces of the user, create a workspace, and retarget the active personal token to another workspace. All three need a personal token from the login flow. A service token belongs to a single workspace and cannot use them. ### List workspaces ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/workspaces" \ -H "Authorization: Bearer " ``` **Required scope:** none. The bearer must be a personal token. Keeping this recovery operation scope-independent lets a Minimal CLI session discover and switch workspaces. Each entry contains `id`, `name`, `role`, and `current`. In an interactive terminal, the CLI presents the entries as a numbered list and hides the long IDs from the compact table. JSON output still contains the complete records: ```bash theme={null} strix cloud workspaces # numbered human-readable list strix cloud workspaces --json # complete records for agents ``` ### Create a workspace ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/workspaces" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"name": "My Team"}' ``` **Required scope:** `organizations:write` and an admin role. The Recommended preset includes this scope for admins. The user becomes the admin of the new workspace. ### Switch the active token to another workspace ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/workspaces//token" \ -H "Authorization: Bearer " \ -H "X-Strix-Workspace: " \ -H "Content-Type: application/json" \ -d '{"scope_profile": "minimal"}' ``` **Required scope:** none. The bearer must be a personal token. The user must be a member of the workspace. An ordinary switch preserves the server-side requested profile, then the target-workspace role caps its effective scopes. A `scope_profile` or custom `scopes` request may narrow within `scope_ceiling`; a request beyond the ceiling returns `403` and requires login again. The endpoint retargets the same row and keeps its bearer secret and expiry, making an exact retry safe after a lost response. ```bash theme={null} strix cloud workspaces use 3 # number from the current list strix cloud workspace use "My Team" # singular alias and exact name strix cloud workspaces use # stable ID for automation strix cloud session scopes # effective scopes and login ceiling strix cloud session scopes set minimal # narrow without logging in again ``` `workspace` and `workspaces` are aliases. The `use` selector accepts a displayed number, exact case-insensitive name, or workspace ID. If names are duplicated, use the displayed number or ID. A list number is convenient for a person but is not a stable automation identifier; an agent should use the ID from `--json`. Ordinary switching does not ask for scopes again. `workspaces use --json` returns the resulting profile, granted/requested/ceiling scopes, expiry, CLI-session metadata, and a `stored` boolean without returning the bearer secret. The CLI updates local metadata only after success and never persists `--token` or `STRIX_API_TOKEN` overrides. ## Session safety and revocation Managed CLI-session requests include `X-Strix-Workspace` with the organization selected when the process started. If another shell switches the same device session, a stale command receives `409 workspace_session_changed` instead of silently running against the new workspace. JSON CLI output preserves the error code plus current and expected workspace IDs for agent recovery. `GET /workspaces`, `GET /cli/session`, and an exact workspace-switch retry remain available for recovery; stale processes cannot change scopes or revoke the session. Direct API clients using a CLI session should send the same header; ordinary API tokens are unchanged. ```bash theme={null} strix cloud session # fetch remote session state strix cloud session scopes --json # effective/requested/ceiling scopes strix cloud session scopes set recommended strix cloud logout # remote revoke, then local deletion strix cloud logout --local-only # deliberate emergency local cleanup ``` When a command needs a scope that the session does not have, the API returns `403` with `details.code` set to `insufficient_scope`, the `required_scope`, and a `hint`. The hint gives the one instruction that resolves the error: * If the scope is inside the login ceiling, run `strix cloud session scopes set full`. * If the scope is outside the login ceiling, run `strix cloud login --scope-profile full` and approve the wider access in the browser. * If the role of the member cannot hold the scope, ask a workspace admin to change the role. * For an ordinary API token, create a token that includes the scope in **Settings → API Access**. `GET /api/v1/cli/session` returns the current session. `PATCH` changes `scope_profile` or custom `scopes` within the ceiling. `DELETE` revokes that same bearer without requiring `tokens:write`. Normal logout keeps the local token after transport or server failures so revocation can be retried; a definitive success or already-invalid (`401`) response permits local deletion. Revoked and expired CLI-session rows are retained for a bounded audit window, then purged. ## Tab completion Completion is generated by the source CLI as well as packaged binaries. It therefore works with `uv run strix` too: ```bash theme={null} source <(strix completions zsh) # From a source checkout: source <(uv run strix completions zsh) # bash: source <(strix completions bash) # fish: strix completions fish | source ``` Add the appropriate command to the shell startup file to enable it in future terminals. Completion covers cloud groups, verbs, flags, and singular resource aliases; it does not send a request or expose token values. # Network Connectors Source: https://docs.app.strix.ai/guides/connectors Reach internal targets through Strix network connectors ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) With a network connector, Strix can scan internal or private targets. Strix sends its traffic through a connector that you install in your network. ## List connectors ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/connectors" \ -H "Authorization: Bearer " ``` **Required scope:** `connectors:read` ## Create a connector When you create a connector, the response contains the enrollment material that you need to make the connector operational: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/connectors" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"name": "prod-vpc-connector"}' ``` The response contains two versions of the deploy command: * `docker_command` for Bash. * `docker_command_powershell` for Windows PowerShell. Run one of them on a host in your network. **Required scope:** `connectors:write` ## Get a connector ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/connectors/" \ -H "Authorization: Bearer " ``` **Required scope:** `connectors:read` ## Check live status ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/connectors//status" \ -H "Authorization: Bearer " ``` **Required scope:** `connectors:read` ## Delete a connector ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/connectors/" \ -H "Authorization: Bearer " ``` **Required scope:** `connectors:write` # Containers Source: https://docs.app.strix.ai/guides/containers Scan container images for vulnerable packages, secrets, and misconfigurations ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) With Containers, you connect a registry, add images, and scan each image for vulnerable packages, malicious packages, secrets, misconfigurations, and outdated base images. Strix identifies an image by its digest, so a scan always applies to one immutable image. Containers is part of the Enterprise plan. Every request in this guide returns `403` with the code `enterprise_plan_required` on other plans. ## How a scan works 1. Strix resolves the image reference to a manifest digest and a platform. 2. Strix pulls the image layers with the registry credential on the trusted orchestrator. The credential never enters the scan sandbox. 3. The scan sandbox receives the image as a read-only OCI layout and runs the package, secret, and configuration checks. 4. Strix stores each finding in the same vulnerability list that the rest of the workspace uses. Findings that appear in a new scan of the same image keep their history. Findings that no longer appear are marked as fixed. Strix stores only a masked value or a SHA-256 fingerprint for a secret finding. Strix does not store the secret value. ## Connect a registry In **Add registry**, a green **Saved** check means the entered value is kept between steps while setup is open. Select **Connect registry** to store the connection. Closing setup clears the draft. Every image belongs to a registry connection. Open **Containers → Registries → Add registry** and select the provider. For public Docker Hub images or public generic registries, leave both credential fields empty. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/containers/registries" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "provider": "generic", "registry_host": "registry.example.com", "label": "Production registry", "auth_kind": "basic_token", "username": "strix-readonly", "secret": "" }' ``` Every registry uses the same OCI Distribution API. The `provider` field selects the host rules and the credential shape: | `provider` | `registry_host` | `auth_kind` | Credential | | - | - | - | - | | `generic` | Any registry host, for example Harbor, Nexus, Artifactory, Quay, or GitLab | `basic_token` or `none` | `username` and `secret` | | `dockerhub` | Fixed to `docker.io` | `basic_token` or `none` | Docker Hub `username` and an access token in `secret` | | `ghcr` | Fixed to `ghcr.io` | `basic_token` | GitHub `username` and a [classic personal access token](https://github.com/settings/tokens/) with the `read:packages` scope in `secret` | | `gar` | A regional Artifact Registry host, for example `us-docker.pkg.dev` | `basic_token` | The service account key file (JSON) in `secret`. Omit `username`. Strix sets it to `_json_key`. | | `ecr` | The private registry host, for example `123456789012.dkr.ecr.us-east-1.amazonaws.com` | `aws_assume_role` | `aws_role_arn`. Omit `username` and `secret`. | | `acr` | The login server, for example `acme.azurecr.io` | `basic_token` | Service principal application ID in `username` and its secret in `secret` | ### Docker Hub For public images, leave **Docker Hub username** and **Access token** empty. 1. Open [**Docker Home**](https://app.docker.com/). Select your avatar → **Account settings** → **Personal access tokens**. 2. Select **Generate new token**. Enter **Strix image reader** in **Description**. Choose an **Expiration date**. 3. Set **Access permissions** to **Read**. Select **Generate**. 4. In Strix, enter the **Docker Hub username** for the account that created the token. 5. Copy the generated token into **Access token**. ### GitHub Container Registry Use your personal GitHub username and a token that can read the packages. Select the package owner separately from these credentials. 1. Open [**GitHub token settings**](https://github.com/settings/tokens/). 2. Select **Generate new token** → **Generate new token (classic)**. 3. Enter **Strix image reader** in **Note**. Choose an **Expiration**. 4. Select the **read:packages** scope. Select **Generate token**. 5. In Strix, select **GitHub**. Enter your personal account name in **GitHub username**, not the organization name. 6. Copy the generated token into **Personal access token**. 7. Select **Next**. Under **Package owner**, select **Personal account** or **Organization**. 8. For **Organization**, enter **Organization name**. Select **Connect registry**. If the package organization requires SSO, authorize the token for that organization. The registry host is `ghcr.io`. Strix sets this host automatically. Strix saves the selected owner and lists that account's images automatically. You can connect your personal account and multiple organizations with the same credentials. Older connections keep their existing behavior. Connect the organization separately to use account-specific discovery. ### Generic registries Use this provider for registries such as Harbor, Nexus, Artifactory, Quay, or GitLab. 1. In Strix, select **Generic**. 2. Enter **Registry host**, for example `registry.example.com`. Omit `https://` and the image path. 3. Enter **Username** and **Token or password** for an account that can read the images. For public images, leave both credential fields empty. ### Amazon ECR Strix stores no AWS credential for an Amazon ECR registry. Strix assumes the IAM role in `aws_role_arn` with the external ID of your workspace, then calls `ecr:GetAuthorizationToken` to get a registry password. Strix repeats this on every verification, tag resolution, and pull. The password lives for 12 hours and Strix does not store it. The dashboard provides a role template download. Strix fills in the trust policy, workspace values, and image-read permissions. The download works even when a hosted quick-create template is unavailable. 1. Open [**Amazon ECR**](https://console.aws.amazon.com/ecr/repositories) in the account and region that contain your images. Open a private repository. 2. Copy the hostname from the repository URI, for example `123456789012.dkr.ecr.us-east-1.amazonaws.com`. Omit `https://` and the repository name. 3. Select **Download role template**. This CloudFormation template creates an IAM role that lets Strix list and pull ECR images, without write access. Save `strix-container-pull.json`. 4. Keep the AWS account you used for the ECR repository. Select the repository’s region from the top toolbar’s **Region** selector. 5. Open [**CloudFormation**](https://console.aws.amazon.com/cloudformation) → **Stacks → Create stack → With new resources (standard)**. 6. Select **Choose an existing template → Upload a template file**. Upload the downloaded file. Click **Next**. 7. Enter `StrixContainerPull` as the **Stack name**. Keep the supplied **StrixPrincipalAccountId**, **ExternalId**, and **RoleName** values. 8. Click **Next**. Leave the optional IAM role under **Permissions** empty. 9. Click **Next**. Review the stack. Acknowledge IAM resource creation. Click **Submit**. 10. Wait for **CREATE_COMPLETE**. Open the stack’s **Outputs** tab. Copy **RoleArn** into Strix’s **IAM role ARN** field. If you cannot create IAM roles, ask your AWS administrator. If **Open CloudFormation** is available, you can also use that quick-create link to create the image-read role. To create the role by hand, call `GET /containers/registries/ecr-setup` to get the values that the role needs: * `external_id`: the value that the trust policy of the role must require in the `sts:ExternalId` condition. * `strix_account_id`: the only AWS account that the role must trust. * `role_name`: the role name that the CloudFormation template creates. * `quick_create_url`: a CloudFormation quick-create link that creates the role, or `null` if this server does not host the template. * `actions`: the ECR actions that the role needs if you create the role by hand. Trust policy: ```json theme={null} { "Version": "2012-10-17", "Statement": [{ "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam:::root" }, "Action": "sts:AssumeRole", "Condition": { "StringEquals": { "sts:ExternalId": "" } } }] } ``` Permissions policy: ```json theme={null} { "Version": "2012-10-17", "Statement": [{ "Effect": "Allow", "Action": [ "ecr:GetAuthorizationToken", "ecr:BatchCheckLayerAvailability", "ecr:BatchGetImage", "ecr:GetDownloadUrlForLayer", "ecr:DescribeImages", "ecr:ListImages", "ecr:DescribeRepositories" ], "Resource": "*" }] } ``` The role must be in the AWS account and the AWS partition that own the registry. AWS credentials do not work across partitions, so Strix Cloud connects registries in the commercial `aws` partition only. A self-hosted deployment can connect registries in AWS China (`amazonaws.com.cn`, roles `arn:aws-cn:iam::…`) or AWS GovCloud (roles `arn:aws-us-gov:iam::…`) when its Strix principal is in that partition and `STRIX_AWS_PARTITION` names it. The quick-create link opens the commercial AWS console. For those partitions, upload the downloaded template in the matching AWS console instead. If the trust policy does not allow the Strix account with the external ID, the connection fails with the status `disconnected` and an error that names the role. ### Azure Container Registry Strix uses a dedicated Azure app identity to read images. This connection does not use Microsoft sign-in. 1. Open [**Azure Portal**](https://portal.azure.com/) → [**Container Registries**](https://portal.azure.com/#browse/Microsoft.ContainerRegistry%2Fregistries) → **your registry → Overview**. Copy **Login server**, for example `myregistry.azurecr.io`. 2. Open [**Microsoft Entra ID**](https://portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/Overview) → [**App registrations**](https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade) → **New registration**. 3. Name the app **Strix container scanning**. Select accounts in your organization only. Leave the redirect URI empty. Select **Register**. 4. Copy the **Client ID** from the app’s **Overview** page. 5. Open **Certificates & secrets → New client secret**. Choose an expiration. Create the secret. 6. Copy the secret **Value** into **Client Secret** in Strix. Azure only shows the Value once. 7. Return to [**Azure Portal**](https://portal.azure.com/) → [**Container Registries**](https://portal.azure.com/#browse/Microsoft.ContainerRegistry%2Fregistries) → **your registry → Access control (IAM) → Add role assignment**. 8. On the **Role** tab, select **AcrPull**. Click **Next**. 9. On the **Members** tab, keep **User, group, or service principal** selected. Click **+ Select members**. 10. Search for your app registration’s name, for example **Strix container scanning**. Select the app. 11. Click **Select** at the bottom of the member picker. Check that the app now appears under **Members**. 12. Click **Review + assign**. Check the role and app. Click **Review + assign** again to save the assignment. Scope access to this registry. For registries that use **RBAC + ABAC**, assign these roles instead: * **Container Registry Repository Reader** * **Container Registry Repository Catalog Lister** For each role, follow the same member selection and confirmation steps above. If you cannot assign roles, ask your Azure administrator. Replace the credential before the secret expires. [Microsoft setup documentation](https://learn.microsoft.com/en-us/azure/container-registry/container-registry-auth-service-principal) ### Google Artifact Registry Create a service account. Grant **Artifact Registry Viewer** or **Artifact Registry Reader** on the repository. Then create a JSON key. Send the full key file in `secret`. Strix checks that the file is a `service_account` key with a `client_email` and a `private_key` before Strix stores it. 1. Open [**Google Cloud Console**](https://console.cloud.google.com/). Select the project that contains your images. Open [**Artifact Registry**](https://console.cloud.google.com/artifacts) → **Repositories**. 2. Find your Docker repository in the repository list. Read its **Location** column. Use the location code, not the display name. 3. In Strix, enter the location code followed by `-docker.pkg.dev`. For example, **us-central1 (Iowa)** becomes `us-central1-docker.pkg.dev`. Do not include `https://`, the project ID, or the repository name. 4. In the same project, open [**IAM & Admin**](https://console.cloud.google.com/iam-admin/iam) → [**Service Accounts**](https://console.cloud.google.com/iam-admin/serviceaccounts) → **Create service account**. 5. In **Service account details**, enter **Strix image reader** as the service account name. Keep the generated **Service account ID**. Leave the optional description empty. Select **Create and continue**. 6. In **Permissions (optional)**, leave **Select a role** empty. Do not grant project permissions here. Select **Continue**. You will grant image-read access on the specific repository in a later step. 7. In **Principals with access (optional)**, leave **Service account users role** and **Service account admins role** empty. You do not need to add any principals. Select **Done**. Strix uses the downloaded JSON key, so this connection does not need users or groups assigned to the service account. 8. Copy the new service account email from the [**Service Accounts**](https://console.cloud.google.com/iam-admin/serviceaccounts) list. 9. Return to [**Artifact Registry**](https://console.cloud.google.com/artifacts) → **Repositories**. Select the checkbox beside your repository. If necessary, select **Show info panel**. 10. In the panel, open **Permissions → Add principal** (or **Grant access**). Enter the service account email in **New principals**. 11. In **Select a role**, select **Artifact Registry Viewer** or **Artifact Registry Reader**. Both roles let Strix read images. Leave the optional **IAM condition** unset. Select **Save**. Repeat for each repository Strix will read. This grants access to those repositories, not the entire project. 12. Open the service account → **Keys → Add key → Create new key**. Select **JSON**. Select **Create**. 13. Open the downloaded file. Paste the entire JSON content into **Service account key** in Strix. Do not grant Editor or Owner. If you cannot assign roles, ask your Google Cloud administrator. Keep the JSON key private. If your organization blocks key creation, ask your administrator about an approved connection method. This key grants image access only. Connect Pub/Sub push events separately. [Google authentication documentation](https://cloud.google.com/artifact-registry/docs/docker/authentication#json-key) Strix identifies the connection by the registry host and the `client_email` of the key. You can connect more than one service account to the same regional host. Strix rejects a second connection with the same host and the same service account. Strix encrypts the `secret` value and never returns it. Strix verifies the connection when you create it. Call `POST /containers/registries/{registryId}/verify` to check the connection again. **Required scope:** `containers:write` Workspace admins and analysts can create, verify, or delete a registry. Members with an asset-scoped role cannot change registries or images, because registries and images have no target, tag, or business-unit labels. ## Add an image In **Containers → Images → Add image**, select a registry connection. Each option shows the provider name, logo, and registry host. Select **Browse registry images…** to load image names. Docker Hub lets you change the user or organization namespace. For GitHub, Strix lists images from the package owner selected during connection. Connect a different GitHub account separately to browse its images. The namespace defaults to the connection username. Anonymous Docker Hub connections default to `library`. For Google Artifact Registry, enter **Project ID / repository**, such as `my-project/my-repository`. Strix lists images through repository-level read access. You do not need permission to list all repositories in the project. For nested images, append the folder path to the project and repository. Search the current page or use **Next** and **Previous** to browse other pages. Select an image to fill **Image repository** with its repository path. Strix does not add a tag to the path. After you add the image, select **Scan new pushes** to include it in Auto Scan. This step shows the registry's shared tag rule. Change the rule in **Registries → Auto Scan**. The registry must have a push-event connection and Auto Scan turned on. Strix reads available versions after you choose or enter an image path. Strix shows the detected tag and digest and fills **Initial scan version**. For Google Artifact Registry, use the full path `PROJECT-ID/REPOSITORY/IMAGE`. Copy this path from Artifact Registry. The registry host alone does not include the project ID. To scan an existing version now, enable **Run an initial scan**. Keep the detected version or enter another tag or digest in **Initial scan version**. The tag `latest` is a label, not a guarantee of the newest version. This version selects only the initial scan. It does not restrict which future pushes trigger scans. Listing depends on the provider and the credential permissions. Pull access does not always include listing access. If the registry cannot list images, enter a repository name directly. Browsing and selecting images do not start scans. Adding an image verifies image-read access and stores the detected tag, digest, and platform. This step does not start a scan. Strix uses upload times to choose the newest tagged Google Artifact Registry version. If Google returns a paginated version list, Strix cannot identify the newest image from one page. Strix can still select `latest` if that tag appears. Otherwise, choose the initial tag or digest yourself. For other registries, Strix uses an existing `latest` tag or the only available tag. If the registry returns multiple tags without upload times, choose a tag for the first scan. An empty repository can remain tracked for future pushes. For API access, request image names from the selected registry: ```bash theme={null} curl "https://app.strix.ai/api/v1/containers/registries//repositories?namespace=acme" \ -H "Authorization: Bearer " ``` The response contains `repositories`, `namespace`, and `next_cursor`. Names do not include a tag or digest. If `next_cursor` is not null, pass its value as the next request's `cursor` parameter. This endpoint requires `containers:read` and an unscoped admin or analyst role. Docker Hub and GitHub support namespace listing. ECR uses the existing pull role's `ecr:DescribeRepositories` permission. Google Artifact Registry uses `namespace=PROJECT-ID/REPOSITORY`. Other providers use the OCI catalog when the registry supports that catalog. To read image versions before adding the image, call the read-only endpoint: ```bash theme={null} curl "https://app.strix.ai/api/v1/containers/registries//versions?name=PROJECT-ID/REPOSITORY/IMAGE&platform=linux/amd64" \ -H "Authorization: Bearer " ``` The response contains available `versions` and the verified `selected` tag, digest, and platform. If the registry cannot identify one version, `selected` is `null`. This endpoint does not add images or start scans. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/containers/images" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "registry_id": "", "reference": "acme/api:1.4.2", "platform": "linux/amd64", "scan": true }' ``` The `reference` field accepts a repository path, `name:tag`, or `name@sha256:`, without the registry host. To track a repository without an initial scan, send its path with `scan` set to `false`. Set `watch_tags` to `*` to include the new image in its registry's Auto Scan rule, or `null` to exclude it. Configure the shared tag rule on the registry, not on each image. The `registry_id` field is required and must name a connected registry. Strix stores the selected platform on the image. A later scan uses this platform unless the scan request specifies another platform. Set `scan` to `true` to start the first scan when the image is added. Strix uses the detected version unless the reference includes an explicit tag or digest. The default is `false`. The response contains the stored image and any initial scan. The `resolved` field contains the verified metadata for the detected or explicit version. If no version is available or the registry cannot identify one version, `resolved` is `null`. If the first scan cannot start, the response contains a `scan_error` message and the image stays in the inventory. **Required scope:** `containers:write` Workspace admins and analysts can add, update, scan, and delete images. ## Scan on image pushes Automatic scanning needs a registry push connection, the registry's Auto Scan switch turned on, and included images with tags that match its shared rule. The registry credential lets Strix pull images. The push connection lets your registry notify Strix about new versions. ### Set up Auto Scan After a registry connects, select **Set up Auto Scan** to open its push delivery setup. Select **Done** to close the connection flow without configuring Auto Scan. Generic registries use a CI step after **docker push** instead of a provider webhook. To configure an existing registry: 1. Open **Containers → Registries** in the dashboard. 2. Open the registry action menu. 3. Select **Auto Scan**. 4. If setup opens, follow the provider instructions. Strix prepares the endpoint and secret. For Google Artifact Registry, enter the Pub/Sub delivery service account email and select **Save delivery account**. 5. Select **Open Auto Scan** to manage the registry. 6. Set **Tags to scan** in the **Auto Scan** card and select **Save**. Use `*` for all tags or a pattern such as `release-*`. 7. Under **Images**, select which images to scan. Each selected image uses the same registry-level tag rule. Add new images from **Containers → Images**. Before the first verified delivery, Auto Scan opens the dedicated provider setup. Configured registries open the management view with the toggle, shared tag rule, and images. Select **Edit setup** to revisit the provider instructions. Select **Back to Auto Scan** to return. Turn on **Auto Scan** in the card when the provider setup is ready. Opening the instructions does not turn on Auto Scan. Turning it off preserves the shared rule and included images. The **Delivery verified** badge appears after Strix receives an authenticated event while Auto Scan is on. Dialog titles identify the provider, such as **Auto scan Docker images**. Azure and AWS use one setup step. Google Cloud uses three: create the account, allow authenticated delivery, and configure Pub/Sub. Auto Scan shows **Saved** only for the editable delivery account after a successful save. Copy-only endpoints, secrets, and headers do not show it. Editing the service account email clears that confirmation until you save it. The modal shows **Delivery verified** after Strix receives an authenticated delivery. Preparing the setup details alone does not verify delivery. The **Registries** list separates **Connection** from **Auto Scan**. Connection confirms image access. Auto Scan shows **Off**, **On · Setup needed** before verified delivery, or **On** after an authenticated event. Turning on the registry does not include every image. Manage included images in the **Auto Scan** card. API responses return `auto_scan_status`, `auto_scan_tag_pattern`, and `auto_scan_image_count`. After you add an image, select **Scan new pushes** to include it in the shared rule. Set the rule in registry settings. The first authenticated push verifies delivery and starts a matching scan. You do not need to send a separate verification notification. ### Docker Hub push events 1. Open [**Docker Hub**](https://hub.docker.com/) → your repository → **Settings** → **Webhooks**. 2. Enter **Strix** in **Name**. 3. Copy the complete **Webhook URL** from Strix into Docker Hub, including the token query parameter. 4. Select **Create**. Repeat for each repository you want to watch. ### GitHub Container Registry push events For an **Organization** connection, an organization owner opens [**GitHub organizations**](https://github.com/settings/organizations) → the selected organization → **Settings** → **Webhooks**. For a **Personal account** connection, first connect the package to a repository in GitHub. Open that repository → **Settings** → **Webhooks**. You need repository admin access to add the webhook. Use these settings for either account type: 1. Select **Add webhook**. 2. Copy **Payload URL** from Strix into GitHub. Set **Content type** to **application/json**. 3. Copy **Secret** from Strix into GitHub. Keep **Enable SSL verification** selected. 4. Choose **Let me select individual events**. Select **Packages**. Select **Add webhook**. The existing Strix GitHub App connection does not configure this webhook. ### Azure Container Registry push events 1. Open [**Azure Portal**](https://portal.azure.com/) → [**Container Registries**](https://portal.azure.com/#browse/Microsoft.ContainerRegistry%2Fregistries) → your registry → **Services** → **Webhooks** → **Add**. 2. Copy **Service URI** from Strix into Azure. 3. Copy the full **Custom headers** from Strix into Azure. The header uses `Authorization: Bearer `. 4. Enter **StrixPush** in **Webhook name**. Set **Location** to the registry region. 5. In **Trigger actions**, select **push**. Set **Status** to **Enabled**. Leave **Scope** empty for all repositories. 6. Select **Create**. ### Google Cloud push events Image reading and push delivery use different connections. Create a separate account for Pub/Sub delivery. Do not create another JSON key. #### Create the delivery account The Strix dialog shows each field within its setup step. Image access and push events have separate guides. 1. Open [**Google Cloud Console**](https://console.cloud.google.com/). Select the project that contains the [**Artifact Registry**](https://console.cloud.google.com/artifacts) repository. 2. Open [**IAM & Admin**](https://console.cloud.google.com/iam-admin/iam) → [**Service Accounts**](https://console.cloud.google.com/iam-admin/serviceaccounts) → **Create service account**. 3. In **Service account details**, enter **Strix push delivery** as the name. Keep the generated **Service account ID**. 4. Leave the description empty. Select **Create and continue**. 5. In **Permissions (optional)**, leave **Select a role** empty. Select **Continue**. The delivery account does not need Artifact Registry Reader or Viewer. 6. In **Principals with access (optional)**, enter your Google Cloud sign-in email under **Service account users role**. Do not enter the service account email. 7. Leave **Service account admins role** empty. Select **Done**. Do not create a JSON key. 8. Copy the new service account email from the [**Service Accounts**](https://console.cloud.google.com/iam-admin/serviceaccounts) list. 9. In Strix, paste that email into **Service account**. Select **Save delivery account**. When you reopen setup, Strix shows the delivery email saved for that registry. The setup modal shows **Enabled** after an authenticated delivery. The **Service Account User** role lets your deploying user attach this account to a subscription. Google calls this permission `iam.serviceAccounts.actAs`. Your deploying user also needs these setup roles on the project, or equivalent permissions: * **Pub/Sub Admin** to create the topic and subscription and grant topic permissions. * **Service Account Admin** to create the account and manage its permissions. * **Service Usage Admin** to enable the APIs and create Google service agents. These are deployment permissions. Do not grant these administrator roles to the delivery account. Ask your administrator for approved access or assistance. #### Copy the setup commands into Cloud Shell 1. In [**Google Cloud Console**](https://console.cloud.google.com/), open the project selector in the top toolbar. Copy **Project ID**, not the project name or number. 2. Select **Activate Cloud Shell (>\_)** in the top toolbar. Wait for the terminal at the bottom of your browser. 3. In the Strix guide, advance to **Configure Pub/Sub delivery**. Review the commands and the **About these commands** explanation. 4. Select **Copy commands**. Paste the commands into Cloud Shell. Press **Enter**. No file upload is required. 5. When the commands ask for **Google Cloud project ID**, paste the copied ID. If Google requests authorization, select **Authorize**. 6. Wait for **Push subscription configured**. The commands contain the Strix endpoint and your saved delivery email. They run using your Cloud Shell permissions and read the project number automatically. Cloud Shell includes `gcloud`. They create no service-account keys and grant Strix no project-wide image access. The script enables the Artifact Registry and Pub/Sub APIs. It creates Google service agents before assigning these resource-scoped permissions: * The Artifact Registry service agent gets **Pub/Sub Publisher** on the `gcr` topic. * The Pub/Sub service agent gets **Service Account Token Creator** on your delivery account. The script creates the `gcr` topic only if needed. It creates a subscription for this registry, or updates that subscription on reruns. Other subscriptions remain unchanged. Official references: [create service accounts](https://docs.cloud.google.com/iam/docs/service-accounts-create), [authenticated Pub/Sub delivery](https://docs.cloud.google.com/pubsub/docs/authenticate-push-subscriptions), [Artifact Registry notifications](https://docs.cloud.google.com/artifact-registry/docs/configure-notifications), and [Cloud Shell](https://docs.cloud.google.com/shell/docs/using-cloud-shell). ### Amazon ECR push events Create the event stack once per connected ECR account and region. 1. Open the ECR registry’s **Auto Scan** dialog. 2. Select **Download CloudFormation template**. The template creates EventBridge delivery resources and an IAM role limited to sending push notifications to Strix. Save `strix-ecr-webhook.json`. 3. Sign in to the registry’s AWS account. Select the registry region shown in the dialog. 4. Open [**CloudFormation**](https://console.aws.amazon.com/cloudformation) → **Stacks → Create stack → With new resources (standard)**. 5. Select **Choose an existing template → Upload a template file**. Upload the downloaded file. Click **Next**. 6. Enter `strix-ecr-push` as the **Stack name**. Copy **WebhookSecret** from Strix into CloudFormation. 7. Click **Next**. Leave the optional IAM role under **Permissions** empty. 8. Click **Next**. Review the stack. Acknowledge IAM resource creation. Click **Submit**. 9. Wait for **CREATE_COMPLETE**. The AWS account ID and region in the guide come from your connected registry hostname. The stack creates an EventBridge rule, an API destination, a connection, and an invocation role limited to that destination. The template masks the webhook secret parameter. The template does not contain the secret. Copy the secret into CloudFormation during stack creation. ### Generic registry pushes 1. Open the CI pipeline that pushes images to the registry. 2. Save **STRIX_PUSH_SECRET** from Strix as a CI secret under that name. 3. Copy the command from the **Auto Scan** dialog into the pipeline after **docker push**. 4. Set **IMAGE** to the repository path without the registry host. Set **TAG** to the pushed tag. The command has this format. Replace `` with the endpoint from Strix. ```bash theme={null} # Run after docker push. STRIX_PUSH_SECRET is a CI secret. IMAGE='team/api' TAG='v1.2.3' curl --fail --silent --show-error -X POST '' \ -H "Authorization: Bearer $STRIX_PUSH_SECRET" \ -H 'Content-Type: application/json' \ -d "{\"image\":\"$IMAGE\",\"tag\":\"$TAG\"}" \ || echo 'Could not notify Strix of the image push.' >&2 ``` Strix authenticates the request and uses the saved registry connection to resolve and pull the image. The request can include `digest` to identify an exact version. Strix ignores events that name another registry host. The command reports notification failures without failing the pipeline. Only tracked images with automatic scanning enabled and matching tag rules start scans. ### Configure push delivery through the API You can also configure a push connection through the API: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/containers/registries//webhook" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"enabled": true, "watch_tags": "v*"}' ``` For Google Artifact Registry, include `google_service_account_email` in the request. The response includes the private endpoint, provider instructions, and a setup template when the provider needs one. `GET /containers/registries/{registryId}/webhook` returns the current settings and delivery status. Setting `enabled` to `true` prepares the endpoint to receive events. This setting does not confirm the connection. Automatic scanning requires `enabled: true` and an authenticated delivery recorded in `last_event_at`. Save the shared `watch_tags` on this endpoint. The response includes the rule and each image's `auto_scan_enabled` state. Pausing the registry preserves the rule and image selection. The first authenticated matching push can verify delivery and start a scan. Connections saved with an API token check the token's current scopes, expiry, and revocation on each push. Service tokens do not depend on their creator's current membership. Both methods require `containers:write`, because the response includes credentials that can authorize scans. Workspace admins and analysts can configure connections. Asset-scoped members cannot configure connections. ### Enable an image 1. Open the image detail page. 2. Find **Auto Scan** above the page tabs. Turn on its switch. The switch includes or excludes this image from the registry's shared rule. Turning it on also re-enables a paused image. Set the shared tag pattern in **Registries → Auto Scan**. All included images use this rule. The Images list shows the shared tag rule, or **Off**, in the **Auto Scan** column. Select the value to open the image switch. **Off** means this image is excluded. **Paused by registry** means it is included but the registry switch is off. **Awaiting first push** means delivery is on but unverified. **On** means delivery is verified and the image is included. You can turn on an image before configuring registry delivery. Open **Registries → registry action menu → Auto Scan** for delivery settings. Only authenticated push events can start scans. Saving a rule does not start a scan or verify delivery. For API clients, call `PATCH /containers/images/{imageId}`: ```json theme={null} {"auto_scan_enabled": true} ``` The pattern `v*` matches tags that start with `v`. The pattern `*` matches all tags, including events that contain only a digest. The wildcard `?` matches one character. Patterns match the complete tag. Set `auto_scan_enabled` to `false` to exclude the image. Manual scans remain available. The legacy `watch_tags` image field accepts `*` for inclusion or `null` for exclusion. Other patterns must match the registry's shared rule; Strix rejects conflicting per-image rules. Strix uses the event digest when the provider supplies one. Docker Hub sends only a tag, so Strix resolves the tag through the registry. A digest identifies immutable image contents. A tag can point to different contents after another push. > [!NOTE] > > This version does not queue events or deduplicate deliveries. A retry can start another scan after the previous scan finishes. > If an image already has a queued or running scan, Strix does not retain the new event for later. > The background launch is best-effort. Strix does not retain an accepted event if the process stops before launch. ## Start a scan ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/containers/images//scans" \ -H "Authorization: Bearer " ``` If the request has no `tag`, the scan uses the image's most recent tag or digest. For a repository with no recorded version, supply a tag in the scan request. In the dashboard, **Run scan** asks for this tag when no saved version is available. Strix does not assume that the repository has a `latest` tag. If the request has no `platform`, the scan uses the platform stored on the image. Each image has one queued or running scan at a time. A second request returns `409` while that scan runs. List the scan history with `GET /containers/images/{imageId}/scans`. A scan can have a cost limit (on self-hosted deployments, `CONTAINER_SCAN_MAX_BUDGET_USD`). If a scan reaches the limit before the analysis is complete, the scan completes with `stop_reason` set to `budget_exceeded`. If the model provider limits the run, `stop_reason` is `rate_limited`. Strix keeps the findings that the scan filed before the stop. Strix does not mark findings as fixed after a stopped scan. The scan history shows the scan as **Stopped early**. **Required scope:** `containers:write` ## Read findings ```bash theme={null} curl "https://app.strix.ai/api/v1/containers/images//findings?type=secret&state=open" \ -H "Authorization: Bearer " ``` Filter with these query parameters: * `type`: `known_vulnerability`, `malicious_package`, `secret`, `misconfiguration`, or `base_image_outdated` * `severity`: one severity level * `state`: `open`, `fixed`, or `ignored` Each finding contains the layer digest and the file path when Strix knows them. A package finding also contains the package name, the installed version, and the fixed version when one exists. A secret finding also contains a `verification` verdict, the `verified_by` explanation, and `verified_at`: * `active`: the credential's own provider accepted it. Rotate it now. * `inactive`: the provider rejected it. The credential is revoked or rotated. * `valid_unverified`: an offline proof succeeded, for example a private key that signs and verifies, but there is no provider to ask. * `unverified`: Strix could not prove or disprove that the credential is real. `verified_by` says what Strix checked. Strix checks a credential only against its own provider and only with read-only calls. A network or provider failure never produces `inactive`. Strix does not file example, fixture, or placeholder values. **Required scope:** `containers:read` ## Read the software bill of materials ```bash theme={null} curl "https://app.strix.ai/api/v1/containers/images//components" \ -H "Authorization: Bearer " ``` The response lists the packages of the latest completed scan with the package URL, the ecosystem, the license, and the layer that added the package. Set `scan_id` to read the components of an earlier scan. To download the same inventory as a standard document, request the export route with `format=spdx` or `format=cyclonedx`: ```bash theme={null} curl "https://app.strix.ai/api/v1/containers/images//sbom?format=cyclonedx" \ -H "Authorization: Bearer $STRIX_API_KEY" \ -o image-sbom.json ``` The route returns an SPDX 2.3 or a CycloneDX 1.6 JSON file for the latest completed scan. Set `scan_id` to export an earlier scan. The dashboard uses the same route for the **Export SBOM** menu on the SBOM tab. `GET /containers/images/{imageId}` returns the image with its scans, layers, image configuration, findings, and components in one response. `GET /containers/summary` returns the workspace counts of images, critical findings, reachable findings, and secrets. **Required scope:** `containers:read` ## Delete an image or a registry ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/containers/images/" \ -H "Authorization: Bearer " ``` When you delete an image, Strix closes its open findings. When you delete a registry, Strix deletes every image of that registry and closes their findings. If a scan of an affected image is queued or running, both requests return `409`. Wait until the scan finishes, or cancel the scan, and then send the delete request again. **Required scope:** `containers:write` # Desktop app pentests Source: https://docs.app.strix.ai/guides/desktop-apps Test a Linux build of an Electron app in an isolated sandbox ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) A desktop app pentest tests an Electron app. You upload a Linux build of the app. Strix unpacks the build, reviews the packaged code, and runs the app in an isolated sandbox. Desktop app pentests are available on the Pro and Enterprise plans. On the Pro plan, a desktop app pentest costs 150 credits. Each backend domain, each repository, and each additional uploaded file adds 30 credits. ## What Strix tests * The renderer, the preload scripts, the IPC handlers, and the main process. * Navigation rules, custom protocols, permissions, and local storage. * Secrets in the package, native modules, and the update configuration. * The network traffic of the app. Strix attacks a backend server only when you add its domain to the pentest. Without a domain, Strix tests the app and does not attack its servers. ## Supported builds | Format | File name | | - | - | | AppImage | `.AppImage` | | Debian package | `.deb` | | Unpacked app in an archive | `.tar.gz` or `.tgz` | * The build must be an x86-64 Linux build. * The maximum file size is 500 MB. * A pentest accepts one build. * Windows and macOS builds are not supported. Strix rejects `.exe`, `.msi`, `.dmg`, and `.pkg` files. ## 1. Upload the build Request a signed upload URL. Set `category` to `application`. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/uploads/request" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "file_name": "myapp-1.4.2.AppImage", "file_size": 104857600, "category": "application" }' ``` Strix selects `application` from the file name for `.AppImage` and `.deb` files. For a `.tar.gz` or `.tgz` file, you must set `category` to `application`. If you do not, Strix stores the file as documentation. Send the file to the signed URL, then finalize the upload. The [Uploads guide](/guides/uploads) shows the two calls. When you finalize the upload, Strix examines the stored file. Strix rejects and deletes a file that does not agree with its format. **Required scope:** `uploads:write` ## 2. Start the pentest Set `engagement_type` to `desktop_app` and put the upload ID in `upload_ids`. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/scans" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "engagement_type": "desktop_app", "upload_ids": [""] }' ``` Strix does not select `desktop_app` automatically. You must set it. You can add these optional fields: * `domain_ids`: the backend domains that Strix can attack. * `repository_ids`, or a source ZIP in `upload_ids`: the source code of the app. Strix uses it to help the review. **Required scope:** `scans:write` ## Launch rules Strix returns `400` when: * A `desktop_app` pentest has no completed application upload. * A `desktop_app` pentest has more than one application upload. * A `desktop_app` pentest has internal targets or a container image. * A different engagement type has an application upload. Strix returns `403` when the workspace is not on the Pro or Enterprise plan. A desktop app pentest cannot run on a schedule. Start a new pentest for each build. ## Results The report shows static coverage and live coverage separately. If the app did not start in the sandbox, the report says so, and the findings come from the static review only. To let the app start in the sandbox, Strix can disable the Chromium process sandbox and open local debugger ports. These are test conditions. Strix does not report them as findings. # How Strix works Source: https://docs.app.strix.ai/guides/how-strix-works Learn how Strix reviews applications and helps teams understand findings, prioritize vulnerabilities, and track remediation. ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) Strix uses AI to review applications for security issues. Strix calls these reviews **pentests** and records findings as **vulnerabilities**. Your team defines the scope, reviews the evidence, and decides how to address each finding. This guide explains the review process for developers, security teams, and buyers. ## Define the scope Scope identifies the applications, repositories, environments, and accounts included in a pentest. Review only applications that you own or have permission to assess. Record any exclusions and the context that the review needs. The Strix API distinguishes two pentest types: * **Blackbox** pentests review applications externally. * **Whitebox** pentests include source code. Strix requires domain ownership verification before a domain pentest. The [knowledge base](/guides/knowledge) provides organization context, policies, and repository profiles. This context helps Strix understand the application. ## Understand the findings A finding describes a potential security issue in the reviewed application. Finding details can include severity, affected code, evidence, assumptions, and remediation steps. Use these details to understand the issue in the context of your application. Some findings link to captured HTTP requests and responses. Other findings have no captured HTTP evidence. For example, a finding from source code review can have an empty evidence list. Archived traffic can also expire or become unavailable. ## Triage the findings Triage means deciding which findings need action and in what order. Review the reported severity alongside the affected assets, access requirements, business impact, and available evidence. Assign a responsible person to each finding that needs action. Strix provides these vulnerability statuses: | Status | Meaning | | - | - | | `open` | The team has not started remediation. | | `in_progress` | The team is working on remediation. | | `snoozed` | The team has deferred the finding until its snooze deadline. | | `fixed` | The team has completed remediation. | | `ignored` | The team has accepted the risk. | | `not_affected` | The team has reviewed the finding and determined that it does not apply to the asset. | Record the reason for each decision in the finding notes. A status change records a decision. A status change does not, by itself, verify a fix. ## Review the remediation Use the remediation steps as input to the engineering review. Check that the proposed change addresses the underlying cause. Review the change for effects on expected application behavior. Record the change and the verification result before you mark the finding as fixed. Strix supports finding notes and a history of status and other finding changes. See [Vulnerabilities](/guides/vulnerabilities) for the available fields and status controls. ## Understand the limits A pentest reflects its scope and the application state at the time of the review. It does not establish that every part of an application is secure. Unavailable accounts, missing context, and excluded assets can limit the review. AI-generated findings and remediation steps need human review. If an audit requires a specific deliverable, confirm the requirements with your auditor. Report downloads require the Enterprise plan in the current [report documentation](/guides/scans#download-report). ## Next steps for buyers Before you select a product or plan, define the decision that the review must support. For example, your team might need to prioritize application fixes or provide evidence for an internal security review. Use these questions to prepare an evaluation: * Which assets and environments need a review? * Who will review the findings and track remediation? * What evidence must the security team receive? * Which report formats or other deliverables does the buyer require? * How will the team record remediation decisions and verify fixes? See [current pricing](https://www.strix.ai/pricing) for self-serve plan information. If your organization has an Enterprise contract, the contract sets your prices and the features that your plan includes. Confirm the scope, available deliverables, and access requirements before you commit to a plan. For API concepts, return to the [introduction](/introduction) and [authentication guide](/authentication). # Integrations Source: https://docs.app.strix.ai/guides/integrations Connect and manage source control integrations ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) List connected integrations, and connect GitLab or Bitbucket with a personal access token. GitHub App and Slack installations use interactive approval flows. The API and CLI return an installation link for a person to approve; neither completes that approval automatically. Validate, connect, install, and disconnect operations require an organization admin. ## List integrations ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/integrations" \ -H "Authorization: Bearer " ``` **Required scope:** `integrations:read` ## Validate a token Validate a token before you connect (this operation does not store data): ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/integrations/gitlab/validate" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"access_token": "", "instance_url": "https://gitlab.example.com"}' ``` **Required scope:** `integrations:write` Invalid or rejected provider credentials return HTTP `422 Unprocessable Entity`. A provider outage or other upstream validation failure returns `502 Bad Gateway`. HTTP `401 Unauthorized` means the Strix API token used for this request is invalid; it is not how an invalid GitLab or Bitbucket credential is reported. ## Create an installation link GitHub and Slack require a person to approve an installation. Request the handoff URL like this: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/integrations/github/install-url" \ -H "Authorization: Bearer " ``` **Required scope:** `integrations:write` The response contains `url`. Opening it is a separate human step; receiving the URL does not install or authorize the integration. The CLI equivalent is `strix cloud integrations install github` (or `slack`); add `--no-browser` to print the URL without opening it. ## Connect with a token ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/integrations/gitlab/connect" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"access_token": "", "instance_url": "https://gitlab.example.com"}' ``` For Bitbucket, use the `bitbucket` endpoints and pass the account email: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/integrations/bitbucket/connect" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"access_token": "", "account_email": "dev@example.com"}' ``` **Required scope:** `integrations:write` CLI equivalents keep the provider credential separate from the Strix API token used for authentication: ```bash theme={null} strix cloud integrations validate gitlab \ --provider-token --instance-url https://gitlab.example.com strix cloud integrations connect bitbucket \ --provider-token --account-email dev@example.com ``` ## Disconnect an integration ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/integrations/" \ -H "Authorization: Bearer " ``` `` is one of `github`, `gitlab`, `bitbucket`, or `slack`. GitHub, GitLab, and Bitbucket can have multiple installations, so pass the integer `installation_id` returned by the list endpoint: ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/integrations/github?installation_id=" \ -H "Authorization: Bearer " ``` Omit `installation_id` for organization-wide providers such as Slack. Passing it for Slack, or omitting it for GitHub, GitLab, or Bitbucket, returns `400 Bad Request`. **Required scope:** `integrations:write` CLI equivalents: ```bash theme={null} strix cloud integrations list --json strix cloud integrations disconnect github --installation-id strix cloud integrations disconnect slack ``` # Jira Integration Source: https://docs.app.strix.ai/guides/jira-integration Connect Strix to Jira Cloud, or to a self-hosted Jira on an on-prem Strix install, to export vulnerabilities as issues and keep statuses in sync ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) Strix connects natively to Jira Cloud. Strix can export the vulnerabilities that scans and PR reviews find as Jira issues, and keep the statuses synchronized in both directions. This page describes the setup, the OAuth scopes that Strix requests, the data that Strix and Jira exchange, and the disconnect procedure. ## Overview | | | | - | - | | Integration type | Native Atlassian OAuth 2.0 (3LO) app — no third-party middleware in the data path | | Direction | Bidirectional. Strix creates and updates issues. Jira status changes come back through a webhook | | Who can connect | Strix organization **admins** only | | Jira products touched | Jira Cloud (through the `api.atlassian.com` gateway, scoped to one site and cloud ID) | | Hosting | Jira Cloud on hosted Strix. Self-hosted Jira Data Center or Server on on-prem Strix installs only (see [Self-hosted Jira](#self-hosted-jira-on-prem-strix-only)) | ## Setup 1. In Strix, go to **Settings → Integrations** and click **Connect** on the Jira card. You must be an organization admin, and your plan must include ticketing integrations. 2. Strix opens the standard Atlassian consent screen (`auth.atlassian.com`). Sign in with a Jira account that can browse projects and create issues in the target projects. Then approve the requested scopes. 3. Atlassian redirects back to `https://app.strix.ai/api/integrations/jira/callback`. Strix exchanges the authorization code for tokens, records the Jira site (cloud ID and site URL), and registers a webhook for inbound status synchronization. 4. In Strix, select a **default project** (and, if you want, a default issue type) as the export destination. You can also enable **auto-sync** with a minimum severity. Auto-sync exports new findings automatically. Under **Sources**, select which findings auto-sync exports: **Pentests**, **Supply chain**, or both. Both are on by default. When **Supply chain** is on, **Dependency reachability** selects which dependency findings get a ticket: **All findings** (default) or **Reachable only**, which exports a finding only when the scan showed that the vulnerable code runs. Findings marked not reachable or not applicable, and findings that still wait for a verdict, get no ticket. Manual exports, bulk exports, and the API ignore this setting. 5. Optional: route findings to other projects. Under **Route by source**, select a project for pentests, PR reviews, or supply-chain findings. Under **Route by repository**, select a project for findings from one repository. Both cards sit under **Advanced** on the settings page and are collapsed by default. See [Route tickets](#route-tickets). > [!NOTE] > > If the authorizing Atlassian account has access to more than one Jira site, Strix connects the first accessible site. If you have more than one site, use an account that has access only to the applicable site. ## Route tickets Strix can send findings to different Jira projects. Jira and Linear share the same routing model. Strix resolves the destination of each ticket in this order: 1. The destination that you select in the export dialog. 2. The repository route of the repository that the finding belongs to. 3. The source route of the finding source. 4. The default project. Manual exports, bulk exports, the API, and auto-sync all use the same order. ### Route by source Open **Settings → Integrations**, click **Configure** on the Jira card to open its settings page, and expand **Route by source** under **Advanced**. The card shows one destination for each source: | Source | Findings | | - | - | | Pentests | Findings from pentests (API key `scan`) | | PR reviews | Findings from pull request reviews | | Supply chain | Dependency vulnerabilities (`finding_class` is `dependency_cve`) | If a source has no destination, Strix uses the default project. ### Route by repository Click **Add repository route…** and select a repository. Then select the project for its findings. Strix matches a pentest finding through the repositories of the pentest and a PR review finding through the repository of the pull request. A repository route has priority over a source route. ### Required fields on routed projects If a routed project has required fields, the route shows the same field editors as the default project. Strix saves the route when every required field has a value. Each route can also use its own issue type. ### Set routes through the API The `source_routes` object replaces the stored source routes. To use the default destination for a source, set the key to `null` or leave the key out. The `repository_routes` array replaces the stored repository routes. A repository that is not in the array loses its route. For each route, `ticket_type` and `jira_field_values` are optional. Strix rejects a route that misses a required field. ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/integrations/jira/settings" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "source_routes": { "supply_chain": { "collection_id": "", "collection_name": "Dependencies", "ticket_type": "Bug", "jira_field_values": { "customfield_10001": { "value": "", "label": "Platform" } } } }, "repository_routes": [ { "repository_id": "", "collection_id": "", "collection_name": "Payments" } ] }' ``` `GET /api/v1/integrations/jira/settings` returns the stored routes and, for administrators, the connected repositories with their identifiers. **Required scope:** `integrations:write` ## Ticket defaults The Jira settings page (**Settings → Integrations → Configure**) holds the defaults that Strix applies to every ticket that it creates. Manual exports, bulk exports, the API, and auto-sync use the same defaults. ### Default assignee Select a Jira user in **Default assignee**. Strix lists the users that Jira can assign in the default project. Strix assigns every new ticket to that user. Leave the field empty to create unassigned tickets. If a route sends a finding to a different project, the user must also be assignable in that project; if not, Strix stops the export with an error that tells you to change the assignee or the route. ### Title and description templates Strix renders the ticket title and description from templates. A template mixes text with placeholders in double braces. The default title template is `{{title}}` and the default description template is `{{details}}`. | Placeholder | Value | | - | - | | `{{title}}` | The finding title | | `{{severity}}` | The severity, for example `high` | | `{{cve}}` | The CVE identifier of a dependency finding, or empty | | `{{cvss}}` | The CVSS score, or empty | | `{{target}}` | The target of the pentest | | `{{endpoint}}` | The affected endpoint or file | | `{{repository}}` | The repository of the finding | | `{{pentest}}` | The name of the pentest | | `{{source}}` | `Pentests`, `PR reviews`, or `Supply chain` | | `{{strix_url}}` | The link to the finding in Strix | | `{{details}}` | The full finding description that Strix writes today | Strix rejects a template that contains an unknown placeholder. A title template can hold 500 characters and a description template 20,000 characters. ### Group tickets by pentest Turn on **Group tickets by pentest** to collect the tickets of one pentest under one Jira Epic in the selected project. The project needs an Epic issue type. On Jira Server and Data Center, the issue create screen also needs the **Epic Link** field. Strix creates the Epic the first time that it exports a finding from the pentest and reuses it afterwards. Tickets from PR reviews and supply chain findings are not grouped. ### Priority and due date Turn on **Set Jira priority from severity** to map each Strix severity to one of the default Jira project's priorities. Strix lists the priorities on that project's create screen — the only ones Jira accepts when it creates a ticket — and prefills the mapping by matching the priority names (for example `Highest` to critical and `Low` to low); adjust any severity in the table. A severity left on **Jira default** creates tickets without a priority, so Jira applies its own default. If the project's create screen has no Priority field, add it to that screen in Jira first; the same applies when no default project is picked. Turn on **Due date by severity** to set a due date on every new ticket, counted in days from the day that Strix creates it. Give each severity a number of days or leave it blank for no due date. Both settings apply to every new ticket — manual exports, bulk exports, the API, and auto-sync. They never change tickets that Strix already created. If Jira rejects the priority or the due date when Strix creates a ticket (for example the issue create screen hides the field), Strix retries the create without that field so the ticket still lands. Set them through the API with `jira_priority_map` and `due_date_days` on `PATCH /api/v1/integrations/jira/settings`. `jira_priority_map` maps each severity (`critical`, `high`, `medium`, `low`) to `{"id": ""}` or `null`; Strix validates the ids against the priorities that `GET /api/v1/integrations/jira/priorities` returns — the priorities on the default project's create screen, or the `collection_id` project when that query parameter is given — and stores the name that Jira reports. `due_date_days` maps each severity to a whole number of days from 1 to 365, or `null`. Send `null` for either field to turn it off. ### Preview and test ticket Click **Preview ticket** to see the rendered title, description, destination, and assignee of a sample finding. Click **Send test ticket** to create a real ticket in the default project from the same sample. **Send test ticket** requires the administrator role. ### Set defaults through the API ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/integrations/jira/settings" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "default_assignee_id": "", "title_template": "[{{severity}}] {{title}}", "description_template": "{{details}}\n\nStrix: {{strix_url}}", "group_by_pentest": true }' ``` Set `default_assignee_id` to `null` to remove the assignee and a template to `null` to restore the default. Strix validates the assignee against the users that `GET /api/v1/integrations/jira/users` returns. | Method | Path | Purpose | Scope | | - | - | - | - | | `GET` | `/api/v1/integrations/jira/users` | List the users that Strix can assign | `integrations:read` | | `GET` | `/api/v1/integrations/jira/priorities` | List the priorities on the default (or `collection_id`) project's create screen | `integrations:read` | | `GET` | `/api/v1/integrations/jira/preview` | Preview a sample ticket with the stored defaults | `integrations:read` | | `GET` | `/api/v1/vulnerabilities/{vulnerabilityId}/preview` | Preview the ticket for one finding | `integrations:read` | The finding preview has a `mode` field. `create` shows the ticket that a push opens, with its `destination`. `update` means that the finding already has a ticket: a push only updates its description and status, so `existing_ticket` gives the link to it and `destination` and `ticket.title` are `null`. \| `POST` | `/api/v1/integrations/jira/test-ticket` | Create a test ticket in the default project | `integrations:write` | ## OAuth scopes requested | Scope | Why Strix needs it | | - | - | | `read:jira-work` | List projects and issue types, and read issue status during synchronization | | `write:jira-work` | Create issues, post status comments, and transition issues | | `read:jira-user` | Atlassian requires this scope for issue operations that resolve users | | `manage:jira-webhook` | Register and refresh the webhook for inbound status synchronization | | `offline_access` | Receive a refresh token so that the connection continues after the access token expires | Access tokens are short-lived. Strix refreshes them automatically with the rotating refresh token. All API calls go through `https://api.atlassian.com/ex/jira//rest/api/3` and apply only to the one connected site. ## What data flows where **Strix → Jira** (when you export a vulnerability manually, or when auto-sync exports it): * Issue summary: the vulnerability title (shortened to the Jira limit). * Issue description: severity, CVSS and CVE (when present), target, endpoint or affected file, impact, technical analysis, evidence, suggested fix or remediation steps, proof of concept, and a link back to the issue in Strix. * Priority mapped from severity, and a due date when an issue is snoozed. * Status comments (for example, "marked In Progress by …") when the Strix status changes. **Jira → Strix** (through a webhook on `jira:issue_updated`): * The issue ID and key, its status category (new, in progress, or done), the due date, and the display name of the user who made the change. Strix applies the status category to the status of the linked vulnerability. Strix does not read existing Jira issues, attachments, comments, or user directories. Inbound processing applies only to status and due-date updates for the issues that Strix created. ## Security * **Admin-gated**: The connect and callback endpoints require an authenticated Strix org admin. Strix checks the role again at the callback. Thus a demoted user cannot complete a pending connection. * **CSRF-protected OAuth**: The OAuth `state` is HMAC-signed and bound to the initiating organization and user. It expires after 10 minutes. * **Webhook verification**: Atlassian does not sign Jira dynamic webhooks. Thus the callback URL contains a per-connection random secret. Strix compares this secret (in a timing-safe operation) with the stored value before it processes a payload. * **Token storage**: Strix keeps the access and refresh tokens server-side in its database. The tokens apply only to your organization. The browser and other tenants cannot see them. * **One webhook URL per Atlassian account**: Atlassian accepts one webhook URL for each Atlassian account and OAuth app. If the account that connects Jira already sends Strix webhooks from another Strix workspace, the connection completes without the webhook. Exports work, but Jira status changes do not flow back. The Integrations page shows **Connected, status sync off**. To enable the sync, disconnect Jira in the other workspace, then reconnect it here. * **Revocation on disconnect**: When you disconnect the integration, Strix deletes the webhook and revokes the Atlassian grant. Refresh-token revocation makes the full grant invalid. Thus no live tokens stay on the Atlassian side. * **Audit trail**: The Strix audit log records the connection of the integration and the changes to the settings. ## Self-hosted Jira (on-prem Strix only) An on-prem Strix install can connect to a Jira Data Center or Jira Server instance on the same network. Hosted Strix (`app.strix.ai`) does not offer this option. The **Connect** button on the Jira card asks which Jira you use: **Jira Cloud** starts the Atlassian OAuth flow above, and **Self-hosted Jira** opens a form for the instance URL and a personal access token. 1. In Jira, create a personal access token under **Profile → Personal Access Tokens**. The token owner must be able to create issues in the target projects. 2. In Strix, click **Connect** on the Jira card and select **Self-hosted Jira**. 3. Enter the instance URL (for example `https://jira.internal.example.com`) and the token. Then click **Connect**. If the token owner is a Jira administrator, Strix registers the status webhook on the instance. If not, the dialog shows a webhook URL one time. Ask a Jira administrator to add this URL under **System → Webhooks** with the **Issue updated** event. Strix stores the token encrypted and uses the Jira REST API v2 on your instance. The export, status sync, and disconnect behavior is the same as for Jira Cloud. The same connection is available through the API on on-prem installs: ```bash theme={null} curl -X POST "https:///api/v1/integrations/jira/server/connect" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"instance_url": "https://jira.internal.example.com", "access_token": ""}' ``` **Required scope:** `integrations:write`. Hosted Strix returns `404` for this route. ## Disconnecting An org admin can disconnect Jira at any time from **Settings → Integrations**, or through the API: ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/integrations/jira" \ -H "Authorization: Bearer " ``` **Required scope:** `integrations:write` The disconnect operation removes the stored tokens, deletes the Jira webhook, and revokes the OAuth grant. Strix does not delete the issues that it already created in Jira. # Knowledge Source: https://docs.app.strix.ai/guides/knowledge Manage organization knowledge, policies, repository profiles, and skills ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) The knowledge base gives Strix context about your organization. The context includes documents, policies, per-repository profiles, and skills. Strix uses this context when it does scans and reviews. ## Documents List documents: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/knowledge" \ -H "Authorization: Bearer " ``` **Required scope:** `knowledge:read` Create a document: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/knowledge" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "title": "Auth architecture", "content": "We use WorkOS for SSO and short-lived JWTs...", "tags": ["auth", "architecture"] }' ``` **Required scope:** `knowledge:write` Update or delete a document: ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/knowledge/" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"content": "Updated content"}' curl -X DELETE "https://app.strix.ai/api/v1/knowledge/" \ -H "Authorization: Bearer " ``` **Required scope:** `knowledge:write` ## Search documents Use the `search` parameter to filter the document list: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/knowledge?search=authentication" \ -H "Authorization: Bearer " ``` **Required scope:** `knowledge:read` ## Policies List policies: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/knowledge/policies" \ -H "Authorization: Bearer " ``` **Required scope:** `knowledge:read` Create or update a policy (upsert by `policy_key`): ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/knowledge/policies" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "policy_key": "out-of-scope", "policy_value": "Never test the billing provider endpoints.", "policy_type": "constraint", "is_active": true, "metadata": {"owner": "security"} }' ``` Delete a policy: ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/knowledge/policies/" \ -H "Authorization: Bearer " ``` **Required scope:** `knowledge:write` ## Repository profiles List repository knowledge profiles and their entries: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/knowledge/repos" \ -H "Authorization: Bearer " curl -X GET "https://app.strix.ai/api/v1/knowledge/repos//entries" \ -H "Authorization: Bearer " ``` **Required scope:** `knowledge:read` Update a repository profile: ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/knowledge/repos//profile" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"content": "This service handles PCI data."}' ``` **Required scope:** `knowledge:write` ## Skills A skill is a set of instructions that your organization writes for Strix agents. Strix agents follow a skill as instructions. A knowledge document is different: an agent reads a document as data. Agents see the name and the description of each skill in a catalog. An agent loads the skill as `org/` when the description matches its task. Write the description for the task that must start the skill. Use a skill for a class of vulnerability, a technology, a playbook for one part of the application, or a test methodology. For example, a skill can tell agents how to test tenant isolation in your billing API. In a methodology, name the built-in skills to use, for example `idor` or `business_logic`. Do not repeat their techniques. In the dashboard, open **Knowledge**, then the **Skills** tab. Only an organization admin can add, change, or delete a skill. List skills: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/knowledge/skills" \ -H "Authorization: Bearer " ``` **Required scope:** `knowledge:read` Create a skill: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/knowledge/skills" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "name": "authz-differential", "description": "Differential authorization tests between HIGH and LOW privilege identities", "content": "## Coordination\nTest each endpoint as the HIGH and the LOW identity. Record each result in the shared matrix.\n\n## Delegation\nUse the idor, broken_function_level_authorization, mass_assignment, and business_logic skills.\n\n## Completion\nThe work is complete when each endpoint has a result for the two identities." }' ``` **Required scope:** `knowledge:write` Update or delete a skill: ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/knowledge/skills/authz-differential" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"description": "Differential authorization tests for the billing API"}' curl -X DELETE "https://app.strix.ai/api/v1/knowledge/skills/authz-differential" \ -H "Authorization: Bearer " ``` **Required scope:** `knowledge:write` Rules for skills: * The name has 1 to 64 characters: lowercase letters, digits, hyphens, and underscores. You cannot change the name after you create the skill. * The description has a maximum of 300 characters. The content has a maximum of 30,000 characters. * An organization can have a maximum of 50 skills. * To limit a skill to some repositories, send `scope`, for example `[{"type": "repo", "id": ""}]`. Strix then uses the skill only in runs that include one of these repositories. * For a personal token, you must be an organization admin to create, update, or delete a skill. * A token that is limited to specific assets cannot read or write skills. * A scan that has organization knowledge set to off does not get skills. # Linear Integration Source: https://docs.app.strix.ai/guides/linear-integration Connect Strix to Linear to export vulnerabilities as issues and keep statuses in sync ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) Strix connects natively to Linear. Strix can export the vulnerabilities that pentests and PR reviews find as Linear issues, and keep the statuses synchronized in both directions. This page describes the setup, the OAuth scopes that Strix requests, the data that Strix and Linear exchange, and the disconnect procedure. ## Overview | | | | - | - | | Integration type | Native Linear OAuth 2.0 app — no third-party middleware in the data path | | Direction | Bidirectional. Strix creates and updates issues. Linear status changes come back through a webhook | | Who can connect | Strix organization **admins** only | | Scope of access | The Linear workspace that the authorizing user approves | ## Setup 1. In Strix, go to **Settings → Integrations** and click **Connect** on the Linear card. You must be an organization admin, and your plan must include ticketing integrations. 2. Approve the app on the standard Linear consent screen (`linear.app/oauth/authorize`). Linear redirects back to `https://app.strix.ai/api/integrations/linear/callback`. There, Strix exchanges the authorization code for a token and records the workspace. 3. In Strix, select a **default team or project** as the export destination. The picker lists your Linear teams first, then your projects. Select a team to create tickets in that team; select a project to create tickets in that project. You can also enable **auto-sync** with a minimum severity. Auto-sync exports new findings automatically. Under **Sources**, select which findings auto-sync exports: **Pentests**, **Supply chain**, or both. Both are on by default. When **Supply chain** is on, **Dependency reachability** selects which dependency findings get a ticket: **All findings** (default) or **Reachable only**, which exports a finding only when the scan showed that the vulnerable code runs. Findings marked not reachable or not applicable, and findings that still wait for a verdict, get no ticket. Manual exports, bulk exports, and the API ignore this setting. 4. Optional: route findings to other teams or projects. Under **Route by source**, select a destination for pentests, PR reviews, or supply-chain findings. Under **Route by repository**, select a destination for findings from one repository. Both cards sit under **Advanced** on the settings page and are collapsed by default. See [Route tickets](#route-tickets). ## Route tickets Strix can send findings to different Linear teams or projects. Linear and Jira share the same routing model. Strix resolves the destination of each ticket in this order: 1. The destination that you select in the export dialog. 2. The repository route of the repository that the finding belongs to. 3. The source route of the finding source. 4. The default team or project. Manual exports, bulk exports, the API, and auto-sync all use the same order. ### Route by source Open **Settings → Integrations**, click **Configure** on the Linear card to open its settings page, and expand **Route by source** under **Advanced**. The card shows one destination for each source: | Source | Findings | | - | - | | Pentests | Findings from pentests (API key `scan`) | | PR reviews | Findings from pull request reviews | | Supply chain | Dependency vulnerabilities (`finding_class` is `dependency_cve`) | If a source has no destination, Strix uses the default team or project. ### Route by repository Click **Add repository route…** and select a repository. Then select the team or project for its findings. Strix matches a pentest finding through the repositories of the pentest and a PR review finding through the repository of the pull request. A repository route has priority over a source route. ### Set routes through the API The `source_routes` object replaces the stored source routes. To use the default destination for a source, set the key to `null` or leave the key out. The `repository_routes` array replaces the stored repository routes. A repository that is not in the array loses its route. ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/integrations/linear/settings" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "source_routes": { "pr_review": { "collection_id": "", "collection_name": "AppSec" }, "supply_chain": { "collection_id": "", "collection_name": "Dependencies" } }, "repository_routes": [ { "repository_id": "", "collection_id": "", "collection_name": "Payments" } ] }' ``` `GET /api/v1/integrations/linear/settings` returns the stored routes and, for administrators, the connected repositories with their identifiers. **Required scope:** `integrations:write` ## Ticket defaults The Linear settings page (**Settings → Integrations → Configure**) holds the defaults that Strix applies to every ticket that it creates. Manual exports, bulk exports, the API, and auto-sync use the same defaults. ### Default assignee Select a Linear user in **Default assignee**. Strix lists the active users of the connected workspace. Strix assigns every new ticket to that user. Leave the field empty to create unassigned tickets. ### Title and description templates Strix renders the ticket title and description from templates. A template mixes text with placeholders in double braces. The default title template is `{{title}}` and the default description template is `{{details}}`. | Placeholder | Value | | - | - | | `{{title}}` | The finding title | | `{{severity}}` | The severity, for example `high` | | `{{cve}}` | The CVE identifier of a dependency finding, or empty | | `{{cvss}}` | The CVSS score, or empty | | `{{target}}` | The target of the pentest | | `{{endpoint}}` | The affected endpoint or file | | `{{repository}}` | The repository of the finding | | `{{pentest}}` | The name of the pentest | | `{{source}}` | `Pentests`, `PR reviews`, or `Supply chain` | | `{{strix_url}}` | The link to the finding in Strix | | `{{details}}` | The full finding description that Strix writes today | Strix rejects a template that contains an unknown placeholder. A title template can hold 500 characters and a description template 20,000 characters. ### Group tickets by pentest Turn on **Group tickets by pentest** to collect the tickets of one pentest in one Linear project under the selected team. Select a **team** as the default destination for this to apply. Strix creates the project the first time that it exports a finding from the pentest and reuses it afterwards. Tickets from PR reviews and supply chain findings are not grouped. If the destination is a Linear project (a route or the default points at a project, not a team), Strix keeps the tickets in that project and does not create a pentest project. ### Due date by severity Turn on **Due date by severity** to set a due date on every new issue, counted in days from the day that Strix creates it. Give each severity a number of days or leave it blank for no due date. The setting applies to every new ticket — manual exports, bulk exports, the API, and auto-sync — and never changes tickets that Strix already created. If Linear rejects the due date when Strix creates a ticket, Strix retries the create without it. Linear does not have a priority mapping: a Strix severity always sets the matching Linear priority. Set it through the API with `due_date_days` on `PATCH /api/v1/integrations/linear/settings`: map each severity (`critical`, `high`, `medium`, `low`) to a whole number of days from 1 to 365, or `null`. Send `null` to turn it off. ### Preview and test ticket Click **Preview ticket** to see the rendered title, description, destination, and assignee of a sample finding. Click **Send test ticket** to create a real ticket in the default team or project from the same sample. **Send test ticket** requires the administrator role. ### Set defaults through the API ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/integrations/linear/settings" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "default_assignee_id": "", "title_template": "[{{severity}}] {{title}}", "description_template": "{{details}}\n\nStrix: {{strix_url}}", "group_by_pentest": true }' ``` Set `default_assignee_id` to `null` to remove the assignee and a template to `null` to restore the default. Strix validates the assignee against the users that `GET /api/v1/integrations/linear/users` returns. | Method | Path | Purpose | Scope | | - | - | - | - | | `GET` | `/api/v1/integrations/linear/users` | List the users that Strix can assign | `integrations:read` | | `GET` | `/api/v1/integrations/linear/preview` | Preview a sample ticket with the stored defaults | `integrations:read` | | `GET` | `/api/v1/vulnerabilities/{vulnerabilityId}/preview` | Preview the ticket for one finding | `integrations:read` | The finding preview has a `mode` field. `create` shows the ticket that a push opens, with its `destination`. `update` means that the finding already has a ticket: a push only updates its description and status, so `existing_ticket` gives the link to it and `destination` and `ticket.title` are `null`. \| `POST` | `/api/v1/integrations/linear/test-ticket` | Create a test ticket in the default team or project | `integrations:write` | ## OAuth scopes requested | Scope | Why Strix needs it | | - | - | | `read` | List teams and projects, and read issue status during synchronization | | `write` | Create issues, post status comments, and update issue state | Linear supplies long-lived access tokens (no refresh token). Thus the connection continues until you disconnect it or revoke it. ## What data flows where **Strix → Linear** (when you export a vulnerability manually, or when auto-sync exports it): * Issue title: the vulnerability title. * Issue description: severity, CVSS and CVE (when present), target, endpoint or affected file, impact, technical analysis, evidence, suggested fix or remediation steps, proof of concept, and a link back to the issue in Strix. * Priority mapped from severity, and a due date when an issue is snoozed. * Status comments (for example, "marked In Progress by …") when the Strix status changes. **Linear → Strix** (through a webhook on issue updates): * The issue ID and identifier, its workflow state type (for example, started or completed), and the display name of the actor who made the change. Strix applies the state to the status of the linked vulnerability. Strix does not read existing Linear issues, comments, or user directories. Inbound processing applies only to status updates for the issues that Strix created. ## Security * **Admin-gated**: The connect and callback endpoints require an authenticated Strix org admin. Strix checks the role again at the callback. Thus a demoted user cannot complete a pending connection. * **CSRF-protected OAuth**: The OAuth `state` is HMAC-signed and bound to the initiating organization and user. It expires after 10 minutes. * **Signed webhooks**: Strix makes sure that each Linear webhook delivery has a correct HMAC-SHA256 signature (in a timing-safe comparison) and a timestamp in the permitted window. This limits replay. * **Token storage**: Strix keeps the access token server-side in its database. The token applies only to your organization. The browser and other tenants cannot see it. * **Revocation on disconnect**: When you disconnect the integration, Strix revokes the token on the Linear side. Thus no live tokens stay. * **Audit trail**: The Strix audit log records the connection of the integration and the changes to the settings. ## Disconnecting An org admin can disconnect Linear at any time from **Settings → Integrations**, or through the API: ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/integrations/linear" \ -H "Authorization: Bearer " ``` **Required scope:** `integrations:write` The disconnect operation removes the stored token and revokes the OAuth grant. Strix does not delete the issues that it already created in Linear. # Live Scan Prompt Source: https://docs.app.strix.ai/guides/live-scan-prompt Send live prompts to a running pentest agent ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) With live scan prompts, you can send a message into a running pentest agent graph. This feature is available only on the enterprise plan. Use this endpoint to send the message to the agent that is selected in the scan UI. If you omit `agent_id`, the message goes to the root agent. ## Send a live prompt ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/scans//message" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "message": "Check whether the login form is protected against CSRF", "agent_id": "" }' ``` The request body accepts these fields: * `message` — required. The text to send to the running scan. * `cancel_current` — optional boolean. Set it to `true` to stop the active agent turn before Strix sends the message. * `agent_id` — optional target agent id. If you omit it, the message goes to the scan root agent. **Required scope:** `scans:message` ## Readiness and errors The API applies the same guardrails as the dashboard UI: * `403` if the organization does not have the enterprise `live_scan_prompt` feature * `409` if the scan is not active (`pending` or `running`) * `503` until the scan sandbox bridge is ready When the bridge is ready, Strix sends the prompt to the running agent through the `/user-message` endpoint of the scan sandbox. # Login Methods Source: https://docs.app.strix.ai/guides/login-methods Select the correct login method for a test user, and verify that Strix can sign in ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) A test user tells Strix how to sign in to your application. Sign in to the application yourself. Then select the method that the application asks you for. ## The four methods > [accordion] Username & Password > > The account signs in with a username (or email) and a password. There is no second factor. > > Start with this method. It needs the least configuration, and it is the fastest method to verify. > > Give Strix these items: > > 1. The username or the email address of the account. > 2. The password of the account. > [accordion] Authenticator App > > The application asks for a code of 6 digits from an authenticator app, for example Google Authenticator, Authy, or 1Password. Some applications call this code a TOTP code. > > Give Strix these items: > > 1. The username and the password of the account. > 2. The setup key of the account. The setup key is the Base32 secret behind the **Can't scan?** link on the enrollment page. > > Strix makes each code from the setup key. Thus Strix does not need your telephone. > > Strix cannot use a factor that asks a person to approve the login, for example Duo Push, Okta Verify push, or SMS. > [accordion] Email Code > > The application sends a numeric code to the email address of the account. Usually the application also asks for a password. > > Give Strix these items: > > 1. A Strix inbox as the email address of the account. > 2. The password of the account, if the application asks for one. > > Strix must read the code. Thus Strix must be the owner of the mailbox. > [accordion] Magic Link > > The account has no password. The application sends a link (or a code) that signs you in. > > Give Strix one item: a Strix inbox as the email address of the account. > > This method has the same condition as Email Code. Strix must be the owner of the mailbox. ## An account with MFA needs a Strix inbox Strix can only complete a second factor that it controls. Strix controls a setup key that you give it, and email that comes to a Strix inbox. Strix cannot read a code that goes to your telephone or to your own mailbox. Do these steps for the Email Code method and for the Magic Link method: 1. Make a Strix inbox in the test-user dialog. As an alternative, use the [provision-inbox endpoint](/guides/test-users#provision-a-managed-inbox). 2. Make a new test account with the inbox address, or change the email address of an existing account to the inbox address. 3. Switch on email login for that account. The inbox address is also the username of the account. Thus you give the address one time. Strix removes an inbox that no scan used for 30 days. You can make a new inbox at any time. ## Login verification Strix verifies the credentials when you save them. The verification is a short run, usually one or two minutes, in the same sandbox that a scan uses. Strix opens the login page, signs in, and reports if it got access to authenticated content. The test user then shows one of two results: verified or failed. Thus you find a bad login before the scan, and not after it. This table gives the usual failures and the correction for each failure: | Result | Correction | | - | - | | The username or the password is wrong | Give the credentials again. Make sure that the account does not use SSO only. | | Strix did not find the login page | Set **Login URL** in the **Advanced** section to the correct sign-in page. | | The login needs a second factor that Strix does not have | Select **Authenticator App** and give the setup key, or move the account to a Strix inbox. | | Strix could not read the code | Make sure that the email address of the account is the Strix inbox address, and that email login is on. | | The account is locked, or bot protection stopped the login | Unlock the account, or permit the scan traffic. | You can start a scan after a failed verification. Strix first shows a warning, because the scan can possibly test no authenticated area. To do a verification with the API, refer to [Verify a test user's login](/guides/test-users#verify-a-test-users-login). # MCP server Source: https://docs.app.strix.ai/guides/mcp Connect ChatGPT, Claude, Cursor, and other MCP clients to your Strix workspace ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) Strix hosts a remote Model Context Protocol (MCP) server. An AI assistant that supports remote MCP servers can start scans, read vulnerabilities, manage schedules, and use the rest of the Strix API as tools. The server URL is: ```text theme={null} https://app.strix.ai/mcp ``` The server uses the Streamable HTTP transport and OAuth 2.1 authorization. You do not create an API token for MCP. You sign in to Strix in the browser when the client asks. ## Add the server to a client Most clients ask for a name and a server URL. Enter `Strix` and `https://app.strix.ai/mcp`. The client then opens a browser window for the Strix sign-in. After you sign in and approve the request, the client can call the Strix tools. ### Claude Add a custom connector in the Claude connector settings. Enter the server URL and select **Connect** to complete the sign-in. ### ChatGPT Enable developer mode in the ChatGPT connector settings. Create a connector with the server URL and select OAuth as the authentication method. ### Cursor Add this entry to `.cursor/mcp.json` and complete the sign-in when Cursor asks: ```json theme={null} { "mcpServers": { "strix": { "url": "https://app.strix.ai/mcp" } } } ``` ### Other clients Any client that supports remote MCP servers with OAuth can use the same URL. If the client asks for authorization server details, the client can read them from the discovery documents that this page describes. ## Workspace and permissions The sign-in binds the OAuth access token to one Strix workspace. Tools then run as you, in that workspace. Access tokens expire after one hour. The server advertises the `offline_access` scope. A client that requests this scope receives a refresh token and renews the session without a new sign-in. Your member role limits the tools that you can use. The same rules apply to API tokens: * A **viewer** can call read tools only. * An **analyst** can also call tools that start scans and change data. * An **admin** can also call tools for members, invitations, webhooks, and the audit log. If your membership has resource-level restrictions, the tools return only the targets, tags, or business units that you can access. The MCP server does not accept a Strix API token. The REST API does not accept an MCP access token. Use API tokens with the REST API and use the OAuth sign-in with MCP. ## Tools The server exposes one tool for each REST API operation that works without a browser. The tool name is the `operationId` of the operation in the API reference, written in `snake_case`. For example, the `POST /api/v1/scans` operation has the `createScan` operation ID and becomes the `create_scan` tool. Every tool argument carries a description that matches the parameter description in the API reference. The server also accepts the `operationId` as a tool name. Clients that cached the previous names, for example `createScan`, continue to work. Each tool declares MCP annotations so that the assistant can ask for your confirmation before it makes a change: | Annotation | Meaning | | - | - | | `readOnlyHint` | The tool reads data and does not change the workspace. | | `destructiveHint` | The tool deletes or overwrites existing data, or runs a command. | | `idempotentHint` | A repeated call with the same input has no additional effect. | | `openWorldHint` | The tool contacts systems outside Strix, for example a scan target or a repository. | Tools that start scans, retests, PR reviews, or chats spend credits. Confirm the target with the assistant before it calls one of these tools. Every tool that returns a JSON body declares an `outputSchema`. Clients that support structured results receive the API response in `structuredContent`. When the API returns a JSON object, `structuredContent` is that object. When the API returns an array or `null`, `structuredContent` wraps the body as `{ "result": ... }` because MCP structured results must be objects. Tools such as `get_scan_frequency` and `get_vulnerability_history` return wrapped results. The `get_scan_sarif` tool returns the SARIF document as an object. The `list_audit_events` tool always returns JSON. Use the REST API for the CSV, NDJSON, Snowflake, and Splunk export formats. ### Tool profiles The default URL exposes every available tool. Some clients limit the number of tools per server or select tools less accurately when a server exposes many tools. For these clients, connect to the curated `core` profile: ```text theme={null} https://app.strix.ai/mcp?profile=core ``` | Profile | URL | Tools | | - | - | - | | `full` | `https://app.strix.ai/mcp` | Every available tool. | | `core` | `https://app.strix.ai/mcp?profile=core` | Scans, vulnerabilities, assets, schedules, PR reviews, supply chain, knowledge, analytics, credits, and the organization. | The `core` profile does not include workspace administration tools such as members, invitations, webhooks, integrations, connectors, test users, chat, and the audit log. A call to a tool outside the connected profile returns an error result that names the profile that includes the tool. An unknown `profile` value returns `400 Bad Request`. The server does not expose these operations: * API token and CLI session management. * Billing checkout, billing portal, and credit purchases. * Connector install links and connector credential intake. * Network connector creation and the connector deploy command. * LLM provider key updates and engagement credential intake. * File upload, scan report download, and chat workspace file download. The `create_webhook` tool creates the webhook but does not return the signing secret. The `update_webhook` tool cannot rotate the secret. Open the dashboard to rotate a webhook secret. Use the dashboard or the REST API for these operations. ## Prompts The server also exposes MCP prompts. Clients such as Claude and Cursor show them as reusable commands. Each prompt tells the assistant which tools to call and how to present the result. | Prompt | Arguments | Purpose | | - | - | - | | `triage_vulnerabilities` | `severity` (optional), `scan_id` (optional) | Group open findings by severity and recommend fixes. | | `scan_summary` | `scan_id` | Summarize one scan and its findings. | | `start_scan` | `target` (optional) | Choose an asset, confirm the cost, then start a scan. | | `pr_review_status` | `repository` (optional) | Report recent PR reviews and their findings. | | `weekly_security_report` | `audience` (optional) | Build a weekly report from scans, open findings, and PR reviews. | The `start_scan` prompt asks the assistant to wait for your confirmation before it calls `create_scan`. ## Discovery documents MCP clients and directories find the authorization server and the tool catalog with these documents. You do not need to read them to use the server. | Document | URL | | - | - | | Protected resource metadata (RFC 9728) | `https://app.strix.ai/.well-known/oauth-protected-resource` | | Authorization server metadata (RFC 8414) | `https://app.strix.ai/.well-known/oauth-authorization-server` | | Server card | `https://app.strix.ai/mcp/server-card` | | AI catalog | `https://app.strix.ai/.well-known/ai-catalog.json` | The server card lists the server identity, the version, the icon, the remote endpoint, and the protocol versions that the server supports. Directories that cannot complete OAuth read this document to index the server. The server card does not list the tools or the prompts. Clients get them from the server after sign-in. The server card contains no workspace data. The AI catalog is the entry point for discovery clients. It points to the server card. The protected resource metadata lists the Strix authorization server and the OAuth scopes `openid`, `profile`, `email`, and `offline_access`. The client does not request Strix scopes during sign-in. The server derives your permissions from your role and your RBAC settings. The permission names match the API token scopes in [Authentication](/authentication). ## Errors If a request has no valid access token, the server returns `401 Unauthorized` with a `WWW-Authenticate` header. The header points to the protected resource metadata so that the client can start the sign-in. If a tool needs a scope that your role does not grant, the tool returns an error result with the missing scope name. The assistant can show this message to you. If a tool call fails in the REST API, the tool returns the API error message. The HTTP status of the MCP response stays `200`. # PR Reviews Source: https://docs.app.strix.ai/guides/pr-reviews Trigger and inspect automated pull request security reviews ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) A PR review runs Strix on one pull request and shows the findings inline. ## Ways to trigger a review After you install the GitHub App on a repository, reviews start: * **Automatically when a PR is opened** (or marked ready for review). Strix does not review draft PRs. * **Automatically on new pushes to an open PR** when `review_on_push` is enabled in your PR review settings. * **When you tag Strix in a PR comment.** To start (or restart) a review, write `@strix` or `@strix-security` in a PR comment or an inline review comment. The commenter must be a repository owner, member, or collaborator. Comments from GitHub Apps and bots also start a review. * **Through the API** with `POST /api/v1/pr-reviews/start` (refer to the section below). ## List PR reviews ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/pr-reviews?limit=20" \ -H "Authorization: Bearer " ``` **Required scope:** `pr_reviews:read` The CLI's human view shows the repository, PR number and title, branches, pull-request lifecycle, review status/verdict, and open/total findings. Request exact totals for every review disposition group and lane with: ```bash theme={null} strix cloud pr-reviews list --include-counts ``` Use `--json` for the complete records and stable IDs in an agent workflow. ## Get a PR review ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/pr-reviews/" \ -H "Authorization: Bearer " ``` **Required scope:** `pr_reviews:read` ## List security issues caught by PR reviews List every security issue that the PR reviews of your organization caught. Each issue appears once. Strix collapses repeated reports of the same issue across the review runs of one pull request. Dependency CVEs and retest rows are excluded. Set `include_stats=true` to also get the all-time impact numbers: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/pr-reviews/findings?include_stats=true" \ -H "Authorization: Bearer " ``` **Required scope:** `pr_reviews:read` You can filter with `severity`, `pr_state`, `search`, and `repository_full_name`. The matching CLI command can include the all-time impact totals: ```bash theme={null} strix cloud pr-reviews findings --include-stats ``` Use `--json` when an agent needs the complete finding records. ## Start a PR review Start a review for a pull request. Specify the provider and installation ID from the repository record, plus the repository full name and PR number: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/pr-reviews/start" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "provider": "github", "installation_id": 12345678, "repository_full_name": "my-org/my-repo", "pr_number": 42 }' ``` **Required scope:** `pr_reviews:write` The open-source CLI exposes the same operation as `strix cloud pr-reviews start --provider github --installation-id 12345678 --repository-full-name my-org/my-repo --pr-number 42`. Use `strix cloud repos list` to read `provider` and `installation_id`. ## PR review settings Read the PR review configuration of your organization: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/pr-reviews/settings" \ -H "Authorization: Bearer " ``` **Required scope:** `pr_reviews:read` The `review_on_push` setting controls automatic reviews when you push commits to an open PR. When this setting is off, reviews run only when a PR is opened or when a comment includes `@strix`. ### Post only some severities Set `posted_severities` to the finding severities that Strix posts on a pull request. The values are `critical`, `high`, `medium`, and `low`. The default is all four severities. For example, `["critical", "high"]` posts only critical and high findings. * Strix does not post a finding at another severity as an inline comment or in the summary comment. * A finding at another severity does not block the pull request or fail the `Strix Security Review` check. This is also true when its severity is in `blocking_severities`. * Strix keeps all findings, and you can see them in the Strix dashboard. * If you change this setting, Strix does not mark findings from earlier reviews as fixed. ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/pr-reviews/settings" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"posted_severities": ["critical", "high"]}' ``` **Required scope:** `pr_reviews:write` ### Skip pull requests that change only excluded files Strix can skip the automatic review of a pull request when every file that the pull request changes matches a pattern in `excluded_paths`. Set `skip_excluded_path_prs` to `true` to use this setting. It is off by default. * If one changed file does not match a pattern, Strix reviews the pull request. * Strix compares the full pull request with its base branch. A rename counts the old path and the new path. * If Strix cannot get the list of changed files, Strix reviews the pull request. * A comment that includes `@strix` starts a review, also when the pull request changes only excluded files. * On GitHub, Strix adds a passing `Strix Security Review` check to a skipped pull request. A branch rule that requires this check does not block the merge. The default patterns are `*.md`, `*.mdx`, `*.rst`, `LICENSE`, `LICENSE.{md,txt,rst}`, `COPYING`, `*.png`, `*.jpg`, `*.jpeg`, `*.gif`, `*.webp`, and `*.ico`. Pattern rules: | Pattern | Matches | | - | - | | `*.md` | A file name in any folder. A pattern without `/` matches at any depth. | | `docs/` | All files in the `docs` folder at the repository root. | | `docs/*.md` | Markdown files directly in `docs`. `*` does not match `/`. | | `assets/**/*.svg` | SVG files at any depth in `assets`. `**` matches across folders. | | `*.{md,mdx}` | Files that end in `.md` or `.mdx`. `{a,b}` matches one of the alternatives. | | `CHANGELOG-[0-9].md` | `CHANGELOG-1.md` to `CHANGELOG-9.md`. `[abc]` matches one character, and `[!abc]` matches one character that is not in the list. | Patterns are not regular expressions. Characters other than `*`, `?`, `[ ]`, and `{ }` match only themselves. Matching is not case-sensitive. A PATCH request replaces the full `excluded_paths` list: ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/pr-reviews/settings" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"skip_excluded_path_prs":true,"excluded_paths":["*.md","docs/","*.png"]}' ``` Update one or more settings. The PATCH body is partial, but it must include at least one supported field: ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/pr-reviews/settings" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"review_on_push":true}' ``` **Required scope:** `pr_reviews:write` # Pentests Source: https://docs.app.strix.ai/guides/scans Start, monitor, and download pentest results ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) ## List pentests Get pentests with optional filters and pagination. ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/scans?limit=20" \ -H "Authorization: Bearer " ``` By default, the list does not include per-finding retest scans. To include them, pass `include_retests=true`. **Required scope:** `scans:read` ## Add many domains To add up to 100 domains in one request, call `POST /api/v1/domains/bulk`. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/domains/bulk" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"items":[{"domain":"example.com"},{"domain":"api.example.com","asset_type":"api"}]}' ``` Strix adds each valid domain, even when other items fail. The `results` list has one entry for each item, in the same order. The `status` field of each entry is `added`, `exists`, `invalid`, `limit_reached`, or `error`. The `summary` object counts the entries for each status. Each added domain gets the same ownership checks as `POST /api/v1/domains`. **Required scope:** `assets:write` ## Verify a domain Strix scans a domain only after you prove that you own the domain. Add the domain, then call the verify endpoint. `POST /api/v1/domains` already checks ownership when you add the domain. The ownership checks share a deadline of four seconds. Read the `verified` field in the response. When `verified` is `false`, the `detail` field names the exact DNS TXT record to add and the retry command. The `next_steps` list gives one instruction per method. When Strix could not reach the domain over HTTPS, `reachable` is `false` and `next_steps` contains a reachability note. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/domains//verify" \ -H "Authorization: Bearer " ``` **Required scope:** `assets:write` A `200` response does not mean success. Read the `status` field: * `verified` — Strix confirmed ownership. The `verification_method` field names the method that passed. You can start scans against the domain. * `pending` — Strix found no verification record yet. The `next_steps` list gives one instruction per method and the retry command. The `verification` object contains the DNS record, the file URL and content, and the meta tag. Add one of the records, then call the endpoint again. DNS changes can take up to 24 hours to propagate. The CLI command is `strix cloud domains verify `. ## Start a new pentest Provide `domain_ids` for blackbox pentests or `repository_ids` for whitebox pentests. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/scans" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "domain_ids": [""], "concerns": "Check for authentication bypass vulnerabilities" }' ``` **Required scope:** `scans:write` ### Retry a launch safely Creating a scan is billable and may outlive an interrupted HTTP response. Send an `Idempotency-Key` when you call the API directly, and reuse the exact same key and request body after a timeout, connection loss, `429`, retryable `409`, or `5xx` response: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/scans" \ -H "Authorization: Bearer " \ -H "Idempotency-Key: scan-$(uuidgen)" \ -H "Content-Type: application/json" \ -d '{"domain_ids":[""]}' ``` Keys are retained for 24 hours and are bound to the authenticated actor, operation, and canonical request. Reusing a key for different input returns `409 Conflict`. A completed retry is replayed only after Strix rechecks the caller's current authorization. Use a new key only for a deliberate new scan. The CLI generates a key automatically for `scans start` and `scans rerun`; use `--idempotency-key` when an agent needs to persist the key across processes. ### Models Managed SaaS pentests always run at full depth on Strix-managed models. A small set of explicitly enabled workspaces has a separate curated or raw model picker. Self-hosted deployments can select a named `model_config_id` that an administrator configured. ## Saved domain headers Save HTTP headers on a domain to reuse the values in pentests. For example, save `x-strix-scan` for a web application firewall (WAF) bypass header. ### Save a header 1. Open the domain's detail page. 2. Select **Scan headers**. 3. Select **Add header…**. 4. Enter the header name and value. 5. Under **Applies to**, select the domains that need the header. 6. Select **Save header**. The scope initially contains the home domain, where you save the header. **All domains** applies the header to every domain in the organization. Admins and analysts can manage headers within their access scope, as they manage test users. An actor can edit or delete a shared header only if the actor can manage every domain in the header's scope. Only actors without asset restrictions can make a header apply to all domains. Strix encrypts saved values. The domain page and the header API never return saved values after you save them. To rotate a value, edit the header and enter a replacement value. The wizard shows applicable headers under **Saved scan headers** on the **Access** step, above **Custom headers**. A custom header overrides all saved headers that have the same name. Strix compares names without regard to case. Strix keeps all custom headers in their original order, including duplicates. ### Scope and launch behavior Strix automatically includes each saved header whose scope covers at least one selected domain. You do not select headers for each pentest. Pentests without domains do not inherit saved headers. To exclude a domain, change the header's **Applies to** scope to list only the domains that need the header. Strix combines saved headers that have the same name and value. If saved headers have the same name but different values, Strix keeps both and identifies their domains in the notes. Strix resolves saved headers at launch. Strix does not copy saved headers into templates or schedule configurations. Reruns and scheduled pentests resolve current values, so a replacement value takes effect on their next launch. Changing a saved header does not change a running pentest. ### Manage headers through the API | Method | Endpoint | Required scope | | - | - | - | | GET | `/api/v1/domains/{domainId}/scan-headers` | `test_users:read` | | POST | `/api/v1/domains/{domainId}/scan-headers` | `test_users:write` | | PATCH | `/api/v1/domains/{domainId}/scan-headers/{headerId}` | `test_users:write` | | DELETE | `/api/v1/domains/{domainId}/scan-headers/{headerId}` | `test_users:write` | POST accepts `name`, `value`, optional `notes`, and optional `scope_domain_ids`. If you omit `scope_domain_ids` on creation, Strix uses the home domain. An empty array means all domains in the organization. PATCH accepts partial updates. If you omit `value` or send an empty value, Strix keeps the saved value. GET returns headers saved on the requested domain, headers scoped to that domain, and headers that apply to all domains. Responses include `value_set` instead of the saved value. The `can_manage` field indicates whether the caller can manage the full scope. Asset-scoped tokens can manage headers only within their access scope. ## Get pentest detail ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/scans/" \ -H "Authorization: Bearer " ``` **Required scope:** `scans:read` The response includes `repository_commits` for whitebox pentests: an object keyed by repository URL whose value is the full commit SHA the scan tested. It is `null` for blackbox pentests and for scans that ran before Strix recorded commits. ### View the model and reasoning effort On self-hosted installations and hosted workspaces that use their own LLM keys, open the pentest. In **Overview**, find **LLM Usage**. The card appears after the pentest reports LLM usage. The card shows the model and the reasoning effort at launch. If the model configuration does not set an effort, the engine defaults to **High**. For earlier pentests, the card shows **Not recorded** if Strix did not record the effort. ## Rerun a pentest Run a previous pentest configuration again: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/scans//rerun" \ -H "Authorization: Bearer " \ -H "Idempotency-Key: rerun-$(uuidgen)" ``` **Required scope:** `scans:write` ## Cancel a pentest Cancel a pending or running pentest: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/scans//cancel" \ -H "Authorization: Bearer " ``` **Required scope:** `scans:write` ## Download report Report downloads are available on the Enterprise plan. On Pro, each organization can download one technical PDF report for free, and re-downloading that scan's report stays free. The default report is a technical PDF; `retest`, `attestation`, and `executive_summary` formats and DOCX output are also available on Enterprise. ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/scans//report" \ -H "Authorization: Bearer " \ -o report.pdf ``` **Required scope:** `scans:read` The CLI can write the response directly to a file and add optional cover branding: ```bash theme={null} strix cloud scans report \ --format executive_summary \ --type docx \ --provider-name "Acme Security" \ --member-name-0 "Alex Doe" \ --member-email-0 "alex@example.com" \ --output report.docx ``` `--provider-name` accepts up to 80 characters. Add up to two preparers with `--member-name-0` / `--member-email-0` and `--member-name-1` / `--member-email-1`; each member field accepts up to 120 characters. Existing output files are not replaced unless `--force` is explicit. ## Retest findings List the retests recorded for a pentest: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/scans//retests" \ -H "Authorization: Bearer " ``` **Required scope:** `scans:read` Run validation again for each finding in a pentest: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/scans//retest-all" \ -H "Authorization: Bearer " ``` **Required scope:** `scans:write` ## Get a reusable template Get the configuration of a pentest as a template. You can use the template to start new pentests: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/scans//template" \ -H "Authorization: Bearer " ``` **Required scope:** `scans:read` ## Delete a pentest ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/scans/" \ -H "Authorization: Bearer " ``` **Required scope:** `scans:write` # Schedules Source: https://docs.app.strix.ai/guides/schedules Create and manage recurring pentest schedules ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) ## List schedules ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/schedules" \ -H "Authorization: Bearer " ``` **Required scope:** `schedules:read` ## Create a schedule A schedule requires `cron_expression`, `timezone`, and at least one target in `domain_ids`, `repository_ids`, `upload_ids`, or `internal_targets`. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/schedules" \ -H "Authorization: Bearer " \ -H "Idempotency-Key: schedule-$(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "name": "Weekly production pentest", "cron_expression": "0 9 * * 1", "timezone": "America/New_York", "domain_ids": [""], "also_run_now": false }' ``` **Required scope:** `schedules:write` With `also_run_now: false`, this creates the recurring schedule without launching or charging a scan. With `also_run_now: true`, the immediate run goes through the same pre-launch credit check as an ordinary scan. If the workspace lacks the estimated credits, the endpoint returns HTTP `402 Payment Required`. Strix creates neither the schedule nor the immediate scan, and consumes no credits. Enterprise scans follow the Enterprise contract. Set `supply_chain: true` for a free dependency scan schedule. Supply-chain schedules accept repository targets only and require the Enterprise Supply Chain entitlement, but their runs do not consume scan credits. To run each scan of the schedule with one of your model configs from Settings → LLM Models, set `model_config_id`. This is available on self-hosted installs and in workspaces that use their own LLM keys. If you do not set it, each run uses the model config assigned to pentests. To change it later, send a new `model_config_id` with PATCH, or send `null` to go back to the default. If you delete the model config, each run fails until you select a different one or send `null`. A token restricted to specific assets cannot set or clear `model_config_id`, and a schedule created by such a token cannot use one. Supply-chain schedules do not accept it. When `also_run_now` starts a billable scan, retain the `Idempotency-Key` and reuse the exact request after an interrupted or retryable response. The key is bound to the actor and request for 24 hours, so a retry cannot create or charge a second immediate run. The CLI supplies this key automatically. ## Get schedule detail ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/schedules/" \ -H "Authorization: Bearer " ``` **Required scope:** `schedules:read` ## Get a schedule's editable configuration This endpoint returns the full stored configuration of the schedule in a format that you can edit with PATCH. The configuration includes targets, prompts, test users, headers, scope, timing, notifications, and uploads. The response gives stored secrets (passwords, TOTP seeds, and header values) as metadata only, not in plaintext. ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/schedules//template" \ -H "Authorization: Bearer " ``` **Required scope:** `schedules:read` ## Pause a schedule ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/schedules/" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"action": "pause"}' ``` To resume, use `{"action": "resume"}`. You can also update the schedule configuration (name, cron_expression, timezone, targets) in the same PATCH request. **Required scope:** `schedules:write` ## Delete a schedule ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/schedules/" \ -H "Authorization: Bearer " ``` **Required scope:** `schedules:write` ## Trigger a schedule immediately Run a scheduled pentest configuration immediately, before the next cron interval: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/schedules//trigger" \ -H "Authorization: Bearer " \ -H "Idempotency-Key: trigger-$(uuidgen)" ``` **Required scope:** `schedules:write` The trigger uses the stored scope estimate. If the workspace lacks enough credits, it returns HTTP `402 Payment Required`, creates no scan, and consumes no credits. The CLI reports this as exit code `5`. Enterprise runs follow the Enterprise contract. Recurring fires also check the wallet before launch. A run that cannot be funded is skipped rather than launched without a charge. If automatic top-up is enabled, Strix may first try the configured top-up policy; otherwise add credits before the next fire. Manual triggers use the same 24-hour idempotency contract as scan creation. Reuse the exact key and request after an ambiguous response. A delayed or duplicate queue delivery is collapsed before billing or launch. # ServiceNow Integration Source: https://docs.app.strix.ai/guides/servicenow-integration Connect Strix to ServiceNow to export vulnerabilities as Incident or Task records ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) Strix connects natively to ServiceNow. Strix can export the vulnerabilities that scans and PR reviews find as records on the ServiceNow `incident` table or the `task` table. You select the record type when you connect. Strix posts status changes and comments to those records as work notes. Every 5 minutes, Strix reads the state of the linked records and updates the Strix issues. This page describes the setup, the two authentication methods, the permissions that Strix needs, the data that Strix sends, and the disconnect procedure. ## Overview | | | | - | - | | Integration type | Native ServiceNow Table API client. No third-party middleware in the data path | | Direction | Two-way. Strix creates and updates records. Strix reads the state of linked records every 5 minutes, see [What data flows where](#what-data-flows-where) | | Record type | `incident` (default) or `task`. You select the record type when you connect. The `task` table needs one extra ACL, see [Use the Task record type](#use-the-task-record-type) | | Authentication | OAuth 2.0 Client Credentials (recommended) or username and password of an integration user | | Who can connect | Strix organization **admins** only | | Scope of access | One ServiceNow instance for each Strix organization | | Destination | A ServiceNow assignment group | ## Before you start Strix needs a ServiceNow identity that has the `itil` role. The `itil` role permits the identity to read the `sys_user_group` table and to create and update records on the `incident` table. On a standard instance, the `itil` role cannot create records on the base `task` table. If you want Task records, a ServiceNow admin must add one ACL, see [Use the Task record type](#use-the-task-record-type). Do not use a personal account. Select one authentication method: | | OAuth client (recommended) | Username and password | | - | - | - | | What you paste into Strix | Client ID and client secret | Username and password | | ServiceNow identity | The **OAuth Application User** of the OAuth API endpoint | The integration user | | Tokens | Strix requests short-lived bearer tokens from your instance. Strix never stores a password | Strix sends the password with every request | | ServiceNow release | Washington DC or later, with the Client Credentials grant enabled | Any release | ### Option A: Create an OAuth API endpoint (recommended) A ServiceNow administrator with the `admin` role does these steps in your instance. The Strix connect dialog shows the same steps. After you enter the instance URL in the dialog, each step links into your instance. The steps differ by ServiceNow release. Do the steps for your release only. > [tab] Zurich or later > > 1. Set the system property `glide.oauth.inbound.client.credential.grant_type.enabled` to `true`. Open `sys_properties.list` in the filter navigator and search for the property. If the property does not exist, open this URL on your instance to get a prefilled form, then click **Submit**: > > ```text theme={null} > https://.service-now.com/sys_properties.do?sys_id=-1&sysparm_query=name=glide.oauth.inbound.client.credential.grant_type.enabled^type=boolean^value=true > ``` > > Without this property, token requests fail with `access_denied`. > 2. Create a service account user. The **Create a user** link in the Strix dialog opens a prefilled form. If you open `sys_user.do?sys_id=-1` yourself, enter a **User ID**, for example `strix-integration`, a **First name**, and a **Last name**. Set **Identity type** to **Machine**. Select **Internal Integration User**. The user does not need a password. Right-click the form header and click **Save**, not **Submit**, so the record stays open. > 3. In the **Roles** list at the bottom of the saved user, click **Edit…**, add `itil`, and click **Save**. > 4. Go to **System OAuth → Application Registry** and click **New**. ServiceNow rejects records that are inserted directly into the `oauth_entity` table, so always start from **New**. > 5. Select **New Inbound Integration Experience → New Integration → OAuth – Client credentials grant**. You can also start from **Machine Identity Console → Inbound integrations → New integration**. > 6. Set **Name** and **Provider name** to `Strix`. Set **OAuth application user** to the user from step 2. The picker shows only users that have a first name and a last name. > 7. Under **Scope validation settings**, clear **Allow access only to APIs in selected scope**. Do not add an auth scope. Leave **Advanced options** unchanged. Click **Save**. > 8. Copy the **Client ID** and the **Client secret**. The eye icon shows the secret. > [tab] Washington DC to Yokohama > > 1. Set the system property `glide.oauth.inbound.client.credential.grant_type.enabled` to `true`. Open `sys_properties.list` in the filter navigator and search for the property. If the property does not exist, open this URL on your instance to get a prefilled form, then click **Submit**: > > ```text theme={null} > https://.service-now.com/sys_properties.do?sys_id=-1&sysparm_query=name=glide.oauth.inbound.client.credential.grant_type.enabled^type=boolean^value=true > ``` > > Without this property, token requests fail with `access_denied`. > 2. Create a service account user. The **Create a user** link in the Strix dialog opens a prefilled form. If you open `sys_user.do?sys_id=-1` yourself, enter a **User ID**, for example `strix-integration`, a **First name**, and a **Last name**. Select **Web service access only**. If the form shows **Internal Integration User**, select it. The user does not need a password. Right-click the form header and click **Save**, not **Submit**, so the record stays open. > 3. In the **Roles** list at the bottom of the saved user, click **Edit…**, add `itil`, and click **Save**. > 4. Go to **System OAuth → Application Registry** and click **New**. ServiceNow rejects records that are inserted directly into the `oauth_entity` table, so always start from **New**. > 5. Select **Create an OAuth API endpoint for external clients**. On Yokohama, this option has the prefix **\[Deprecated UI]**. The classic form is the correct path for these releases. > 6. Set **Name** to `Strix`. Leave **Client Secret** and **Redirect URL** empty. ServiceNow generates the secret. Do not add an auth scope. Click **Submit**. > 7. Open the saved record. If the form does not show the **OAuth Application User** field, right-click the form header and select **Configure → Form Layout**, then add the field. > 8. Set **OAuth Application User** to the user from step 2. Click **Update**. > 9. Copy the **Client ID**. Click the padlock on **Client Secret** and copy the secret. The Client Credentials grant is a machine-to-machine flow. It does not use a redirect URL, a login URL, or a refresh token. Every request that Strix makes runs as the OAuth application user, so that user's roles control the access. ### Option B: Create an integration user Use this option if your instance does not support the Client Credentials grant. 1. Create a user. The **Create a user** link in the Strix dialog opens a prefilled form. If you open `sys_user.do?sys_id=-1` yourself, enter a **User ID**, for example `strix-integration`, a **First name**, and a **Last name**. On Zurich or later, set **Identity type** to **Machine**. On earlier releases, select **Web service access only**. Click **Set Password**, generate a password, and copy it. Right-click the form header and click **Save**, not **Submit**, so the record stays open. 2. In the **Roles** list at the bottom of the saved user, click **Edit…**, add `itil`, and click **Save**. ## Setup 1. In Strix, go to **Settings → Integrations** and click **Connect** on the ServiceNow card. You must be an organization admin, and your plan must include ticketing integrations. 2. Enter the instance URL or hostname, for example `acme.service-now.com`. Strix uses HTTPS. The setup links below the authentication choice open in your instance after you enter the URL. 3. Under **Authentication**, select **OAuth client** or **Username and password**. The default is **OAuth client**. 4. Enter the client ID and the client secret, or the username and the password. 5. Select the **record type**. **Incident** creates ITSM incidents on the `incident` table. **Task** creates generic work items on the `task` table. The default is **Incident**. If you select **Task**, Strix shows the ACL steps from [Use the Task record type](#use-the-task-record-type). Click **Connect**. 6. Strix verifies the credentials before it stores them. For an OAuth client, Strix first requests a token from `/oauth_token.do`. Then Strix reads the selected record table and the `sys_user_group` table. If the verification fails, Strix shows the reason and does not store the credentials. 7. In Strix, select a **default assignment group** as the export destination. You can also enable **auto-sync** with a minimum severity. Auto-sync exports new findings automatically. You can also connect through the API. With an OAuth client: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/integrations/servicenow/connect" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "instance_url": "https://acme.service-now.com", "auth_method": "oauth_client_credentials", "client_id": "", "client_secret": "", "record_type": "incident" }' ``` With an integration user: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/integrations/servicenow/connect" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "instance_url": "https://acme.service-now.com", "auth_method": "basic", "username": "strix-integration", "password": "", "record_type": "incident" }' ``` **Required scope:** `integrations:write` The `auth_method` field is optional. Permitted values are `oauth_client_credentials` and `basic`. If you omit `auth_method`, Strix uses `basic` when the body has `username` and no `client_id`. In all other cases Strix uses `oauth_client_credentials`. The `record_type` field is optional. Permitted values are `incident` and `task`. The default is `incident`. If you connect the same organization to a different instance URL, Strix clears the default assignment group and the links between vulnerabilities and records. If you connect with a different record type, Strix clears the links between vulnerabilities and records but keeps the default assignment group. If you only change the credentials or the authentication method for the same instance, Strix keeps the settings and the links. To change the authentication method, connect again. ### Change the record type You can change the record type after you connect. In Strix, open the ServiceNow card and click **Settings**. Under **Record type**, select **Incident** or **Task**. Strix saves the change immediately. Record identifiers are specific to one table. When you change the record type, Strix removes the links between vulnerabilities and the existing records. Strix does not delete the records in ServiceNow. The next export creates a new record on the selected table. ### Use the Task record type Most ServiceNow integrations create Incident records. Incident is the table that every ITSM instance has, with assignment groups, SLAs, and workflows in place. Strix uses Incident as the default for that reason. Select **Task** if your team tracks security work as generic tasks. On a standard instance, the `itil` role can create Incident records but cannot create records on the base `task` table. ServiceNow rejects the insert with `ACL Exception Insert Failed due to security constraints`. A ServiceNow admin must add one create ACL. This is a one-time step. 1. In ServiceNow, open your profile menu and click **Elevate role**. Select **security_admin** and click **OK**. 2. In Strix, select **Task** as the record type and click **Open the prefilled ACL form**. The link opens `sys_security_acl.do` in your instance with **Type** set to `record`, **Operation** set to `create`, and **Name** set to `task`. Check the three values. You can also open **System Security → Access Control (ACL)**, click **New**, and enter those three values. 3. Right-click the form header and click **Save**. 4. Under **Requires role**, click **Edit…**, add `itil`, and click **Save**. After the ACL exists, Strix can create Task records with the same identity. Until then, an export to the `task` table fails with a message that names the missing ACL. Incident records need no extra step. ### Troubleshooting the OAuth connection | Message from Strix | Cause | Action | | - | - | - | | ServiceNow returned access_denied for this OAuth client | ServiceNow returns the same error for a wrong client ID or secret, for a disabled Client Credentials grant, and for a missing OAuth application user | Set `glide.oauth.inbound.client.credential.grant_type.enabled` to `true`, set the OAuth application user on the record, and copy the values again | | ServiceNow did not issue a token for this OAuth client | The Client Credentials grant is not enabled, or the record has no OAuth Application User | Do step 1 and step 6 or step 8 of Option A | | The OAuth Application User cannot read incident records or assignment groups | The service account does not have the `itil` role, or the OAuth record limits access to selected auth scopes. ServiceNow returns HTTP 200 with an empty `result` array in this case, and `X-Total-Count` shows the hidden rows | Give the service account the `itil` role. Clear **Allow access only to APIs in selected scope** and remove auth scopes | | ServiceNow denied creating a Task record | The base `task` table has no create ACL for the `itil` role | Add the ACL from [Use the Task record type](#use-the-task-record-type), or select **Incident** as the record type | | Message from ServiceNow | Cause | Action | | - | - | - | | `Invalid insert` on the OAuth form | The record was opened directly instead of through **New** | Open **Application Registry**, click **New**, and select the flow for your release | | **OAuth application user** shows no results | The service account has no first name or last name | Add a first name and a last name to the user | | `Access to unscoped api is not allowed` | The OAuth record limits access to selected auth scopes | Clear **Allow access only to APIs in selected scope** and remove auth scopes | | `ACL Exception Insert Failed due to security constraints` | The identity has no create ACL on the selected table. With the `itil` role, this happens on the `task` table | Add the ACL from [Use the Task record type](#use-the-task-record-type), or select **Incident** | ## What data flows where **Strix → ServiceNow** (when you export a vulnerability manually, or when auto-sync exports it): * `short_description`: the vulnerability title, cut to 160 characters. * `description`: severity, CVSS and CVE (when present), target, endpoint or affected file, impact, technical analysis, evidence, suggested fix or remediation steps, proof of concept, and a link back to the issue in Strix. Strix converts the Markdown to plain text. * `impact` and `urgency` mapped from severity. ServiceNow derives the record priority from these two fields. * `assignment_group`: the selected assignment group. * `due_date` when an issue is snoozed. * `state` when the Strix status changes. For `task` records, Strix maps Open to Open, In Progress to Work in Progress, On Hold to Pending, and Closed to Closed Complete. For `incident` records, Strix maps Open to New, In Progress to In Progress, On Hold to On Hold, and Closed to Resolved. * Work notes (for example, "marked In Progress by …") when the Strix status changes. **ServiceNow → Strix** (scheduled, every 5 minutes): ServiceNow does not offer an API that lets a third party subscribe to record changes. Strix therefore reads the state of the linked records with the credentials that you already provided. This is the same model that Vanta and Drata use. You do not need a Business Rule, an Outbound REST Message, or a Store app. * Strix reads only the records that it created. Strix requests the `sys_id`, `number`, `state`, `due_date`, `sys_updated_by`, and `sys_updated_on` fields. * Strix maps the ServiceNow state to the Strix issue status. For `incident` records, Resolved, Closed, and Canceled mark the issue **fixed**. In Progress marks the issue **in progress**. New reopens a fixed issue. For `task` records, Closed Complete, Closed Incomplete, and Closed Skipped mark the issue **fixed**. Work in Progress marks the issue **in progress**. Open reopens a fixed issue. * On Hold (`incident`) and Pending (`task`) snooze the issue until the `due_date` of the record. Without a future `due_date`, Strix leaves the issue unchanged. * A change in ServiceNow appears in Strix within about 5 minutes. The sync is not realtime. * Strix does not overwrite an issue that you marked **ignored** or **not affected** in Strix when the record is closed in ServiceNow. * Strix adds a note to the issue, for example "Updated from ServiceNow — ticket INC0010005 by admin". * When ServiceNow no longer returns a record, for example after a deletion, Strix leaves the issue unchanged. * When ServiceNow rejects the credentials, Strix sets the integration to **reconnect required** and stops the sync until an admin reconnects. Strix does not read comments, attachments, or user directories. ## Security * **Admin-gated**: The connect endpoint requires an authenticated Strix org admin. * **Credential verification**: Strix verifies the credentials against your instance before it stores them. * **Encrypted storage**: Strix encrypts the client secret or the password with AES-256-GCM before it writes it to the database. The browser and other tenants cannot read it. The API does not return the client secret or the password. * **Short-lived tokens**: With an OAuth client, Strix keeps the bearer token in memory only for its lifetime, 30 minutes by default. Strix requests a new token when the token expires or when ServiceNow rejects it. * **Outbound request protection**: Strix resolves the instance host and blocks requests to private network addresses. * **Audit trail**: The Strix audit log records the connection of the integration and the changes to the settings. ## Disconnecting An org admin can disconnect ServiceNow at any time from **Settings → Integrations**, or through the API: ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/integrations/servicenow" \ -H "Authorization: Bearer " ``` **Required scope:** `integrations:write` The disconnect operation removes the stored credentials. Strix does not delete the records that it already created in ServiceNow. If you no longer need them, deactivate the application registry record or the integration user in ServiceNow. # Slack Integration Source: https://docs.app.strix.ai/guides/slack-integration Connect Strix to Slack for vulnerability alerts, chat with the Strix agent, thread discussions, and status updates ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) Strix connects to Slack to post vulnerability alerts and scan updates into a channel that you select. Strix also shows the Slack discussion thread in the Strix dashboard. Your team can update the status of an issue directly from Slack. Members can also mention `@Strix` or send it a direct message to chat with the Strix agent. This page describes the setup, chat in Slack, the bot scopes that Strix requests, the data that Strix and Slack exchange, and the disconnect procedure. ## Overview | | | | - | - | | Integration type | Slack app installed through standard OAuth 2.0 (bot token) | | Direction | Bidirectional. Strix posts messages. Status changes made in Slack come back to Strix | | Who can connect | Strix organization **admins** only | | Where it posts | One default channel that an admin selects (public or private) | | Default behavior | Sends notifications for **critical** and **high** findings only. Scan-complete and status-change notifications are off until you enable them | ## Setup 1. In Strix, go to **Settings → Integrations** and click **Connect** on the Slack card. You must be an organization admin. 2. Approve the app on the standard Slack consent screen. Slack redirects back to `https://app.strix.ai/api/integrations/slack/callback`. There, Strix stores the bot token for your workspace. 3. Select a **default channel** for notifications. The bot joins public channels automatically. For a private channel, first invite `@Strix` to the channel, then select it. 4. If necessary, change the notification settings: the severities that create alerts (`critical`, `high`, `medium`, `low`), and the notifications for scan completion and issue status changes. ## Chat with Strix in Slack Members can ask the Strix agent questions from Slack. Mention `@Strix` in a channel, or send `@Strix` a direct message. For example: ```text theme={null} @Strix am I affected by CVE-2025-29927? @Strix what are our open critical findings? @Strix summarize the last pentest on app.example.com ``` Strix does not answer in channels shared with other organizations, so use a DM or an internal channel; answers to messages sent from the dashboard stay in the dashboard. Strix replies in a thread below your message. Each reply in that thread continues the same chat. In a channel, mention `@Strix` in each reply. In a direct message, you do not need to mention `@Strix`. The agent and the tools are the same as in [Chat](/guides/chat). Each Slack reply also has a link to open the chat in the dashboard. You can also tag `@Strix` in a thread about a news post or link. Strix reads the earlier messages in that thread, including shared post text and links. Strix adds an eyes reaction and a `Working on it…` status message while it checks. The status updates as the agent works and changes to a final result when the turn ends. If your Slack workspace supports agents, Strix also shows a live plan of its steps and a Stop button. An admin can reconnect Slack once to enable these features. ### Who can chat Strix compares the email address of your Slack profile with the members of the Strix organization. If Strix finds a match, the agent acts as that member. Your role and your asset scopes apply, the same as in the dashboard. If Strix does not find a match, the bot replies with a link to the members page. An admin must invite you to Strix first. The agent never acts as the admin who installed the Slack app. When a different member writes in a thread, the agent continues the chat as that member. If that member cannot see the chat, the bot asks the member to start a new thread. If one Slack workspace connects to more than one Strix organization, Strix cannot select the organization. Use the dashboard to chat in that case. ### What you can ask You can ask Strix anything you can ask in [Chat](/guides/chat). Strix can use every repository, domain, scan, and finding you can access. ### Approvals and cards When a repository has auto-fix PRs enabled, Strix opens an eligible fix PR automatically. Otherwise, Strix posts **Approve** and **Deny** buttons in Slack. A workspace member who can access the chat and has permission to perform the action can decide. Domain verification and other cards still require the dashboard. ### Credits for Slack chats Each organization gets 10 free Slack chats each calendar month (UTC). A free chat does not consume credits for any of its messages. After the free chats, Slack chats use credits the same as dashboard chats. See [Credits](/guides/chat#credits). If the wallet has no credits, the bot replies with the reason and a link to billing. ### Turn chat on or off Chat in Slack is on by default. An organization admin can turn it off: 1. In **Integrations**, click **Configure** for Slack. 2. Turn off **Chat with Strix in Slack**. ### Reconnect for chat permissions Chat needs more Slack permissions than notifications. If you connected Slack before chat was available, the Slack settings page shows **Reconnect Slack to allow chat.** An admin must reconnect Slack to approve the new scopes. Until then, the bot replies with a link to the Slack settings page. ## Remediation deadlines Organization admins can set remediation deadlines on the **Slack settings** page. In **Integrations**, click **Configure** for Slack. Strix measures each deadline in days from first detection. | Severity | Default deadline | | - | - | | Critical | 30 days | | High | 30 days | | Medium | 60 days | | Low | 90 days | Enter a whole number from 1 to 3650 in each field. Press Enter or move focus to save the value. Critical and High have separate fields. You can change either deadline independently. For a 30/30/90/180-day policy: 1. Keep **Critical** at 30. 2. Keep **High** at 30. 3. Set **Medium** to 90. 4. Set **Low** to 180. The saved deadlines apply to existing and new issues in both Slack and email reminders. Enable **SLA reminders** to receive Slack digests. Existing organizations keep the default deadlines until an admin changes them. You can also configure the deadlines through the API: ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/settings/notifications" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"sla_critical_days":30,"sla_high_days":30,"sla_medium_days":90,"sla_low_days":180}' ``` **Required scope:** `organizations:write`. The token must have an organization admin role. The API accepts partial updates. Omitted settings keep their current values. Changing the deadlines does not enable reminders or change notification channels. ## Bot scopes requested | Scope | Why Strix needs it | | - | - | | `channels:read`, `groups:read` | List public and private channels so that an admin can select the default channel | | `channels:join` | Join the selected public channel automatically so that Strix can post | | `chat:write`, `chat:write.public` | Post vulnerability alerts and scan updates | | `channels:history`, `groups:history` | Read replies in Strix-created threads and up to 20 earlier messages in a thread where someone mentions `@Strix` | | `reactions:write` | Add and update the status reaction while Strix works | | `users:read` | Get the display names and avatars of users who replied in a Strix thread | | `app_mentions:read` | Receive the messages that mention `@Strix`, to start or continue a chat | | `im:history`, `im:read`, `im:write` | Receive and answer direct messages to `@Strix` | | `users:read.email` | Match the Slack user who sends a chat message to a Strix member | | `commands` | Support Slack interactions (for example, an update of the status of an issue from the message) | To enable approval buttons, open **Slack app settings → Interactivity & Shortcuts**, turn on interactivity, and set the Request URL to `https://app.strix.ai/api/webhooks/slack/interactions`. The bot reads message threads that it started, up to 20 earlier messages in a thread where someone mentions `@Strix`, and direct messages that members send to `@Strix`. It does not read other channel history, other direct messages, or files. ## What data flows where **Strix → Slack**: * New-finding alerts (for the severities that you enabled): the finding title, severity, target, and a link to the issue in Strix. Strix posts them to the default channel. * Optional scan-complete and issue status-change notifications. * Chat replies from the Strix agent, in the thread of the message that started the chat. **Slack → Strix**: * Chat messages that mention `@Strix` or that members send to `@Strix` directly. In a channel, Strix receives only the messages that mention `@Strix`. Strix receives the message text, the channel, and the Slack user ID. Strix reads the email address of the sender to find the Strix member. * The Strix dashboard shows the replies in a Strix-created thread (message text, author name, avatar) adjacent to the issue. * Status updates from Slack (for example, when a user sets an issue to in progress, resolved, or snoozed) update the linked vulnerability in Strix. Strix records the ID of the Slack user who made the change. ## Security * **Admin-gated**: The install and callback endpoints require an authenticated Strix org admin. Only admins can change the notification settings. * **CSRF-protected OAuth**: The OAuth `state` is HMAC-signed and bound to the initiating organization and user. It expires after 10 minutes. * **Token storage**: Strix keeps the bot token server-side in its database. The token applies only to your organization. The browser and other tenants cannot see it. * **Tenant isolation**: Strix compares each inbound status update from Slack with the team ID of the workspace. Strix applies the update only to the issues of the organization that is linked to that workspace. Strix also checks each thread read against the organization of the requesting user. * **Private channels are opt-in**: Strix does not join private channels itself. A workspace member must invite `@Strix` explicitly. * **Audit trail**: The Strix audit log records the changes to the settings. ## Disconnecting An org admin can disconnect Slack at any time from **Settings → Integrations**, or through the API: ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/integrations/slack" \ -H "Authorization: Bearer " ``` **Required scope:** `integrations:write` The disconnect operation deletes the stored bot token and removes all Slack thread links from Strix issues. To remove the app fully from your workspace, a Slack workspace admin can also remove it in **Slack → Manage apps**. # Static IP addresses Source: https://docs.app.strix.ai/guides/static-ips Find the source IP addresses for Strix Cloud web app pentests. ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) By default, Strix Cloud sends traffic for external web app pentests from these static IPv4 addresses: ```text theme={null} 34.224.228.174 35.169.55.89 52.55.8.123 54.85.125.124 54.163.174.69 ``` If your firewall restricts access to the target, add all five addresses to its allowlist before you start the pentest. You can also find this list under **Static IPs** when you set up an external web app pentest in the dashboard. These addresses do not apply to self-hosted Strix or to organizations that do not use static IP routing. # Test Users Source: https://docs.app.strix.ai/guides/test-users Manage authenticated test users and inboxes for a domain ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) With test users, Strix can log in to your application during a pentest. Each test user belongs to a domain. A test user can also have an MFA configuration and a Strix-managed inbox for email-OTP and magic-link flows. To find which method a login needs, or why a login failed, refer to [Login Methods](/guides/login-methods). ## List test users ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/domains//test-users" \ -H "Authorization: Bearer " ``` **Required scope:** `test_users:read` ## Create a test user ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/domains//test-users" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "label": "Standard user", "username": "tester@example.com", "password": "", "login_url": "https://app.example.com/login" }' ``` Strix stores passwords and TOTP secrets in encrypted form. Strix does not return them in responses. ### MFA Set `mfa_method` to `totp`, `email_otp`, or `magic_link`: * `totp` requires `totp_secret`. * `email_otp` and `magic_link` require `mfa_email`. This must be a Strix-managed inbox address (refer to the section below). The only accepted values are `none`, `totp`, `email_otp`, and `magic_link`. Any other value is rejected with `422`; it is never silently treated as no MFA. **Required scope:** `test_users:write` ## Update a test user This is a partial update. Only the fields that you send change: ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/domains//test-users/" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"notes": "Rotated password 2026-06"}' ``` **Required scope:** `test_users:write` ## Delete a test user ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/domains//test-users/" \ -H "Authorization: Bearer " ``` **Required scope:** `test_users:write` ## Provision a managed inbox Create a Strix-managed inbox address to receive MFA emails for a test user: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/domains//test-users/provision-inbox" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"label": "otp-inbox"}' ``` Use the returned address as `mfa_email` when you create or update a test user. **Required scope:** `test_users:write` ## Verify a test user's login Start a short verification to make sure that Strix can sign in with the stored credentials. The verification usually takes one or two minutes. It runs in the same sandbox that a scan uses. You must first verify that you are the owner of the domain. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/domains//test-users//verify" \ -H "Authorization: Bearer " ``` Strix uses a recent result again. To do the verification one more time after you change the credentials, add `?force=1`. **Required scope:** `test_users:write` Get the result: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/domains//test-users//verify" \ -H "Authorization: Bearer " ``` The `status` field is `pending`, `running`, `succeeded`, or `failed`. A failed verification also gives a `failure_code` field and a short `detail` field. Strix removes all secrets from the `detail` field. These are the possible values of `failure_code`: `invalid_credentials`, `login_page_not_found`, `mfa_required_not_configured`, `mfa_code_unavailable`, `account_locked`, `target_unreachable`, `bot_protection`, and `other`. **Required scope:** `test_users:read` ## Read a test user's inbox ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/domains//test-users//inbox?limit=25" \ -H "Authorization: Bearer " ``` Read a single message by id: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/domains//test-users//inbox/" \ -H "Authorization: Bearer " ``` **Required scope:** `test_users:read` # Uploads Source: https://docs.app.strix.ai/guides/uploads Upload local repositories and documentation for whitebox scans ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) With uploads, you can run whitebox pentests on code or documentation that is not connected through an SCM integration. You can let the CLI select and package a local working tree, or use the three upload API calls directly. ## Start a scan from local source Review exactly what the CLI would send before uploading anything: ```bash theme={null} strix cloud scans start --source . --dry-run --show-files --json ``` The dry run builds the same bounded ZIP locally and prints its manifest, selected paths, exclusion counts, compressed size, and SHA-256 digest. It neither uploads the archive nor starts a scan. For an agent or CI workflow, capture `source.archive_sha256` after reviewing the manifest, then approve that exact source snapshot: ```bash theme={null} SOURCE_SHA256="" strix cloud scans start --source . --approve-sha256 "$SOURCE_SHA256" --wait ``` Repeat the same `--source`, every `--exclude`, and all `--include-*` selection flags. The CLI rebuilds the archive and rejects the upload if the source or selection flags produce a different digest. Non-interactive and JSON runs never prompt; they accept either a matching `--approve-sha256` or deliberate one-shot `--yes`. The latter approves only the archive built in that invocation and is best suited to a human or one-shot workflow, not a digest-bound agent handoff. In an interactive terminal, omitting both approval flags shows the source summary and asks `Upload this source and start the scan? [y/N]` for the current snapshot. ### Default privacy filters The CLI includes only regular files and respects Git ignores when the source is in a Git worktree. It excludes these by default: * version-control metadata such as `.git`, `.hg`, and `.svn`, plus symlinks and non-files * hidden files and directories * dependency, cache, coverage, and build directories such as `node_modules`, `vendor`, `venv`, `.venv`, `env`, `__pycache__`, `.tox`, `.pytest_cache`, `.mypy_cache`, `.ruff_cache`, `dist`, `build`, `coverage`, `target`, `.next`, `.nuxt`, and `.gradle` * secret-like filenames such as `.env`, private keys, `.git-credentials`, application-default credentials, and service-account files * common cloud, container, and cluster credential paths such as `.aws/credentials`, `.docker/config.json`, `.config/gcloud/credentials.db`, `.azure/accesstokens.json`, and `.kube/config` * nested archives * patterns in `.strixignore` and every repeated `--exclude GLOB` Use `--include-hidden`, `--include-sensitive`, or `--include-archives` only after reviewing a dry run. These approvals are independent: a hidden secret-like file such as `.env` needs both `--include-hidden` and `--include-sensitive`. Version-control metadata, symlinks, and dependency/build output remain excluded. `.strixignore` is exclusion-only and does not support negated `!` patterns. The CLI refuses a selection above 20,000 files, 25 MiB for any file, 250 MiB expanded in total, or 50 MiB for the compressed archive. It opens selected files without following symlinks and rejects replacements, appends, truncation, or metadata changes between selection and the completed archive read. The platform validates repository ZIPs again while streaming and inflating them. It rejects malformed or empty ZIPs, absolute or parent-traversal paths, more than 20,000 files, entries over 25 MiB, more than 250 MiB expanded, or more than 100 MiB compressed. A rejected upload cannot be attached to a scan and is removed immediately or by cleanup. ### Scan type and credits When `--engagement-type` is omitted, local source by itself infers `code_review`. Local source plus a domain infers `live_test`. An explicit engagement type takes precedence. An upload is scan input, not a free scan. On a self-serve plan, a scan consumes its normal scope estimate. Enterprise scans follow the Enterprise contract. A request rejected before launch does not consume credits, and the CLI makes a best-effort deletion of the staged upload when scan creation fails. See [Billing and credits](/guides/billing). ### Cleanup and ambiguous launches The CLI always removes its private temporary local archive. After a remote upload is staged, a definitive scan rejection causes the CLI to delete it. A network failure, `5xx` response, malformed success response, or interruption after launch begins is ambiguous because the platform may already have accepted the scan. In that case the CLI retains the upload and returns its `upload_id` with `launch_outcome_unknown: true`. If cleanup itself cannot be confirmed, it returns the retained ID with `cleanup_unknown: true`. Check `strix cloud scans list` before retrying an ambiguous launch. If no scan uses the upload, remove it with `strix cloud uploads delete `. ## Upload through the API The direct API procedure has three steps: request a signed URL, upload the file directly to storage, and finalize the upload. Finalizing stores an upload for later use; start a scan with its ID in `upload_ids` to analyze it. ## 1. Request a signed upload URL ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/uploads/request" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "file_name": "service.zip", "file_size": 1048576, "category": "repository" }' ``` The response contains an `upload_id`, `signed_url`, and upload `token`. Send the file to `signed_url` with `PUT`. Treat the short-lived upload token as a secret and do not log it. The `category` field is optional (`repository`, `documentation`, or `application`). If you set `repository`, the file must be a ZIP code archive. If you set `application`, the file must be a Linux build of an Electron app. Refer to [Desktop app pentests](/guides/desktop-apps). If you omit the category, Strix selects it from the filename. **Required scope:** `uploads:write` ## 2. Upload the file Send the raw file bytes to the signed URL with `PUT`: ```bash theme={null} curl -X PUT "" \ -H "Authorization: Bearer " \ -H "Content-Type: application/zip" \ --upload-file service.zip ``` ## 3. Finalize the upload ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/uploads/complete" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"upload_id": ""}' ``` **Required scope:** `uploads:write` The completed upload is not scanned automatically. Pass its ID as `upload_ids` when you create a scan. Delete unused uploads rather than leaving source artifacts attached to the workspace. ## Delete an upload With the CLI: ```bash theme={null} strix cloud uploads delete ``` Or call the API directly: ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/uploads/" \ -H "Authorization: Bearer " ``` **Required scope:** `uploads:write` # Vulnerabilities Source: https://docs.app.strix.ai/guides/vulnerabilities List, inspect, and update vulnerability findings ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) ## List vulnerabilities Get vulnerabilities from all pentests with filters and pagination. ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/vulnerabilities" \ -H "Authorization: Bearer " ``` **Required scope:** `vulnerabilities:read` ## Get vulnerability detail ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/vulnerabilities/" \ -H "Authorization: Bearer " ``` **Required scope:** `vulnerabilities:read` ## Get details of many vulnerabilities Use this endpoint to read the full details of up to 100 findings in one request. Each finding has the same fields as the single vulnerability detail. ```bash theme={null} curl -G "https://app.strix.ai/api/v1/vulnerabilities/batch" \ -H "Authorization: Bearer " \ --data-urlencode "ids=," ``` You can also repeat the parameter: `ids=&ids=`. The `data` array keeps the order of `ids`. Ids that do not exist, or that your token cannot see, are in `not_found`. To read dependency findings, your token also needs the `dependencies:read` scope. To read container image findings, it also needs the `containers:read` scope. **Required scope:** `vulnerabilities:read` ## Inspect captured HTTP evidence Retrieve the ordered requests and responses linked to a finding: ```bash theme={null} curl "https://app.strix.ai/api/v1/vulnerabilities//http-exchanges?include_content=true" \ -H "Authorization: Bearer " ``` **Required scope:** `vulnerabilities:read`. Organization and asset access restrictions also apply. The `exchanges` array contains up to ten references in evidence order. Each entry includes `run_id`, `request_id`, `ordinal`, `lookup_state`, and request metadata. With `include_content=true`, an archived entry has `state: "archived"` and an `exchange` object containing `raw_request`, `raw_response`, `request_truncated`, and `response_truncated`. | State | Meaning | | - | - | | `archived` | The captured request and response are available in `exchange`. | | `unarchived` | Request metadata exists, but the raw exchange was not stored or has expired. | | `not_found` | The linked request is no longer available. | | `unavailable` | The traffic or archive service could not be reached. Retry later. | Omit `include_content=true` to retrieve references and metadata only. Findings with no captured HTTP evidence, including static-only findings and older findings without links, return an empty array. Links identify captured exchanges; the API does not reconstruct missing traffic from the report text. In the dashboard, open an issue's **Reproduction** tab and select **Captured HTTP**. Exported tickets link to the same authenticated section. Request and response bodies are untrusted target content and may contain credentials or personal data; handle downloaded evidence accordingly. ## Get screenshot evidence Some findings carry screenshots of the browser. The agent attaches a screenshot only when the image proves something that the text and the captured HTTP do not, for example: * A payload that renders as a dialog * The data of another user on a page * An admin page that the agent reached after a bypass Most findings have no screenshots. List the screenshots of a finding: ```bash theme={null} curl "https://app.strix.ai/api/v1/vulnerabilities//screenshots" \ -H "Authorization: Bearer " ``` **Required scope:** `vulnerabilities:read`. Organization and asset access restrictions also apply. The `screenshots` array contains up to five entries in evidence order. Each entry includes `ordinal`, `content_type` (`image/png` or `image/jpeg`), `bytes`, `width`, `height`, `caption`, and `url`. A finding with no screenshots returns an empty array. Download one image with its `ordinal`: ```bash theme={null} curl "https://app.strix.ai/api/v1/vulnerabilities//screenshots/0" \ -H "Authorization: Bearer " \ --output screenshot-0.png ``` The response body is the image. The `Content-Type` header gives the image type. A screenshot shows target content and can contain personal data. Handle downloaded evidence accordingly. In the dashboard, screenshots appear in the **Evidence** section of an issue. Shared issue links show the same screenshots. ## Update vulnerability status Set the status of a finding to in-progress or fixed, or add notes for remediation tracking: ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/vulnerabilities/" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"status":"in_progress","note":"Linked to remediation ticket"}' ``` **Required scope:** `vulnerabilities:write` ### Status values | Status | Description | | - | - | | `open` | New finding, remediation not started | | `in_progress` | Remediation is in progress | | `snoozed` | Temporarily deferred until its snooze deadline | | `fixed` | Remediation is complete | | `ignored` | Known finding, risk accepted | | `not_affected` | Reviewed and determined not applicable to this asset | ## Update many vulnerabilities at once Set the status or the severity of up to 100 findings in one request. Send a `status`, a `severity`, or both: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/vulnerabilities/bulk-update" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"vulnerability_ids":["",""],"status":"open","note":"Reopened after the fix was reverted"}' ``` **Required scope:** `vulnerabilities:write` Strix applies the change to each finding independently. The response lists a result for each id, so one finding that is not found or not in scope does not stop the others. A finding that already has the requested value counts as a success. If `status` is `snoozed`, also send `snoozed_until` with a future date. ## Retest a vulnerability Run validation again for one finding. This shows if the finding is still exploitable: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/vulnerabilities//retest" \ -H "Authorization: Bearer " ``` **Required scope:** `scans:write` ## Create a fix pull request Create a pull request that contains an AI-generated remediation for the finding: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/vulnerabilities//create-fix-pr" \ -H "Authorization: Bearer " ``` **Required scope:** `vulnerabilities:write` ## Get vulnerability history Get the lifecycle audit trail for a finding, including status, severity, snooze, note, and reason changes. Retest runs are not included: ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/vulnerabilities//history" \ -H "Authorization: Bearer " ``` **Required scope:** `vulnerabilities:read` # Webhooks Source: https://docs.app.strix.ai/guides/webhooks Subscribe to pentest and vulnerability lifecycle events ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) ## Overview Webhooks send events to your endpoint when the events occur. Use webhooks to start remediation workflows, update dashboards, or send alerts to your team. ## Events | Event | Description | | - | - | | `scan.created` | A new pentest started | | `scan.completed` | A pentest completed successfully | | `scan.failed` | A pentest failed during execution | | `scan.cancelled` | A pentest was cancelled | | `vulnerability.created` | A new vulnerability was found | | `vulnerability.deleted` | Strix deleted a vulnerability from a scan | | `vulnerability.status_changed` | The status of a vulnerability changed | | `vulnerability.severity_changed` | The severity of a vulnerability changed, with an override reason | | `*` | Subscribe to all events | ## Payload format Every delivery is a `POST` with a stable JSON envelope. The `data` object is different for each event. The sections below give the payload for each event. | Field | Type | Description | | - | - | - | | `id` | uuid | Unique delivery id. Also sent as `X-Strix-Delivery`. | | `event` | string | Webhook event type, such as `scan.completed`. | | `created_at` | ISO 8601 timestamp | Time the delivery was created. | | `data` | object | Event-specific payload. | ### scan.created A pentest was created and queued. | Field | Type | Description | | - | - | - | | `scan_id` | string | Scan id | | `organization_id` | string | Organization that owns the scan | | `status` | string | Current scan status | | `title` | string \| null | Scan title | | `created_at` | ISO 8601 timestamp | Scan creation time | ```json theme={null} { "id": "delivery_123", "event": "scan.created", "created_at": "2026-05-19T04:30:00.000Z", "data": { "scan_id": "scan_123", "organization_id": "org_123", "status": "pending", "title": "Production API pentest", "created_at": "2026-05-19T04:30:00.000Z" } } ``` ### scan.completed, scan.failed, scan.cancelled The status of a pentest changed. The three events have the same payload shape. The `status` field is `completed`, `failed`, or `cancelled`. | Field | Type | Description | | - | - | - | | `scan_id` | string | Scan id | | `organization_id` | string | Organization that owns the scan | | `status` | string | New scan status | | `previous_status` | string \| null | Previous scan status | | `title` | string \| null | Scan title | | `schedule_id` | string \| null | Schedule that launched the scan, when applicable | | `updated_at` | ISO 8601 timestamp | Time the status change was observed | ```json theme={null} { "id": "delivery_123", "event": "scan.completed", "created_at": "2026-05-19T05:12:00.000Z", "data": { "scan_id": "scan_123", "organization_id": "org_123", "status": "completed", "previous_status": "running", "title": "Production API pentest", "schedule_id": "schedule_123", "updated_at": "2026-05-19T05:12:00.000Z" } } ``` ### vulnerability.created A vulnerability was created for a pentest. | Field | Type | Description | | - | - | - | | `vulnerability_id` | string | Vulnerability id | | `organization_id` | string | Organization that owns the vulnerability | | `scan_id` | string | Scan that found the vulnerability | | `title` | string | Vulnerability title | | `severity` | `critical` \| `high` \| `medium` \| `low` | Current severity | | `status` | string | Current vulnerability status | | `created_at` | ISO 8601 timestamp | Vulnerability creation time | ```json theme={null} { "id": "delivery_123", "event": "vulnerability.created", "created_at": "2026-05-19T05:08:00.000Z", "data": { "vulnerability_id": "vuln_123", "organization_id": "org_123", "scan_id": "scan_123", "title": "Unauthenticated account export", "severity": "high", "status": "open", "created_at": "2026-05-19T05:08:00.000Z" } } ``` ### vulnerability.deleted Strix sends this event when it deletes a vulnerability from a scan. For example, an agent can withdraw a vulnerability, or Strix can delete findings when it retries or deletes a scan. Use `vulnerability_id` to find and update the corresponding record in your system. The event does not include a withdrawal reason or a replacement vulnerability ID. Strix does not send this event for retest results linked to an existing vulnerability. | Field | Type | Description | | - | - | - | | `vulnerability_id` | string | ID of the deleted vulnerability | | `organization_id` | string | Organization that owned the vulnerability | | `scan_id` | string | Scan that found the vulnerability | | `title` | string | Vulnerability title | | `severity` | `critical` \| `high` \| `medium` \| `low` | Severity before deletion | | `status` | string | Status before deletion | | `deleted_at` | ISO 8601 timestamp | Time when Strix deleted the vulnerability | ```json theme={null} { "id": "delivery_456", "event": "vulnerability.deleted", "created_at": "2026-05-19T05:12:00.000Z", "data": { "vulnerability_id": "vuln_123", "organization_id": "org_123", "scan_id": "scan_123", "title": "Unauthenticated account export", "severity": "high", "status": "open", "deleted_at": "2026-05-19T05:12:00.000Z" } } ``` ### vulnerability.status_changed The status of a vulnerability changed. | Field | Type | Description | | - | - | - | | `vulnerability_id` | string | Vulnerability id | | `organization_id` | string | Organization that owns the vulnerability | | `scan_id` | string \| null | Related scan, when present | | `pr_review_id` | string \| null | Related PR review, when present | | `status` | string | New vulnerability status | | `previous_status` | string \| null | Previous vulnerability status | | `status_changed_at` | ISO 8601 timestamp \| null | Status change time | | `status_changed_by` | string \| null | Actor that changed the status | | `updated_at` | ISO 8601 timestamp | Time the webhook event was created | ```json theme={null} { "id": "delivery_123", "event": "vulnerability.status_changed", "created_at": "2026-05-19T06:45:00.000Z", "data": { "vulnerability_id": "vuln_123", "organization_id": "org_123", "scan_id": "scan_123", "pr_review_id": null, "status": "fixed", "previous_status": "open", "status_changed_at": "2026-05-19T06:45:00.000Z", "status_changed_by": "user@example.com", "updated_at": "2026-05-19T06:45:00.000Z" } } ``` ### vulnerability.severity_changed The severity of a vulnerability changed, with an override reason. | Field | Type | Description | | - | - | - | | `vulnerability_id` | string | Vulnerability id | | `organization_id` | string | Organization that owns the vulnerability | | `scan_id` | string \| null | Related scan, when present | | `pr_review_id` | string \| null | Related PR review, when present | | `severity` | `critical` \| `high` \| `medium` \| `low` | New severity | | `previous_severity` | `critical` \| `high` \| `medium` \| `low` \| null | Previous severity | | `original_severity` | `critical` \| `high` \| `medium` \| `low` \| null | Original severity before overrides | | `severity_changed_at` | ISO 8601 timestamp \| null | Severity change time | | `severity_changed_by` | string \| null | Actor that changed the severity | | `severity_override_reason` | string \| null | Reason supplied for the change | | `updated_at` | ISO 8601 timestamp | Time the webhook event was created | ```json theme={null} { "id": "delivery_123", "event": "vulnerability.severity_changed", "created_at": "2026-05-19T06:52:00.000Z", "data": { "vulnerability_id": "vuln_123", "organization_id": "org_123", "scan_id": "scan_123", "pr_review_id": null, "severity": "medium", "previous_severity": "high", "original_severity": "high", "severity_changed_at": "2026-05-19T06:52:00.000Z", "severity_changed_by": "user@example.com", "severity_override_reason": "Compensating control is deployed.", "updated_at": "2026-05-19T06:52:00.000Z" } } ``` ## Create a webhook ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/webhooks" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "url": "https://your-app.com/strix-webhook", "events": ["scan.completed", "vulnerability.created"], "is_active": true }' ``` **Required scope:** `webhooks:write` The response includes a `secret` field. Keep the secret in a safe location. Strix does not show the secret again. ## Per-business_unit routing By default, a subscription is **org-wide**. It receives every applicable event in your organization. On Enterprise plans, you can attach a subscription to a single `business_unit`. The subscription then receives only the events for assets in that business unit. This is useful when you have multiple end-customers in one organization and each customer must receive only its own events. ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/webhooks" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{ "url": "https://acme.example.com/strix-webhook", "events": ["*"], "business_unit": "acme" }' ``` * For an org-wide subscription, omit `business_unit` or set it to `null`. This is the default behavior. * To receive only the events for one business unit, set `business_unit` to that value. The business units of an event come from the related assets (domains and repositories). * The `business_unit` field requires the Enterprise plan (the `rbac` feature). On other plans, requests that set this field return `403`. * To convert a scoped subscription back to org-wide, `PATCH` it with `"business_unit": null`. > [!NOTE] > > To set the `business_unit` of an asset, use `POST` or `PATCH` on `/v1/domains` and `/v1/repositories`. A token that is scoped to a `business_unit` can only see and manage the assets, scans, and vulnerabilities of that unit. ## Verify webhook signatures Every webhook delivery includes signature headers for verification: | Header | Description | | - | - | | `X-Strix-Event` | The event type (for example, `scan.completed`) | | `X-Strix-Delivery` | Unique delivery ID (use it as an idempotency key) | | `X-Strix-Timestamp` | Time when the event was sent (ISO 8601) | | `X-Strix-Signature` | HMAC-SHA256 signature for payload verification | ### Signature verification (Node.js) ```javascript theme={null} import crypto from "crypto"; export function verifyStrixWebhook(rawBody, headers, secret) { const signature = headers["x-strix-signature"]; const timestamp = headers["x-strix-timestamp"]; if (!signature || !timestamp) return false; const parsedTime = Date.parse(timestamp); const ageMs = Math.abs(Date.now() - parsedTime); if (!Number.isFinite(parsedTime) || ageMs > 5 * 60 * 1000) return false; const payload = `${timestamp}.${rawBody}`; const expected = crypto .createHmac("sha256", secret) .update(payload) .digest("hex"); return crypto.timingSafeEqual( Buffer.from(expected), Buffer.from(signature) ); } ``` > [!WARNING] > > Always make sure that the signature is correct before you process a webhook payload. Reject requests that have a timestamp older than 5 minutes. This prevents replay attacks. ## Delivery and retries Strix sends events asynchronously, with retries and exponential backoff. A delivery can occur more than one time. When you process events, use the `X-Strix-Delivery` header as an idempotency key. ## Manage webhooks ### List webhooks ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/webhooks" \ -H "Authorization: Bearer " ``` **Required scope:** `webhooks:read` ### Update a webhook ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/webhooks/" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"events": ["*"], "is_active": true}' ``` **Required scope:** `webhooks:write` ### Rotate webhook secret ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/webhooks/" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"rotate_secret": true}' ``` The response includes the new `secret`. The old secret immediately becomes invalid. **Required scope:** `webhooks:write` ### Delete a webhook ```bash theme={null} curl -X DELETE "https://app.strix.ai/api/v1/webhooks/" \ -H "Authorization: Bearer " ``` **Required scope:** `webhooks:write` ### Inspect deliveries ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/webhooks//deliveries?limit=25" \ -H "Authorization: Bearer " ``` **Required scope:** `webhooks:read` # Strix documentation Source: https://docs.app.strix.ai/introduction Learn how Strix supports AI penetration testing and vulnerability remediation, then explore the API reference and guides. ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) Strix is an AI penetration testing product for developers and security teams. Start with [How Strix works](/guides/how-strix-works) for an overview of scope, evidence, triage, and remediation. Use the Strix API to manage pentests, vulnerabilities, schedules, and webhook automations for your organization from your own programs. ## What you can automate * **Pentests** — Start pentests, rerun or cancel pentests, and download PDF reports * **Vulnerabilities** — List and update vulnerabilities for remediation workflows * **Schedules** — Create and trigger recurring schedules for continuous testing * **Webhooks** — Subscribe to pentest and vulnerability lifecycle events ## Base URL Send all API requests to: ``` https://app.strix.ai/api/v1 ``` ## Authentication Every request must include a bearer token in the `Authorization` header: ```bash theme={null} Authorization: Bearer ``` Each token belongs to one organization. A token can only get access to the resources of that organization. To create tokens, go to **Settings > API Access** in the Strix dashboard. ## Scopes Each token has scopes that control the resources it can get access to. Give each integration only the scopes that it needs. Rotate your tokens regularly. | Scope | Description | | - | - | | `scans:read` | List pentests, read pentest detail, and download reports | | `scans:write` | Create pentests, rerun pentests, and cancel running pentests | | `vulnerabilities:read` | List vulnerabilities and read individual findings | | `vulnerabilities:write` | Update vulnerability status and notes | | `schedules:read` | List schedules and inspect schedule runs | | `schedules:write` | Create, update, delete, and trigger schedules | | `assets:read` | Read domains and repositories target inventory | | `webhooks:read` | List webhook endpoints and delivery history | | `webhooks:write` | Create, update, delete, and rotate webhook secrets | | `tokens:write` | Create and revoke API tokens | # Quickstart Source: https://docs.app.strix.ai/quickstart Make your first API call in less than one minute ![](https://static.scarf.sh/a.png?x-pxid=831669b6-b4bd-42cb-8832-2122c03e1d5f) ## 1. Create an API token Go to **Settings > API Access** in the [Strix dashboard](https://app.strix.ai/settings/api-access). Create a new personal token with the `scans:read` scope. ## 2. List your recent pentests ```bash theme={null} curl -X GET "https://app.strix.ai/api/v1/scans?limit=5" \ -H "Authorization: Bearer " ``` The response is a JSON document that contains your most recent pentests: ```json theme={null} { "items": [ { "id": "scan_abc123", "title": "Scan of example.com", "status": "completed", "scan_type": "blackbox", "findings": { "total": 7, "critical": 1, "high": 2, "medium": 3, "low": 1 }, "created_at": "2026-04-07T10:00:00Z" } ], "meta": { "page": 1, "limit": 5, "total_items": 42, "total_pages": 9, "has_next": true, "has_prev": false } } ``` ## 3. Update a vulnerability status Create a token with the `vulnerabilities:write` scope. Then set the status of a finding to in-progress: ```bash theme={null} curl -X PATCH "https://app.strix.ai/api/v1/vulnerabilities/" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"status":"in_progress","note":"Linked to remediation ticket"}' ``` ## 4. Trigger a schedule If you have pentest schedules, you can trigger one immediately: ```bash theme={null} curl -X POST "https://app.strix.ai/api/v1/schedules//trigger" \ -H "Authorization: Bearer " ``` ## Next steps > [card] [Authentication](/authentication) > > Learn about the token types and scopes > [card] [Webhooks](/guides/webhooks) > > Subscribe to pentest and vulnerability events