Report the adapter result for a wake this Runner holds. Idempotent on (id, nonce): a retry after a dropped response gets the same answer. Writes the Run, ends the wake, and enqueues one fresh wake if a repeat arrived mid-run.
POST
/api/v1/runner/v1/wakes/{id}/complete
const url = 'https://example.com/api/v1/runner/v1/wakes/example/complete';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"nonce":"example","exit":"ok","usage":{"tokens_in":1,"tokens_out":1},"session_id":"example","summary":"example","error":"example","limit_reached_until":"2026-04-15T12:00:00Z","tool_version":"example"}'};
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://example.com/api/v1/runner/v1/wakes/example/complete \ --header 'Content-Type: application/json' \ --data '{ "nonce": "example", "exit": "ok", "usage": { "tokens_in": 1, "tokens_out": 1 }, "session_id": "example", "summary": "example", "error": "example", "limit_reached_until": "2026-04-15T12:00:00Z", "tool_version": "example" }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
nonce
required
string
exit
required
string
usage
object
tokens_in
required
integer
tokens_out
required
integer
session_id
string
summary
string
error
string
limit_reached_until
string format: date-time
tool_version
string