Skip to main content
POST
Memory Query

Authorizations

Authorization
string
header
required

Unit API Key mapped to an agent in the agents collection. The proxy forces session_id = agentId.

Body

application/json
session_id
string
required
Minimum string length: 1
user_message
string
required
Minimum string length: 1
top_k
integer
default:10
Required range: 1 <= x <= 100
include_reasoning
boolean
default:false
metadata_filter
Metadata Filter · object | null
update_memory_state
boolean
default:true

Response

Successful Response

The response is of type Response Memory Query Api V1 Memory Query Post · object.