{"type":"api","title":"Retrieve endpoint real user test page","meta":{"id":"/apps/pubhub/media/000-v7-apis/5b3454a4300b838cc17f7b2cdc0690fdd15058d5/85928a65-da17-3012-a6df-bb224dd8278a","info":{"description":"Retrieve results for scheduled and dynamic tests on endpoint agents.","title":"Endpoint Test Results API","version":"7.0.34"},"security":[{"BearerAuth":[]}],"tags":[{"name":"Network Endpoint Scheduled Test Results"},{"name":"HTTP Server Endpoint Scheduled Test Results"},{"name":"Network Dynamic Endpoint Test Results"},{"name":"Real User Endpoint Test Results"},{"name":"Local Network Endpoint 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":{"description":"Returns details for endpoint real user test web page request. \nProvides complete waterfall information with all object requests.\n\nSends back detailed endpoint real user test web page request.\n\nReturned object has a single field: `har` which is an HAR object according to the HTTP Archive 1.2 specifications. \n[You can read more about the specification](http://www.softwareishard.com/blog/har-12-spec/).\n\nIn addition to standard fields, the object har includes a custom property `systemMetrics` which contain metrics about CPU and physical memory usage. \nCheck `SystemMetrics` on schemas tab for more information.\n","operationId":"getRealUserTestPageResults","parameters":[{"description":"The real user test id.","explode":false,"in":"path","name":"id","required":true,"schema":{"example":"07625:1490529480:h3qJQTpl","type":"string"},"style":"simple"},{"description":"Web page ID","in":"path","name":"pageId","required":true,"schema":{"example":"281474976710706","type":"string"}},{"description":"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.","in":"query","name":"aid","required":false,"schema":{"example":"1234","type":"string"}}],"responses":{"200":{"content":{"application/hal+json":{"schema":{"properties":{"har":{"description":"A HAR object according to the [HTTP Archive 1.2 specifications](http://www.softwareishard.com/blog/har-12-spec/), with an additional `systemMetrics` property.","example":{"log":{"browser":{"name":"Google Chrome","version":"7.0.34.98"},"creator":{"name":"ThousandEyes Endpoint Agent","version":"7.0.34"},"entries":[{"pageref":"page_1","request":{"headers":[{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://www.thousandeyes.com/"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"en-US,en;q=0.6"},{"name":"Cookie","value":"(removed)"}],"method":"GET","queryString":[{"name":"locale","value":"en-US"}],"url":"https://www.thousandeyes.com/resources"},"response":{"bodySize":17776,"content":{"mimeType":"text/html;charset=ISO-8859-1","size":17776},"headers":[{"name":"Content-Type","value":"text/html;charset=ISO-8859-1"},{"name":"Content-Length","value":"17776"},{"name":"Connection","value":"keep-alive"},{"name":"Date","value":"Sun, 26 Mar 2017 11:58:54 GMT"},{"name":"Server","value":"Apache"},{"name":"Cache-Control","value":"max-age=600, must-revalidate"},{"name":"Content-Language","value":"en-US"},{"name":"Content-Encoding","value":"gzip"},{"name":"X-Frame-Options","value":"sameorigin"},{"name":"Strict-Transport-Security","value":"max-age=31536000"},{"name":"Vary","value":"Accept-Encoding"},{"name":"X-Cache","value":"Miss from cloudfront"},{"name":"Via","value":"1.1 5dbe09af3a2c87121e31ffa67f174f66.cloudfront.net (CloudFront)"},{"name":"X-Amz-Cf-Id","value":"YkvlkBNKgHt5aMu9vcS22Z8kHn1MUr-8adupwhDk3j9vF-TpSyIxZA=="}],"headersSize":527,"redirectURL":"","status":200,"statusText":"OK"},"serverIPAddress":"13.32.22.80","startedDateTime":"2017-03-22T11:58:54.123+02:00","time":177,"timings":{"blocked":-1,"connect":-1,"dns":-1,"receive":27,"send":-1,"ssl":-1,"wait":150}},{"pageref":"page_1","request":{"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36"},{"name":"Accept","value":"*/*"},{"name":"Referer","value":"https://www.thousandeyes.com/resources"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"en-US,en;q=0.6"}],"method":"GET","queryString":[],"url":"https://use.typekit.net/cjy5myw.js"},"response":{"bodySize":0,"content":{"mimeType":"text/javascript;charset=utf-8","size":7814},"headers":[{"name":"status","value":"200"},{"name":"access-control-allow-origin","value":"*"},{"name":"cache-control","value":"public, max-age=600, stale-while-revalidate=604800"},{"name":"content-encoding","value":"gzip"},{"name":"content-type","value":"text/javascript;charset=utf-8"},{"name":"server","value":"nginx"},{"name":"status","value":"200 OK"},{"name":"timing-allow-origin","value":"*"},{"name":"vary","value":"Accept-Encoding"},{"name":"content-length","value":"7814"},{"name":"date","value":"Sun, 26 Mar 2017 11:58:43 GMT"}],"headersSize":334,"redirectURL":"","status":200,"statusText":"OK"},"serverIPAddress":"104.103.103.234","startedDateTime":"2017-03-22T11:58:54.123+02:00","time":72,"timings":{"blocked":-1,"connect":-1,"dns":-1,"receive":10,"send":-1,"ssl":-1,"wait":62}}],"pages":[{"id":"page_1","pageTimings":{"onContentLoad":874,"onLoad":3492},"responseCode":200,"startedDateTime":"2017-03-22T11:58:54.123+02:00","title":"Network Performance Resources | ThousandEyes"}],"version":"1.2","systemMetrics":{"startTimeMs":1581508857327,"endTimeMs":1581508867333,"cpuUtilization":{"min":0.30859375,"max":0.5625,"mean":0.38931831001805056,"median":0.353515625,"stdDev":0.08389194281742307,"count":10},"physicalMemoryUsedBytes":{"min":12805128192,"max":12825530368,"mean":12819145821.09091,"median":12818219008,"stdDev":5741124.05691331,"count":11},"physicalMemoryTotalBytes":17069891584}}},"type":"object"},"_links":{"description":"A links object containing the self link.","properties":{"self":{"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/SelfLinks"}},"type":"object","$$ref":"#/components/schemas/RealUserEndpointTestPageDetailResult"}}},"description":"OK"},"401":{"content":{"application/problem+json":{"schema":{"properties":{"error":{"example":"invalid_token","type":"string"},"error_description":{"example":"Invalid access token","type":"string"}},"type":"object","$$ref":"#/components/schemas/UnauthorizedError"}}},"description":"Unauthorized"},"403":{"content":{"application/problem+json":{"schema":{"properties":{"type":{"description":"A URI reference that identifies the problem type. When this member is not present, its value is assumed to be \"about:blank\".","type":"string"},"title":{"description":"A short, human-readable summary of the problem type.","type":"string"},"status":{"description":"The HTTP status code generated by the origin server for this occurrence of the problem.","type":"integer"},"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","type":"string"},"instance":{"description":"A URI reference that identifies the specific occurrence of the problem.","type":"string"}},"type":"object","$$ref":"#/components/schemas/Error"}}},"description":"Insufficient permissions to query endpoint"},"404":{"content":{"application/problem+json":{"example":{"type":"about:blank","title":"URI Resource Not Found","status":404,"detail":"Details explaining if the 404 error is related to an invalid URI or a wrong ID","instance":"/v7"},"schema":{"properties":{"type":{"description":"A URI reference that identifies the problem type. When this member is not present, its value is assumed to be \"about:blank\".","type":"string"},"title":{"description":"A short, human-readable summary of the problem type.","type":"string"},"status":{"description":"The HTTP status code generated by the origin server for this occurrence of the problem.","type":"integer"},"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","type":"string"},"instance":{"description":"A URI reference that identifies the specific occurrence of the problem.","type":"string"}},"type":"object","$$ref":"#/components/schemas/Error"}}},"description":"Not found"},"429":{"content":{"application/problem+json":{"schema":{"properties":{"type":{"description":"A URI reference that identifies the problem type. When this member is not present, its value is assumed to be \"about:blank\".","type":"string"},"title":{"description":"A short, human-readable summary of the problem type.","type":"string"},"status":{"description":"The HTTP status code generated by the origin server for this occurrence of the problem.","type":"integer"},"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","type":"string"},"instance":{"description":"A URI reference that identifies the specific occurrence of the problem.","type":"string"}},"type":"object","$$ref":"#/components/schemas/Error"}}},"description":"Exhausted rate limit for the organization"},"500":{"content":{"application/problem+json":{"example":{"type":"about:blank","title":"Internal server error","status":500,"detail":"Optional detail about the internal error message.","instance":"/v7"},"schema":{"properties":{"type":{"description":"A URI reference that identifies the problem type. When this member is not present, its value is assumed to be \"about:blank\".","type":"string"},"title":{"description":"A short, human-readable summary of the problem type.","type":"string"},"status":{"description":"The HTTP status code generated by the origin server for this occurrence of the problem.","type":"integer"},"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","type":"string"},"instance":{"description":"A URI reference that identifies the specific occurrence of the problem.","type":"string"}},"type":"object","$$ref":"#/components/schemas/Error"}}},"description":"Internal server error"},"502":{"content":{"application/problem+json":{"schema":{"properties":{"type":{"description":"A URI reference that identifies the problem type. When this member is not present, its value is assumed to be \"about:blank\".","type":"string"},"title":{"description":"A short, human-readable summary of the problem type.","type":"string"},"status":{"description":"The HTTP status code generated by the origin server for this occurrence of the problem.","type":"integer"},"detail":{"description":"A human-readable explanation specific to this occurrence of the problem.","type":"string"},"instance":{"description":"A URI reference that identifies the specific occurrence of the problem.","type":"string"}},"type":"object","$$ref":"#/components/schemas/Error"}}},"description":"Bad Gateway"}},"summary":"Retrieve endpoint real user test page","tags":["Real User Endpoint Test Results"],"__originalOperationId":"getRealUserTestPageResults","security":[{"BearerAuth":[]}],"method":"get","path":"/endpoint/test-results/real-user-tests/{id}/pages/{pageId}"}}