Strix License API

Self-hosted license state, entitlements, and aggregate usage.

GitHub OpenAPI

Operations 1

GET /license Get license status #

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-license-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-license-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Strix License 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: License
  description: Self-hosted license state, entitlements, and aggregate usage.
paths:
  /license:
    get:
      operationId: getLicenseStatus
      summary: Get license status
      description: '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).'
      tags:
      - License
      security:
      - BearerAuth:
        - license:read
      responses:
        '200':
          description: License status
          content:
            application/json:
              schema:
                type: object
                properties:
                  enforced:
                    type: boolean
                  state:
                    type: string
                    enum:
                    - unlicensed
                    - valid
                    - expired
                    - grace_exceeded
                    - invalid
                  customer_name:
                    type:
                    - string
                    - 'null'
                  license_type:
                    type:
                    - string
                    - 'null'
                  expires_at:
                    type:
                    - string
                    - 'null'
                    description: ISO date. A null value means the license never expires
                  last_synced_at:
                    type:
                    - string
                    - 'null'
                    description: 'Always null: licenses are verified offline, nothing syncs'
                  entitlements:
                    type:
                    - object
                    - 'null'
                    properties:
                      max_dashboard_users:
                        type: integer
                        description: 0 = unlimited
                      max_domains:
                        type: integer
                      max_repos:
                        type: integer
                      max_developers:
                        type: integer
                      max_pentests_per_month:
                        type: integer
                        description: Pentests per calendar month (UTC). Container image scans, supply chain scans, retests and failed scans do not count. 0 = unlimited
                      max_container_scans_per_month:
                        type: integer
                        description: Container image scans per calendar month (UTC). 0 = unlimited
                      max_supply_chain_scans_per_month:
                        type: integer
                        description: Supply chain scans per calendar month (UTC). 0 = unlimited
                      max_concurrent_scans:
                        type: integer
                      pr_reviews_enabled:
                        type: boolean
                      on_demand_pentests_enabled:
                        type: boolean
                      chat_enabled:
                        type: boolean
                      strix_managed:
                        type: boolean
                        description: Strix operates this install for the customer. LLM settings and costs, run logs and the diagnostics bundle are not available (their routes answer 404), as on the hosted product.
                  usage:
                    type:
                    - object
                    - 'null'
                    properties:
                      domains:
                        type: integer
                      repositories:
                        type: integer
                      pentests_this_month:
                        type: integer
                      container_scans_this_month:
                        type: integer
                      supply_chain_scans_this_month:
                        type: integer
                      running_scans:
                        type: integer
                      active_developers_this_month:
                        type: integer
                      pr_reviews_this_month:
                        type: integer
                      chats_this_month:
                        type: integer
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  responses:
    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'
    Unauthorized:
      description: Missing or invalid API token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    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
    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
  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>`.'