Get a list of flag events
### Expanding the flag event collection response
LaunchDarkly supports expanding the flag event collection response to include additional fields.
To expand the response, append the `expand` query parameter and include the following:
* `experiments` includes details on all of the experiments run on each flag
For example, use `?expand=experiments` to include the `experiments` field in the response. By default, this field is **not** included in the response.
Query parameters
projectKeystringRequiredformat: "string"
The project key
environmentKeystringRequiredformat: "string"
The environment key
applicationKeystringOptionalformat: "string"
Comma separated list of application keys
querystringOptionalformat: "string"
Filter events by flag key
impactSizestringOptionalformat: "string"
Filter events by impact size. A small impact created a less than 20% change in the proportion of end users receiving one or more flag variations. A medium impact created between a 20%-80% change. A large impact created a more than 80% change. Options: none, small, medium, large
hasExperimentsbooleanOptional
Filter events to those associated with an experiment (true) or without an experiment (false)
globalstringOptionalformat: "string"
Filter to include or exclude global events. Default value is include. Options: include, exclude
expandstringOptionalformat: "string"
Expand properties in response. Options: experiments
limitlongOptional
The number of deployments to return. Default is 20. Maximum allowed is 100.
fromlongOptional
Unix timestamp in milliseconds. Default value is 7 days ago.
tolongOptional
Unix timestamp in milliseconds. Default value is now.
afterstringOptionalformat: "string"
Identifier used for pagination
beforestringOptionalformat: "string"
Identifier used for pagination
Response
Flag event collection response
totalCountinteger
The total number of flag events
itemslist of objects
A list of flag events
_linksmap from strings to objectsOptional
The location and content type of related resources