---
title: "Update Task Location"
method: PUT
path: "/v1/worker/tasks/{task_id}/location"
tags: ["worker"]
---

# Update Task Location

`PUT /v1/worker/tasks/{task_id}/location`

## Request

- Base URL: `https://api.mundane.market` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mundane.market/v1/worker/tasks/{task_id}/location`
- Auth: none declared

Overwrite the worker's current point for a live-location task.

Only the worker on the accepted offer, only while the task is in its
active window, and only when the agent requested sharing at post time
(which the worker saw before accepting). One row per task, updated in
place -- no history is ever stored, and the row is deleted the moment
the task leaves the active window.

## Path parameters

- `task_id` string, required

## Headers

- `authorization` string

## Request body

- TaskLocationUpdate
  - `lat` number, required
  - `lng` number, required
  - `accuracy_m` number, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mundane/apis/mundane-api.md) · [All operations](https://skmtc.dev/mundane/apis/mundane-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mundane/apis/mundane-api/revisions/f1cba6e69834?raw)
