Skip to content
TestLookupTestLookup
Search Ctrl K

Search TestLookup

Enter a term to search the local static index.

    List Active Sessions — GET /api/v1/stream/active

    List Active Sessions

    Endpoint: GET /api/v1/stream/active

    Authentication: Send a signed-in user’s access token in Authorization: Bearer <access token>, or an API key in X-API-Key: <API key>.

    NameInRequiredTypeDefaultDescription
    project_idquerynostring or null
    suite_namequerynoarray of string or nullRepeatable (OR, at most 50), 1-500 characters: sessions in any of these suites; trimmed, case-insensitive.
    daysquerynointeger7Cutoff for completed sessions/runs to include alongside the always-current active set. 1 = last 24 hours; 0 = no cutoff. Default 7 preserves the prior hardcoded window.
    X-API-Keyheadernostring or nullAPI key, as an alternative to the access token (see Authentication).

    No request body.

    StatusMeaningBody
    200Successful ResponseActiveSessionsResponse (application/json)
    422Validation ErrorHTTPValidationError (application/json)

    Errors this endpoint returns, read from its source code:

    • 400, with the message “Invalid project_id — expected a UUID”
    • 403, with the message “You do not have access to this project”

    It can also return 401 if your credential is missing or expired, 403 if your credential does not allow this request, and 404 if the item does not exist or you cannot see it. Your role, your project membership and the key’s scope decide what a credential allows. See Errors and retries.