Skip to main content

List tasks

GET 

/tasks

Returns a paginated list of completed and in-progress tasks across food safety and production. Each task represents a form-based work assignment — a food safety check, a production quality inspection, a cleaning verification, or similar. Filter by source, status, form, assignee, work order, or date range to find specific task records. Use this for compliance reporting, audit trails, and operational analytics.

Request

Response

Paginated list of tasks

Response
{
"data": [
{
"taskId": "4821",
"title": "Pre-Production Sanitation Check",
"formId": "301",
"formName": "Sanitation Verification Form",
"source": "production",
"taskType": "submission",
"status": "completed",
"priority": "medium",
"assigneeId": "usr-00412",
"assigneeName": "Maria Garcia",
"workOrderId": "6073",
"scheduledDate": "2025-04-10",
"dueDate": "2025-04-10T12:00:00Z",
"createdAt": "2025-04-09T14:00:00Z",
"submission": {
"submissionId": "9102",
"status": "approved",
"submittedAt": "2025-04-10T09:45:00Z",
"submittedById": "usr-00412",
"submittedByName": "Maria Garcia",
"reviewedAt": "2025-04-10T11:20:00Z",
"reviewedById": "usr-00108",
"reviewedByName": "James Chen",
"reviewComments": null,
"fieldData": [
{
"fieldId": "501",
"fieldLabel": "Surface Temperature",
"fieldType": "temperature",
"value": {}
}
]
}
}
],
"pagination": {
"offset": 0,
"limit": 20,
"total": 87
}
}