API Reference
Close Session
Close an existing session and returns the session ID. A valid session ID must be provided to close the session.
POST
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
The ID of the session. A new session is created when not provided.
If True, the session will not be closed after the operation is completed.
Session timeout in minutes. Cannot exceed the global timeout.
Required range:
0 < x <= 30
Whether to include a screenshot in the response.
Response
200
application/json
Successful Response
The ID of the session (created or existing). Use this ID to interact with the session for the next operation.
Session timeout in minutes. Will timeout if now() > last access time + timeout_minutes
Session creation time
Last access time
Session duration
Session status
Available options:
active
, closed
, error
, timed_out
Error message if the operation failed to complete