Search for context instances.
You can use either the query parameters or the request body parameters. If both are provided, there is an error.
To learn more about the filter syntax, read Filtering contexts and context instances. To learn more about context instances, read Context instances.
The project key
The environment key
Specifies the maximum number of items in the collection to return (max: 50, default: 20)
Limits results to context instances with sort values after the value specified. You can use this for pagination, however, we recommend using the next
link we provide instead.
Specifies a field by which to sort. LaunchDarkly supports sorting by timestamp in ascending order by specifying ts
for this value, or descending order by specifying -ts
.
A comma-separated list of context filters. This endpoint only accepts an applicationId
filter. To learn more about the filter syntax, read Filtering contexts and context instances.
Specifies whether to include or omit the total count of matching context instances. Defaults to true.
A collection of context instance filters
Specifies a field by which to sort. LaunchDarkly supports sorting by timestamp in ascending order by specifying ts
for this value, or descending order by specifying -ts
.
Specifies the maximum number of items in the collection to return (max: 50, default: 20)
Limits results to context instances with sort values after the value specified. You can use this for pagination, however, we recommend using the next
link instead, because this value is an obfuscated string.
Context instances collection response
The environment ID
A collection of context instances. Can include multiple versions of context instances that have the same id
, but different applicationId
s.
The location and content type of related resources
The number of unique context instances
An obfuscated string that references the last context instance on the previous page of results. You can use this for pagination, however, we recommend using the next
link instead.