Report Templates
List report-template versions
GET
/api/v1alpha1/report-templates/{report_template_id}/versionsReturns every immutable version, including versions of archived templates.
Authorization
apiKey AuthorizationBearer <token>
In: header
Path Parameters
report_template_id*string
Identifier of a report template in this workspace.
Response Body
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" \ -H "Authorization: Bearer $DEEPFRAME_API_KEY"{ "data": [ { "blocks": [ { "answer_key": "timeline", "field_labels": [ { "key": "activity", "label": "Activity" } ], "label": "Timeline", "type": "timeline" } ], "created_at": "2026-08-22T10:00:00.000Z", "created_by": "user_0190b5d4-7e1f-7a2b-9c3d-1234567890ab", "language": "en", "report_template_id": "tpl_0190b5d4-7e1f-7a2b-9c3d-1234567890ab", "version": 1 } ], "has_more": false, "next_cursor": null}Archive a report template DELETE
Archives the template instead of deleting it. The operation is idempotent and preserves every version.
Create a report-template version POST
Appends an immutable version. A report template can have at most 100 versions. Archived and anonymous templates reject new versions with a conflict.