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

# GetContractsInput

> Input for fetching all contracts in the environment from the connected billing provider.



**Kind**: `input`

## Fields

**`environmentId`**: `UUID`

The unique identifier for the environment

---

**`filter`**: `ContractDTOFilter`

Optional filter, applied by the billing provider before pagination (so totals reflect the filtered set).

---

**`limit`**: `Int` = 100

Maximum number of contracts to return per page (default 100)

---

**`page`**: `Int` = 0

Zero-based page index for offset pagination (default 0)



## Related topics

- [GetContractInput](https://docs.stigg.io/graphql-reference/types/GetContractInput.md)
- [GetCustomerContractsInput](https://docs.stigg.io/graphql-reference/types/GetCustomerContractsInput.md)
- [getContract](https://docs.stigg.io/graphql-reference/queries/getContract.md)
- [Get a list of contracts](https://docs.stigg.io/api-reference/contracts/get-a-list-of-contracts.md)
- [getContracts](https://docs.stigg.io/graphql-reference/queries/getContracts.md)


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