Strix Analytics API

Aggregate dashboard analytics.

GitHub OpenAPI

Operations 3

GET /analytics/overview Get dashboard overview #
GET /analytics/scan-frequency Get scan frequency timeline #
GET /analytics/stats Get dashboard analytics #

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-analytics-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-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Strix Analytics 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: Analytics
  description: Aggregate dashboard analytics.
paths:
  /analytics/overview:
    get:
      operationId: getAnalyticsOverview
      summary: Get dashboard overview
      description: '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.'
      tags:
      - Analytics
      parameters:
      - description: Time window of the overview. Use `custom` together with explicit start and end dates.
        name: range
        in: query
        required: false
        schema:
          type: string
          enum:
          - 7d
          - 30d
          - 90d
          - all
          - custom
          default: 30d
      - name: from
        in: query
        required: false
        description: Start date (ISO 8601), used when range=custom.
        schema:
          type: string
          format: date
      - name: to
        in: query
        required: false
        description: End date (ISO 8601), used when range=custom.
        schema:
          type: string
          format: date
      security:
      - BearerAuth:
        - analytics:read
      responses:
        '200':
          description: Dashboard overview.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /analytics/scan-frequency:
    get:
      operationId: getScanFrequency
      summary: Get scan frequency timeline
      description: Daily scan counts for roughly the last 10 months, suitable for a contribution-style heatmap. Asset-scoped tokens cannot access organization-wide analytics.
      tags:
      - Analytics
      security:
      - BearerAuth:
        - analytics:read
      parameters:
      - name: tz
        in: query
        required: false
        description: IANA timezone for day bucketing. Defaults to UTC.
        schema:
          type: string
      responses:
        '200':
          description: One entry per calendar day.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ScanFrequencyDay'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
  /analytics/stats:
    get:
      operationId: getAnalyticsStats
      summary: Get dashboard analytics
      description: 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.
      tags:
      - Analytics
      security:
      - BearerAuth:
        - analytics:read
      responses:
        '200':
          description: Dashboard statistics.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  responses:
    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'
    ServiceUnavailable:
      description: Service unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Internal server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    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
    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
    ScanFrequencyDay:
      type: object
      description: Number of scans started on a given calendar day (caller timezone).
      properties:
        date:
          type: string
          format: date
          description: YYYY-MM-DD.
        count:
          type: integer
      required:
      - date
      - count
  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>`.'