Skip to content

list_history

List history · read tool

The Revisions (default-branch commits that changed the Workspace), newest first, each with sha, date, subject, author, tags, change counts against the Revision before, and whether its Bundle can be read with at. scope keeps the Revisions that touched an Element or its descendants, a Team or what it owns, or a Project (as they are at at, else now). since and until are points, inclusive: a day covers the whole UTC day. With at, Revisions after it are left out. Read from the Revision index, so it is cheap.

Field Type Required Notes
scope string An Element (project:id), a Team id or a Project id.
scope_kind "element" or "team" or "project" What scope names, when a Team and a Project share the id.
since string The earliest point: a tag, a commit sha or its first 4 or more characters, or a date (YYYY-MM-DD) or time (ISO 8601, UTC unless it gives a zone).
until string The latest point: a tag, a commit sha or its first 4 or more characters, or a date (YYYY-MM-DD) or time (ISO 8601, UTC unless it gives a zone).
limit integer The most items to return; truncated says whether there were more. Default: 50. At least 1. At most 9007199254740991.
at string A point in time to answer at: a tag, a commit sha or its first 4 or more characters, or a date (YYYY-MM-DD) or time (ISO 8601, UTC unless it gives a zone). On a checkout, any git ref works too. Leave out for the current Workspace.
Field Type Required Notes
scope object or null yes
scope.kind "element" or "team" or "project" yes What scope names, when a Team and a Project share the id.
scope.id string yes
total number yes
truncated boolean yes
revisions list of object yes
revisions[].sha string yes
revisions[].date string yes
revisions[].subject string yes
revisions[].author string yes
revisions[].tags list of string yes
revisions[].counts object yes
revisions[].bundle boolean yes Whether the Bundle at this Revision can be read with at.

Called over the Kitchen sink example Workspace.

Arguments:

{
"limit": 2
}

Result:

{
"scope": null,
"total": 4,
"truncated": true,
"revisions": [
{
"sha": "509f45a06c441574a8a5ba1fd6d1af91a920c3bb",
"date": "2026-11-26T22:23:01-06:00",
"subject": "chore(release): promote beta to main for v1.4.0 (#144)",
"author": "Logan Harber",
"tags": [],
"counts": {
"added": 0,
"removed": 0,
"changed": 3
},
"bundle": true
},
{
"sha": "3ac333208f236c1c700870adff31efa59b818061",
"date": "2026-11-24T20:01:02-06:00",
"subject": "docs: US spelling throughout, kept by the banned-word check (ticket 21) (#83)",
"author": "Logan Harber",
"tags": [],
"counts": {
"added": 0,
"removed": 0,
"changed": 1
},
"bundle": true
}
]
}

A call that fails returns isError: true, with {code, message, suggestions?} as structuredContent. This tool returns:

  • invalid_input when the arguments don’t fit the input above.
  • not_found when an id or name, or the point in history given as at, matches nothing, or a sha prefix starts more than one Revision, with the candidates.
  • ambiguous when scope names both a Project and an Element; pass scope_kind.
  • source_unavailable when the server can’t read the Workspace.
  • history_unavailable when the Workspace has no history to read.

Error codes says what to do about each.

Documents Archidocs v1.4.0, the latest release.