Skip to content

Get a TLS monitor.

GET
/tls/job/{tls_job_id}
curl --request GET \
--url https://api.siteqwality.com/tls/job/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Returns the TLS monitor associated with an HTTP monitor’s domain.

tls_job_id
required
string format: uuid

TLS monitor identifier

TLS monitor retrieved

Media type application/json
object
id
required
string format: uuid
account_id
required
string format: uuid
http_job_id
required
string format: uuid
current_status
required
string
Allowed values: good bad unknown
domain
required
string
expiry_date
string | null format: date-time
last_run_at
string | null format: date-time
last_status_change_at
string | null format: date-time
created_at
required
string format: date-time
port
required

Port the TLS check connects to.

integer format: int32
alert_on_invalid_certificate
required

Whether an invalid certificate alerts.

boolean
certificate_problem
One of:

Why a browser would reject the certificate, from the latest check that could tell. null when it is valid or has not been judged yet.

string
Allowed values: expired not_yet_valid self_signed untrusted_chain hostname_mismatch
certificate_checked_at

When the certificate was last judged, by an uptime check or this TLS check.

string | null format: date-time
certificate_problem_since

When the current problem was first seen.

string | null format: date-time
Example
{
"current_status": "good",
"certificate_problem": "expired"
}

Missing or invalid authentication

TLS monitor not found

Internal server error