List Files
Get a paginated list of files.
Headers
X-API-KEY
Query parameters
page
Page offset for pagination.
size
Page size for pagination. Number of files to fetch.
name
Case-insensitive filter for file name.
path
Path of the directory to filter for. Returns files in this directory and all its subdirectories.
template
Filter to include only template files.
type
List of file types to filter for.
environment
Case-sensitive filter for files with a deployment in the specified environment. Requires the environment name.
sort_by
Field to sort files by
Allowed values:
order
Direction to sort by.
Allowed values:
include_raw_file_content
Whether to include the raw file content in the response. Currently only supported for Agents and Prompts.
Response
Successful Response
records
page
size
total