The woken agent finished its round
POST
/api/v1/round/done
const url = 'https://deck.example.com/api/v1/round/done';const options = {method: 'POST', 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 POST \ --url https://deck.example.com/api/v1/round/done \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”quietdeck round done’s answer.
Media typeapplication/json
quietdeck round done’s answer.
object
runner_told
required
Whether a runner on the caller’s machine was told. False when none runs for this session.
boolean
Example generated
{ "runner_told": true}default
Section titled “default”An error, with its message.
Media typeapplication/json
Every error the REST API returns, with an HTTP status.
object
error
required
string
Example generated
{ "error": "example"}