yolo_get
GET
/v1/yolo
const url = 'https://example.com/v1/yolo';const options = {method: 'GET'};
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://example.com/v1/yoloYOLO mode: off, on (auto-approve new low and medium risk requests) or hard (every risk). Runtime only; a daemon restart turns it off.
Responses
Section titled “Responses”Media typeapplication/json
GET/PUT /v1/yolo response and the yolo.changed event payload.
object
mode
required
string
until
Unix milliseconds when the mode turns itself off; null = until turned off.
integer | null format: int64
Example
{ "mode": "off"}