Skip to main content
PATCH
/
milestones
/
{id}
Update a milestone
curl --request PATCH \
  --url https://slog.ai/milestones/{id} \
  --header 'Content-Type: application/json' \
  --header 'slog-api-key: <api-key>' \
  --data '
{
  "status": "ACTIVE",
  "dueDate": "2026-08-01"
}
'
{
  "milestone": {
    "id": "mile_01jqmile0001",
    "reference": "ENG-M1",
    "name": "Beta Launch",
    "description": "First public beta release.",
    "startDate": "2026-05-01",
    "dueDate": "2026-07-01",
    "labels": [
      {
        "id": "label_01jqlabel001",
        "name": "bug",
        "color": "#EF4444"
      }
    ],
    "createdAt": "2026-04-01T08:00:00.000Z",
    "updatedAt": "2026-05-01T10:00:00.000Z"
  }
}

Authorizations

slog-api-key
string
header
required

API key obtained from the Slog dashboard or returned by the signup/invite-redeem flows. Pass as the slog-api-key header.

Path Parameters

id
string
required

Resource ID (UPID) or, for tasks and projects, the human-readable reference such as ENG-42.

Body

application/json
name
string
Example:

"Beta Launch (revised)"

status
enum<string>

Lifecycle status of a milestone.

Available options:
PLANNING,
ACTIVE,
COMPLETED,
CANCELLED
description
string | null
Example:

"Updated scope."

startDate
string<date> | null
Example:

"2026-05-15"

dueDate
string<date> | null
Example:

"2026-08-01"

Response

The updated milestone.

milestone
object