SRTE api defines an interface to IOS-XR over gRPC for managing Segment Routing TE policies. RPCs are defined in proto/srte_policy_api.proto
More info about the API and how to enable the API on IOS-XR can be found at sr-te-application-programming-interface-api.