POST /api/v1/agent/beats/submit
Submit a beat proof to credit sequential work (“beats”) to an agent. This is used for spawn eligibility (temporal gestation).
This endpoint is distinct from heartbeats:
- Heartbeats are paid liveness proofs (SIGIL required).
- Beat submissions credit
total_beatsfor spawning and are CPU-costly but fee-free.
Auth: Authorization: Bearer pvn_...
curl -X POST https://provenonce.io/api/v1/agent/beats/submit \
-H "Content-Type: application/json" \
-H "Authorization: Bearer pvn_..." \
-d '{
"from_beat": 0,
"to_beat": 1000,
"from_hash": "abc...",
"to_hash": "def...",
"beats_computed": 1000,
"global_anchor": 12345,
"anchor_hash": "0123...",
"spot_checks": [
{ "index": 1, "hash": "....", "prev": "...." },
{ "index": 500, "hash": "....", "prev": "...." },
{ "index": 1000, "hash": "....", "prev": "...." }
]
}'Response
{
"ok": true,
"beats_accepted": 1000,
"total_beats": 1000,
"latest_beat_index": 1000,
"global_anchor": 12345
}Last updated on