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

# CreditEventsFieldsInput

> Input for retrieving credit events fields



**Kind**: `input`

## Fields

**`currencyId`**: `String`

Optional credit currency ID filter (matches creditCurrencyId)

---

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

The customer ID whose credit consumption events to sample

---

**`environmentId`**: `UUID`

The environment ID

---

**`resourceId`**: `String`

Optional resource ID filter

---

**`search`**: `String`

Optional case-insensitive prefix to filter returned dimension keys



## Related topics

- [CreditEventsFields](https://docs.stigg.io/graphql-reference/types/CreditEventsFields.md)
- [EventsFieldsInput](https://docs.stigg.io/graphql-reference/types/EventsFieldsInput.md)
- [creditEventsFields](https://docs.stigg.io/graphql-reference/queries/creditEventsFields.md)
- [EstimateEventCostInput](https://docs.stigg.io/graphql-reference/types/EstimateEventCostInput.md)
- [OpenRouter](https://docs.stigg.io/documentation/ai-agents/providers/openrouter.md)


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