Skip to main content
POST
/
memory
/
v1
/
search
curl -X POST "https://api.case.dev/memory/v1/search" \ -H "Authorization: Bearer $CASEDEV_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "query": "<string>" }'
{
  "results": [
    {
      "id": "<string>",
      "memory": "<string>",
      "score": 123,
      "tags": {
        "tag_1": "<string>",
        "tag_2": "<string>",
        "tag_3": "<string>",
        "tag_4": "<string>",
        "tag_5": "<string>",
        "tag_6": "<string>",
        "tag_7": "<string>",
        "tag_8": "<string>",
        "tag_9": "<string>",
        "tag_10": "<string>",
        "tag_11": "<string>",
        "tag_12": "<string>"
      },
      "metadata": {},
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.case.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Body

application/json
query
string
required

Search query for semantic matching

tag_1
string

Filter by tag_1

tag_2
string

Filter by tag_2

tag_3
string

Filter by tag_3

tag_4
string

Filter by tag_4

tag_5
string

Filter by tag_5

tag_6
string

Filter by tag_6

tag_7
string

Filter by tag_7

tag_8
string

Filter by tag_8

tag_9
string

Filter by tag_9

tag_10
string

Filter by tag_10

tag_11
string

Filter by tag_11

tag_12
string

Filter by tag_12

category
string

Filter by category

top_k
integer
default:10

Maximum number of results to return

Required range: 1 <= x <= 100

Response

Search results

results
object[]