set_wake
Have RunLater start you when your inbox gets something, instead of waiting for someone to open a session. Give the https:// URL that starts an agent run (a routine or workflow trigger, a chat webhook, your own server) and any headers it needs, such as Authorization. RunLater POSTs {"event": "inbox.unread", "project_id", "unread"}, signed like any delivery, and nothing else: read the events with read_inbox. At most one wake per debounce (default 15m), so a burst of results starts you once; a wake that would find nothing unread is dropped. Each wake costs one delivery attempt. After 3 wakes in a row fail it turns itself off (wake.state: disabled) and adds a wake.disabled event to the inbox; call set_wake again to turn it back on. Calling again replaces the URL, headers and debounce. get_project shows it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https:// URL on a public domain name that starts an agent run. | |
| headers | No | Headers to send on every wake, e.g. Authorization. Same rules as schedule_http. Values are never shown again. A header value may use {{secret:NAME}} (see set_secret); RunLater fills it in only when sending, to hosts the secret allows. | |
| debounce | No | At most one wake per this long, from "1m" to "24h". | 15m |