Agents
Replace an agent's memory notes
Changed onReplaces all of the agent's memory notes at once. Only the owner or a manager can do this. Send the version you read as expectedVersion; a 409 means someone changed the notes since, so read them again.
put/v1/personal-agents/{id}/memory
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
id, string required
Request body
Set Personal Agent Memory required
notes, string required
expectedVersion, integer required
Response
The agent's notes and routine progress.
Personal Agent Memory required
notes, string required
version, integer required
Send it back when saving; a save against an older version is refused.
updatedAt, string date-time nullable required
updatedBy, Personal Agent Person nullable required
canEdit, boolean required
The caller is the owner or a manager.
routines, object[] required
What each routine's last run for the owner did.
Changes
- info
endpoint added
- info