Skip to content
TestLookupTestLookup
Search Ctrl K

Search TestLookup

Enter a term to search the local static index.

    Upload test result file (JUnit/TestNG XML, Allure/Cypress/Playwright JSON) — POST /api/v1/ingest/file

    Upload test result file (JUnit/TestNG XML, Allure/Cypress/Playwright JSON)

    Upload a test result file for async parsing and ingestion.

    Endpoint: POST /api/v1/ingest/file

    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
    X-API-Keyheadernostring or nullAPI key, as an alternative to the access token (see Authentication).
    Content typeBodyRequired
    multipart/form-dataBody_ingest_file_api_v1_ingest_file_postyes
    StatusMeaningBody
    202Successful ResponseIngestResponse (application/json)
    422Validation ErrorHTTPValidationError (application/json)

    Errors this endpoint returns, read from its source code:

    • 400
    • 403, with the message “This API key is restricted to a different project”
    • 422, with the message “build_number must not be empty”
    • 503, with messages such as “Upload could not be queued”, “Upload storage is temporarily unavailable”

    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.