{"uid":"cap_402HVwTnXuQVv_nlQCPyi","slug":"delx-graphql-operation-index-840f2b57","name":"Delx GraphQL Operation Index","description":"Index named GraphQL queries, mutations, and subscriptions. Use it as a bounded preflight or analysis step inside an enterprise agent workflow before data, policy, integration, security, or commercial decisions reach production. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, memory-only, and has no paid upstream or input retention. Results are advisory; the caller remains responsible for authorization and production…","url":"https://api.delx.ai/api/v1/x402/graphql-operation-index","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"document":{"type":"string","description":"Input field: document."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-graphql-operation-index/v1","truncated":false,"operations":[{"name":"ListJobs","type":"query"},{"name":"RunJob","type":"mutation"}],"operation_count":2,"anonymous_operation":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wqOWvxrwd_uFHBCPT655R","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses and indexes named GraphQL operations (queries, mutations, subscriptions) from a document string, returning a structured machine-readable JSON list of all operations found.","exampleAgentPrompt":"Can you index all the named operations in this GraphQL document for me? Here's the document: 'query GetUser { user { id name } } mutation CreatePost { createPost(title: \"Hello\") { id } }'","exampleUseCases":[{"title":"Preflight GraphQL doc before execution","prompt":"Before we run this GraphQL document against the production API, can you index all the named queries, mutations, and subscriptions in it so I know exactly what operations are about to fire? Here's the document: 'query FetchOrders { orders { id status } } mutation CancelOrder { cancelOrder(id: \"123\") { success } }'"},{"title":"Security review of incoming GraphQL payload","prompt":"I need to audit this GraphQL document for our security review — can you extract and list all the named operations in it so we can check them against our allowed-operations policy? The document is: 'subscription OnOrderUpdate { orderUpdated { id total } } query GetCustomer { customer(id: \"abc\") { email } }'"},{"title":"Integration planning for new GraphQL API","prompt":"We're integrating with a third-party GraphQL API and I want to catalog all the operations defined in this document before we start building. Can you index the operation names and types? Document: 'query ListProducts { products { sku price } } query GetProduct { product(id: \"1\") { sku } } mutation UpdateInventory { updateStock(sku: \"X1\", qty: 5) { success } }'"}],"resultDescription":"Returns a deterministic machine-readable JSON object containing an indexed list of all named GraphQL operations found in the input document, including each operation's name and type (query, mutation, or subscription). The result is advisory and stateless — no data is retained after the call.","failureModes":["Invalid or malformed GraphQL document string returns a parse error","Empty document field returns an empty index or error","Document containing only anonymous operations may return no named entries","Network or payment authorization failure prevents call from completing","Oversized document string may exceed processing limits"],"whenToPreferThis":"Choose this endpoint when you need a fast, stateless, deterministic inventory of all named GraphQL operations in a document before making authorization, policy, security, or integration decisions. It is ideal as a bounded preflight step in enterprise agent workflows where you need machine-readable operation metadata without executing any actual GraphQL calls or retaining input data. Prefer it over manual parsing or LLM-based extraction when you need reliable, structured JSON output at low cost ($0.003 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:01:55.153Z","isFirstParty":false}