Marketplace API / Queries

livestreams

Browses livestreams with search, filters, sorting, facets, and pagination.

livestreams(
  after: String
  facets: [LivestreamFacetRequestInput!]
  first: Int
  offset: Int
  query: String
  sort: LivestreamSortInput
  where: LivestreamSearchWhereInput
): LivestreamConnection!

Arguments

ArgumentTypeDescription
afterStringCursor for forward pagination. Mutually exclusive with offset.
facets[LivestreamFacetRequestInput!]Facets to compute for the matching livestreams.
firstIntMaximum number of livestreams to return. Defaults to 20. Values above 100 are reduced to 100.
offsetIntZero-based offset for page-based pagination. Providing it with after is rejected. Only the first 10,000 matches can be paged; pages are shortened at the boundary, and offsets of 10,000 or more return an empty page.
queryStringFull-text search query matched against title and streamer name.
sortLivestreamSortInputSort order for the result set. Defaults to ascending start time.
whereLivestreamSearchWhereInputFilters to apply.

Return type

LivestreamConnection!