(noun) squeak, narrow escape, close call, close shave
something achieved (or escaped) by a narrow margin