Get self-managed session
Endpoints
Get self-managed session
Retrieves the current status of a self-managed session. When the session is completed, returns additional metadata about the session.
GET
Get self-managed session
Authorizations
Your LemonSlice API token.
Path Parameters
The ID of the session to retrieve.
Response
Session status retrieved successfully. Returns basic status for all states. When completed, includes the total cost in credits.
Current status of the session:
- QUEUED: session is waiting for a GPU container. Typically completes in seconds when warm containers are available. If all warm containers are in use, a cold start is required which may take up to 2.5 minutes.
- ACTIVE: agent is live.
- COMPLETED: session ended successfully.
- TIMED_OUT: GPU container timed out.
- FAILED: session ended with an error.
Available options:
QUEUED, ACTIVE, COMPLETED, TIMED_OUT, FAILED Number of credits used for this session. Only returned when session_status is COMPLETED.
