{"type":"model","meta":{"id":"/apps/pubhub/media/000-v7-apis/5b3454a4300b838cc17f7b2cdc0690fdd15058d5/beddd583-a5f3-3bb9-82a3-77fa650e7a7a","info":{"description":"Get test result metrics for Cloud and Enterprise Agent tests.","title":"Test Results API","version":"7.0.34"},"security":[{"BearerAuth":[]}],"tags":[{"name":"Network Test Results"},{"name":"Web HTTP Server Test Results"},{"name":"Web Page Load Test Results"},{"name":"Web Transactions Test Results"},{"name":"API Test Results"},{"name":"Web FTP Server Test Results"},{"name":"DNS Trace Test Results"},{"name":"DNS Server Test Results"},{"name":"DNSSEC Test Results"},{"name":"Voice SIP Server Test Results"},{"name":"Voice RTP Server Test Results"},{"name":"Network BGP Test Results"}],"externalDocs":{"description":"Find out more about Test Results","url":"https://docs.thousandeyes.com/product-documentation/getting-started/getting-started-with-cloud-and-enterprise-agent-tests#interpreting-test-results"},"openapi":"3.0.1","servers":[{"description":"ThousandEyes API production URL","url":"https://api.thousandeyes.com/v7"}],"securitySchemes":{"BearerAuth":{"description":"Bearer authentication token","scheme":"bearer","type":"http"}}},"spec":{"properties":{"date":{"description":"Data point date UTC (ISO date-time format).","example":"2022-07-17T22:00:54Z","format":"date-time","readOnly":true,"type":"string"},"roundId":{"description":"Epoch time (seconds) indicating the start time of the round","example":1384309800,"readOnly":true,"type":"integer"},"_links":{"description":"A links object containing the ThousandEyes App link","properties":{"appLink":{"description":"A hyperlink from the containing resource to a URI.","properties":{"href":{"description":"Its value is either a URI [RFC3986] or a URI template [RFC6570].","example":"https://api.thousandeyes.com/v7/link/to/resource/id","type":"string"},"templated":{"description":"Should be true when the link object's \"href\" property is a URI template.","type":"boolean"},"type":{"description":"Used as a hint to indicate the media type expected when dereferencing the target resource.","type":"string"},"deprecation":{"description":"Its presence indicates that the link is to be deprecated at a future date. Its value is a URL that should provide further information about the deprecation.","type":"string"},"name":{"description":"Its value may be used as a secondary key for selecting link objects that share the same relation type.","type":"string"},"profile":{"description":"A URI that hints about the profile of the target resource.","type":"string"},"title":{"description":"Intended for labelling the link with a human-readable identifier","type":"string"},"hreflang":{"description":"Indicates the language of the target resource","type":"string"}},"required":["href"],"type":"object","$$ref":"#/components/schemas/Link"}},"readOnly":true,"type":"object","$$ref":"#/components/schemas/TestResultAppLinks","example":{"appLink":{"href":"https://app.thousandeyes.com/view/tests?__a=105&testId=195&roundId=1692916680&agentId=125"}}},"startTime":{"description":"Epoch time (seconds) indicating the start time of the round","example":1384309800,"readOnly":true,"type":"integer"},"endTime":{"description":"Epoch time (seconds) indicating the end time of the round","example":1384309800,"readOnly":true,"type":"integer"},"agent":{"properties":{"agentId":{"description":"Unique agent ID","example":"281474976710706","readOnly":true,"type":"string"},"agentName":{"description":"Agent name","example":"thousandeyes-stg-va-254","readOnly":true,"type":"string"},"countryId":{"description":"2-digit ISO country code","example":"US","readOnly":true,"type":"string"},"location":{"description":"Location of the agent.","example":"San Francisco Bay Area","readOnly":true,"type":"string"}},"type":"object","$$ref":"#/components/schemas/TestResultAgent"},"serverIp":{"description":"IP address of destination server","example":"193.2.1.88","readOnly":true,"type":"string"},"responseCode":{"description":"HTTP response code","example":200,"type":"integer"},"numRedirects":{"description":"Number of redirects","example":0,"type":"integer"},"redirectTime":{"description":"Cumulative redirect timing in milliseconds","example":10,"type":"integer"},"dnsTime":{"description":"Time required to resolve DNS in milliseconds","example":0,"type":"integer"},"sslTime":{"description":"Time to negotiate SSL/TLS in milliseconds","example":9,"type":"integer"},"connectTime":{"description":"Time required to establish a TCP connection to the server","example":2,"type":"integer"},"waitTime":{"description":"Time elapsed between completion of request and first byte of response in milliseconds","example":3,"type":"integer"},"receiveTime":{"description":"Elapsed time between first and last byte of response in milliseconds","example":1,"type":"integer"},"wireSize":{"description":"Size of content in bytes","example":9993,"type":"integer"},"responseTime":{"description":"Time to first byte in milliseconds","example":14,"type":"integer"},"throughput":{"description":"WireSize divided by receiveTime in byter per second","example":123,"format":"double","type":"number"},"totalTime":{"description":"response time + receive time","example":15,"type":"integer"},"headers":{"description":"Expandable object containing both request and response headers","properties":{"requestHeaders":{"description":"Crlf-delimited list of request headers in header: value format","example":"GET / HTTP/1.1\r\nHost: www.thousandeyes.com\r\nUser-Agent: curl/7.58.0-DEV\r\nAccept: */*\r\nAccept-Encoding: deflate, gzip\r\nX-ThousandEyes-Agent: yes\r\n","type":"string"},"responseHeaders":{"description":"crlf-delimited list of response headers in header: value format","example":"HTTP/1.1 200 OK\r\nContent-Type: text/html;charset=UTF-8\r\nContent-Length: 9993\r\nConnection: keep-alive\r\nDate: Mon, 04 May 2020 16:13:00 GMT\r\nServer: Apache\r\nContent-Language: en-US\r\nContent-Encoding: gzip\r\nX-Frame-Options: sameorigin\r\nCache-Control: max-age=600, must-revalidate\r\nStrict-Transport-Security: max-age=31536000\r\nX-Content-Type-Options: nosniff\r\nX-XSS-Protection: 1; mode=block\r\nVary: Accept-Encoding\r\nX-Cache: Hit from cloudfront\r\nVia: 1.1 7ba3caf71ae7a52dd411d1a543e80cd8.cloudfront.net (CloudFront)\r\nX-Amz-Cf-Pop: SFO5-C3\r\nX-Amz-Cf-Id: w4h42tkoJD-rEpkRDZUvnQBmy26GVGe6pUsuRr1Dphf7oajYbjXaOA==\r\nAge: 132\r\n","type":"string"}},"type":"object","$$ref":"#/components/schemas/HttpTestResultHeaders"},"errorType":{"description":"Type of error encountered; corresponds to phase of connection","example":"None","readOnly":true,"type":"string"},"errorDetails":{"description":"Error details, if an error were encountered","example":"Connection error","readOnly":true,"type":"string","$$ref":"#/components/schemas/TestResultErrorDetails"},"sslCipher":{"description":"Cipher suite","type":"string"},"sslVersion":{"description":"TLS version","example":"TLSv1.3","type":"string"},"sslCertificates":{"items":{"properties":{"daysUntilExpiry":{"description":"Days until certificate expires, rounded down. 0 is shown if there are less than 24 hours remaining. Calculated when the test was executed.","type":"integer"},"isFetchDateInValidCertDateRange":{"description":"True when certificate fetch date is within the valid certificate date range, false otherwise","example":true,"type":"boolean"},"hasValidSigningCert":{"description":"This field is implicitly true; it is output only when false. false indicates this certificate was missing a valid signing certificate in the chain.","example":false,"type":"boolean"},"issuerName":{"description":"Certificate issuer","example":"DigiCert SHA2 Extended Validation Server CA","type":"string"},"validBefore":{"description":"Certificate is not valid after this date","example":"2020-05-12T12:00:00Z","format":"date-time","type":"string"},"validAfter":{"description":"Certificate is not valid before this date","example":"2018-03-27T00:00:00Z","format":"date-time","type":"string"},"subjectAlternativeNames":{"description":"Alternative name(s) of the certificate subject, extracted from the Subject Alternative Name (SAN) X.509 certificate extension, for example example.com, www2.example.com","example":["www.thousandeyes.com","thousandeyes.com"],"items":{"type":"string"},"type":"array"},"subjectName":{"description":"certificate’s subject name - a value of the common name (CN) RDN from the certificate’s Subject attribute, for example www.example.com","example":"www.thousandeyes.com","type":"string"}},"type":"object","$$ref":"#/components/schemas/SslCert"},"type":"array"},"healthScore":{"description":"A normalized value (0.0-1.0) representing the web application connection health of the test target. Returns negative values as error codes. -1.0 indicates there was insufficient data to calculate the health score.","example":0.98,"type":"number"}},"type":"object","$$ref":"#/components/schemas/HttpTestResult","title":"HttpTestResult"}}