List custom dashboard versions
list_custom_dashboard_versionsList Document Versions
When to use: 커스텀 대시보드 문서(리포트·차트 등) 하나의 버전 기록을 볼 때. 방금 한 수정·삭제를 되돌릴 수 있는지 확인하거나, 복원(restore_custom_dashboard_version)할 대상 버전의 id 를 고를 때 쓴다. 웹 「버전 기록」 목록과 같다.
When NOT to use: 문서의 현재 정의·version 은 get_custom_dashboard 로 읽는다. 한 버전의 내용은 get_custom_dashboard_version_snapshot 으로 읽는다.
Limitations: path.document_id 문서의 기록을 최신순으로 limit 개(기본 50, 최대 200)까지 돌려준다. 각 행은 기록 하나다: action 이 save(정의 수정)·delete(삭제)·restore(복원)·cascade_restore(리포트 복원에 딸려 되돌려진 차트) 중 하나이고, 그 action 직후의 문서 정의가 스냅샷으로 남는다(delete 행만 삭제 직전 정의). 그래서 잘못된 수정을 되돌리려면 그 수정 행이 아니라 그 바로 이전 행을 고르고, 문서 생성은 기록되지 않아 생성 후 첫 수정 이전 상태로는 되돌릴 수 없다. 응답에는 정의(body)가 없고 요약(payload)만 있으므로 내용은 get_custom_dashboard_version_snapshot 으로 한 행씩 읽는다. restorable=true 인 행만 복원할 수 있다 — 스냅샷이 만료·손상되면 false 이고, 리포트 행은 되돌려야 할 하위 차트의 스냅샷이 복원 불가여도 false 다. 단 삭제한 문서는 restorable=true 여도 복원이 404 다. 정의(body)를 보낸 단건 수정과 삭제·복원만 기록된다 — body 를 null 로 보낸 수정(이름·정렬만 변경)과 일괄 수정(update_custom_dashboards)은 기록이 남지 않는다. 이 프로젝트 문서가 아니면 404, custom_dashboard:read 권한 필요(없으면 403). 삭제한 문서도 읽기 권한이 남아 있으면 기록이 읽히지만, 작성자라서 받던 권한은 삭제 뒤 사라지므로 403 이 될 수 있다.
Examples:
Q: 이 대시보드의 버전 기록을 보여줘 params: {'path': {'document_id': '7bbf3504-0c36-42d3-a847-581e6d89ef98'}}
Output shape: list of {id, action, version, created_at, actor_id, actor_nickname, payload, restorable, ...} — id 가 snapshot·restore 의 audit_log_id
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document_id": "<document_id>",
"project-id": "<project-id>"
},
"name": "list_custom_dashboard_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| project-id | Yes | ||
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||