Learn about our new features recently updated daily.
Get all test sessions under an application
Used to get the all the test sessions of a particular application.
API
GET https://api.beaglesecurity.com/rest/v2/test/sessions?application_token={application_token}&count={count}
Required scope: read_test_result
Request headers
Content-Type: application/json
Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Request body
application_token
string
required
A unique token for identifying the application in your account
count
string
required
Number of test sessions fetch at once
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

Monitor ongoing tests for your account using the Get All Running Tests of a Logged-in User API, which provides details on active security assessments.