Dashboard API
Dashboard API for ERP KPIs, recent business activity, and searchable activity history.
Generated from the Celerp 2.5.0 OpenAPI schema, 21 September 2026.
GET /dashboard/activity
Get Dashboard Activity
Return dashboard activity.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
limit | query | -- | integer | Maximum number of records to return. |
Responses
| Status | Description | Body |
|---|---|---|
200 | Returns the requested dashboard activity result. | object |
422 | The request failed validation. The response lists each invalid field and why. | HTTPValidationError |
Example
curl -X GET http://localhost:8000/dashboard/activity \
-H "Authorization: Bearer $TOKEN"GET /dashboard/activity/search
Search Dashboard Activity
Search dashboard activity using the supplied criteria.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
q | query | -- | string | Search text used to filter matching records. |
date_from | query | -- | string | Start date for the requested reporting or search period. |
date_to | query | -- | string | End date for the requested reporting or search period. |
page | query | -- | integer | One-based page number to return. |
per_page | query | -- | integer | Maximum number of records to return per page. |
Responses
| Status | Description | Body |
|---|---|---|
200 | Returns the requested dashboard activity result. | object |
422 | The request failed validation. The response lists each invalid field and why. | HTTPValidationError |
Example
curl -X GET http://localhost:8000/dashboard/activity/search \
-H "Authorization: Bearer $TOKEN"GET /dashboard/kpis
Get Dashboard KPIs
Return dashboard KPIs.
Responses
| Status | Description | Body |
|---|---|---|
200 | Returns the requested dashboard kpis result. | object |
Example
curl -X GET http://localhost:8000/dashboard/kpis \
-H "Authorization: Bearer $TOKEN"