Strix Supply Chain API

SBOM inventory, supply-chain findings, scans, and policy for connected repositories.

GitHub OpenAPI

Operations 8

GET /repositories/{repositoryId}/supply-chain/components List repository SBOM components #
GET /repositories/{repositoryId}/supply-chain/findings List repository supply-chain findings #
PATCH /repositories/{repositoryId}/supply-chain/policy Update repository supply-chain policy #
GET /repositories/{repositoryId}/supply-chain/sbom Export repository SBOM #
POST /repositories/{repositoryId}/supply-chain/scan Trigger a supply-chain scan #
GET /repositories/{repositoryId}/supply-chain/summary Get repository supply-chain summary #
GET /supply-chain/summary Get organization supply-chain summary #
POST /supply-chain/pentest Start supply-chain scans for eligible repositories #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/strix-ai:strix-ai-supply-chain-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

strix-ai-supply-chain-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Strix Supply Chain API
  version: 1.0.0
  description: Public REST API for the Strix autonomous penetration testing platform. Manage scans, vulnerabilities, assets, schedules, API tokens, and webhooks. Intake-only workspaces can register repositories, manage domains, and manage or verify test users. Other operations return 403. Repository and domain responses in these workspaces omit scan, finding, and PR review fields.
servers:
- url: /api/v1
  description: Strix v1 API
security:
- BearerAuth: []
tags:
- name: Supply Chain
  description: SBOM inventory, supply-chain findings, scans, and policy for connected repositories.
