Clear the goal [write]
Changed onStops the loop for good with stop_reason "cleared", and interrupts the run the goal itself started if one is going. The record stays readable so the session can still report what it was working on; setting a new goal replaces it.
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/sessions/{id}/goal
- AuthHTTP bearer
Path parameters
The session id
Headers
Dedupes a retry of this mutation. The same key with a different body is refused with 409 idempotency_conflict.
Response
OK
Changes
- breaking
added to the
/response propertyoneOflist for the response status - breaking
the
/response's property type changed fromobjectto no type for status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the optional property
/to the response with the status - info
added to the
/response propertyallOflist for the response status - info
removed
subschema #1from the/response propertyoneOflist for the response status
- breaking