{"ok":true,"tool":"task-state-transition-gate","name":"Agent Task State Transition Gate","calls":100,"credits_per_call":1,"required_credits":100,"x402":{"price_per_call":"$0.005","currency":"USDC","network":"Solana","endpoint":"https://bounty-engineer-x402-prod.onrender.com/v1/task-state-transition-gate"},"paypal":{"recommended_one_time_pack":{"id":"launch","amount_usd":"1.99","credits":200,"calls_covered":200,"checkout":"https://bounty-engineer-x402-prod.onrender.com/paypal?utm_source=workflows"},"note":"Credits and USDC prices are separate payment options. No automatic subscription is selected."},"prepaid_endpoint":"https://bounty-engineer-x402-prod.onrender.com/v1/prepaid/task-state-transition-gate","input_example":{"from":"working","to":"completed"},"sample_output":{"ok":true,"mode":"task_state_transition_gate","decision":"allow","from":"working","to":"completed","known_from_state":true,"allowed_targets":["input_required","completed","failed","cancelled"],"reason":"allowed_transition","limitations":["The default state machine is a generic agent-task profile. Supply allowed_transitions when a specific protocol or application uses different states."]},"sample_note":"Worked example using published sample data only.","free_preview":"https://bounty-engineer-x402-prod.onrender.com/v1/free-preview?tool=task-state-transition-gate","integration":{"method":"POST","headers":{"Authorization":"Bearer YOUR_PRIVATE_API_KEY","Content-Type":"application/json","Idempotency-Key":"UNIQUE_PER_LOGICAL_REQUEST","X-Max-Credits":"1"},"body":{"from":"working","to":"completed"}},"limitations":["Never put your API key in a URL or public workflow export.","Reuse the same idempotency key for retries of the same input.","Execution of your own data requires a verified payment and available credits."]}