cURL
curl --request GET \ --url https://ninjachat.ai/api/v1/sessions/{id}/export \ --header 'Authorization: Bearer <token>'
{}
Export a session as JSON or Markdown.
API key starting with nj_sk_
Session ID to export.
Export format.
json
markdown
Session export.
JSON export of the session.