API referenceKnowledge
Search Knowledge
POST
Search across knowledge base using semantic search.
Required scope: knowledge:write
header
AuthorizationBearer <luso8_sk_live_<40 characters>>A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.
application/json- body
query*Queryfolder_id?|nulltop_k?Top KDefault
5filter_dict?|nulldocument_types?array<string>|nullSuccessful Response
application/json- response
results*array<>total*Totalquery*Querycurl -X POST 'https://api.luso8.rexplore.ai/api/v1/knowledge/search' \ -H 'Content-Type: application/json' \ -d '{ "query": "string"}'Example Response
{ "results": [ { "document_id": "string", "document_name": "string", "chunk_id": "string", "content": "string", "score": 0, "metadata": {} } ], "total": 0, "query": "string"}