Skip to main content
POST
/
tag
/
{tag_id}
/
run
Run all tests that have the specified tag
curl --request POST \
  --url https://autonoma.app/api/tag/{tag_id}/run \
  --header 'Content-Type: application/json' \
  --header 'autonoma-client-id: <api-key>' \
  --header 'autonoma-client-secret: <api-key>' \
  --data '{
  "application_versions": [
    {
      "application_id": "cm7dbowr80042waka7thyjhkq",
      "application_version_ids": [
        "cm7dbowr80042waka7thyjhkq",
        "cm8xf3wp90123abcd4efgh5ij"
      ]
    },
    {
      "application_id": "cm9xyz12340567pqrs8tuvwxy",
      "application_version_ids": [
        "cm9abc34560789defg0hijklm",
        "cm0nop78901234qrst5uvwxyz"
      ]
    }
  ]
}'
{
  "message": "Tag with id cm9r0nog10012v301qtollv01 was scheduled to run. Since no applicationVersionID was provided, the latest version ('STG') for the application associated with the tag's tests was used.",
  "url": "https://autonoma.app/run/tag/pby4qnbppbvimimuls4v5ajq",
  "tag_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

tag_id
string
required

id of the tag to run

Example:

"g41k688vndxzt7kh4kq5m12s"

Body

application/json

Request body (optional)

application_versions
object[]

Applications used by running tests

Example:
[
{
"application_id": "cm7dbowr80042waka7thyjhkq",
"application_version_ids": [
"cm7dbowr80042waka7thyjhkq",
"cm8xf3wp90123abcd4efgh5ij"
]
},
{
"application_id": "cm9xyz12340567pqrs8tuvwxy",
"application_version_ids": [
"cm9abc34560789defg0hijklm",
"cm0nop78901234qrst5uvwxyz"
]
}
]

Response

Run creation result

message
string
Example:

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

url
string
Example:

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

tag_run_id
string
Example:

"pby4qnbppbvimimuls4v5ajq"

I