Where the runner's mail watch is, for the agent it wakes
const url = 'https://deck.example.com/api/v1/round';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://deck.example.com/api/v1/round \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”quietdeck round status: where the runner’s mail watch is, for the agent it wakes.
quietdeck round status: where the runner’s mail watch is, for the agent it wakes.
object
One mailbox the runner watches.
object
Gmail’s history ID the watch has read up to.
Messages since the last wake-up, waiting for the next one. None: some, but how many isn’t known.
When the watch started on it. Mail from before then never woke anyone: it’s the agent’s own to sweep, or to leave. None when the watch started before this was recorded.
The last time the watch read the mailboxes’ history.
No runner on the caller’s machine runs for this session, or it isn’t connected: nothing else is set.
A wake-up went and round done hasn’t come yet, so no other goes.
Example generated
{ "accounts": [ { "history_id": "example", "id": "example", "label": "example", "new_since_wakeup": 1, "watching_since": "example" } ], "checked_at": "example", "runner": true, "waiting": true, "woke_at": "example"}default
Section titled “default”An error, with its message.
Every error the REST API returns, with an HTTP status.
object
Example generated
{ "error": "example"}