boundary_id, memories from that Boundary are added to the input before the model is called. Without it, the request goes to the model as is.
Set stream to true to receive server-sent events in the OpenAI 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
W3C trace context. When present, the request joins your trace and the same trace id comes back in
X-Trace-ID.Request Body
string | array
required
Text, or an array of input items
string
required
Model name, as listed under Available Models in the console
string
System instructions for the model
integer
Maximum tokens to generate, reasoning included
boolean
default:"false"
Stream the response as server-sent events
Response
integer
Creation time, Unix seconds
string
Response id
string
Model that answered
string
Always
responsearray
Output items, such as messages and tool calls
string
completed, incomplete or failedobject
Tokens used