Work

Edit Work Memory

Replace one memory topic. expected_revision is a compare-and-swap; stale is 409.

put/work/memory

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/work/memory
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

scope'personal' | 'agent' | 'team'

personal, agent or team

agent_idstring uuid nullable

Required for, and only for, agent scope

topic'profile' | 'goals' | 'decisions' | 'feedback' | 'corrections' | 'entities' required

The topic to replace

contentstring required

The new content

expected_revisionstring nullable required

The revision you read, or null when the topic is new

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.