Skip to main content
POST
/
mem_cubes
Register a MemCube
curl --request POST \
  --url https://api.example.com/mem_cubes \
  --header 'Content-Type: application/json' \
  --data '
{
  "mem_cube_name_or_path": "/path/to/cube",
  "user_id": "user123",
  "mem_cube_id": "cube123"
}
'
{
  "message": "Operation successful",
  "code": 200,
  "data": "<unknown>"
}

Body

application/json
mem_cube_name_or_path
string
required

Name or path of the MemCube to register.

Example:

"/path/to/cube"

user_id
string | null

User ID for the request

Example:

"user123"

mem_cube_id
string | null

ID for the MemCube

Example:

"cube123"

Response

Successful Response

Simple response model for operations without data return.

message
string
required

Response message

Example:

"Operation successful"

code
integer
default:200

Response status code

Example:

200

data
null

Response data