Work task or to-do item with assignee, project association, status, priority, due date, time tracking, and completion information. Used for project management, task tracking, and productivity applications.
https://api.mockly.codes/tasks?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/tasksGet a collection of tasks
/productivity/tasks/tasks/:idGet a single task by ID
/productivity/tasks/:id/tasks/metaGet resource metadata and schema
/productivity/tasks/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/tasks?q=laptopGET https://api.mockly.codes/tasks?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 tasks
fetch('https://api.mockly.codes/tasks?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/tasks?count=10'
)
data = response.json()curl "https://api.mockly.codes/tasks?count=10"fetch('https://api.mockly.codes/tasks?nocache=true')idintegerUnique identifier for the task
random_intproject_idintegerForeign key reference to the project this task belongs to
random_inttitlestringTask title or summary
sentencedescriptionstringDetailed description of the task requirements and objectives
paragraphassigneestringFull name of the person assigned to this task
nameassignee_idintegerForeign key reference to the user assigned to this task
random_intstatusstringCurrent task status (e.g., todo, in_progress, review, done, cancelled)
task_statusprioritystringTask priority level (e.g., low, medium, high, urgent)
prioritydue_datestringDate by which the task should be completed
future_datedateestimated_hoursintegerEstimated time to complete the task in hours
random_intactual_hoursintegerActual time spent on the task in hours
random_intcreated_atstringTimestamp when the task was created
past_datedate-timecompleted_atstringTimestamp when the task was completed, null if still pending
past_datedate-timecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request