Docs
API 1.39
Status
Sites

Read the learned site profile visible to the organisation

GET /v1/sites/{hostname}: Read the learned site profile visible to the organisation

GET /v1/sites/{hostname}
Operation idgetSiteProfile
Key scoperead: every key
SectionSites

#Parameters

NameInTypeRequiredDescription
hostnamepathstringyesmin length 1

#Example request

curl -X GET "https://api.kaab.ist/v1/sites/{hostname}" \
  -H "Authorization: Bearer $KAAB_API_KEY"

#Responses

#200

Site profile

SiteProfile

{
  "hostname": "portal.acme.test",
  "object": "site_profile",
  "tier_required": "browser",
  "tier_confidence": 0.82,
  "known_obstacles_count": 2,
  "api_endpoints_count": 1,
  "last_blocked_at": null
}

#Errors

Every error answers with the error envelope; its code is one of the error codes.

StatusWhen
400request_invalid: request validation failed
401Missing or invalid API key
403The key's scope does not cover this operation
404Resource not found
429Rate limited; see Retry-After
500internal: unexpected server error

Was this page helpful?