{"uid":"cap_uKpM4Ji66qkaiLc_KhREI","slug":"workflow-dependency-check-9342470b","name":"Workflow Dependency Check","description":"Check up to 64 workflow steps for duplicate IDs, missing dependencies and cycles. Returns a deterministic topological order only when valid. No scheduling, tool execution, access approval or guarantee that the workflow will succeed. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.","url":"https://www.mahastrategies.com/api/v1/verify/workflows/dependencies?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"steps":{"type":"array","maxItems":64,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.035006","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.035006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uMZnii0FcrMipIWb-kQYV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates up to 64 workflow steps for duplicate IDs, missing dependencies, and cycles, returning a deterministic topological order when the graph is valid.","exampleAgentPrompt":"Can you check these 12 workflow steps for any duplicate IDs, missing dependencies, or cycles, and give me a valid topological execution order if everything looks clean? The data is synthetic.","exampleUseCases":[{"title":"Pre-deploy pipeline DAG validation","prompt":"Before I deploy this data pipeline, check these 30 workflow steps for any cycles or missing dependency references and tell me if there's a valid execution order."},{"title":"CI gate for workflow definitions","prompt":"I've got a set of 18 workflow steps from our config file — can you validate them for duplicate IDs and dependency cycles so we can block the merge if something's broken?"},{"title":"Debugging a stuck automation workflow","prompt":"My automation workflow keeps failing to start — here are 45 steps with their declared dependencies. Can you find any cycles or missing links causing the problem and show me a topological order if it's fixable?"}],"resultDescription":"Returns either a deterministic topological ordering of all workflow steps (when the graph is valid) or a structured list of validation errors — duplicate step IDs, missing dependency references, and/or detected cycles. Results are retained for 24 hours; minimal receipt metadata is kept for 90 days. No scheduling or execution is performed.","failureModes":["Steps array exceeds 64 items — request rejected","Cycle detected — topological order cannot be produced, cycle path returned","Duplicate step IDs found — error listing the conflicting IDs returned","Missing dependency reference — step references an ID not present in the steps array","Invalid dataClass value — must be 'public' or 'synthetic'","Malformed steps payload — missing required step structure fields"],"whenToPreferThis":"Choose this endpoint when you need a pure, stateless DAG validation service that checks for structural graph errors (duplicates, missing refs, cycles) and produces a guaranteed topological order — before any execution or scheduling occurs. Prefer this over general-purpose workflow engines when you want a lightweight, deterministic pre-flight check at low cost ($0.035 per call) without side effects, tool execution, or access approval steps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:31.951Z","isFirstParty":false,"canonicalSlug":"workflow-dependency-check-9342470b"}