> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mangrovesystems.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The Datapoint object

> A datapoint represents a defined value to be used in a production accounting or quantification.

### The Datapoint Object

<AccordionGroup>
  <Accordion title="Props" defaultOpen={true}>
    <ParamField type="string" body="id">
      Unique ID of datapoint, generated by Mangrove
    </ParamField>

    <ParamField type="string" body="slug">
      Slug identifier for the data point type. Data point types and their slugs are defined within the Mangrove instance
    </ParamField>

    <ParamField type="string" body="data_point_type">
      Display name of the data point type (e.g., `Total Ash Delivered (wet mass) U.S. ton`)
    </ParamField>

    <ParamField type="number|string|boolean" body="value">
      Value for the data point. The type must match the data point type's expected value type (`number`, `string`, or `boolean`)
    </ParamField>

    <ParamField type="string|null" body="unit">
      Unit of measurement for the data point (e.g., `U.S. ton`, `mile`). `null` if the value type is not `number`
    </ParamField>

    <ParamField type="string" body="status">
      Status of the datapoint. Possible values: `complete`, `incomplete`, `pending`
    </ParamField>
  </Accordion>

  <Accordion title="Sortable Props">
    * `id`
    * `created_at`
    * `updated_at`
    * `status`
    * `value`
  </Accordion>
</AccordionGroup>

### DataPointType Attributes

<AccordionGroup>
  <Accordion title="Props">
    <ParamField type="integer" body="id">
      Unique ID of datapoint type, generated by Mangrove
    </ParamField>

    <ParamField type="string" body="slug">
      Slug of the datapoint type. Datapoint types and their slugs are defined within the Mangrove instance.
    </ParamField>

    <ParamField type="string" body="name">
      Name of the datapoint type
    </ParamField>

    <ParamField type="string" body="value_type">
      `number`, `string`, `boolean`
    </ParamField>

    <ParamField type="string" body="unit">
      `null` if value\_type is not `number`
    </ParamField>

    <ParamField type="boolean" body="is_static">
      Whether this is a static (system-defined) data point type or a custom data point type
    </ParamField>

    <ParamField type="integer" body="nexus_event_type_id">
      ID of the event type this data point type is associated with
    </ParamField>

    <ParamField type="string" body="created_at">
      Timestamp when the data point type was created
    </ParamField>

    <ParamField type="string" body="updated_at">
      Timestamp when the data point type was last updated
    </ParamField>
  </Accordion>
</AccordionGroup>
