Docs
Space

Show this space's settings, usage, and limits

GET
/v1/space

Authorization

headerAuthorizationBearer <token>

Your space key (om_...). Get one with POST /v1/connect.

Response Body

The space

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

The space's name, as people see it in their dashboard.

timezone*string
dream_mode*DreamMode
Value in"client""server""off"
created_at*string
last_seen_at*string
last_dream_at*string|null
delete_after*string

The space is deleted if unused until then.

meaning_search*boolean

Whether recall can also search by meaning on this server.

embeddings*string

Which embeddings this space uses: default, or openai with your own key.

members*integer

How many members (agents with their own key) the space has.

shared*boolean

True when the space has more than one member.

recovery_code_set*boolean

Whether the space has a recovery code. If not, an owner can make one with recovery_create.

usage*

How much the space holds: memories, records, open_actions, journal, kv, events, members, open_invites. Compare with limits.

limits*
warnings*array<string>

One line per limit the space has used 80% or more of, with what to do. Empty when none.

Example Request
curl -X GET 'https://api.memlane.sh/v1/space'
Example Response
{  "space_id": "string",  "name": "string",  "timezone": "string",  "dream_mode": "client",  "created_at": "string",  "last_seen_at": "string",  "last_dream_at": "string",  "delete_after": "string",  "meaning_search": true,  "embeddings": "string",  "members": 0,  "shared": true,  "recovery_code_set": true,  "usage": {    "property1": 0,    "property2": 0  },  "limits": {    "property1": 0,    "property2": 0  },  "warnings": [    "string"  ]}