Skip to content

Importing results through the API supports importing test results through our API, here you'll get a basic explanation of how to do that. For more detailed and technical documentation you can take a look at our Swagger API Documentation.

Formatter endpoints

  • And more...

The /import/formatter endpoint will try to import your file with that specific formatter.

File size limit: 50 MB


The /import endpoint will try out all available formatters. If your files are recognised by multiple formatters, it will return a failed status. This endpoint is not recommended because processing takes longer and unexpected failures may occur. It is mainly used for front end functionality.

File size limit: 30 MB

Formatter variables

Profile ID

All formatter API endpoints contain {profile_id}, this should be replaced with the profile you wish to push your results to. You can find the profile ID in the URL when you're on the profile. Profile ID in URL


You can verify yourself by putting your API key in the header as x-api-key. You can find and copy your API key on your account page.
Copy API key

Test result (body)

The test results can be given in multiple ways.

  • raw by putting the result file as a string directly into the body
  • binary by attaching the result file to the body
  • form-data by using the ?file[]= parameter to attach one of multiple files Postman API call example

Optional parameters (URL)

The following parameters can be added to the URL.

  • os Operating System where te tests were run (String)
  • platform Platform that was tested (String)
  • build Build number or version number (String)
  • smart Some formatters have a smart function, where it tries to rewrite the results in a more insightful manner (Boolean default true)

Example API URL containing these variables

Curl examples

An API request that sends a JSON or XML test result file using curl looks like this:

Single file

curl -X POST \
     -H "Content-Type: text/xml" \
     -H "x-api-key:<API_KEY>" \
     -d @path/to/testresult \<profile_id>/report/import?os=<YOUR_OS>&platform=<YOUR_PLATFORM>&build=<YOUR_BUILD>

Note: The \'s are suppose to escape the new-line characters. This might not work in all systems, so in that case put everything on 1 line


curl -X POST \
     -H "Content-Type: application/x-www-form-urlencoded" \
     -H "x-api-key:<API_KEY>" \
     -F "file[]=@path/to/testresult_01" \
     -F "file[]=@path/to/testresult_02" \
     -F "file[]=@path/to/testresult_03" \<profile_id>/report/import?os=<YOUR_OS>&platform=<YOUR_PLATFORM>&build=<YOUR_BUILD>

You can find and copy your specific API import curl command on your project overview page that contains the profile.

Calliope api import