If you find an exposed token in the wild, for a service supported by GitHub Secret Scanning, uploading it to a Gist will either immediately revoke it or notify the owner.
if algolia keys have this predictable pattern, then they can enroll in secret scanning. If they don't then they probably can't