Get message by ID via API key
Get message by ID via API key
Get a specific message by its ID using API key authentication. Requires CHAT scope.
GET
Get message by ID via API key
Authorizations
Enter your LeanMCP API key
Path Parameters
Message ID
Response
Message retrieved successfully
Unique message identifier (UUID)
Chat ID this message belongs to (UUID)
Example:
"c1a83d84-7154-464c-bd19-a9f10e0a067f"
User ID who owns this message
Role of the message sender
Available options:
system, assistant, user Message content/text
Order of message in the chat (0-based)
Required range:
x >= 0Timestamp when message was created
Timestamp when message was last updated
Additional metadata for the message

