Write a memory
POST/v1/memory/items
Writes one memory of the project of the key. The origin of the memory is agent, and its author is key:<prefix>.
Request
Responses
- 201
- 400
- 401
- 403
- 409
- 413
- 415
- 422
- 500
- 503
The memory.
The body is missing, kind or importance or subject has a bad value, or the text is empty or too long (bad_request). 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).
The key sent pinned: true (forbidden), or the memory screen blocked the text as a prompt injection (guardrail_blocked).
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).