Skip to main content
GET
/
projects
/
{project_id}
/
static_inputs
List static inputs
curl --request GET \
  --url https://app.gomangrove.com/api/v1/projects/{project_id}/static_inputs \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "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"
    }
  ],
  "info": {
    "items": 1,
    "page_size": 10,
    "total_items": 1,
    "current_page": 1,
    "next_page": null,
    "previous_page": null,
    "total_pages": 1,
    "sort": [],
    "filter": []
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

project_id
string
required

Query Parameters

page
integer<int32>
default:1
page_size
integer<int32>
default:10
sort
string

Comma-separated list of fields to sort by. Prefix with - for descending. Available fields: id, name, slug, value_type, created_at, updated_at

Example:

"name,-created_at"

filter[name][contains]
string

Filter by name (case-insensitive partial match)

filter[slug][eq]
string

Filter by exact slug

filter[value_type][eq]
enum<string>

Filter by value type

Available options:
number,
string,
boolean

Response

200 - application/json

200

data
object[]
info
object