Agents

Replace an agent's memory notes

Changed on

Replaces 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 URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

id, string required

Request body

SetPersonalAgentMemory required
notes, string required
expectedVersion, integer required

Response

The agent's notes and routine progress.

PersonalAgentMemory 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, PersonalAgentPerson 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