openmemory
Docs
Space

Replace this space's key

POST
/v1/space/key

Returns a new key, shown once. The old key stops working immediately, for everyone using it. Everything in the space stays, including a stored OpenAI key.

Authorization

headerAuthorizationBearer <token>

Your space key (om_...). Create one with POST /v1/spaces.

Response Body

The new key

application/json
  1. response
space_id*string
api_key*string

Shown once. Store it; it cannot be recovered.

Example Request
curl -X POST 'https://api.openmemory.sh/v1/space/key'
Example Response
{  "space_id": "string",  "api_key": "string"}