<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/pulumi-context-api-one-graph-for-all-your-infrastructure-0wcv66gps" -->

---
title: Pulumi Context API: One Graph for All Your Infrastructure
description: Pulumi has launched the Context API in preview, letting teams query a unified graph of their infrastructure spanning Pulumi-managed resources, stack...
canonical: https://daily.dev/posts/pulumi-context-api-one-graph-for-all-your-infrastructure-0wcv66gps
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Pulumi Context API: One Graph for All Your Infrastructure | daily.dev
og:description: Pulumi has launched the Context API in preview, letting teams query a unified graph of their infrastructure spanning Pulumi-managed resources, stack...
og:url: https://daily.dev/posts/pulumi-context-api-one-graph-for-all-your-infrastructure-0wcv66gps
og:image: https://api.daily.dev/og/posts/0wcV66gPs.png
og:image:alt: Pulumi Context API: One Graph for All Your Infrastructure
og:image:width: 1200
og:image:height: 630
og:locale: 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 · 2 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 what version of the Pulumi CLI do I need to use it?

The Pulumi Context API is a new preview feature that exposes a queryable graph combining Pulumi-managed resources, stack dependencies, and cloud resources discovered outside IaC via Discovery. It requires Pulumi CLI v3.243.0 or later to run the pulumi api commands, and is available for organizations on the Enterprise and Business Critical editions.

_Track new Pulumi releases like this one on daily.dev before rolling out infrastructure graph queries._

### How do I query the Pulumi Context API to find resources managed by an outdated AWS provider version?

Send a JSON query with anchor, traverse, and return clauses to the graph query endpoint. The anchor targets the pulumi:providers:aws node type with a provider_version field filtered by a comparison operator like lt for '7.0.0', then traverse follows provided_by edges inward to find managed resources, and return selects both the anchor and managed nodes.

_daily.dev helps infrastructure engineers keep up with query syntax changes across IaC tools like Pulumi._

### How can an AI coding agent like Claude Code or Cursor learn to use the Pulumi Context API on its own?

Any agent can self-onboard by fetching a Markdown schema primer from the schema endpoint, retrievable via the CLI command pulumi api GetGraphSchema or a plain HTTP GET request with an Accept: text/markdown header. This primer documents the node and edge vocabulary, full query grammar, and examples, and validation errors list legal values inline so an agent can correct rejected queries by re-reading it.

_Developers wiring agents into infrastructure tooling follow API changes like this through daily.dev._

## Similar posts on daily.dev

- [Neo Security: Securing Infrastructure in the Agentic Era](https://daily.dev/posts/neo-security-securing-infrastructure-in-the-agentic-era-vetjfyh9d) · Pulumi · 0 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
- [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
- [Building the Live Context Graph for Agents, 28 Weekly Releases Later](https://daily.dev/posts/building-the-live-context-graph-for-agents-28-weekly-releases-later-8loqsdfvj) · Materialize · 1 upvotes · 0 comments

---

Tags: [#cloud](https://daily.dev/tags/cloud), [#ai-agents](https://daily.dev/tags/ai-agents), [#architecture](https://daily.dev/tags/architecture), [#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)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Pulumi Context API: One Graph for All Your Infrastructure","url":"https://daily.dev/posts/pulumi-context-api-one-graph-for-all-your-infrastructure-0wcv66gps","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/pulumi-context-api-one-graph-for-all-your-infrastructure-0wcv66gps"},"datePublished":"2026-08-26T21:47:00.511Z","dateModified":"2026-09-14T09:14:24.767Z","description":"Pulumi has launched the Context API in preview, letting teams query a unified graph of their infrastructure spanning Pulumi-managed resources, stack...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5aed91d88054db6e6fdd71904ae7c144?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5aed91d88054db6e6fdd71904ae7c144?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Pulumi","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Pulumi","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/9792c211dccf434c8b469efac5b7b2ec","url":"https://daily.dev/sources/pulumi"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/pulumi-context-api-one-graph-for-all-your-infrastructure-0wcv66gps","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cloud,ai-agents,architecture,iac,pulumi","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Pulumi","item":"https://daily.dev/sources/pulumi"},{"@type":"ListItem","position":3,"name":"Pulumi Context API: One Graph for All Your Infrastructure"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/pulumi-context-api-one-graph-for-all-your-infrastructure-0wcv66gps#faq","mainEntity":[{"@type":"Question","name":"What is the Pulumi Context API and what version of the Pulumi CLI do I need to use it?","acceptedAnswer":{"@type":"Answer","text":"The Pulumi Context API is a new preview feature that exposes a queryable graph combining Pulumi-managed resources, stack dependencies, and cloud resources discovered outside IaC via Discovery. It requires Pulumi CLI v3.243.0 or later to run the pulumi api commands, and is available for organizations on the Enterprise and Business Critical editions. Track new Pulumi releases like this one on daily.dev before rolling out infrastructure graph queries."}},{"@type":"Question","name":"How do I query the Pulumi Context API to find resources managed by an outdated AWS provider version?","acceptedAnswer":{"@type":"Answer","text":"Send a JSON query with anchor, traverse, and return clauses to the graph query endpoint. The anchor targets the pulumi:providers:aws node type with a provider_version field filtered by a comparison operator like lt for '7.0.0', then traverse follows provided_by edges inward to find managed resources, and return selects both the anchor and managed nodes. daily.dev helps infrastructure engineers keep up with query syntax changes across IaC tools like Pulumi."}},{"@type":"Question","name":"How can an AI coding agent like Claude Code or Cursor learn to use the Pulumi Context API on its own?","acceptedAnswer":{"@type":"Answer","text":"Any agent can self-onboard by fetching a Markdown schema primer from the schema endpoint, retrievable via the CLI command pulumi api GetGraphSchema or a plain HTTP GET request with an Accept: text/markdown header. This primer documents the node and edge vocabulary, full query grammar, and examples, and validation errors list legal values inline so an agent can correct rejected queries by re-reading it. Developers wiring agents into infrastructure tooling follow API changes like this through daily.dev."}}]}
```

