> ## 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.

# EstimateEventCostInput

> Input for estimating the credit cost of a usage event without reporting it



**Kind**: `input`

## Fields

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

Customer id

---

**`dimensions`**: `JSON`

Dimensions to include in the events fields

---

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

Name of the event

---

**`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.



## Related topics

- [EstimateUsageCostInput](https://docs.stigg.io/graphql-reference/types/EstimateUsageCostInput.md)
- [Estimate event credit cost](https://docs.stigg.io/api-reference/usage/estimate-event-credit-cost.md)
- [estimateEventCost](https://docs.stigg.io/graphql-reference/queries/estimateEventCost.md)
- [estimateUsageCost](https://docs.stigg.io/graphql-reference/queries/estimateUsageCost.md)
- [Node.js SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/node.md)


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