Lists the request messages of a completion that was created with store: true, in the order of the request by default. A message with a list of content parts keeps the list in content_parts, and content holds its text.
GET
header
AuthorizationBearer <token>Your Munito API key.
completion_id*stringThe completion id.
after?stringThe id of the last message of the previous page.
limit?integerThe number of messages to return, from 1 to 100.
Default
20order?stringSort by the position in the request.
Default
"asc"Value in
"asc""desc"A page of the request messages.
application/jsoncurl -X GET 'https://api.munito.ai/inference/v1/chat/completions/string/messages'Example Response
{
"object": "list",
"data": [
{
"id": "chatcmpl-7f3c1a-0",
"role": "user",
"content": "Why does data residency matter?",
"name": null,
"content_parts": null
}
],
"first_id": "chatcmpl-7f3c1a-0",
"last_id": "chatcmpl-7f3c1a-0",
"has_more": false
}