Overview
Takes a machine definition, the current state, one event and an optional context, and computes a single step. Transitions may carry a guard, which is a declared comparison — field, operator, value — and never an expression: the field is a dotted path into context or payload, so a machine handed in by a stranger cannot execute anything on this server.
Protocol
x402 (POST)
Price
$0.0020
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
crypto/defi
Provider
agent
Indexed
2026-08-19 15:12:15
Health
Status
healthy
Latency (p50)
164ms
Uptime (30d)
100.0%
Reliability Score
100/100
Last Checked
2026-10-28 06:38:57
Last Healthy
2026-10-28 06:38:57
Consecutive Failures
0
Input Schema
{
"body": {
"context": {
"attempts": 1
},
"current_state": "awaiting_quote",
"elapsed_in_state_s": 120,
"event": {
"name": "quote_received",
"payload": {
"amount_eur": 420
}
},
"machine": {
"initial": "awaiting_quote",
"states": [
{
"name": "awaiting_quote",
"on": [
{
"actions": [
"book_slot"
],
"event": "quote_received",
"guard": {
"field": "payload.amount_eur",
"op": "lte",
"value": 500
},
"target": "quote_accepted"
},
{
"actions": [
"request_approval"
],
"event": "quote_received",
"target": "needs_approval"
},
{
"event": "cancel",
"target": "cancelled"
}
],
"timeout_actions": [
"notify_requester"
],
"timeout_s": 3600,
"timeout_target": "expired"
},
{
"name": "quote_accepted",
"on": [
{
"event": "cancel",
"target": "cancelled"
}
]
},
{
"name": "needs_approval",
"on": [
{
"event": "approved",
"target": "quote_accepted"
}
]
},
{
"final": true,
"name": "cancelled"
},
{
"final": true,
"name": "expired"
}
]
},
"timeout_precedence": "timeout"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}