Retrieve Session Policy

Retrieve session timeout policy for the currently active organization.

Authentication

Authorizationstring
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>

Response

created_atdatetimeRead-only
updated_atdatetimeRead-only
max_session_ageinteger or null1-2147483647

Number of minutes that a session can be active before needing to re-login

max_time_between_activityinteger or null1-2147483647
Number of minutes that a session stays active without any activity