Actions14
- Session Actions
- Message Actions
- Config Actions
Message → Get
AI-generatedSummary
Retrieve a message from an OpenCode session by ID
Inputs
- sessionId (required) — Select a session
- targetMessageId (required) — The ID of the message to retrieve
Output shape
json
The full API response returned for the requested message, containing message data and metadata as provided by the OpenCode server.