Strix Domains API
The Domains API from Strix — 2 operation(s) for domains.
The Domains API from Strix — 2 operation(s) for domains.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/strix-ai:strix-ai-domains-api"
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.
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: 3.2.0
info:
title: Strix Domains 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: Domains
paths:
/domains/{domainId}/scan-headers:
parameters:
- description: UUID of the domain. Use the `id` field of a domain from `listDomains`.
in: path
name: domainId
required: true
schema:
type: string
format: uuid
get:
operationId: listDomainScanHeaders
summary: List saved domain headers
description: 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.
tags:
- Domains
security:
- BearerAuth:
- test_users:read
responses:
'200':
description: Masked default headers.
content:
application/json:
schema:
type: object
required:
- items
properties:
items:
type: array
items:
$ref: '#/components/schemas/DomainScanHeader'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
description: Forbidden
'404':
description: Domain or header not found
'422':
description: Invalid header or scope
'500':
$ref: '#/components/responses/InternalError'
post:
operationId: createDomainScanHeader
summary: Save a domain header
description: 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.
tags:
- Domains
security:
- BearerAuth:
- test_users:write
requestBody:
required: true
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/DomainScanHeaderInput'
required:
- name
- value
responses:
'201':
description: Header created. Value stays hidden.
content:
application/json:
schema:
$ref: '#/components/schemas/DomainScanHeader'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
description: Forbidden
'404':
description: Domain or header not found
'422':
description: Invalid header or scope
'500':
$ref: '#/components/responses/InternalError'
/domains/{domainId}/scan-headers/{headerId}:
parameters:
- description: UUID of the domain. Use the `id` field of a domain from `listDomains`.
in: path
name: domainId
required: true
schema:
type: string
format: uuid
- description: UUID of the scan header. Use the `id` field of a header from `listDomainScanHeaders`.
in: path
name: headerId
required: true
schema:
type: string
format: uuid
patch:
operationId: updateDomainScanHeader
summary: Update a domain header
description: 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.
tags:
- Domains
security:
- BearerAuth:
- test_users:write
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DomainScanHeaderInput'
responses:
'200':
description: Header updated. Value stays hidden.
content:
application/json:
schema:
$ref: '#/components/schemas/DomainScanHeader'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
description: Forbidden
'404':
description: Domain or header not found
'422':
description: Invalid header or scope
'500':
$ref: '#/components/responses/InternalError'
delete:
operationId: deleteDomainScanHeader
summary: Delete a domain header
description: 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.
tags:
- Domains
security:
- BearerAuth:
- test_users:write
responses:
'200':
description: Header deleted.
content:
application/json:
schema:
type: object
required:
- success
properties:
success:
type: boolean
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
description: Forbidden
'404':
description: Domain or header not found
'422':
description: Invalid header or scope
'500':
$ref: '#/components/responses/InternalError'
components:
responses:
Unauthorized:
description: Missing or invalid API token.
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
DomainScanHeader:
type: object
required:
- id
- name
- value_set
- created_at
- updated_at
- domain_id
- scope_domain_ids
- can_manage
properties:
id:
type: string
format: uuid
name:
type: string
notes:
type:
- string
- 'null'
value_set:
type: boolean
const: true
description: The saved value is hidden.
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
scope_domain_ids:
type: array
items:
type: string
format: uuid
maxItems: 100
description: Domains where this header applies. An empty array means all domains in the organization. Creation defaults to the home domain.
domain_id:
type: string
format: uuid
description: The home domain where the header was saved.
can_manage:
type: boolean
description: Whether the caller can manage every domain in this header scope.
DomainScanHeaderInput:
type: object
properties:
name:
type: string
minLength: 1
maxLength: 128
pattern: ^[!#$%&'*+.^_`|~0-9A-Za-z-]+$
description: HTTP token. Host, Content-Length, hop-by-hop headers, and proxy authorization are not allowed.
value:
type: string
maxLength: 8192
writeOnly: true
description: Header value. Strix encrypts the value. Creation requires a nonempty value. An empty or omitted value keeps the saved value on update.
notes:
type:
- string
- 'null'
maxLength: 1000
scope_domain_ids:
type: array
items:
type: string
format: uuid
maxItems: 100
description: Domains where this header applies. An empty array means all domains in the organization. Creation defaults to the home domain.
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>`.'