Skip to content

yolo_get

GET
/v1/yolo
curl --request GET \
--url https://example.com/v1/yolo

YOLO mode: off, on (auto-approve new low and medium risk requests) or hard (every risk). Runtime only; a daemon restart turns it off.

Media typeapplication/json

GET/PUT /v1/yolo response and the yolo.changed event payload.

object
mode
required
string
Allowed values: off on hard
until

Unix milliseconds when the mode turns itself off; null = until turned off.

integer | null format: int64
Example
{
"mode": "off"
}