Is there a way to know the build of a random AI after a match?

Solution 1:

During the replay you can see what they are building at every moment of the game by looking at the production overlay. You'd need a little more advanced knowledge of the build orders (which isn't hard to find on the internet) to determine what they are aiming for as a build order.