For the complete documentation index, see llms.txt. This page is also available as Markdown.

Uploads

API for uploading billing files for savings estimates

Upload a billing file for a savings estimate

post

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.

Path parameters
org_idstring · uuidRequired
Body
descriptionstring · max: 255 · nullableOptional

Optional partner-supplied context for the uploaded billing file

filestring · binaryWrite-onlyRequired

Billing PDF, CSV, JSON, or text file to upload for a savings estimate

Responses
201

Created

application/json
idstring · uuidRead-onlyRequired
created_atstring · date-timeRead-onlyRequired
org_idstring · max: 50Read-onlyRequired
file_namestring · max: 255Read-onlyRequired
content_typestring · max: 255Read-onlyRequired
size_bytesintegerRead-onlyRequired
descriptionstring · max: 255 · nullableRead-onlyRequired
upload_statusstring · enumRead-onlyRequiredPossible values:
sourceundefined · enumRead-onlyRequiredPossible values:
detected_typestring · max: 64 · nullableRead-onlyRequired
post/v1/org/{org_id}/uploads

Get uploaded billing file status

get

Returns metadata and upload status for a partner API upload. Clients can poll this endpoint until upload_status is COMPLETE, then pass the upload ID to the savings-estimate operation.

Path parameters
org_idstring · uuidRequired
upload_idstring · uuidRequired
Responses
200

OK

application/json
idstring · uuidRead-onlyRequired
created_atstring · date-timeRead-onlyRequired
org_idstring · max: 50Read-onlyRequired
file_namestring · max: 255Read-onlyRequired
content_typestring · max: 255Read-onlyRequired
size_bytesintegerRead-onlyRequired
descriptionstring · max: 255 · nullableRead-onlyRequired
upload_statusstring · enumRead-onlyRequiredPossible values:
sourceundefined · enumRead-onlyRequiredPossible values:
detected_typestring · max: 64 · nullableRead-onlyRequired
get/v1/org/{org_id}/uploads/{upload_id}

Last updated

Was this helpful?