GET /controls
AvailableServer-resolved controls map for one device.
GET
https://ctrlapp.krdcode.com/api/public/sdk/v1/controlsAuth:
Bearer <PUBLISHABLE_KEY>Query
device_uid— required.
Returns a map keyed by control key with only device-eligible controls. Targeting, kill switches, schedule windows, sticky variants, and locale overrides are enforced on the server. Internal fields (targeting, description, rollout_percent) are stripped.
Security
Never introduce a client-side "is this launched?" check. If a control is missing from the response, the device is not eligible.
Errors
400—"device_uid required".401— bad key.404— unknown device.