My session says queued, starting, running, ending, or failed. What does that mean?

A session may move from created to queued, then starting, running, ending, and finally ended. If something goes wrong it becomes failed, and if it is stopped before it starts it may become canceled.

The final states are ended, failed, and canceled. Until then, keep polling GET /v1/sessions/{id}.