Pre-signed URL for the full response body of a failed HTTP check.
GET
/http/job/result/{job_result_id}/body
const url = 'https://api.siteqwality.com/http/job/result/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/body';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siteqwality.com/http/job/result/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/body \ --header 'Authorization: Bearer <token>'Response bodies are captured on failure only and kept for a per-plan window (5 days on the free plan, 30 with any paid plan, longer on request).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” job_result_id
required
string format: uuid
HTTP check result identifier
Responses
Section titled “ Responses ”Pre-signed body download URL
Media type application/json
object
url
required
string
expires_in_seconds
required
integer format: int64
body_bytes
True size of the body in bytes, so a client can show it before the download starts.
integer | null format: int32
Example generated
{ "url": "example", "expires_in_seconds": 1, "body_bytes": 1}Missing or invalid authentication
Result not found, or no body was captured for it
A body was captured but has aged out of the plan’s retention window
Internal server error