> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/task/_setdetails.md).

# \_setDetails

Sets the Details of the Task.

### Parameters

#### id

The ID of the Task.

#### val

The Details of the Task.

### Example

```
FM_api('Task_setDetails', ['id' => '123', 'val' => 'This is the task details.']);
```

### Result

#### On Success

```
{'ok':1}
```
