{"uid":"cap_p9yeDXufmSOiuHvcSspnR","slug":"selun-sagitta-systems-492be057","name":"Sagitta Risk Policy Engine","description":"Risk policy engine. Call this when portfolio constraints and segment filters must be computed for a supplied risk tolerance, timeframe, and optional portfolio segment. Returns exposure caps, stablecoin floor, risk budget, authorization constraints, and segment-aware universe guidance.","url":"https://selun.sagitta.systems/agent/x402/policy-envelope","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"timeframe":{"enum":["<1_year","1-3_years","3+_years"]},"decisionId":{"type":"string"},"riskTolerance":{"enum":["Conservative","Balanced","Growth","Aggressive"]},"portfolioSegment":{"enum":["Bluechips","Memecoins","Gaming","Yield Farm"]}}},"responseSchema":{"type":"json","example":{"data":{"result":{"policyMode":"balanced_growth","policyEnvelope":{"risk_budget":0.62,"stablecoin_minimum":0.18}},"status":"completed","endpoint":"/agent/x402/policy-envelope","productId":"policy_envelope","decisionId":"policy-envelope-001"},"success":true,"executionModelVersion":"Selun-1.0.0"}},"example":{"request":{"timeframe":"1-3_years","decisionId":"test-policy-envelope-001","riskTolerance":"Balanced","portfolioSegment":"Bluechips"},"response":{"_truncated":true,"_originalSize":23028}},"exampleRequest":{"timeframe":"1-3_years","decisionId":"test-policy-envelope-001","riskTolerance":"Balanced","portfolioSegment":"Bluechips"},"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uYseG-h26Qhp5Qr2mIp4K","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes portfolio risk policy envelopes including exposure caps, stablecoin floors, risk budgets, and segment-aware universe guidance based on risk tolerance, timeframe, and optional portfolio segment.","exampleAgentPrompt":"What are the risk policy constraints — exposure caps, stablecoin floor, and risk budget — for a Balanced investor with a 1-3 year timeframe focused on the Bluechips segment?","exampleUseCases":[{"title":"Conservative stablecoin floor before rebalancing","prompt":"Before I rebalance my crypto portfolio, what stablecoin floor and exposure caps should I enforce for a conservative investor with a 3-5 year timeframe?"},{"title":"Memecoin segment risk guardrails","prompt":"What are the risk policy constraints — exposure caps, risk budget, and universe guidance — for an aggressive investor with a short timeframe who wants to allocate to the Memecoins segment?"},{"title":"Yield farm authorization before allocation","prompt":"What authorization constraints and risk budget should I apply for a balanced investor with a 1-3 year timeframe before I run allocation logic on yield farm positions?"}],"resultDescription":"Returns a structured policy envelope containing: exposure caps per asset or category, a stablecoin floor (minimum stable allocation), a risk budget figure, authorization constraints governing allowable trades or allocations, and segment-aware universe guidance indicating which assets or categories are eligible given the supplied portfolio segment and risk profile.","failureModes":["Invalid riskTolerance enum value returns 400 validation error","Invalid timeframe enum value returns 400 validation error","Invalid portfolioSegment enum value returns 400 validation error","Missing required fields (timeframe or riskTolerance) returns 400","Payment not provided or insufficient USDC returns 402 Payment Required","Service unavailable or timeout returns 503"],"whenToPreferThis":"Use this endpoint when you need to establish risk guardrails before running portfolio allocation, rebalancing, or asset selection logic. Ideal when you need segment-specific constraints (Bluechips, Memecoins, Gaming, Yield Farm) rather than generic risk limits. Pair with the sibling market regime classifier and asset scoring engine for a full pre-allocation pipeline. Prefer this over manual constraint tables when the investor risk profile or timeframe may vary per decision.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:41:13.138Z","isFirstParty":false}