Skip to content
TestLookupTestLookup
Search Ctrl K

Search TestLookup

Enter a term to search the local static index.

    Ingest Live Event — POST /ws/events/{run_id}

    Ingest Live Event

    Receive a live test execution event from a test runner. This endpoint is a thin producer — it enqueues the event to Redis Streams and returns 202 immediately (~1ms). The actual processing happens asynchronously in the LiveEventStreamConsumer background task.

    Endpoint: POST /ws/events/{run_id}

    Authentication: Send an API key in X-API-Key: <API key>.

    NameInRequiredTypeDefaultDescription
    run_idpathyesstring
    X-API-Keyheadernostring or nullAPI key, as an alternative to the access token (see Authentication).
    X-Webhook-Secretheadernostring or null
    Content typeBodyRequired
    application/jsonobjectyes
    StatusMeaningBody
    202Successful ResponseNot documented (application/json)
    422Validation ErrorHTTPValidationError (application/json)

    Response fields not documented. The API specification does not describe the body of every response this endpoint returns, so this page cannot list those fields. The body is not empty. To see it, call the endpoint on your own installation. All endpoints with undocumented responses.

    Errors this endpoint returns, read from its source code:

    • 400, with the message “project_id required for run_start event”
    • 401, with the message “Live events require a project-scoped X-API-Key (or the legacy X-Webhook-Secret)”
    • 403, with messages such as “Invalid webhook secret”, “This deployment requires a project-scoped API key for live events. The shared webhook secret names no project”, “This run belongs to a different project”
    • 409
    • 503, with the message “Cannot establish run ownership right now — retry”

    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.