{"slug":"gateway-spraay-app-api-v1-cron-create-75ffba","title":"Schedule a recurring trigger","host":"gateway.spraay.app","method":"POST","resource":"https://gateway.spraay.app/api/v1/cron/create","category":"code","description":"Schedule a recurring trigger: 5-field cron in UTC, at least 1 hour between runs, 100 runs included. On each run the gateway POSTs a signed cron.triggered webhook to your https callback_url; your agent then calls batch/execute or payroll/execute itself and pays for it as usual. Actions: batch.execute","price_listed":0.1,"price_asked":0.1,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":928,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:4663","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"action":"batch.execute","callback_url":"https://agent.example.com/spraay/cron","maxRuns":52,"payload":{"amounts":["1000000"],"recipients":["0x..."],"token":"USDC"},"schedule":"0 9 * * 1"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"action":{"type":"string"},"callback_url":{"type":"string"},"maxRuns":{"type":"number"},"metadata":{"type":"object"},"payload":{"type":"object"},"schedule":{"type":"string"}},"required":["action","schedule","payload","callback_url"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"callback":{"type":"object"},"id":{"type":"string"},"nextRun":{"type":"string"},"status":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.1,"price_match":true,"latency_ms":928,"error":null}],"description_full":"Schedule a recurring trigger: 5-field cron in UTC, at least 1 hour between runs, 100 runs included. On each run the gateway POSTs a signed cron.triggered webhook to your https callback_url; your agent then calls batch/execute or payroll/execute itself and pays for it as usual. Actions: batch.execute, payroll.execute, webhook.trigger.","last_updated":"2026-10-08T21:28:10.99Z","schemes":["exact"]}