Skip to main content
POST
Memory Correct

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
memory_id
string
required
Minimum string length: 1
ai_message
string
default:""
context
Context · object | null

Response

Successful Response

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