OpenCode icon

OpenCode

Interact with OpenCode Server API for AI coding assistant sessions

Session → Get

AI-generated

Summary

Retrieve a specific session by ID from the OpenCode server.

Inputs

  • sessionId (required) — Select a session to retrieve

Output shape

The raw session object returned by the OpenCode server API endpoint GET /session/{sessionId}. Contains session metadata and status as provisioned by the server.

The node does not transform or filter the API response; it returns the complete JSON payload.

Links

Discussion