# OpportunityStageEvent (/api/reference/objects/opportunity-stage-event)

One entry in an opportunity's stage log. Written by the server whenever the stage is set, and never edited.

```graphql
type OpportunityStageEvent {
  changeSuggestion: ChangeSuggestion
  changedBy: User
  createdAt: DateTime!
  fromStage: OpportunityStage
  id: ID!
  toStage: OpportunityStage!
}
```

### Fields [#fields]

#### [`OpportunityStageEvent.changeSuggestion`](#change-suggestion) · [`ChangeSuggestion`](/api/reference/objects/change-suggestion) `object` [#change-suggestion]
The change suggestion the change was accepted from, when there was one.

#### [`OpportunityStageEvent.changedBy`](#changed-by) · [`User`](/api/reference/objects/user) `object` [#changed-by]
The member who made the change. Null when the server or an automatic process did, or they have left.

#### [`OpportunityStageEvent.createdAt`](#created-at) · [`DateTime!`](/api/reference/scalars/date-time) `non-null` `scalar` [#created-at]
When the stage was set.

#### [`OpportunityStageEvent.fromStage`](#from-stage) · [`OpportunityStage`](/api/reference/enums/opportunity-stage) `enum` [#from-stage]
The stage before. Null on the entry for the stage the opportunity was created at.

#### [`OpportunityStageEvent.id`](#id) · [`ID!`](/api/reference/scalars/id) `non-null` `scalar` [#id]
The entry's id. Entries in id order are in the order they happened.

#### [`OpportunityStageEvent.toStage`](#to-stage) · [`OpportunityStage!`](/api/reference/enums/opportunity-stage) `non-null` `enum` [#to-stage]
The stage it was given.

### Member Of [#member-of]

[`MoveOpportunityStagePayload`](/api/reference/objects/move-opportunity-stage-payload)  `object` · [`OpportunityStageEventEdge`](/api/reference/objects/opportunity-stage-event-edge)  `object`