getting path types over API