paths:
  /repositories/{repositoryId}/supply-chain/components:
    get:
      operationId: listRepositorySupplyChainComponents
      summary: List repository SBOM components
      tags:
      - Supply Chain
      security:
      - BearerAuth:
        - supply_chain:read
      parameters:
      - description: UUID of the repository. Use the `id` field of a repository from `listRepositories`.
        name: repositoryId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: job_id
        in: query
        required: false
        schema:
          type: string
        description: Scope the view to a specific supply-chain job.
      - name: snapshot_id
        in: query
        required: false
        schema:
          type: string
        description: Scope the view to a specific SBOM snapshot.
      - name: component_id
        in: query
        required: false
        schema:
          type: string
        description: Return only the given component.
      - name: ecosystem
        in: query
        required: false
        schema:
          type: string
        description: Filter by package ecosystem.
      - name: status
        in: query
        required: false
        schema:
          type: string
        description: Filter by component status.
      - name: relationship
        in: query
        required: false
        schema:
          type: string
        description: Filter by dependency relationship (direct/transitive).
      - name: source_file
        in: query
        required: false
        schema:
          type: string
        description: Filter by manifest/lockfile source path.
      - name: q
        in: query
        required: false
        schema:
          type: string
        description: Free-text search over component names.
      - name: changed
        in: query
        required: false
        schema:
          type: string
        description: Only components changed in this snapshot (true/false).
      - name: limit
        in: query
        required: false
        schema:
          type: integer
        description: Page size (default 100).
      - name: offset
        in: query
        required: false
        schema:
          type: integer
        description: Page offset (default 0).
      responses:
        '200':
          description: Snapshot metadata, a page of components, and paging meta.
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
  /repositories/{repositoryId}/supply-chain/findings:
    get:
      operationId: listRepositorySupplyChainFindings
      summary: List repository supply-chain findings
      description: '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.'
      tags:
      - Supply Chain
      security:
      - BearerAuth:
        - supply_chain:read
      parameters:
      - description: UUID of the repository. Use the `id` field of a repository from `listRepositories`.
        name: repositoryId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: job_id
        in: query
        required: false
        schema:
          type: string
        description: Scope the view to a specific supply-chain job.
      - name: snapshot_id
        in: query
        required: false
        schema:
          type: string
        description: Scope the view to a specific SBOM snapshot.
      - name: component_id
        in: query
        required: false
        schema:
          type: string
        description: Return findings for the given component only.
      responses:
        '200':
          description: Snapshot metadata and supply-chain findings for the resolved scope.
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
  /repositories/{repositoryId}/supply-chain/policy:
    patch:
      operationId: updateRepositorySupplyChainPolicy
      summary: Update repository supply-chain policy
      tags:
      - Supply Chain
      security:
      - BearerAuth:
        - supply_chain:write
      parameters:
      - description: UUID of the repository. Use the `id` field of a repository from `listRepositories`.
        name: repositoryId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                supply_chain_enabled:
                  description: When true, Strix scans the dependencies of this repository.
                  type: boolean
                supply_chain_pr_checks_enabled:
                  description: When true, Strix checks dependency changes on pull requests.
                  type: boolean
                supply_chain_policy_mode:
                  description: What happens when a pull request adds a risky dependency. `monitor` only records it, `comment` posts a review comment, `block` fails the check.
                  type: string
                  enum:
                  - monitor
                  - comment
                  - block
      responses:
        '200':
          description: Updated repository supply-chain policy fields.
          content:
            application/json:
              schema:
                type: object
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
  /repositories/{repositoryId}/supply-chain/sbom:
    get:
      operationId: exportRepositorySbom
      summary: Export repository SBOM
      tags:
      - Supply Chain
      security:
      - BearerAuth:
        - supply_chain:read
      parameters:
      - description: UUID of the repository. Use the `id` field of a repository from `listRepositories`.
        name: repositoryId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: job_id
        in: query
        required: false
        schema:
          type: string
        description: Scope the view to a specific supply-chain job.
      - name: snapshot_id
        in: query
        required: false
        schema:
          type: string
        description: Scope the view to a specific SBOM snapshot.
      - name: format
        in: query
        required: false
        schema:
          type: string
          enum:
          - spdx
          - cyclonedx
          default: spdx
        description: SBOM export format.
      responses:
        '200':
          description: SBOM document as a JSON attachment.
          content:
            application/json:
              schema:
                type: object
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
  /repositories/{repositoryId}/supply-chain/scan:
    post:
      operationId: startRepositorySupplyChainScan
      summary: Trigger a supply-chain scan
      tags:
      - Supply Chain
      security:
      - BearerAuth:
        - supply_chain:write
      parameters:
      - description: UUID of the repository. Use the `id` field of a repository from `listRepositories`.
        name: repositoryId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Scan enqueued (or skipped with a reason).
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
  /repositories/{repositoryId}/supply-chain/summary:
    get:
      operationId: getRepositorySupplyChainSummary
      summary: Get repository supply-chain summary
      description: 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.
      tags:
      - Supply Chain
      security:
      - BearerAuth:
        - supply_chain:read
      parameters:
      - description: UUID of the repository. Use the `id` field of a repository from `listRepositories`.
        name: repositoryId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: job_id
        in: query
        required: false
        schema:
          type: string
        description: Scope the view to a specific supply-chain job.
      - name: snapshot_id
        in: query
        required: false
        schema:
          type: string
        description: Scope the view to a specific SBOM snapshot.
      responses:
        '200':
          description: Repository supply-chain summary for the resolved scope.
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
  /supply-chain/summary:
    get:
      operationId: getSupplyChainOrgSummary
      summary: Get organization supply-chain summary
      tags:
      - Supply Chain
      security:
      - BearerAuth:
        - supply_chain:read
      responses:
        '200':
          description: Org-wide supply-chain totals and per-repository summaries.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupplyChainOrgSummary'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
  /supply-chain/pentest:
    post:
      operationId: startOrganizationSupplyChainScans
      summary: Start supply-chain scans for eligible repositories
      description: Start a dependency scan for each eligible repository that has no pending or running scan.
      tags:
      - Supply Chain
      security:
      - BearerAuth:
        - scans:write
        - supply_chain:write
      responses:
        '200':
          description: Scan launch results for the eligible repositories.
          content:
            application/json:
              schema:
                type: object
                properties:
                  started:
                    type: array
                    items:
                      type: object
                      properties:
                        repository_id:
                          type: string
                        full_name:
                          type: string
                        scan_id:
                          type: string
                      required:
                      - repository_id
                      - full_name
                      - scan_id
                  skipped:
                    type: array
                    items:
                      type: object
                      properties:
                        repository_id:
                          type: string
                        full_name:
                          type: string
                        reason:
                          type: string
                          enum:
                          - already_running
                      required:
                      - repository_id
                      - full_name
                      - reason
                  failed:
                    type: array
                    items:
                      type: object
                      properties:
                        repository_id:
                          type: string
                        full_name:
                          type: string
                        detail:
                          type: string
                      required:
                      - repository_id
                      - full_name
                      - detail
                required:
                - started
                - skipped
                - failed
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    SupplyChainPolicySummary:
      type: object
      properties:
        enabled:
          type: boolean
        pr_checks_enabled:
          type: boolean
        mode:
          type: string
          enum:
          - monitor
          - comment
          - block
      required:
      - enabled
      - pr_checks_enabled
      - mode
    ErrorResponse:
      type: object
      properties:
        detail:
          type: string
          description: Human-readable explanation of the error.
        code:
          type: string
          description: Stable machine-readable error code. `insufficient_scope` means the token does not hold the scope that this endpoint requires.
        required_scope:
          $ref: '#/components/schemas/ApiV1Scope'
          description: Scope that the caller must add to the token. Returned with the `insufficient_scope` code.
        docs:
          type: string
          format: uri
          description: Documentation page that explains how to resolve the error.
        hint:
          type: string
          description: One instruction that resolves the error. For `insufficient_scope`, a CLI session gets the `strix cloud session scopes set full` or `strix cloud login --scope-profile full` command, and an API token gets the settings page where the user creates a token with the scope. When the owner's role cannot hold the scope, the hint asks for a role change instead.
      required:
      - detail
    SupplyChainRepositorySummaryRow:
      type: object
      properties:
        repository:
          $ref: '#/components/schemas/SupplyChainRepositoryIdentity'
        summary:
          $ref: '#/components/schemas/SupplyChainRepositorySummary'
        latest_supply_chain_scan:
          oneOf:
          - $ref: '#/components/schemas/SupplyChainScanReference'
          - type: 'null'
      required:
      - repository
      - summary
      - latest_supply_chain_scan
    SupplyChainOrgSummary:
      type: object
      description: Organization-wide supply-chain totals and one summary per repository visible to the caller.
      properties:
        totals:
          $ref: '#/components/schemas/SupplyChainOrgTotals'
        repositories:
          type: array
          items:
            $ref: '#/components/schemas/SupplyChainRepositorySummaryRow'
      required:
      - totals
      - repositories
    ApiV1Scope:
      type: string
      enum:
      - scans:read
      - scans:write
      - vulnerabilities:read
      - vulnerabilities:write
      - dependencies:read
      - schedules:read
      - schedules:write
      - assets:read
      - assets:write
      - organizations:read
      - organizations:write
      - members:read
      - members:write
      - invitations:read
      - invitations:write
      - webhooks:read
      - webhooks:write
      - tokens:write
      - audit:read
      - pr_reviews:read
      - pr_reviews:write
      - connectors:read
      - connectors:write
      - knowledge:read
      - knowledge:write
      - uploads:write
      - integrations:read
      - integrations:write
      - chat:read
      - chat:write
      - scans:message
      - analytics:read
      - llm:read
      - llm:write
      - test_users:read
      - test_users:write
      - discovery:read
      - discovery:write
      - license:read
      - supply_chain:read
      - supply_chain:write
      - billing:read
      - billing:write
      - containers:read
      - containers:write
      - logs:read
    SupplyChainRepositoryIdentity:
      type: object
      properties:
        id:
          type: string
          format: uuid
        organization_id:
          type: string
        full_name:
          type: string
        provider:
          type: string
          enum:
          - github
          - gitlab
          - azure_repos
        installation_id:
          type:
          - integer
          - 'null'
        supply_chain_enabled:
          type: boolean
        supply_chain_pr_checks_enabled:
          type: boolean
        supply_chain_policy_mode:
          type: string
          enum:
          - monitor
          - comment
          - block
      required:
      - id
      - organization_id
      - full_name
      - provider
      - installation_id
      - supply_chain_enabled
      - supply_chain_pr_checks_enabled
      - supply_chain_policy_mode
    SupplyChainScanReference:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
        created_at:
          type: string
          format: date-time
      required:
      - id
      - status
      - created_at
    SupplyChainOrgTotals:
      type: object
      properties:
        repositories:
          type: integer
          minimum: 0
        components:
          type: integer
          minimum: 0
        findings:
          type: integer
          minimum: 0
        open_issues:
          type: integer
          minimum: 0
          description: Open dependency findings across the visible repositories.
        malicious:
          type: integer
          minimum: 0
        suspicious:
          type: integer
          minimum: 0
        vulnerable:
          type: integer
          minimum: 0
        ecosystems:
          type: object
          additionalProperties:
            type: integer
            minimum: 0
        severities:
          type: object
          additionalProperties:
            type: integer
            minimum: 0
      required:
      - repositories
      - components
      - findings
      - open_issues
      - malicious
      - suspicious
      - vulnerable
      - ecosystems
      - severities
    SupplyChainRepositorySummary:
      type: object
      properties:
        latest_snapshot:
          type:
          - object
          - 'null'
          additionalProperties: true
        latest_job:
          type:
          - object
          - 'null'
          additionalProperties: true
        component_count:
          type: integer
          minimum: 0
        finding_count:
          type: integer
          minimum: 0
        open_dependency_issue_count:
          type: integer
          minimum: 0
          description: Open dependency findings for this repository. The `open_issues` total sums these counts, except when one scan covers several repositories. Then each of those repositories counts the finding.
        malicious_count:
          type: integer
          minimum: 0
        suspicious_count:
          type: integer
          minimum: 0
        vulnerable_count:
          type: integer
          minimum: 0
        ecosystem_counts:
          type: object
          additionalProperties:
            type: integer
            minimum: 0
        severity_counts:
          type: object
          additionalProperties:
            type: integer
            minimum: 0
        policy:
          $ref: '#/components/schemas/SupplyChainPolicySummary'
      required:
      - latest_snapshot
      - latest_job
      - component_count
      - finding_count
      - malicious_count
      - suspicious_count
      - vulnerable_count
      - ecosystem_counts
      - severity_counts
      - policy
  responses:
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid API token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: Insufficient permissions or missing scope. A missing scope returns the `insufficient_scope` code, the `required_scope` field, and a `hint` with the command or page that grants the scope, so a client can request the correct scope and retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Internal server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: Bad request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API token obtained from the Tokens endpoint or CLI device login. Include as `Authorization: Bearer <token>`. Requests made with a managed CLI session also include `X-Strix-Workspace: <organization_id>` to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.'
    StrixAuthorization:
      type: apiKey
      in: header
      name: X-Strix-Authorization
      description: 'API token for operations where the standard Authorization header carries a protocol credential. Include as `X-Strix-Authorization: Bearer <token>`.'