Create Chat Completion

Send a message to a MemGPT agent via a /chat/completions completion_request
The bearer token will be used to identify the user.
The 'user' field in the completion_request should be set to the agent ID.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
messages
array
required
Messages*
object | null
ResponseFormat | null
string | array | null
array | null
string | ToolFunctionChoice | null
Defaults to none
array | null
string | FunctionCall | null
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json