Skip to main content
POST
Permission Required: project:edit-tests
Create one folder in the test repository. Folders are addressed by path ("regression/smoke") rather than UUID, so the parent is normally given as parent_path. Omit both parent fields to create the folder at the root. The resulting path is the string accepted by folder_path in Create Test, Update Test, and List Tests — so this endpoint is what lets a client build the folder it wants to file new tests under.

Request Body

object
required
Folder definition

Response

Returns the newly created folder with status 201.
string
required
Folder UUID
string
required
Folder name (just the leaf segment)
string
required
Resolved folder path (e.g. "regression/smoke")
string
Parent folder UUID, or null for top-level folders
string
required
Resolved parent path, or "/" for top-level folders
string[]
required
Parents that had to be created on the way to the requested one. Empty unless create_intermediate_parents was set.

Errors

Authorizations

X-Api-Key
string
header
required

API key for authentication

Path Parameters

projectId
string
required

The project ID. You can copy it from the project settings page or the project URL in the dashboard.

Body

application/json
test_folder
object
required

Response

Test folder created

id
string<uuid>
name
string
path
string
parent_folder_id
string<uuid> | null
parent_path
string
created_intermediate_paths
string[]

Parents created on the way to the requested one. Empty unless create_intermediate_parents was set.