The documentation of the recording session saving and loading API is missing.
See lttng/save.h and lttng/load.h.
lttng/save.h
lttng/load.h