Trying Sythentics in elastic cloud some doubts

Hi,

Could you tell me how I can call / create a synthetic from an api just like I do from the kibana interface but through API?

This is possible?

And where is the code of synthetic that I paste in that creation process? where I can see the information, I mean elastic cloud should be save that code I've uploaded in some place right? some index? I mean .js file.

Sorry, I didn't find this information reading the documentation :_(

Thank you very much

I need some help with that :_(

Please