โ† API reference
Query / admin

queryLogs

Query logs across all drains (webhook, execution, edge app, archive). Requires log:list permission.

Arguments

firstInt

Number of items to return from the start

lastInt

Number of items to return from the end

afterString

Cursor pointing to the item after which to start

beforeString

Cursor pointing to the item before which to start

Filter criteria

Sort order for results

Returns UnifiedLogConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete UnifiedLogConnection type

Explore in a view

Administration and IAM
View exact SDL
"""
Query logs across all drains (webhook, execution, edge app, archive). Requires log:list permission.
"""
queryLogs(
  """Number of items to return from the start"""
  first: Int
  """Number of items to return from the end"""
  last: Int
  """Cursor pointing to the item after which to start"""
  after: String
  """Cursor pointing to the item before which to start"""
  before: String
  """Filter criteria"""
  filter: UnifiedLogFilterInput
  """Sort order for results"""
  sort: [UnifiedLogSortInput!]
): UnifiedLogConnection! @topic(names: ["admin"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.