Palbase Auth API · API
GET
/admin/attest/devices/attest-policyRead the App Attest mode
Returns the App Attest mode in force (off, monitor, enforce). The customer runtime polls it, so a change takes effect without a redeploy.
Called by your server, with the project's secret key.
curl
curl -X GET "https://<your-ref>.palbase.studio/admin/attest/devices/attest-policy" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The mode
400Validation failed or required field missing
401Missing, invalid, or expired credentials
403Authenticated but not permitted (banned, hook denial, role mismatch)
503The mode could not be read (`attest_policy_unavailable`): keep the mode last read and retry after Retry-After.
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation AdminGetAttestPolicy of auth's contract.