POST
/
search
curl --request POST \
  --url https://v2.api.supermemory.ai/search \
  --header 'Content-Type: application/json' \
  --data '{
  "q": "<string>",
  "limit": 10,
  "filters": {
    "OR": [
      "<any>"
    ],
    "AND": [
      "<any>"
    ]
  },
  "categoriesFilter": [
    "<string>"
  ]
}'
{
  "results": [
    {
      "documentId": "<string>",
      "chunks": [
        {
          "content": "<string>",
          "isRelevant": true
        }
      ],
      "score": 123
    }
  ]
}

Body

application/json
q
string
required
Minimum length: 1
limit
integer
default:10
Required range: x > 0
filters
object
categoriesFilter
string[]

Response

200
application/json
Search results
results
object[]
required