Strix Uploads API
Upload source/code/documentation archives for whitebox scans.
Upload source/code/documentation archives for whitebox scans.
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-uploads-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 Uploads 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: Uploads
description: Upload source/code/documentation archives for whitebox scans.
paths:
/uploads/complete:
post:
operationId: completeUpload
summary: Finalize an upload
description: Queues bounded archive validation after the byte transfer. Repeat this request after a 202 response until validation completes. Repeating completion for a completed upload is idempotent. Asset-scoped tokens can finalize only uploads from their effective user. Unscoped tokens retain organization-wide access.
tags:
- Uploads
security:
- BearerAuth:
- uploads:write
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UploadCompleteRequest'
responses:
'200':
description: Finalized upload.
content:
application/json:
schema:
$ref: '#/components/schemas/Upload'
'202':
description: Upload validation is in progress.
headers:
Retry-After:
description: Wait time in seconds before the next completion request.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/UploadProcessing'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'500':
$ref: '#/components/responses/InternalError'
/uploads/request:
post:
operationId: requestUpload
summary: Request a signed upload URL
description: Reserves an upload and returns a signed URL (and resumable endpoint for large files) to PUT the file bytes to. Files ending in .zip are always treated as repository source archives and cannot be downgraded to documentation by setting category.
tags:
- Uploads
security:
- BearerAuth:
- uploads:write
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UploadRequest'
responses:
'200':
description: Signed upload target.
content:
application/json:
schema:
$ref: '#/components/schemas/UploadRequestResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'500':
$ref: '#/components/responses/InternalError'
/uploads/{uploadId}:
delete:
operationId: deleteUpload
summary: Delete an upload
tags:
- Uploads
security:
- BearerAuth:
- uploads:write
parameters:
- name: uploadId
in: path
required: true
description: Upload id.
schema:
type: string
format: uuid
responses:
'200':
description: Deleted.
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
description: Upload is attached to a scan and cannot be deleted.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
$ref: '#/components/responses/InternalError'
description: Delete an unreferenced upload. Asset-scoped tokens may delete only uploads created by their effective user; unscoped tokens retain organization-wide access. Inaccessible upload IDs return 404. Uploads already attached to any scan are immutable and return 409 without removing the storage object or soft-deleting the row.
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'
Conflict:
description: Conflict.
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
UploadRequest:
type: object
properties:
file_name:
description: Name of the file to upload, including its extension.
type: string
file_size:
description: Size of the file in bytes.
type: integer
category:
type: string
enum:
- repository
- documentation
- application
description: 'Optional. If it is not set, the category is inferred from the file. A .zip file is always categorized as repository even when documentation is requested. An application is a Linux build of an Electron app: an AppImage file, a .deb file, or a .tar.gz file. Set application for a .tar.gz build. Windows and macOS builds are not supported.'
required:
- file_name
- file_size
SuccessResponse:
type: object
properties:
success:
type: boolean
required:
- success
Upload:
type: object
properties:
id:
type: string
format: uuid
file_name:
type: string
file_type:
type: string
file_size:
type: integer
created_at:
type: string
format: date-time
required:
- id
- file_name
- file_type
- file_size
UploadProcessing:
type: object
properties:
upload_id:
type: string
format: uuid
status:
type: string
enum:
- processing
required:
- upload_id
- status
UploadCompleteRequest:
type: object
properties:
upload_id:
description: ID returned by `requestUpload`.
type: string
format: uuid
required:
- upload_id
UploadRequestResponse:
type: object
properties:
upload_id:
type: string
format: uuid
signed_url:
type: string
description: PUT the file bytes here.
token:
type: string
storage_path:
type: string
file_type:
type: string
resumable:
type: object
description: Present only for large files that should use the resumable (TUS) protocol.
properties:
endpoint:
type: string
token:
type: string
bucket:
type: string
required:
- endpoint
- token
- bucket
required:
- upload_id
- signed_url
- token
- storage_path
- file_type
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>`.'