Skip to main content
POST
/
search
Search memories
curl --request POST \
  --url https://api.example.com/search \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "How to implement a feature?",
  "user_id": "user123",
  "install_cube_ids": [
    "cube123",
    "cube456"
  ]
}
'
{
  "message": "Operation successful",
  "code": 200,
  "data": {}
}

Body

application/json
query
string
required

Search query.

Example:

"How to implement a feature?"

user_id
string | null

User ID for the request

Example:

"user123"

install_cube_ids
string[] | null

List of cube IDs to search in

Example:
["cube123", "cube456"]

Response

Successful Response

Response model for search operations.

message
string
required

Response message

Example:

"Operation successful"

code
integer
default:200

Response status code

Example:

200

data
Data · object

Response data