EndpointsSuper Admin Dashboard

Super Admin Dashboard

Function-calling namespace: superAdminDashboard

  • Base URL: https://api.aivida.in
  • Engine endpoint: POST /api
  • Auth: Stack token middleware enabled in optional mode.
  • Send token in header: x-stack-access-token: <access_token> (or Authorization: Bearer <access_token>).
  • In optional mode: no token is allowed; invalid token is rejected with 401.

getData

Source: backend/endpoints/super-admin-dashboard/get-data

Input Fields

FieldTypeRequiredConstraints
startDateintegerNo-
endDateintegerNo-

Example Request

curl -X POST https://api.aivida.in/api \
  -H "Content-Type: application/json" \
  -H "x-stack-access-token: <access_token_optional>" \
  -d '{
  "namespace": "superAdminDashboard",
  "apiName": "getData",
  "data": {
    "startDate": "2026-03-12",
    "endDate": "2026-03-12"
  }
}'

Example Response

{ "status": "ok", "data": {} }