cURL
curl --request GET \ --url https://ninjachat.ai/api/v1/sessions/{id}/export \ --header 'Authorization: Bearer <token>'
{}
Export a session as JSON or Markdown.
Documentation IndexFetch the complete documentation index at: https://docs.ninjachat.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.ninjachat.ai/llms.txt
Use this file to discover all available pages before exploring further.
API key starting with nj_sk_
Session ID to export.
Export format.
json
markdown
Session export.
JSON export of the session.