Skip to content

eventProducers

Query

Search for event producers based on a set of filters.

Response

Returns EventProducerConnection

Arguments

NameTypeDescription
filterFilterEventProducerInput

Filter event producers by unique identifier or name

firstInt!

Returns the first n elements from the list.

Default: 20

afterString

Returns the elements in the list that come after the specified cursor.

sort[EventProducersSort!]!

The field and direction by which to sort the results

Default: [{ field: EVENT_PRODUCER_NAME, direction: ASC }, { field: ID, direction: ASC }]

Example

query eventProducers(
$filter: FilterEventProducerInput,
$first: Int!,
$after: String,
$sort: [EventProducersSort!]!
) {
eventProducers(
filter: $filter,
first: $first,
after: $after,
sort: $sort
) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
name
description
timezone
active
invalidReasons
metadata
}
cursor
}
totalCount
}
}