Update Historical Emission
Update Historical Emission
Update an existing historical emission entry
PATCH
Update Historical Emission
Update Historical Emission
Update one or more fields of an existing historical emission entry. Only send the fields you want to change — all fields are optional.Request
Headers
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
string
required
UUID of the historical emission entryExample:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"Body Parameters
All fields are optional — only send what you want to change.string
Start date (ISO 8601)
string
End date. Must be >=
start_date when both are provided.number
Total CO2e in kilograms (must be > 0)
string
Free text description
string
UUID of evidence file
string
URL of evidence file
string
Name of evidence file (max 255 chars)
Response
Returns the updated historical emission object with HTTP 200.string
Historical emission UUID
string
Organization UUID
date
Start date of the emission period (ISO 8601)
date
End date of the emission period (ISO 8601)
integer
GHG scope automatically derived from category (1, 2, or 3)
string
Emission category (e.g.
electricity, transport, purchases)number
Total CO2e emissions in kilograms
string | null
Free text description of the emission entry
string
GHG gas type (e.g.
co2e)integer
GHG type:
0 = fossil, 1 = biomassboolean
Whether this emission entry is enabled and included in totals
string | null
UUID of the attached evidence file
string | null
URL of the attached evidence file
string | null
Name of the attached evidence file
datetime
Creation timestamp (ISO 8601)
string | null
Last update timestamp (ISO 8601)
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization404 Not Found
Cause: Historical emission not foundRelated Endpoints
Get
View the current entry
List
View all entries