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

# ReportUsageBaseInput

> Report usage base input



**Kind**: `input`

## Fields

**`createdAt`**: `DateTime`

Timestamp of when the record was created

---

**`customerId`**: `String!` (required)

Customer id

---

**`dimensions`**: `JSON`

Additional dimensions for the usage report

---

**`featureId`**: `String!` (required)

Feature id

---

**`idempotencyKey`**: `String`

A key you provide to safely retry the same usage report without double-counting it. Reports with a previously-seen idempotency key are deduplicated for 7 days; after that window a retry is treated as new usage.

---

**`resourceId`**: `String`

The customer resource this usage applies to. Optional — only required if the customer has multiple resources (for example, one subscription per workspace or site) and usage needs to be tracked separately per resource; omit it to report usage at the customer level.

---

**`updateBehavior`**: `UsageUpdateBehavior` = DELTA

How the reported value is applied: DELTA (default) adds it to the feature's current usage; SET treats it as the new absolute usage total, and Stigg computes the delta internally.

---

**`value`**: `Float!` (required)

The value to report for usage. Fractional values are accepted and rounded half away from zero to 5 decimal places. A value with a fractional part must have an absolute value below 34,359,738,368 (2^35); whole numbers are accepted up to ±9,007,199,254,740,991.



## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [ReportUsageInput](https://docs.stigg.io/graphql-reference/types/ReportUsageInput.md)
- [ReportUsageBulkInput](https://docs.stigg.io/graphql-reference/types/ReportUsageBulkInput.md)
- [UsageEventReportInput](https://docs.stigg.io/graphql-reference/types/UsageEventReportInput.md)
- [UsageEventsReportInput](https://docs.stigg.io/graphql-reference/types/UsageEventsReportInput.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.