/api/epicsRole: ViewerWorkspace
The epics of every workspace the account reaches.
Request
curl -s http://localhost:3000/api/epics \
-H "Authorization: Bearer $TOKEN"Response200
[
{
"id": "cmttg1vs50015lf010l6k38uq",
"projectId": "cmttg1vjy000zlf015g097nhi",
"name": "Onboarding",
"description": null,
"color": "amber",
"status": "ACTIVE",
"locked": false,
"dueAt": "2026-10-31T23:59:00.000Z",
"dueAtZone": "America/Sao_Paulo",
"position": 0
}
]Error responses
An epic has no tenantId (it inherits the project's), so the filter goes through the project.