SmartMemory
GET
/memory/code/search

Search code entities by name with optional type and repo filters.

Query Parameters

query*Query

Search string (partial name match, or natural language when semantic=true)

entity_type?|

Filter: module | class | function | route | test

repo?|

Filter by repository name

limit?Limit

Max results

semantic?Semantic

Use vector similarity search instead of name substring match

Response Body

application/json

application/json

curl -X GET "https://example.com/memory/code/search?query=string"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}