templates

Upload Attachment

Upload a file attachment to a template.

role sets the attachment's file_role — defaults to 'reference'. The video-template worker passes 'source' to durably retain the normalized transcript + original source files (the oracle the Audit Lab grades the SOP against), so they survive job-artifact cleanup and render in Reference Files. Only the upload-time roles are accepted here; 'fillable'/'process_map' are assigned later by the classify/extract pipeline, not by the uploader.

post/v1/templates/{template_id}/attachments

Path parameters

template_idstring required

Response

Successful Response

idstring uuid required
filenamestring required
file_typestring required
file_urlstring required
summarystring nullable
statusstring required
created_atstring date-time required

Changes

No recorded changes to this endpoint across all 1 revision of this API.