{"name":"onyx_usage_rights","tier":"metered","price_usdc":"0.01","endpoint":"https://onyx-actions.onrender.com/v1/onyx_usage_rights","method":"POST","input_schema":{"type":"object","properties":{"output_hash":{"type":"string","description":"sha256:<hex> of the artifact the rights apply to"},"output":{"description":"Or: the artifact itself (object or string); it is hashed with sha256 over its JCS-canonical form"},"rights":{"type":"object","description":"Rights grid. Keys: resale, redistribute, derivatives, retrain — each 'allow' | 'deny' | 'with-attribution' | 'contact-licensor'. Plus optional cache_ttl_seconds (int)."},"licensor":{"type":"string","description":"Issuer of the rights (name, domain, or wallet)"},"licensee":{"type":"string","description":"Optional: who the rights are granted to (wallet/agent id); omit for bearer terms"},"payment_ref":{"type":"string","description":"Optional: x402 tx hash / receipt id binding rights to the purchase"},"expires_at":{"type":"integer","description":"Optional: unix time the grant lapses"}},"required":["rights","licensor"]},"description":"Mint a signed Output Usage-Rights Envelope for an agent-produced artifact: a portable, Ed25519-signed declaration of what the buyer may do with it (resale, redistribution, derivatives, model training, cache TTL). Bind it to the artifact by hash and optionally to an x402 payment. Verify free with onyx_attestation_verify. Rights travel with the data — any downstream holder can check the terms offline.","when_to_use":null,"vs_alternatives":null,"example_request":null,"example_response":null,"settle_to":"0x3fD9ee1373562f894D322B37DFFAd7a5D2b2d78f","network":"base","facilitator":"https://facilitator.xpay.sh","payment_required":true,"free_introspection":true,"note":"GET this URL = free introspection card. POST with x402 payment header to call."}