Skip to main content
POST
Search a project's knowledge

Path Parameters

project_id
string
required

The project's id (not its slug). GET /admin/api/projects lists each project's id and slug.

Body

application/json
query
string
required
Maximum string length: 500
top_k
integer
default:10
Required range: 1 <= x <= 20
shared
boolean
default:true
include_stale
boolean
default:false

Include superseded and expired memories (#687).

Response

Successful operation

The response is of type object.