HttpTask
An HTTP task with its current state.
Task id (UUID).
0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5bTask name.
Production homepageURL to request.
https://example.com/HTTP method: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS.
Possible values: [GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS]
GETFollow HTTP redirects.
trueAccept invalid or self-signed TLS certificates instead of failing the check.
falseRetries after a failed request before the result is recorded.
2Pause between retries, in milliseconds.
500headers object[]required
Header name.
AuthorizationHeader value.
Bearer my-tokenTags of the task.
["prod","backend"]assertions object[]required
What is checked: status_code, body or response_time.
status_codeComparison operator, see AssertionInput.
isvalue objectrequired
Expected value: a string for status_code and body, an integer (milliseconds) for response_time.
- integer
- string
Locations the check runs from, see GET /v1/locations.
["RUMOW","GBLON"]How often the check runs, in seconds.
Possible values: [30, 60, 300, 600, 900, 1800, 3600]
60Minutes the failure must persist before the task becomes alerting; 0 alerts at once.
5How many locations must fail at the same time to count as a failure.
1Whether checks are running; false means paused by the user.
trueCurrent state: pending (no results yet), ok, alerting, no_data (locations stopped reporting), paused (isActive is false), billing (suspended by billing), config_error (the task cannot be executed as configured).
Possible values: [pending, ok, alerting, no_data, paused, billing, config_error]
okISO-8601 with milliseconds and offset, e.g. 2026-08-14T13:02:07.214+00:00
2026-08-14T13:02:07.214+00:00Request body text; null when the task sends no body.
Request body type: json, form_urlencoded, html, plain, xml; null when the task sends no body.
Possible values: [json, form_urlencoded, html, plain, xml, null]
ISO-8601 with milliseconds and offset, e.g. 2026-08-14T13:02:07.214+00:00
ISO-8601 with milliseconds and offset, e.g. 2026-08-14T13:02:07.214+00:00
2026-08-14T13:02:07.214+00:00ISO-8601 with milliseconds and offset, e.g. 2026-08-14T13:02:07.214+00:00
2026-08-14T13:02:07.214+00:00{
"id": "0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
"name": "Production homepage",
"url": "https://example.com/",
"httpMethod": "GET",
"followRedirects": true,
"ignoreServerCertificateError": false,
"retryCount": 2,
"retryTimeoutMs": 500,
"headers": [
{
"name": "Authorization",
"value": "Bearer my-token"
}
],
"tags": [
"prod",
"backend"
],
"assertions": [
{
"type": "status_code",
"operator": "is",
"value": "200"
}
],
"locationIds": [
"RUMOW",
"GBLON"
],
"checkIntervalSeconds": 60,
"alertTimeframeWindow": 5,
"alertLocationsCount": 1,
"isActive": true,
"state": "ok",
"stateChangedAt": "2026-08-14T13:02:07.214+00:00",
"body": "string",
"bodyType": "json",
"suspendedUntil": "2024-07-29T15:51:28.071Z",
"createdAt": "2026-08-14T13:02:07.214+00:00",
"updatedAt": "2026-08-14T13:02:07.214+00:00"
}