Imports and exportsImport test cases

Import test cases

Import a CSV or JSON test library into a project.

curl -X POST "https://app.aegisrunner.com/api/v1/projects/123e4567-e89b-12d3-a456-426614174000/test-cases/import" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  --form file=example_string \
  --form format=auto \
  --form suite_name=John Doe \
  --form page_url=example_string
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "John Doe",
  "status": "example_string"
}
POST
/projects/{projectId}/test-cases/import
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

AegisRunner account session access token. Complete the supported sign-in, security verification, and two-factor flow as required.

AegisRunner account session access token. Complete the supported sign-in, security verification, and two-factor flow as required.
Content-Typestring
Required

The media type of the request body

Options: multipart/form-data
filefile
Required
Format: binary
formatstring
Options: auto, csv, json
page_urlstring
Format: uri
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. AegisRunner account session access token. Complete the supported sign-in, security verification, and two-factor flow as required.

Path Parameters

Body

multipart/form-data
formatstring
Allowed values:autocsvjson

Responses

Import a CSV or JSON test library into a project. Files are currently capped at 5 MB, 500 cases, and 200 steps per case. Review imported targets and assertions before running them.

Authenticate with an account session as described in Project and testing API. Use resource IDs available to the same organization and project.

For unattended pipelines, use the separately authenticated CI endpoints.