boundary_id, memories from that Boundary are added to the conversation before the model is called. Without it, the request goes to the model as is.
With the Anthropic SDK, use the base URL that ends in /anthropic: the SDK adds /v1/messages itself. Set stream to true to receive server-sent events in the Anthropic format. Parameters not listed below are passed to the model unchanged.
Query Parameters
string
The Boundary whose memory this request uses. Omit it to call the model without memory.
Headers
string
Your MemoryLake API key, when you call the model with your own provider key. The provider key then goes in the provider’s usual key header. Your provider key is forwarded to the provider and never stored.
string
Anthropic API version. The Anthropic SDKs send it for you.
string
W3C trace context. When present, the request joins your trace and the same trace id comes back in
X-Trace-ID.Request Body
integer
required
Maximum tokens to generate
array
required
The conversation so far
string
required
Model name, as listed under Available Models in the console
boolean
default:"false"
Stream the reply as server-sent events
string | array
System prompt
number
Sampling temperature
array
Tools the model may call, in the Anthropic format
Response
array
Content blocks of the reply, such as text and tool calls
string
Message id
string
Model that answered
string
Always
assistantstring
Why the model stopped, such as
end_turn or max_tokensstring
Always
messageobject
Tokens used