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
Request
- Base URLhttps://api.roxels.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
template_idstring required
Request body multipart/form-data
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.