Hrm Dashboard
Function-calling namespace: hrmDashboard
- Base URL:
https://api.aivida.in - Engine endpoint:
POST /api - Auth: private API; Stack access token is required.
- Send token in header:
x-stack-access-token: <access_token>(orAuthorization: Bearer <access_token>). - Allowed roles:
platform_admin,hr. - Missing or invalid token returns
401; authenticated users without an allowed role return403.
getDashboard
Source: backend/endpoints/hrm-dashboard/get-dashboard
Input Fields
| Field | Type | Required | Constraints |
|---|---|---|---|
organizationId | string | Yes | - |
Example Request
curl -X POST https://api.aivida.in/api \
-H "Content-Type: application/json" \
-H "x-stack-access-token: <access_token>" \
-d '{
"namespace": "hrmDashboard",
"apiName": "getDashboard",
"data": {
"organizationId": "org_123"
}
}'Example Response
{ "status": "ok", "data": {} }