Segment is a datatype for information about a single segment specified by its identifier. It's used by the query field, segment().

Table: Segment

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
currentHostsClusterNodeyes Short-Term Information about the cluster's hosts that have this segment in local storage. Note this field is not necessarily populated, in such cases the segment can still be found in bucket.
datasourceDatasourceyes Short-Term  
deletedAtLong  Short-Term The time when this segment was marked deleted. Segments are actually deleted after at least MINUTES_BEFORE_TOMBSTONE_DELETION_NO_CURRENTS minutes.
endLongyes Short-Term The timestamp of the last event contained in the segment.
idStringyes Short-Term  
organizationOrganizationyes Short-Term  
repositoryRepositoryyes Short-Term  
startLongyes Short-Term The timestamp of the first event contained in the segment.