return API path instead of filesystem