refresh dashboard
POST
https://api.wexa.ai/dashboard/refresh/{projectID}
Last modified:2025-04-25 12:09:02
Refresh Project Dashboard
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.wexa.ai/dashboard/refresh/' \
--header 'x-api-key: {{x-api-key}}'
Response Response Example
{
"_id": "67fdea9c0de4fb70696a0b0c",
"name": "Pulse",
"position": [
{
"tab_id": "67e1367cf4f366b0cff3c3d0",
"x": 0,
"y": 0,
"h": 25,
"w": 7,
"i": "67e1367cf4f366b0cff3c3d5",
"minW": 4,
"minH": 4
}
],
"tabs": [
{
"name": "Overview",
"id": "67e1367cf4f366b0cff3c3d0"
},
{
"name": "Analytics",
"id": "67e1367cf4f366b0cff3c3d1"
},
{
"name": "Reports",
"id": "67e1367cf4f366b0cff3c3d2"
}
],
"project_id": "67fdea40aac77be632954f13",
"components": [
{
"tab_id": "67e1367cf4f366b0cff3c3d0",
"component_type": "taskManager",
"user_query": null,
"title": "My Tasks",
"subTitle": "",
"component_id": "67e1367cf4f366b0cff3c3d5",
"resource": "default",
"table_id": null,
"process_buttons": [],
"button_title": null,
"coworker_id": null,
"column_keys": [],
"columns": [],
"icon": "clipboard-list",
"query": {
"aggregation_code": [
{
"$match": {
"projectID": "67fdea40aac77be632954f13"
}
},
{
"$facet": {
"running": [
{
"$match": {
"status": "running"
}
},
{
"$project": {
"_id": 1,
"name": 1,
"created_at": 1,
"status": 1
}
}
],
"completed": [
{
"$match": {
"status": "completed"
}
},
{
"$project": {
"_id": 1,
"name": 1,
"created_at": 1,
"status": 1
}
}
],
"ready": [
{
"$match": {
"status": "ready"
}
},
{
"$project": {
"_id": 1,
"name": 1,
"created_at": 1,
"status": 1
}
}
],
"failed": [
{
"$match": {
"status": "failed"
}
},
{
"$project": {
"_id": 1,
"name": 1,
"created_at": 1,
"status": 1
}
}
],
"paused": [
{
"$match": {
"status": "paused"
}
},
{
"$project": {
"_id": 1,
"name": 1,
"created_at": 1,
"status": 1
}
}
]
}
}
]
},
"data": [
{
"status": "running",
"data": []
},
{
"status": "completed",
"data": [
{
"_id": "6805d8547d3775bffdb87551",
"created_at": 1745213524.773548,
"status": "completed",
"name": "new platform"
},
{
"_id": "6805e3a97d3775bffdb87608",
"created_at": 1745216425.41182,
"status": "completed",
"name": "new platform"
},
{
"_id": "6805e44e7d3775bffdb8760a",
"created_at": 1745216590.773335,
"status": "completed",
"name": "new platform"
},
{
"_id": "6805e5577d3775bffdb8760c",
"created_at": 1745216855.384694,
"status": "completed",
"name": "new platform"
},
{
"_id": "6805e6ca7d3775bffdb8760e",
"created_at": 1745217226.636342,
"status": "completed",
"name": "new platform"
},
{
"_id": "6805e8477d3775bffdb87610",
"created_at": 1745217607.232776,
"status": "completed",
"name": "new platform"
},
{
"_id": "6805f401064a778a5f18f846",
"created_at": 1745220609.002351,
"status": "completed",
"name": "new platform"
},
{
"_id": "68060114064a778a5f18f84f",
"created_at": 1745223956.857456,
"status": "completed",
"name": "new platform"
},
{
"_id": "6806062e064a778a5f18f9d4",
"created_at": 1745225262.35144,
"status": "completed",
"name": "new platform"
},
{
"_id": "68062352fc2e1fb8597c775a",
"created_at": 1745232722.189382,
"status": "completed",
"name": "new platform"
}
]
},
{
"status": "ready",
"data": [
{
"_id": "6805f3f6064a778a5f18f844",
"created_at": 1745220598.837637,
"status": "ready",
"name": "new platform"
},
{
"_id": "6806055b064a778a5f18f9ca",
"created_at": 1745225051.359286,
"status": "ready",
"name": "new platform"
},
{
"_id": "68060627064a778a5f18f9d0",
"created_at": 1745225255.138971,
"status": "ready",
"name": "new platform"
}
]
},
{
"status": "failed",
"data": []
},
{
"status": "paused",
"data": []
}
]
}
],
"description": "Drag and drop widgets to customize your dashboard",
"coworker_id": null
}
Request
Path Params
projectID
stringÂ
required
Header Params
x-api-key
stringÂ
required
Example:
{{x-api-key}}
Responses
Modified at 2025-04-25 12:09:02