Upload a file to a material processing step
Upload a file via multipart form data and automatically link it to this material processing step.
Files may be up to 30 MiB. The API accepts any submitted MIME type;
common evidence file types include PDFs (application/pdf), images
(image/*), CSV files (text/csv), and Excel spreadsheets. The
submitted MIME type is returned as mime_type.
To update existing linked files without uploading a new file, PATCH
/material-processing/{id} with the complete file_ids array.
Documentation Index
Fetch the complete documentation index at: https://docs.cula.tech/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
OAuth2 client credentials flow. Exchange your client_id and
client_secret for a short-lived access token, then pass it as
a Bearer token in the Authorization header.
Headers
Organisation ID that scopes this request. The authenticated consumer must be authorized for this organisation. Omitting this header returns 400; passing an unauthorised org returns 403.
Path Parameters
Cula-assigned resource ID in TypeID format (e.g. stp_01kqzcjrpxf27tge33jwvjhkff).
Alternatively, pass your external ID prefixed with ext-
(e.g. ext-MY-STEP-001). The ext- prefix is unambiguous because
TypeIDs use _ separators and never start with ext-.
Body
Response
File uploaded and linked.
"fil_01kqzcjrpyf27tgeaqk8twgw91"
"puro_LCA_RCCS_Q4.xlsm"
2451230
"application/vnd.ms-excel.sheet.macroEnabled.12"
The site this file belongs to.