api#key/get: fix and document its behavior