Factors
Get the active carbon factor set
Changed onReturns the factor set the pipeline currently writes new calculations with. Responds 503 if that version is not seeded, rather than falling back to another version.
get/api/v1/carbon-factors/current
Request
- Base URLhttps://api.crbonfree.com
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Active factor set
Example response
{
"data": {
"version": "v1.2",
"factors": [
{
"version": "v1.2",
"modelTier": "medium"
}
]
}
}Changes
- info
endpoint added
- info