Uploads
post/uploads/{id}/factor-agent/submit

Request

  • Base URL: https://api.greentally.ai/v1
  • URL: https://api.greentally.ai/v1/uploads/{id}/factor-agent/submit
  • Auth: HTTP bearer

Path parameters

idinteger required

Request body

alltrue

Submit every row not yet submitted that is completed and ready or estimated. Not with itemIds or groupKeys.

analysisVersionIdstring uuid required
confirmboolean
groupKeysstring[]

Submit the ready or estimated rows of these review groups. Not with itemIds or all.

itemIdsstring[]

Optional subset of ready review rows to submit. Omit to preserve whole-document submission behavior.

Response

Submitted emission rows

dataobject required

The submit result (uploadId, submitted, allItemsSubmitted, remaining, inserted, emission, unit, items). emission (kgCO2e) differs by path: this synchronous submit counts every row it submitted, a record it found already stored included; a row-stored submit job's result counts only the emission rows it inserted, like inserted.

Changes

    • warning

      added the new regroup enum value to the / response property for the response status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the success response with the status