About rest api problem

I created a process using modeler. But it cannot be queried in the rest api interface.
Who knows which interface should be used to query?