---
title: "Pulumi Context API: One Graph for All Your Infrastructure"
url: https://daily.dev/posts/pulumi-context-api-one-graph-for-all-your-infrastructure-0wcv66gps
source_url: https://www.pulumi.com/blog/pulumi-context-api
type: article
source: "Pulumi"
published: 2026-08-26T21:47:00.511Z
updated: 2026-08-26T21:48:51.287Z
tags: ["cloud", "architecture", "ai-agents", "iac", "pulumi"]
reading_time: 5
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Pulumi Context API: One Graph for All Your Infrastructure

**[Pulumi](https://daily.dev/sources/pulumi)** · 5 min read · 1 upvotes · 0 comments

## Summary

Pulumi has launched the Context API in preview, letting teams query a unified graph of their infrastructure spanning Pulumi-managed resources, stack dependencies, and cloud resources discovered outside IaC. Queries are JSON documents with anchor, traverse, and return clauses, submitted via REST or the Pulumi CLI. The API is designed for AI agents: Pulumi Neo uses it natively, and any other agent (Claude Code, Cursor, Codex) can self-onboard by fetching a Markdown schema primer that documents the full query grammar. It's available now for organizations on Enterprise and Business Critical editions, requires Pulumi CLI v3.243.0+, and reuses existing Resource Search permissions. Future plans include adding Pulumi ESC environments, teams/roles, cloud accounts, and Pulumi IDP service catalog data to the graph.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.pulumi.com/blog/pulumi-context-api>

## Questions this post answers

### What is the Pulumi Context API and how do I query it?

The Pulumi Context API is a preview feature that exposes Pulumi's infrastructure knowledge as a single queryable graph covering managed resources, stack dependencies, and resources discovered outside IaC. Queries are JSON documents with anchor, traverse, and return clauses, sent via POST to the insights graph query endpoint or through the pulumi api GraphQuery CLI command. It requires Pulumi CLI v3.243.0 or later and Enterprise or Business Critical edition access.

_daily.dev surfaces infrastructure tooling updates for teams adopting graph-based IaC queries._

### How can an AI coding agent like Claude Code or Cursor learn to query Pulumi infrastructure?

Any agent can self-onboard by fetching a Markdown schema primer from the Context API's schema endpoint, retrievable via the pulumi api GetGraphSchema CLI command or a plain HTTP GET request with an Accept header of text/markdown. The primer documents the node and edge vocabulary, full query grammar, and examples, and validation errors list legal values inline so an agent can correct its own queries after rejection.

_developers wiring agents into infra tooling track releases like this one on daily.dev._

### Which Pulumi edition and CLI version are required to use the Context API?

The Context API is available in preview for every organization on the Enterprise and Business Critical editions, with no separate signup needed. Running the pulumi api commands requires Pulumi CLI version 3.243.0 or later, and access permissions mirror those of Resource Search, meaning anyone who can already search resources in the console can query the graph.

_platform teams evaluating IaC tooling upgrades keep tabs on changes like this via daily.dev._

## Similar posts on daily.dev

- [Pulumi Previews AI Agents Trained to Automate Infrastructure Management](https://daily.dev/posts/pulumi-previews-ai-agents-trained-to-automate-infrastructure-management-zhvbhpqh4) · DevOps.com · 2 upvotes · 0 comments
- [Pulumi 2025: Neo, Next-Gen Policies, and Platform Engineering at Scale](https://daily.dev/posts/pulumi-2025-neo-next-gen-policies-and-platform-engineering-at-scale-d7kqrmzxz) · Pulumi · 2 upvotes · 0 comments
- [Better CLI Interactions for Agents and Humans](https://daily.dev/posts/better-cli-interactions-for-agents-and-humans-gzarzufgk) · Pulumi · 0 upvotes · 0 comments

---

Tags: [#cloud](https://daily.dev/tags/cloud), [#architecture](https://daily.dev/tags/architecture), [#ai-agents](https://daily.dev/tags/ai-agents), [#iac](https://daily.dev/tags/iac), [#pulumi](https://daily.dev/tags/pulumi)

[View this post on daily.dev](https://daily.dev/posts/pulumi-context-api-one-graph-for-all-your-infrastructure-0wcv66gps)
