database ok · worker okThe web service, database, and recent worker heartbeat are all healthy.
WebGrade API
Submit a public page, receive an accepted run, then read its report with the short-lived capability returned for guest access.
/api/analyzeValidate a public HTTP(S) target and start the requested device audits. With the database configured, the response queues durable work. Without it, the configured provider calls complete in the request and still return 202.
mobile and desktop.curl -X POST https://webgrade.chames.tn/api/analyze -H 'content-type: application/json' -d '{
"url": "https://example.com",
"strategies": ["mobile", "desktop"],
"cloudflareConsent": false,
"observatoryConsent": false
}'/api/analyze/:runIdRead a guest run while it is queued, running, completed, or failed. Send the capability from the POST response as a header; it is never placed in the URL.
x-webgrade-capability: <capability returned by POST>/api/healthCheck WebGrade application infrastructure. This endpoint does not call PageSpeed, CrUX, Cloudflare, or Observatory, and it does not prove that a target website or provider is available.
{
"status": "ok",
"service": "webgrade",
"version": "1",
"database": "not_configured"
}database ok · worker okThe web service, database, and recent worker heartbeat are all healthy.
status ok · dependency not readyThe public scanner can be reachable while the database is not configured or the worker heartbeat is stale. The local response above is this state.
503 · request failureThe health route cannot confirm the service or its database connection. A dev-server restart can cause this briefly.
The navigation badge starts at Checking, then shows Ready when the public scanner works without persistence, or Online, Limited, and Unavailable for infrastructure states. It refreshes every 30 seconds and keeps these separate from provider results.
/api/capabilitiesRead which optional features are configured for this deployment. This endpoint does not expose credentials and does not contact third-party providers.
{
"cloudflareScan": false,
"observatoryScan": true,
"cloudShare": false
}Feature availability. The scanner labels optional providers as unavailable when this deployment has not configured them. Browser sharing can share or copy the current report URL; a public cloud snapshot requires the owner workspace storage.