> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mileapp.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

## What is an Activity?

An Activity is a multi-step task group created from a Workflow template. When you create an Activity, MileApp automatically creates one parent task (`taskType = activityMaster`) plus one child task (`taskType = activityChild`) per Workflow step, links them together, and copies field values forward between steps according to the Workflow's field mappings.

Activities are stored alongside regular tasks: the parent's `_id` is also the Activity ID, and the parent's `subId` array lists every child task in Workflow-step order. The shape of an Activity follows the standard [Task object](/api-reference/objects/task-object) — see the Task object reference for the full field list.

## Endpoints

| Method | Path        | Description                                       |
| ------ | ----------- | ------------------------------------------------- |
| POST   | `/activity` | Create a new Activity from a Workflow definition. |

After creation, retrieve, update, or delete an Activity through the standard [Task endpoints](/api-reference/task/overview) using the Activity master task's ID — Activities are stored as tasks with `taskType = activityMaster`.

## Related

* [Activity in Task](/pages/task/creating-task/activity-in-task) — End-user guide to creating and managing Activities from the web app.
* [Introduction to Workflow](/pages/workflow/introduction-to-workflow) — How Workflow templates work.
* [Task object](/api-reference/objects/task-object) — The underlying task schema that Activity master/child tasks extend.
