Skip to main content
POST
/
folder
/
{folder_id}
/
run
Run all tests within a folder
curl --request POST \
  --url https://autonoma.app/api/folder/{folder_id}/run \
  --header 'Content-Type: application/json' \
  --header 'autonoma-client-id: <api-key>' \
  --header 'autonoma-client-secret: <api-key>' \
  --data '{
  "application_version_id": "cm7dbowr80042waka7thyjhkq",
  "source": "api"
}'
{
  "message": "Folder with id cm9r0nog10012v301qtollv01 was scheduled to run. Since no applicationVersionID was provided, the latest version ('STG') for the application associated with the folder's tests was used.",
  "url": "https://autonoma.app/run/folder/pby4qnbppbvimimuls4v5ajq",
  "folder_run_id": "pby4qnbppbvimimuls4v5ajq"
}

Authorizations

autonoma-client-id
string
header
required

Client ID for authentication

autonoma-client-secret
string
header
required

Client secret for authentication

Path Parameters

folder_id
string
required

id of the folder to run

Example:

"g41k688vndxzt7kh4kq5m12s"

Body

application/json

Request body (optional)

application_version_id
string

Optional application version ID to use for all tests in the folder

Example:

"cm7dbowr80042waka7thyjhkq"

source
string
default:api

Source of the test run request

Example:

"api"

Response

Run creation result

message
string
Example:

"Folder with id cm9r0nog10012v301qtollv01 was scheduled to run. Since no applicationVersionID was provided, the latest version ('STG') for the application associated with the folder's tests was used."

url
string
Example:

"https://autonoma.app/run/folder/pby4qnbppbvimimuls4v5ajq"

folder_run_id
string
Example:

"pby4qnbppbvimimuls4v5ajq"

I