Retrieves the current status of a hosted session. Includes additional metadata when the session is completed.
Documentation Index
Fetch the complete documentation index at: https://lemonslice.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Your LemonSlice API token.
The session identifier returned upon creation.
Returns basic status of session. When completed, includes additional metadata such as cost, timestamps, end reason, and conversation messages.
Current status of the session:
QUEUED, ACTIVE, COMPLETED, TIMED_OUT, FAILED Number of credits used for this session. Only returned when session_status is COMPLETED.
Reason the LLM session ended. Only returned when session_status is COMPLETED.
Unix timestamp when the LLM session started. Only returned when session_status is COMPLETED.
Unix timestamp when the LLM session ended. Only returned when session_status is COMPLETED.
Array of messages exchanged during the session. Only returned when session_status is COMPLETED.