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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/strix-ai:strix-ai-tokens-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
openapi: 3.2.0
info:
title: Strix Tokens 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: Tokens
description: Manage API tokens for authentication.
paths:
/tokens:
get:
operationId: listTokens
summary: List API tokens
description: 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.
tags:
- Tokens
security:
- BearerAuth:
- tokens:write
parameters:
- name: type
in: query
description: Filter by token type.
schema:
type: string
enum:
- service
- personal
responses:
'200':
description: List of tokens.
content:
application/json:
schema:
type: object
properties:
tokens:
type: array
items:
$ref: '#/components/schemas/ApiToken'
required:
- tokens
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'500':
$ref: '#/components/responses/InternalError'
post:
operationId: createToken
summary: Create an API token
description: 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.
tags:
- Tokens
security:
- BearerAuth:
- tokens:write
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateTokenRequest'
responses:
'201':
description: Token created. The `token` field contains the raw secret — store it securely.
content:
application/json:
schema:
type: object
properties:
token:
type: string
description: Raw API token secret. Only returned at creation time.
token_record:
$ref: '#/components/schemas/ApiToken'
required:
- token
- token_record
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'500':
$ref: '#/components/responses/InternalError'
/tokens/{tokenId}:
delete:
operationId: revokeToken
summary: Revoke an API token
tags:
- Tokens
security:
- BearerAuth:
- tokens:write
parameters:
- description: UUID of the API token. Use the `id` field of a token from `listTokens`.
name: tokenId
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Token revoked.
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalError'
description: Revoke an API token. Asset-scoped tokens cannot access organization-wide token management.
components:
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'
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
SuccessResponse:
type: object
properties:
success:
type: boolean
required:
- success
ApiToken:
type: object
properties:
id:
type: string
format: uuid
type:
type: string
enum:
- service
- personal
organization_id:
type: string
user_id:
type:
- string
- 'null'
name:
type: string
scopes:
type: array
items:
$ref: '#/components/schemas/ApiV1Scope'
rbac_scopes:
type: array
items:
$ref: '#/components/schemas/RbacScope'
description: Enterprise RBAC asset restrictions on this token. An empty array means organization-wide asset access within the token's API scopes and the creator's current role.
secret_prefix:
type: string
expires_at:
type:
- string
- 'null'
format: date-time
last_used_at:
type:
- string
- 'null'
format: date-time
revoked_at:
type:
- string
- 'null'
format: date-time
created_by:
type: string
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
credential_source:
type: string
enum:
- api
- cli
description: CLI rows are managed device sessions; API rows are ordinary user-created credentials.
client_instance_id:
type:
- string
- 'null'
device_name:
type:
- string
- 'null'
scope_ceiling:
type: array
items:
$ref: '#/components/schemas/ApiV1Scope'
requested_scopes:
type: array
items:
$ref: '#/components/schemas/ApiV1Scope'
scope_profile:
oneOf:
- $ref: '#/components/schemas/CliScopeProfile'
- type: 'null'
last_workspace_switch_at:
type:
- string
- 'null'
format: date-time
required:
- id
- type
- name
- scopes
- rbac_scopes
- created_at
- credential_source
CliScopeProfile:
type: string
enum:
- minimal
- recommended
- full
- custom
description: 'Named CLI authority preference. Minimal grants scans and billing:read. Recommended adds every scope that everyday `strix cloud` commands use: vulnerabilities, dependencies, supply chain, schedules, assets, knowledge, PR reviews, connectors, chat, uploads, integrations, analytics, license, webhooks:read, audit:read, organizations:read, organizations:write, and billing:write. Full means the session''s approved ceiling after login and adds account administration (members, invitations, tokens, webhooks:write, LLM, test users). Custom requires an explicit scopes array. The member''s role caps every profile.'
RbacScope:
type: object
description: An Enterprise RBAC asset restriction attached to an API token. target values identify a specific asset; tag and business_unit values match the corresponding asset metadata.
properties:
type:
type: string
enum:
- target
- tag
- business_unit
value:
type: string
minLength: 1
maxLength: 120
pattern: ^[a-zA-Z0-9._:/@-]+$
required:
- type
- value
additionalProperties: false
CreateTokenRequest:
type: object
properties:
type:
description: Token kind. `service` tokens belong to the organization, `personal` tokens act as the creating user.
type: string
enum:
- service
- personal
name:
description: Display name that identifies the token in the dashboard.
type: string
scopes:
type: array
items:
$ref: '#/components/schemas/ApiV1Scope'
description: When omitted or empty, service keys default to scans:read, scans:write, vulnerabilities:read, vulnerabilities:write, schedules:read, schedules:write, assets:read, webhooks:read, and webhooks:write. Personal keys default to the same first seven scopes without either webhook scope. Defaults and explicit requests are capped by the creator's current organization role; token-authenticated creators are additionally capped by the caller token's API and RBAC scopes. Only organization admins can create service keys.
rbac_scopes:
type: array
items:
$ref: '#/components/schemas/RbacScope'
description: Optional Enterprise RBAC asset restrictions. When omitted, a token-authenticated creator's restrictions are inherited; a browser-session creator defaults to an empty array (organization-wide asset access within the token's API scopes and role). Explicit restrictions must be a subset of the caller token's RBAC scopes.
expires_at:
type: string
format: date-time
description: Explicit expiration. Mutually exclusive with expires_in_days.
expires_in_days:
type: integer
minimum: 1
description: Expiration as days from now. Personal tokens default to 90 days.
required:
- type
- name
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>`.'