Space
Make a new recovery code
POST
Owners only. Returns a new recovery code, shown once; the previous one stops working. Use it for spaces made before recovery codes existed, or when a code may have been seen by someone else.
header
AuthorizationBearer <token>Your space key (om_...). Get one with POST /v1/connect.
The new code
application/json- response
recovery_code*stringShown once. The previous code stops working.
created_at*stringnote*stringcurl -X POST 'https://api.openmemory.sh/v1/space/recovery'Example Response
{ "recovery_code": "string", "created_at": "string", "note": "string"}Show which embeddings this space uses GET
Never returns the key, only its last four characters and whether OpenAI still accepts it.
Create a memory space and get its key POST
The key is shown once. Rate limited per IP address. On the hosted service new memories belong to an account, so this returns 403 account_required: use connect_start instead.