Just to confirm agent created via langchain in UiPath is not available via api unless you call it in studio process..process orchestration is what you need to use..it gets consumed as a flow itself
Giving info so that you dont end up trying the above way
cheers