Mecanim scripting interface

I’m using Unity 4.0. Can I set animation settings (such as settings for animation states or blending options) from script? Where I can find documentation on Mecanim scripting API? And how can I differ Mecanim scripting API from documentation for Legacy animation system (there’s no any tags on scrip referense pages which can help to understand to what animation system this API function can be reffered to)?

According to the Mecanim FAQ: “Most functions in Mecanim can be controlled by script, but We are exposing the entire API in increments over the 4.x development cycle”

My guess is that they are also working on compiling the documentation for it as they expose more of the API but you could always try searching with the custom Unity Search to see if the particular function you’re looking for has been released yet.