コンテンツへスキップ
Report Templates

レポートテンプレートversionを取得

GET/api/v1alpha1/report-templates/{report_template_id}/versions/{version}

oneのimmutableなreport-template versionを返します。versionは正の整数またはlatestです。

認証

apiKey
認証Bearer <token>

場所: header

パスパラメーター

report_template_id*string

このワークスペースのreport templateの識別子です。

version*string

immutableな正のversion番号、または最大versionを示すlatestです。

レスポンスボディ

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v1alpha1/report-templates/tpl_0190b5d4-7e1f-7a2b-9c3d-1234567890ab/versions/latest" \  -H "Authorization: Bearer $DEEPFRAME_API_KEY"
{  "blocks": [    {      "answer_key": "",      "columns": [        {          "key": "",          "label": ""        }      ],      "field_labels": [        {          "key": "",          "label": ""        }      ],      "group_by": "",      "label": "",      "mapping": {},      "sort_by": "",      "sort_direction": "asc",      "type": "timeline"    }  ],  "created_at": "2026-08-22T10:00:00.000Z",  "created_by": "user_0190b5d4-7e1f-7a2b-9c3d-1234567890ab",  "language": "ja",  "report_template_id": "tpl_0190b5d4-7e1f-7a2b-9c3d-1234567890ab",  "version": 1}