# FirstValidEpoch

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

First valid epoch for an SPO identity.

```
type FirstValidEpoch {

  idKey: String!

  firstValidEpoch: Int!

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`FirstValidEpoch.idKey`](#id-key) ● [`String!`](https://docs.midnight.network/api-reference/midnight-indexer/types/scalars/string.md) non-null scalar[​](#id-key "Direct link to id-key")

#### [`FirstValidEpoch.firstValidEpoch`](#first-valid-epoch) ● [`Int!`](https://docs.midnight.network/api-reference/midnight-indexer/types/scalars/int.md) non-null scalar[​](#first-valid-epoch "Direct link to first-valid-epoch")

### Returned By[​](#returned-by "Direct link to Returned By")

[`registeredFirstValidEpochs`](https://docs.midnight.network/api-reference/midnight-indexer/operations/queries/registered-first-valid-epochs.md) query
