x402basequality 0.78

Risk policy engine returning exposure caps, stablecoin floors, and risk budgets for crypto portfolio workflows.

Price
per_call
Protocol
x402
Verified
no

What it does

The Selun Policy Envelope endpoint is a synchronous, payment-gated x402 service that computes risk policy constraints for crypto portfolio construction. Given a risk tolerance (Conservative, Balanced, Growth, or Aggressive), investment timeframe (<1 year, 1–3 years, 3+ years), and an optional portfolio segment (Bluechips, Memecoins, Gaming, Yield Farm), it returns exposure caps, stablecoin floor percentages, risk budget parameters, authorization constraints, and segment-aware universe guidance. These outputs serve as hard constraints that any downstream allocation must satisfy.

The endpoint is part of the Selun suite by Sagitta Systems, which also includes Market Regime classification, Asset Scorecard scoring, full Allocation, Allocation with Report, and Rebalance endpoints. Policy Envelope is one of the lower-cost synchronous tools ($0.25 USDC per call) designed to be called independently or as a building block in larger agent pipelines. Payment is settled in USDC on Base (chain ID eip155:8453) via the x402 protocol using the Coinbase CDP facilitator. No API key or account is required — the caller pays per request by attaching a PAYMENT-SIGNATURE header.

The endpoint accepts POST requests with a JSON body containing a required decisionId, riskTolerance, and timeframe, plus an optional portfolioSegment. It supports an Idempotency-Key header for safe retries. The response schema includes a success boolean, an executionModelVersion string, and a data object containing the computed policy envelope. The service is live and returning proper 402 payment challenges as of the probe date.

Capabilities

risk-policy-computationexposure-cap-calculationstablecoin-floorrisk-budgetsegment-filteringx402-payment-gatingusdc-base-settlementidempotent-requestssynchronous-response

Use cases

  • Computing hard risk constraints before running a crypto portfolio allocation
  • Validating policy parameters independently in governance or compliance workflows
  • Feeding exposure caps and risk budgets into a custom allocation or rebalancing pipeline
  • Monitoring whether current holdings violate policy constraints for a given risk profile
  • Building multi-step agent workflows that separate policy scoping from asset selection

Fit

Best for

  • AI agents orchestrating multi-step crypto portfolio construction pipelines
  • Developers building automated portfolio management tools that need explicit risk guardrails
  • Governance workflows requiring independent policy parameter validation before allocation

Not for

  • Users who need a complete portfolio allocation in one call (use the Allocation endpoint instead)
  • Traditional equity or fixed-income portfolio management — this is crypto-focused
  • Users without an x402-compatible client or USDC on Base for payment

Quick start

curl -X POST https://selun.sagitta.systems/agent/x402/policy-envelope \
  -H 'Content-Type: application/json' \
  -d '{
    "decisionId": "my-decision-001",
    "riskTolerance": "Balanced",
    "timeframe": "1-3_years",
    "portfolioSegment": "Bluechips"
  }'
# Returns 402 with PAYMENT-REQUIRED header.
# Sign and resend with PAYMENT-SIGNATURE to get the policy envelope.

Example

Request

{
  "timeframe": "1-3_years",
  "decisionId": "my-decision-001",
  "riskTolerance": "Balanced",
  "portfolioSegment": "Bluechips"
}

Response

{
  "data": {
    "timeframe": "1-3_years",
    "decisionId": "my-decision-001",
    "riskTolerance": "Balanced",
    "policyEnvelope": {
      "riskBudget": {},
      "exposureCaps": {},
      "stablecoinFloor": 0.15,
      "universeGuidance": {},
      "authorizationConstraints": {}
    },
    "portfolioSegment": "Bluechips"
  },
  "success": true,
  "executionModelVersion": "Selun-1.0.0"
}

Endpoint

Transporthttp
Protocolx402
Pay to0xac6aA71c4b48b75d2dFF70a4Bc7a0F5D547c302f
CurrencyUSD COIN

Quality

0.78/ 1.00

Full OpenAPI 3.1 schema with typed request body, clear pricing, live 402 challenge confirmed, and detailed pricing page. Docked because the response data object uses additionalProperties:true with no detailed schema for the policy envelope fields, and no example response is provided in the docs — the example_response_json above is inferred from the description.

Warnings

  • Response data schema is opaque (additionalProperties: true) — exact fields in the policy envelope are not documented.
  • Example response is inferred from endpoint description, not from actual observed output.
  • This endpoint provides financial risk parameters for crypto portfolios — it is in a regulated-adjacent category. Users should perform their own due diligence.
  • robots.txt blocks GPTBot entirely; ClaudeBot is allowed with restrictions on /api/ and /admin.

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-22 01:32:13Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-21
Last seen2026-04-22

Agent access