API Reference
Creates a new static input for a project.
cURL
curl --request POST \ --url https://app.gomangrove.com/api/v1/projects/{project_id}/static_inputs \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "static_input": { "name": "Baseline Emission Factor", "value": "0.85", "value_type": "number", "unit": "tCO2e/MWh", "description": "Default baseline emission factor" } } '
{ "id": 1, "name": "Baseline Emission Factor", "slug": "baseline-emission-factor", "description": "Default baseline emission factor", "value": "0.85", "value_type": "number", "unit": "tCO2e/MWh", "created_at": "2025-01-15T10:00:00.000Z", "updated_at": "2025-01-15T10:00:00.000Z" }
Show child attributes
201