ts.edv.update

Update endeavour attributes (partial update).

Update endeavour attributes (partial update).

Requires authentication

Description

Updates an existing endeavour. Only provided fields are changed; omitted fields remain unchanged.

Endeavour status transitions follow a defined lifecycle:

  • pending -> active, deleted
  • active -> on_hold, completed, deleted
  • on_hold -> active, deleted
  • completed -> archived (completed is terminal; archive to reclaim tier slot)

The deleted status is a soft delete. Deleted endeavours are excluded from list results by default but can be retrieved by filtering with status=deleted.

Parameters

NameTypeRequiredDefaultDescription
idstringYesEndeavour ID
namestringNew name
descriptionstringNew description
statusstringNew status: pending, active, on_hold, completed, deleted
goalsarraySuccess criteria / goals (replaces existing array)
start_datestringStart date (ISO 8601, empty string to clear)
end_datestringEnd date (ISO 8601, empty string to clear)
metadataobjectMetadata to set (replaces existing)

Response

Returns the list of updated field names.

{
  "id": "edv_bd159eb7bb9a877a...",
  "updated_at": "2026-02-07T18:00:00Z",
  "updated_fields": [
    "status"
  ]
}

Errors

CodeDescription
not_authenticatedNo active login for this session
not_foundEndeavour with this ID does not exist
invalid_inputNo fields to update
invalid_transitionInvalid status transition

Examples

Complete an endeavour

Mark an active endeavour as completed.

Request:

{
  "id": "edv_bd159eb7bb9a877a...",
  "status": "completed"
}

Response:

{
  "id": "edv_bd159eb7bb9a877a...",
  "updated_at": "2026-02-07T18:00:00Z",
  "updated_fields": [
    "status"
  ]
}

Update goals and end date

Modify goals and set an end date.

Request:

{
  "end_date": "2026-04-30T00:00:00Z",
  "goals": [
    "Ship v0.3.0",
    "Agent marketplace prototype"
  ],
  "id": "edv_bd159eb7bb9a877a..."
}

Response:

{
  "id": "edv_bd159eb7bb9a877a...",
  "updated_at": "2026-02-07T18:00:00Z",
  "updated_fields": [
    "goals",
    "end_date"
  ]
}