List Agent Config History
List a config-based agent’s config-change history, newest first.
Response is bounded by the server-side retention window (50 rows per
agent by default) and carries a per-row summary.changedFields so
the FE sidebar stays cheap - full before/after diffs come from two
GET /history/{version} detail reads.
/agents/{job_id}/config/historyAuthorizationBearer token · headerrequiredjob_idstringrequiredlimitintegerbefore_versionintegerSuccessful Response
itemsAgentConfigHistoryItem[]Show propertiesHide properties
AgentConfigHistoryItemversionintegerrequiredchangedByEmailstring | nullAdmin's email in admin-app mode; tenant user's otherwise. None when the row predates author capture (legacy / migrated).
Show propertiesHide properties
stringnullchangedTimestampstring<date-time>requiredchangeKindstringrequiredcreateupdaterollbackrollbackSourceVersioninteger | nullFor change_kind='rollback': the version whose config was copied. None otherwise.
Show propertiesHide properties
integernullchangeNotestring | nullShow propertiesHide properties
stringnullsummaryAgentConfigHistorySummaryCheap diff preview stored on every history row at write time.
The list endpoint returns this without shipping the full config blobs.
changedFields is a sorted list of dotted paths at depth ≤ 2
(e.g. ["prompts.customInstructions", "tools"]). A deeper change
inside tools[].config.headers collapses to "tools". The FE
computes a full before/after diff from two GET /history/{version}
detail reads when the user opens a specific version.
Show propertiesHide properties
changedFieldsstring[]Sorted depth-2 dotted paths that differ from the previous version
totalintegerrequiredTotal rows for this agent (bounded by retention)
nextBeforeVersioninteger | nullCursor for the next page - pass as ?before_version=…. Null if no more rows.
Show propertiesHide properties
integernullValidation Error
detailValidationError[]Show propertiesHide properties
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
string | integerstringintegermsgstringrequiredtypestringrequiredinputanyctxobject