v1

latestOpenAPI 3.1.02026-08-042955230.1 KB
Uploads

Upload a billing file for a savings estimate

Accepts a multipart PDF, CSV, JSON, or text billing file, stores it in Archera's invoice upload bucket, and returns an upload ID. Use this upload ID with the savings-estimate operation. The upload status workflow is: PENDING before storage begins, PROCESSING while the file is being transferred, COMPLETE once it is available for analysis, and ERROR if storage fails.

post/v1/org/{org_id}/uploads

Response

Created

idstring uuid required
created_atstring date-time required
org_idstring required
file_namestring required
content_typestring required
size_bytesinteger required
descriptionstring nullable required
upload_status'PENDING' | 'PROCESSING' | 'COMPLETE' | 'ERROR' required
source'agent_upload' | 'attachment' | 'partner_api' required
detected_typestring nullable required
available_actionsstring[]