---
title: "Post Ghg Entry"
method: POST
path: "/ghg_entries"
---

# Post Ghg Entry

`POST /ghg_entries`

## Headers

- `x-client-secret` string, required — A secret token identifying the client connecting to the API

## Request body

- CreateGhgEntryRequest
  - `supplier_reference_id` string, required — A string that must be unique for all resources created by a specific supplier. It can be used by a client to identify the correct objects in their system.
  - `started_on` string, date, required — The date at which activities related to this GHG entry started.
  - `completed_on` string, date, required — The date by which activities related to this GHG entry finished.
  - `project_id` string, required — The ID of the project to associate this GHG entry to.
  - `feedstock_type_id` string, nullable — The ID of the feedstock type that will be used for this GHG entry.
  - `ghg_entry_template_id` string, required — ID of the GHG entry template to instantiate the GHG entry from.
  - `ghg_entry_template_components` GhgEntryTemplateComponentInputs[] — Component input values keyed by GHG entry template component.
    - `ghg_entry_template_component_id` string, required — The ID of the GHG entry template component to provide
    - `inputs` union[], required — A list of values for component inputs. Inputs and their keys can be found on the GHG entry template at the `GET /projects/{project_id}/ghg_entry_templates` endpoint.
      - union
        - CreateComponentListInput
          - `__typename` 'CreateComponentListInput' — Contains the name of the model (formally, OpenAPI Schema Object). Used to determine the type of data, for example when two different types are unioned.
          - `input_key` string, required — An input key from the component blueprint.
          - `datapoint_ids` string[], required — The Isometric IDs of the datapoints that will be used to populate the value of this input
        - CreateComponentScalarInput
          - `__typename` 'CreateComponentScalarInput' — Contains the name of the model (formally, OpenAPI Schema Object). Used to determine the type of data, for example when two different types are unioned.
          - `input_key` string, required — An input key from the component blueprint.
          - `datapoint_id` string, required — The Isometric ID of the datapoint that will be used to populate the value of this input

## Response `200`

Successful Response

- GhgEntry
  - `id` string, required
  - `supplier_reference_id` string, nullable, required — A string that must be unique for all resources created by a specific supplier. It can be used by a client to identify the correct objects in their system.
  - `started_on` string, date, required
  - `completed_on` string, date, required
  - `credit_type` 'REDUCTION' | 'REMOVAL', required
  - `co2e_net_removed_kg` number, required — The CO₂e removed by this GHG entry once uncertainty discounting has been applied
  - `co2e_net_removed_without_discount_kg` number, required — The CO₂e removed by this GHG entry before any uncertainty discounting has been applied
  - `co2e_net_removed_standard_deviation_kg` number, nullable, required — The standard deviation of the CO₂e net removed and therefore the uncertainty discount applied to the GHG entry
  - `ghg_statement_id` string, nullable, required — The GHG statement ID that this entry is associated with. If null, the entry is in draft and has not been submitted for verification.
  - `feedstock_type_id` string, nullable, required — The feedstock type ID that this entry is associated with.
  - `risk_of_reversal_percentage` number, nullable, required — The percentage of credits contributed to the buffer pool due to risk of reversal.
  - `credit_allocation` CreditAllocation, required
    - `buffer_pool_contribution_kg` integer, required — The number of credits (in kg CO₂e) contributed to the buffer pool, computed as risk_of_reversal_percentage × total issuable credits.
    - `supplier_allocation_kg` integer, required — The number of credits (in kg CO₂e) issued to the supplier, computed as total issuable credits minus buffer pool contribution.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/isometric/apis/isometric-certify-data-ingestion-api.md) · [All operations](https://skmtc.net/isometric/apis/isometric-certify-data-ingestion-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/isometric/isometric-certify-data-ingestion-api/versions/9819e9c8ccf0/schema)
