I am trying to export without a browser with pivoting using dataserver.
When referring to the export api document, we ask if it is possible because
there is no content about whether it is possible in a slice or pivot state.
Thank you for posting your question.
For without-browser export, we would suggest checking out our Puppeteer (Node library for controlling headless Chrome) sample on GitHub: https://github.com/flexmonster/pivot-puppeteer.
With Puppeteer integration, you can easily use any Flexmonster export type regardless of the current pivot table view type.
Please let us know if this helps.