Analytics
Returns the workspace's AI insights: whether they are turned on and allowed on your plan, how often they run, the status of the latest run, and that run's findings in run. Runs happen on the schedule set in the dashboard; this endpoint only reads them and costs no credits.
curl --request GET \
--url 'https://api.nabrah.ai/api/ext/insights/ai' \
--header 'X-API-Key: <your-api-key>'{
"enabled": false,
"can_manage": false,
"every_hours": 0,
"status": "string",
"run_credits": 0,
"monthly_credits_estimate": 0,
"plan_allowed": false,
"run": {
"id": "00000000-0000-4000-8000-000000000000",
"trigger": "string",
"as_of": "2026-01-15T12:00:00.000Z",
"finished_at": "2026-01-15T12:00:00.000Z",
"layout": {},
"metrics": {},
"output": {}
},
"running_since": "2026-01-15T12:00:00.000Z",
"next_run_at": "2026-01-15T12:00:00.000Z",
"refresh_available_at": "2026-01-15T12:00:00.000Z",
"free_retry": false,
"last_skip_reason": "string"
}X-API-KeystringheaderrequiredYour workspace API key. Create one in the dashboard under API keys.
Successful Response
application/json