List Web Transactions tests
GET {{baseUrl}}/tests/web-transactions?aid=1234
Returns a list of all Web Transactions tests and saved events.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
aid | number | A unique identifier associated with your account group. You can retrieve your AccountGroupId from the /account-groups endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"tests":[{"interval":60,"transactionScript":"if (true) { return true; }","url":"www.thousandeyes.com","alertsEnabled":true,"enabled":true,"createdBy":"user@user.com","createdDate":"2022-07-17T22:00:54Z","description":"ThousandEyes Test","liveShare":false,"modifiedBy":"user@user.com","modifiedDate":"2022-07-17T22:00:54Z","savedEvent":false,"testId":"281474976710706","testName":"ThousandEyes Test","type":"agent-to-server","_links":{"self":{"href":"https://api.thousandeyes.com/v7/tests/{type}/281474976710706"},"testResults":[{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}]},"authType":"none","agentInterfaces":{"ipAddress":"192.1.1.0","agentId":"2954"},"bandwidthMeasurements":true,"clientCertificate":"-----BEGIN PRIVATE KEY-----\nMIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL\n-----END PRIVATE KEY-----\n-----BEGIN CERTIFICATE-----\nMIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL\n-----END CERTIFICATE-----\n","contentRegex":"(regex)+","customHeaders":{"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}},"desiredStatusCode":"200","downloadLimit":2048,"dnsOverride":"8.8.8.8","httpTargetTime":100,"httpTimeLimit":5,"httpVersion":2,"includeHeaders":true,"mtuMeasurements":false,"networkMeasurements":true,"numPathTraces":3,"oAuth":{"configId":"123321123","testUrl":"https://api.thousandeyes.com/v7/status","requestMethod":"get","postBody":"client_id: ************","headers":"Authorization: Basic ************","authType":"none","username":"user123","password":"*******"},"pathTraceMode":"classic","probeMode":"auto","protocol":"tcp","sslVersion":"Auto","sslVersionId":"0","useNtlm":false,"userAgent":"curl","username":"username","verifyCertificate":false,"allowUnsafeLegacyRenegotiation":true,"followRedirects":true,"fixedPacketRate":50,"overrideAgentProxy":false,"overrideProxyId":"281474976710706","collectProxyNetworkData":false,"emulatedDeviceId":"2","targetTime":1,"timeLimit":30,"blockDomains":"domain.com/","disableScreenshot":false,"allowMicAndCamera":false,"allowGeolocation":false,"browserLanguage":"en-US","pageLoadingStrategy":"normal","subinterval":60,"bgpMeasurements":true,"usePublicBgp":true},{"interval":60,"transactionScript":"if (true) { return true; }","url":"www.thousandeyes.com","alertsEnabled":true,"enabled":true,"createdBy":"user@user.com","createdDate":"2022-07-17T22:00:54Z","description":"ThousandEyes Test","liveShare":false,"modifiedBy":"user@user.com","modifiedDate":"2022-07-17T22:00:54Z","savedEvent":false,"testId":"281474976710706","testName":"ThousandEyes Test","type":"agent-to-server","_links":{"self":{"href":"https://api.thousandeyes.com/v7/tests/{type}/281474976710706"},"testResults":[{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}]},"authType":"none","agentInterfaces":{"ipAddress":"192.1.1.0","agentId":"2954"},"bandwidthMeasurements":true,"clientCertificate":"-----BEGIN PRIVATE KEY-----\nMIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL\n-----END PRIVATE KEY-----\n-----BEGIN CERTIFICATE-----\nMIICUTCCAfugAwIBAgIBADANBgkqhkiG9w0BAQQFADBXMQswCQYDVQQGEwJDTjEL\n-----END CERTIFICATE-----\n","contentRegex":"(regex)+","customHeaders":{"root":{"header1":"value1"},"domains":{"domain1.com":{"header2":"value2"}},"all":{"header3":"value3"}},"desiredStatusCode":"200","downloadLimit":2048,"dnsOverride":"8.8.8.8","httpTargetTime":100,"httpTimeLimit":5,"httpVersion":2,"includeHeaders":true,"mtuMeasurements":false,"networkMeasurements":true,"numPathTraces":3,"oAuth":{"configId":"123321123","testUrl":"https://api.thousandeyes.com/v7/status","requestMethod":"get","postBody":"client_id: ************","headers":"Authorization: Basic ************","authType":"none","username":"user123","password":"*******"},"pathTraceMode":"classic","probeMode":"auto","protocol":"tcp","sslVersion":"Auto","sslVersionId":"0","useNtlm":false,"userAgent":"curl","username":"username","verifyCertificate":false,"allowUnsafeLegacyRenegotiation":true,"followRedirects":true,"fixedPacketRate":50,"overrideAgentProxy":false,"overrideProxyId":"281474976710706","collectProxyNetworkData":false,"emulatedDeviceId":"2","targetTime":1,"timeLimit":30,"blockDomains":"domain.com/","disableScreenshot":false,"allowMicAndCamera":false,"allowGeolocation":false,"browserLanguage":"en-US","pageLoadingStrategy":"normal","subinterval":60,"bgpMeasurements":true,"usePublicBgp":true}],"_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":false,"type":"dolore","deprecation":"nulla deserunt et","name":"voluptate pariatur ","profile":"anim do","title":"aliqua do","hreflang":"minim eiusmod occaecat"}}}