Skip to content
TestsigmaDOCS

Get import status

GET/projects/{project_id}/junit-imports/{import_id}/status

Base URL https://test-management.testsigma.com/api/v1

Retrieves the status of a specific JUnit import job for a project.

Authenticate with your API key as a Bearer token in theAuthorization header. Generate a key →
project_idUnique identifier of the project the import belongs to.
import_idUnique identifier of the JUnit import whose status is retrieved.
statusCurrent status of the import (e.g. pending, in_progress, completed, failed).
detailsObject with additional information about the import, including error messages or logs if it failed.
REQUEST
curl -X GET \
  'https://test-management.testsigma.com/api/v1/projects/{project_id}/junit-imports/{import_id}/status' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://test-management.testsigma.com/api/v1/projects/{project_id}/junit-imports/{import_id}/status', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
});
const data = await response.json();
import requests

response = requests.get(
  'https://test-management.testsigma.com/api/v1/projects/{project_id}/junit-imports/{import_id}/status',
  headers={
    'Authorization': 'Bearer <API_KEY>',
    'Content-Type': 'application/json'
  }
)
data = response.json()
RESPONSE200 OK
{
  "status": "completed",
  "details": {}
}