Build on
Stategraph
Full programmatic access to your infrastructure state. REST API for querying, automation, and deep integration with your toolchain.
Core Endpoints
List all resources with filtering, pagination, and field selection
Execute SQL queries against your state database
Get the dependency graph for a specific resource
Get current lock status to see who's working on what resources
SQL Query Examples
What You Can Build
Check Before You Break
Query dependencies before changes to understand blast radius. Know exactly what will be affected before you apply.
GET /resources/{id}/dependencies
Find Anything with SQL
Search resources by type, tags, or any attribute. Identify orphaned resources and configuration drift instantly.
POST /query • SQL
Build Custom UIs
Create tailored dashboards, approval workflows, and visualization tools. The API gives you full control to build exactly what your team needs.
REST API • WebSockets
No More JSON Parsing
Query state history, audit changes, analyze relationships. Your infrastructure state as a proper database.
POST /query • SQL
Stop coordinating. Start shipping.
Resource-level locking. Graph-based state. SQL queries on your infra.
Teams work in parallel. No more lock contention.
// Zero spam. Just progress updates as we build Stategraph.