Using the Strobes API (GraphQL) to Access and Automate Your Data
3 min readEdit
On this page⌄
Overview
The Strobes GraphQL Client is a Python package that wraps the Strobes public GraphQL API. It turns raw GraphQL operations into simple method calls, so you can automate what you would normally do in the Strobes web app. You can manage assets and findings, run engagements, post comments, generate reports, and export data in bulk, all from your own scripts.
Why Is It Needed?
The web app covers daily work, but many teams also need to automate it. With the client, you can build reports, sync findings with other systems, update many findings or assets at once, and keep data in step across your tools, without manual exports or hand-written API calls.
What You Can Do with the Client
Area | What it covers |
|---|---|
Assets | List, search, create (web, mobile, network, cloud, code), update custom fields, and bulk update |
Findings | List, search, create, bulk update state and severity, and update from CSV |
Engagements | List, search, create, and update state, one at a time or in bulk |
Comments | Read and post comments on findings and engagements |
Vault Documents | Upload and list engagement and vault documents |
Reports | List templates, preview, generate PDF reports, and manage attachments |
Exporting Data | Export all findings or assets to CSV |
Connectors and Scan Logs | List connector configurations and scan history |
File Uploads and CSV Imports | Upload workspace files, import sheets from CSV, and update findings from CSV |
The client uses the Strobes public GraphQL endpoint, so it supports the operations that endpoint offers.
Where to Find the Documentation
The client has a complete wiki on GitHub, with guides for each area above, a Python API reference, a GraphQL API reference, and a troubleshooting page. Every feature also has a matching example script in the repository.
Resource | Link |
|---|---|
Strobes GraphQL Client repository | |
Client wiki | |
Example scripts |
You can also reach the Strobes GitHub organization from the profile menu in Strobes by clicking API Docs.
Prerequisites
Before you start, make sure you have:
- A Strobes account with access to the data and actions you want to use.
- Your Strobes host, API token, and organization ID.
- Python installed on the machine where the script runs.
Getting Started
Step 1: Get Your API Token and Organization ID
In Strobes, go to Settings > API Access. Copy your API key and your organization ID.

Step 2: Install the Client
Open the Installation page of the client wiki and follow it to install the package on your machine.
Step 3: Configure the Client
Open the Configuration & Authentication page of the wiki and set your Strobes host, API token, and organization ID as it describes.
Step 4: Run Your First Query
Follow the Quickstart page of the wiki to run your first query, such as listing critical findings that are still open. The Core Concepts page explains how responses, pagination, and errors work.
Step 5: Explore the Guides
Use the guide for the area you need, such as Assets or Findings, and the Search Query Language page to filter results. For example, the filter severity = 5 and state = 1 returns critical findings that are still open.
Tips
- Treat your API token like a password. Do not share it or store it in version-controlled files.
- Use a token that belongs to an account with only the access your script needs.
- Keep the token and organization ID in environment variables instead of writing them in the script.
- Read the Core Concepts page of the wiki once. It explains how the client is structured and makes the other guides easier to follow.
- If something does not work, check the Troubleshooting page of the wiki for common errors and fixes.
- To manage Strobes from an AI assistant instead, see "Connecting Claude and Codex to Strobes Using MCP Servers".
More in Automation & Workflows
- Connecting Claude and Codex to Strobes Using MCP Servers
- Creating a New AutomationBuilding an automation from scratch
- Using Automation TemplatesA library of ready to use automation templates
- Configuring Actions in Strobes AutomationLearn the essentials of task management on Strobes. From creating and assigning tasks to understanding task statuses and priorities, this section covers the fundamental workflows your team needs to stay aligned.
Was this page helpful?