Skip to main content

Export

Export your audit trail as a downloadable file. Supports CSV, JSON, and JSONL formats with optional date range filtering.

Base URL: https://novyx-ram-api.fly.dev

Tier: Starter+

tip

Memory export is available via GET /v1/memories/export — see the Memories reference. This page covers audit log export.


Export Audit Logs

GET /v1/audit/export

Download your audit trail as a file.

Query parameters

ParameterTypeRequiredDefaultDescription
formatstringNo"csv"Export format: csv, json, or jsonl
sincestringNoStart of range (ISO 8601)
untilstringNoEnd of range (ISO 8601)

Response

Returns a file download. Content-Type varies by format:

FormatContent-Type
csvtext/csv
jsonapplication/json
jsonlapplication/x-ndjson

CSV columns: timestamp, operation, agent_id, artifact_id, content_hash

Examples

from novyx import Novyx

nx = Novyx(api_key="nram_your_key")

# Export as CSV
data = nx.export_audit(format="csv")

# Export with date range
data = nx.export_audit(
format="json",
since="2026-03-01T00:00:00Z",
until="2026-03-09T00:00:00Z",
)

Errors

StatusCodeCause
403FEATURE_NOT_AVAILABLERequires Starter+ plan
422INVALID_RANGEsince must be before until