
Sdl API
Lets an agent query the SentinelOne data lake and manage its config files over the SDL API
Sdl API is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 105
- Last commit
- License
- AGPL-3.0
- Listing updated
Similar skills
About Sdl API
This skill gives an AI coding agent working knowledge of the SentinelOne Singularity Data Lake API, covering both log queries and the configuration files that define parsers, dashboards, lookups and datatables on a tenant. It points the agent to the MCP tools for running PowerQuery and reading or writing config files, and steers it toward the GraphQL file surface because the older REST listing is incomplete for dashboards.
The skill's main value is in the guardrails it encodes. It explains how dashboards are addressed by their udoId rather than by name, why a name-based write to a dashboard creates a duplicate, and how expectedVersion protects against conflicting edits. It also covers the deprecated V1 query methods and the move to the LRQ endpoint, plus notes on rate limits and read-only mode.
It expects a SentinelOne console URL and API token configured on the user's machine, along with the s1-secops-mcp server or the bundled Python client and CLI for hosts that can reach the tenant. It also documents raw log ingestion through a write key and HEC, including the dataSource fields needed for detections to evaluate the data.
When your agent uses it
Use whenever the user wants to read data and manage configuration through the SentinelOne Singularity Data Lake (SDL) API: run queries or manage configuration files (parsers, dashboards, alerts, lookups, datatables) on a Scalyr/SDL/XDR tenant. Trigger on "SDL", "SDL API", "Singularity Data Lake", "Scalyr", "DataSet", or any "*.sentinelone.net/sdl/api/*" URL, and on the method names "query", "powerQuery", "facetQuery", "timeseriesQuery", "numericQuery", "configFiles", "configFile", "addConfigFile", "deleteConfigFile", "getFile", "putFile", "listFiles". Also trigger on "udoId", "config file", "/sdl/v2/graphql", or a console display string of the form "/dashboards/id/{number}/{name}". Also trigger on tasks like "run a powerQuery", "list configuration files", "edit my parser via API", "deploy a dashboard JSON", "compute the rate of failures over time", or anything involving SDL Bearer-token auth or the S1-Scope header. Uses the s1-secops-mcp sdl_* tools; host-only Python client.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- Network calls found in its scripts(see the files on GitHub)
- License: AGPL-3.0(see the files on GitHub)
From a static check of its 18 files (234 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the s1-secops-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add Sentinel-One/ai-siem
/plugin install s1-secops-skills@sentineloneOr copy only this skill to ~/.claude/skills/sdl-api:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Sentinel-One/ai-siem.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sdl-api &&
cp -R "$tmp/plugins/s1-secops-skills/skills/sdl-api" ~/.claude/skills/sdl-api &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/sdl-api inside it instead.
Copy the skill folder to ~/.agents/skills/sdl-api to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Sentinel-One/ai-siem.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sdl-api &&
cp -R "$tmp/plugins/s1-secops-skills/skills/sdl-api" ~/.agents/skills/sdl-api &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/sdl-api inside it instead.
Copy the skill folder to ~/.cursor/skills/sdl-api to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Sentinel-One/ai-siem.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sdl-api &&
cp -R "$tmp/plugins/s1-secops-skills/skills/sdl-api" ~/.cursor/skills/sdl-api &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/sdl-api inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/Sentinel-One/ai-siem.git --path plugins/s1-secops-skills/skills/sdl-apiOr copy the folder to ~/.gemini/skills/sdl-api yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/sdl-api:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Sentinel-One/ai-siem.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sdl-api &&
cp -R "$tmp/plugins/s1-secops-skills/skills/sdl-api" ~/.copilot/skills/sdl-api &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/sdl-api inside it instead.
Get the folder:
git clone --depth 1 https://github.com/Sentinel-One/ai-siem.gitThen copy ai-siem/plugins/s1-secops-skills/skills/sdl-api into your agent's skills folder as sdl-api. Agents that support SKILL.md read one folder per skill.
What it does
- Config file management
- Reads, creates, updates and deletes parsers, dashboards, lookups and datatables through the GraphQL file surface.
- PowerQuery execution
- Runs PowerQuery and log searches against the data lake through the LRQ endpoint.
- Dashboard udoId handling
- Explains how to address dashboards by udoId to avoid creating duplicate files.
- Schema discovery
- Samples live events from each data source to learn the fields it actually carries.
- Safe write workflow
- Requires reading the current version first and confirming before deletes or overwrites.
- Log ingestion via HEC
- Documents posting flat-key events to the collector with the required dataSource attributes.
Good for
- Export the current parser and dashboard files from a SentinelOne tenant
- Run a PowerQuery that counts failed requests by status over the last day
- Promote a tested parser from a staging scope to production
- Discover the field names available in a SentinelOne data source
- Inject synthetic events to test a detection rule
Sdl API FAQ
What credentials does Sdl API need?
A console URL and console API token, stored in environment variables or the OS keychain. An S1_SCOPE value is needed when the token spans several sites or accounts.
Why not use the REST file listing?
The skill notes that the REST listing omits udoId-addressed dashboard files, so it recommends the GraphQL surface to check whether a file exists.
Are the query methods still supported?
The V1 query methods are marked deprecated and sunset on 2027-02-15; the skill directs queries through the LRQ-based powerquery_run tool.
Does Sdl API write changes without asking?
The skill requires reading the current version first and getting explicit confirmation before deletes or overwrites, and the MCP server is read-only by default.
How do I install Sdl API in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/sdl-api to use it in all your projects, or to .claude/skills/sdl-api in one project. Or install the s1-secops-skills plugin, which includes it: /plugin marketplace add Sentinel-One/ai-siem, then /plugin install s1-secops-skills@sentinelone.
Does Sdl API run scripts?
Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Sdl API?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Sdl API?
The closest alternatives to Sdl API are Sdl dashboard, Sdl solutions, Mgmt console API, Sdl log parser and Powerquery.
Where this comes from
- Description: from the skill's own SKILL.md.
More from Sentinel-One/ai-siem

Lets an agent query and act on a SentinelOne Management Console via its API
- Open source
- 105 GitHub stars
- Security

Write, debug and run SentinelOne PowerQuery hunts, investigations and detection rules
- Open source
- 105 GitHub stars
- Security

Lets an AI agent design, author and deploy SentinelOne SDL dashboards and panels
- Open source
- 105 GitHub stars
- Analytics and data

Authors, debugs and validates SentinelOne SDL log parsers for raw log text
- Open source
- 105 GitHub stars
- Files and documents

Deploys packaged SentinelOne data lake solutions into a site from one prompt
- Open source
- 105 GitHub stars
- Security

Runs SentinelOne DFIR investigations and MITRE ATT&CK sweeps over alerts and raw logs
- Open source
- 105 GitHub stars
- Security



