Learn about our new features recently updated daily.
Get all running tests of a logged-in user
Used to get the running tests of a user who is logged-in to their account.
API
GET https://api.beaglesecurity.com/rest/v2/test/runningsessions
Required scope: read_test_result
Request headers
Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Response
sessions
array
List of test session object
code
string
Status code for the API call.
Values are:
  • SUCCESSAPI call is success
  • PLAN_NOT_SUPPORTEDYour plan does not support this feature.
  • INVALID_SESSIONInvalid session
  • FAILEDFailed to get test sessions.
  • NOT_AUTHORIZEDUser authentication failed.
message
string
Success/failure message for the API call

Next

For a team-wide view, the Get All Running Tests of a Team API lists all active tests being conducted across your team's applications.