Correct a memory
PATCH/v1/memory/items/:id
Replaces the text of a live memory. proxium closes the old memory and writes a new one with the new text. A key can change only a memory whose origin is agent or observed.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 413
- 415
- 422
- 500
- 503
The new memory.
The body is missing, or the text is empty or too long (bad_request). The id is not a UUID (plain text). The body is not valid JSON (plain text).
The bearer virtual key is missing (missing_key), or it is not valid or it is revoked (invalid_key).
A person wrote the memory (forbidden), or the memory screen blocked the text as a prompt injection (guardrail_blocked).
The project has no such live memory (not_found).
Memory is off for the project (memory_off).
The body is larger than the request body limit, 32 MiB on proxium.tech. The body of this answer is plain text.
The content-type is not application/json. The body of this answer is plain text.
The JSON does not match the body schema. The body of this answer is plain text.
A database query failed (query_failed).
The key store or the limits store is not available (keystore_unavailable, limits_unavailable), or the gateway has no database (no_db).