List files
List the canonical durable File resource. Runtime file endpoints operate on a live machine disk: collect turns a machine file into a durable File, while stage performs the reverse. Use source, type, runId, runtimeId, path, prefix, and createdAfter filters here.
Authentication
AuthorizationBearer
Use Bearer <api-key>.
Headers
BCTRL-Subaccount-Id
Optional effective subaccount context for organization API keys. Subaccount API keys are already scoped and cannot use this header to act as another subaccount.
Query parameters
spaceId
Filter by a prefixed space ID, or pass default to use the caller default space.
source
Allowed values:
path
prefix
q
runId
runtimeId
type
Filter by one or more file artifact types. Repeat the query parameter for multiple values.
createdAfter
RFC 3339 timestamp with a UTC offset.
include
Allowed values:
cursor
limit
Response
OK
data
nextCursor
folders
Errors
401
Unauthorized Error
403
Forbidden Error

