โ† API reference
Query / files

listFiles

List files with pagination and filtering. Requires file:list permission.

Arguments

firstInt

Number of items from the start

afterString

Cursor to start after

Filter criteria

Sort order

Returns FileConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete FileConnection type

Explore in a view

Print PrepressProduction Floor
View exact SDL
"""
List files with pagination and filtering. Requires file:list permission.
"""
listFiles(
  """Number of items from the start"""
  first: Int
  """Cursor to start after"""
  after: String
  """Filter criteria"""
  filter: FileFilterInput
  """Sort order"""
  sort: [FileSortInput!]
): FileConnection! @topic(names: ["files"])

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