Get custom dashboard version
get_custom_dashboard_version_snapshotGet Document Version Snapshot
When to use: 버전 기록의 한 행(audit_log_id)이 남긴 문서 정의를 그대로 읽을 때 — 이전 버전 내용을 확인하거나, 현재 문서(get_custom_dashboard)와 비교해 어느 버전으로 되돌릴지 고를 때.
When NOT to use: audit_log_id 는 list_custom_dashboard_versions 결과의 id 다 — 모르면 먼저 버전 기록을 읽는다. 현재 상태는 get_custom_dashboard.
Limitations: 한 번에 한 버전만 돌려준다. body 는 그 시점의 전체 정의(리포트면 layouts, 차트면 차트 정의)이고 차트 값 데이터는 없다. 리포트 스냅샷에는 위젯 id 만 있고 하위 차트의 정의는 각 차트의 버전 기록에 따로 남는다. 스냅샷이 만료되면 410, 손상되면 500, 이 문서·프로젝트의 행이 아니면 404, custom_dashboard:read 권한 필요(없으면 403). 삭제한 문서도 읽기 권한이 남아 있으면 버전이 읽히지만, 작성자라서 받던 권한은 삭제 뒤 사라지므로 403 이 될 수 있다.
Examples:
Q: 이 대시보드의 이전 버전 내용을 보여줘 params: {'path': {'document_id': '7bbf3504-0c36-42d3-a847-581e6d89ef98', 'audit_log_id': 812}}
Output shape: object: {id, entity_id, version, name, type, body, created_at}
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>",
"audit_log_id": "<audit_log_id>",
"project-id": "<project-id>"
},
"name": "get_custom_dashboard_version_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project-id | Yes | ||
| document_id | Yes | ||
| audit_log_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||