sendKey will let you detect key collision error - more on key collision here: What will Aerospike do if there is a hash collision (two records have the same key)?
if sendKey is true, key is stored in one of the metadata fields. AQL shows the key if you set record_print_metadata to true which leads me to conclude that if you store the key with sendKey = true, there is a way to retrieve it.