Exporting Data

From the dashboard

Usage

  1. Go to Usage

  2. Choose a time range (24h, 7d, 30d, 90d)

  3. Click Export JSON or Export CSV

Audit log

  1. Go to Audit

  2. Filter if needed (event type, user, search)

  3. Click Export JSON or Export CSV

Via API

Use your API key and the actions or analytics endpoints:

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.faramesh.io/v1/actions?limit=1000" | jq . > actions.json

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.faramesh.io/v1/analytics?time_range=30d"

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.faramesh.io/v1/actions?limit=1000" | jq . > actions.json

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.faramesh.io/v1/analytics?time_range=30d"

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.faramesh.io/v1/actions?limit=1000" | jq . > actions.json

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.faramesh.io/v1/analytics?time_range=30d"

Via CLI

faramesh list --json > actions.json
faramesh policy list --json

faramesh list --json > actions.json
faramesh policy list --json

faramesh list --json > actions.json
faramesh policy list --json

Retention

How long data is kept depends on your plan. Export before it's removed. Retention periods:

  • FREE: 7 days

  • PRO: 30 days

  • TEAM: 90 days

  • ENTERPRISE: 365 days

Was this helpful?

Was this helpful?

Was this helpful?

Previous

More

Previous

More

Previous

More

Next

More

Next

More

Next

More

Table of content

Table of content

Table of content

Exporting Data

Exporting Data