cliDeterministic
Manage agent chat memory
pipeline manage-agent-chat-memory
Explicitly remember, correct or forget source-backed private context, or prepare and submit an evidence-backed checkpoint. Prepare before submitting and preserve exact source IDs and digests. Corrections and forget stop affected work. No hosted inference.
Parameters
workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
Example
CLI commandbash
pipeline manage-agent-chat-memory \--action "prepare_checkpoint" \--conversation-id "00000000-0000-4000-8000-000000000000" \--through-sequence 1
Response
Success response schemajson schema
{"type": "object","properties": {"memory": {"type": "object","additionalProperties": true},"checkpoint": {"type": "object","additionalProperties": true},"prepared": {"type": "object","properties": {"throughSequence": {"type": "integer"},"sourceDigest": {"type": "string"},"sourceMessageIds": {"type": "array","maxItems": 200,"items": {"type": "string"}},"memoryDigest": {"type": "string"},"expectedRevision": {"type": "integer"},"messages": {"type": "array","maxItems": 200,"items": {"type": "object","additionalProperties": true}},"partial": {"type": "boolean"}},"required": ["throughSequence","sourceDigest","sourceMessageIds","memoryDigest","expectedRevision","messages","partial"],"additionalProperties": true}}}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.