Skip to main content
Sessions in Stelis allow you to maintain state across multiple automation steps, enabling complex, multi-step workflows.

What is a Session?

A session represents a single browser instance that persists across multiple API calls. This allows you to:
  • Maintain login states
  • Handle multi-page workflows
  • Interact with dynamic content that requires waiting or multiple steps

Creating a Session

To create a session, use the POST /session endpoint:

Using a Session

Once you have a session ID, you can use it for subsequent API calls:

Closing a Session

Always close your sessions when you’re done to free up resources:

Best Practices

  • Use sessions for related tasks that require maintaining state
  • Close sessions as soon as you’re done with them
  • Be mindful of session timeouts and handle reconnections gracefully
For more detailed API information on sessions, check our Step API Reference.