{"uid":"cap_PcBiDXntVJVQQKbE4ZSRr","slug":"rqm-execution-plan-select-ba752a49","name":"RQM Execution Plan Select","description":"Execution Plan Select: Select a supported execution plan against the supplied cost, depth, duration limits, and weights. Use when: Use when a bounded request matches rqm.studio.execution-plan-select-request.v1 and the caller needs the dec... Returns: ranked feasible plans, objective scores, selected plan identity. Boundaries: Deterministic bounded local software evidence only; no QPU, live-provider, physical, formal-proof, certif...","url":"https://jobs.rqmtechnologies.com/x402/buyer-jobs/quantum.execution-plan-select.v1","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request":{"type":"object","title":"PlanSelectionRequest","required":["plans","weights","maximum_cost_usd","maximum_depth","maximum_duration_seconds"],"properties":{"plans":{"type":"array","items":{"type":"object","title":"Plan","required":["plan_id","estimated_cost_usd","compiled_depth","estimated_duration_seconds","target_snapshot_digest","feasible"],"properties":{"shots":{"type":"integer","title":"Shots","default":0,"maximum":10000000,"minimum":0},"plan_id":{"type":"string","title":"Plan Id","maxLength":128,"minLength":1},"feasible":{"type":"boolean","title":"Feasible"},"queue_seconds":{"type":"number","title":"Queue Seconds","default":0,"maximum":31536000,"minimum":0},"compiled_depth":{"type":"integer","title":"Compiled Depth","maximum":1000000,"minimum":0},"estimate_model_id":{"type":"string","title":"Estimate Model Id","default":"caller-supplied-v1","maxLength":128,"minLength":1},"estimated_cost_usd":{"type":"number","title":"Estimated Cost Usd","maximum":1000000000,"minimum":0},"target_snapshot_digest":{"type":"string","title":"Target Snapshot Digest","pattern":"^[a-f0-9]{64}$"},"estimated_duration_seconds":{"type":"number","title":"Estimated Duration Seconds","maximum":31536000,"minimum":0},"estimated_error_probability":{"type":"number","title":"Estimated Error Probability","default":0,"maximum":1,"minimum":0}},"additionalProperties":false},"title":"Plans","maxItems":128,"minItems":1},"weights":{"type":"object","title":"Weights","propertyNames":{"enum":["cost","depth","duration","error","queue"]},"additionalProperties":{"type":"number"}},"maximum_depth":{"type":"integer","title":"Maximum Depth","maximum":1000000,"minimum":0},"maximum_cost_usd":{"type":"number","title":"Maximum Cost Usd","maximum":1000000000,"minimum":0},"maximum_queue_seconds":{"type":"number","title":"Maximum Queue Seconds","default":31536000,"maximum":31536000,"minimum":0},"maximum_duration_seconds":{"type":"number","title":"Maximum Duration Seconds","maximum":31536000,"minimum":0},"maximum_estimated_error_probability":{"type":"number","title":"Maximum Estimated Error Probability","default":1,"maximum":1,"minimum":0}},"additionalProperties":false},"schema_version":{"const":"rqm.jobs.bazaar-buyer-job-request.v1"},"idempotency_key":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","maxLength":128,"minLength":1},"max_total_price":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OxQy8gY0IvJnMpyAs4_Y0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Selects the optimal execution plan from a candidate list based on cost, depth, duration limits, and configurable weights.","exampleAgentPrompt":"I have 5 candidate quantum execution plans — pick the best one that fits within $0.50 cost, depth 500, and 1800 seconds, weighting cost at 0.6, depth at 0.2, and duration at 0.2.","exampleUseCases":[{"title":"Budget-constrained quantum job selection","prompt":"I have 8 quantum execution plans and need to pick the best one that costs no more than $1.00 and runs within 3600 seconds — weight cost at 0.7 and duration at 0.3, ignore depth."},{"title":"Speed-optimized plan for tight deadline","prompt":"From these 4 candidate plans, select the one that finishes fastest — my maximum duration is 600 seconds, max depth is 100, max cost is $5, and I want duration weighted at 0.8 and cost at 0.2."},{"title":"Balanced tradeoff plan selection","prompt":"Given these 6 execution plans with their costs and depths, choose the best one under $2 and depth 200 with equal weights on cost, depth, and duration — all under 7200 seconds."}],"resultDescription":"Returns the selected execution plan identifier and supporting metadata indicating which of the supplied candidate plans best satisfies the provided cost, depth, and duration limits under the specified weights. Only feasible plans are considered in the selection.","failureModes":["No feasible plan satisfies all constraints — returns empty or error indicating no valid selection","Invalid weight keys (outside cost/depth/duration enum) cause schema validation failure","Plan list empty or exceeds 128 items — rejected by schema","Negative or out-of-range cost/depth/duration values cause validation error","Malformed target_snapshot_digest (not 64 hex chars) causes rejection","Payment failure (x402) if insufficient USDC balance or payment not accepted"],"whenToPreferThis":"Use this endpoint when you have a pre-enumerated list of candidate quantum execution plans and need a deterministic, constraint-aware selection based on cost, depth, and duration limits with configurable weights. It is ideal for agentic quantum job orchestration where plan feasibility is already known and you need a bounded, reproducible selection decision rather than live provider scheduling or hardware-level execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:40:07.872Z","isFirstParty":false}