Repository navigation
GraphQL API Reference
This page documents the Strobes public GraphQL surface as used by the
client — the queries and mutations exposed at /api/public/graphql/, their
GraphQL (camelCase) names, arguments, and return types.
Public vs. internal schema. The bundled
schema.pyis generated from the full internal schema and contains far more types than the public endpoint exposes. Selecting internal-only fields against the public endpoint is rejected, which is why the client pins specific field selections per operation (see the*_FULL_FIELDSconstants inclient.py). The operations below are the public ones the client is built around.
Argument types follow GraphQL conventions: ! = required (non-null), [T] =
list of T. In Python you pass these as snake_case keyword arguments
(organizationId → organization_id).
Cursor-paginated list of assets.
| Argument | Type |
|---|---|
organizationId |
UUID! |
searchQuery |
String |
orderBy |
[String] |
groupId |
Int |
pageSize |
Int |
after / before
|
String |
Returns { objects: [AssetType], hasNext, hasPrevious, lastCursor, beforeCursor }.
A single asset by id (Int/ID).
Cursor-paginated list of findings.
| Argument | Type |
|---|---|
organizationId |
UUID! |
searchQuery |
String |
orderBy |
[String] |
pageSize |
Int |
after / before
|
String |
Returns { objects: [BugType], hasNext, hasPrevious, lastCursor, beforeCursor }.
Offset-paginated list of engagements.
| Argument | Type |
|---|---|
organizationId |
UUID! |
searchQuery |
String |
orderBy |
[String] |
assetId |
Int |
page / pageSize
|
Int |
Returns { objects: [EngagementType], page, pageSize, totalPages, totalCount, hasNext, hasPrev }.
Offset-paginated list of comments on a finding or engagement.
| Argument | Type |
|---|---|
organizationId |
UUID! |
bugId |
Int |
engagementId |
UUID |
internal |
Boolean |
searchQuery |
String |
orderBy |
[String] |
page / pageSize
|
Int |
Offset-paginated list of vault documents. Args: organizationId,
searchQuery, page, pageSize.
Connector configurations. Args: organizationId, orderBy, searchQuery,
page, pageSize.
Scan logs. Args: organizationId, searchQuery, orderBy, page,
pageSize. (No logType filter on the public endpoint.)
Report templates. Args: organizationId, templateId, searchQuery, page,
pageSize.
Rendered report HTML. Args: organizationId, templateId, reportName,
searchQuery, assetSearchQuery.
Fetch a generated report/export by id. Args: organizationId, exportId.
The public endpoint exposes a deliberately small, allow-listed set of mutations.
Create an asset. Required: organizationId, name, type, sensitivity,
exposed, plus a type-specific field (url / package / ipaddress /
cloudType). Optional: tags, customFields, and type-specific extras.
→ Assets
Set custom-field values on assets matching a query. Args: organizationId: UUID!,
searchQuery: String! (non-empty), fields: GenericScalar! (slug → value).
Returns asset: [AssetType] (≤100 inline, else queued).
→ Assets
Start an async CSV export of assets. Args: organizationId, searchQuery.
Returns exportId, status.
→ Exporting Data
Bulk-update asset fields from an uploaded CSV (file, organizationId).
Create a finding. → Findings
Update state / severity on findings matching searchQuery. Args:
organizationId, searchQuery, state, severity. Returns bugs: [BugType].
→ Findings
Start an async CSV export of findings. Args: organizationId, searchQuery.
Returns exportId, status.
Bulk-update finding custom fields from an uploaded CSV (file,
organizationId).
Create an engagement. Key args: organizationId, name, scheduledDate,
deliveryDate, subscribedServices, plans, assessmentData, state, plus
optional prerequisitesData, documentIds, fields, vendorCode,
isSelfManaged, includeRelatedAssets, credentialIds, executiveSummary,
customStatus. → Engagements
Update one engagement (public scope: state / customStatus). Args:
organizationId, engagementId, state. Returns engagement: EngagementType.
Update many engagements' state. Args: organizationId, engagementIds,
state. Returns engagements: [EngagementType].
Args: organizationId, bugId, comment, internal, attachments. Returns
comment: CommentType.
Args: organizationId, engagementId, comment, attachments. Returns
comment: CommentType.
Args: organizationId, templateName, htmlData, mode, type. Returns
templates: TemplateType.
Args: organizationId, templateId, reportName, searchQuery,
assetSearchQuery, password, engagementId, viewId, customData. Returns
reports, passwordRequired.
Args: file: Upload!, organizationId. Returns attachment: AttachmentType.
Args: file: Upload!, organizationId, and optionally engagementId,
prerequisite. Returns vault. → Vault Documents
Args: file: Upload!, workspaceId, path. Returns success, file.
Args: file: Upload!, organizationId, sheetId, workBookId,
importOverride, mergeWith, name. Returns success, message.
id, name, target, type, cloudType, sensitivity, exposed,
riskScore, ipaddress, hostname, os, region, accountId, resourceId,
fields, created, updated, connector, otherConnectors, lastSeen,
and the dns* / domain* / whoisInfo metadata. Full list in
Assets.
id, title, description, severity, state, bugLevel, cvss,
cvssV3, cvssV4, mitigation, stepsToReproduce, exploitAvailable,
patchAvailable, prioritizationScore, epssScore, slaViolated, dueDate,
fields, created, updated, connector. Full list in
Findings.
id, engagementCustomId, name, state, stateId, parentState,
customStatus, scheduledDate, deliveryDate, subscribedServices, plans,
securityPosture, credits, assessmentsCount, engagementCompletion,
fields, isActive, created, updated. Full list in
Engagements.
id, comment, internal, bugId, engagementId, commentedBy,
attachments, created, updated. → Comments
id, reportName, status ("0"–"3"), created, exportId, file,
hasPassword, template. → Reports
Boolean, Int, Float, String, ID, DateTime, Date, UUID,
JSONString, GenericScalar, Upload.
- The generated schema:
strobes_gql_client/schema.py - Per-operation field selections:
strobes_gql_client/client.py - The filter language: Search Query Language
- Pythonic call reference: Python API Reference
Getting started
Guides
- Search Query Language
- Assets
- Findings
- Engagements
- Comments
- Vault Documents
- Reports
- Exporting Data
- Connectors & Scan Logs
- File Uploads & CSV Imports
Reference