Filescom scheduled exports

From Files-com/files-cli · View interactive version

Filescom scheduled exports is an AI agent skill from the GitHub repository Files-com/files-cli. A Scheduled Export defines a recurring schedule for generating one of the built-in CSV exports and e-mailing it to a Site Admin recipient.

How to use this skill

Skill file

filescom-scheduled-exports

A Scheduled Export defines a recurring schedule for generating one of the built-in CSV exports and e-mailing it to a Site Admin recipient.

All subcommands also accept the flags documented in CODE0 (--api-key, --format, --workspace-id, --debug, and the pagination flags --cursor / --per-page / --max-pages on list). Those are not repeated below.

Commands

`files-cli scheduled-exports list`

List Scheduled Exports.

| Flag | Type | Description |

| --- | --- | --- |

| --sort-by | object | If set, sort records by the specified field in either asc or desc direction. Valid fields are name, export_type or disabled. |

| --filter | object | If set, return records where the specified field is equal to the supplied value. Valid fields are disabled and export_type. |

| --filter-prefix | object | If set, return records where the specified field is prefixed by the supplied value. Valid fields are export_type. |

`files-cli scheduled-exports find`

Show Scheduled Export.

| Flag | Type | Description |

| --- | --- | --- |

| --id | int64 | Scheduled Export ID. Required. |

`files-cli scheduled-exports create`

Create Scheduled Export.

| Flag | Type | Description |

| --- | --- | --- |

| --name | string | Name for this scheduled export. Required. |

| --export-type | string | Export report type. Valid values: folder_size_audit, group_membership_audit, permission_audit, share_link_audit Required. |

| --export-options | object | Options for the report selected by export_type. |

| --user-id | int64 | Site Admin user who receives the completed export e-mail. |

| --disabled | bool | If true, this scheduled export will not run. |

| --trigger | enum | Schedule trigger type: daily or custom_schedule. One of: daily, custom_schedule. |

| --interval | string | If trigger is daily, this specifies how often to run the scheduled export. |

| --recurring-day | int64 | If trigger is daily, this selects the day number inside the chosen interval. |

| --recurring-days | []int64 | If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval. |

| --schedule-id | int64 | If trigger is custom_schedule, the reusable Schedule used instead of the scheduled export's schedule fields. |

| --schedule-days-of-week | []int64 | If trigger is custom_schedule, the 0-based weekdays used by the schedule. |

| --schedule-interval-minutes | int64 | Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with custom_schedule. |

| --schedule-times-of-day | []string | Times of day in HH:MM format for the scheduled export schedule. |

| --schedule-time-zone | string | Time zone used by the scheduled export schedule. |

| --holiday-region | string | Optional holiday region used by the scheduled export schedule. |

`files-cli scheduled-exports update`

Update Scheduled Export.

| Flag | Type | Description |

| --- | --- | --- |

| --id | int64 | Scheduled Export ID. Required. |

| --name | string | Name for this scheduled export. |

| --export-type | string | Export report type. Valid values: folder_size_audit, group_membership_audit, permission_audit, share_link_audit |

| --export-options | object | Options for the report selected by export_type. |

| --user-id | int64 | Site Admin user who receives the completed export e-mail. |

| --disabled | bool | If true, this scheduled export will not run. |

| --trigger | enum | Schedule trigger type: daily or custom_schedule. One of: daily, custom_schedule. |

| --interval | string | If trigger is daily, this specifies how often to run the scheduled export. |

| --recurring-day | int64 | If trigger is daily, this selects the day number inside the chosen interval. |

| --recurring-days | []int64 | If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval. |

| --schedule-id | int64 | If trigger is custom_schedule, the reusable Schedule used instead of the scheduled export's schedule fields. |

| --schedule-days-of-week | []int64 | If trigger is custom_schedule, the 0-based weekdays used by the schedule. |

| --schedule-interval-minutes | int64 | Run every N minutes (1–59, subject to the Site plan minimum). Use by itself with custom_schedule. |

| --schedule-times-of-day | []string | Times of day in HH:MM format for the scheduled export schedule. |

| --schedule-time-zone | string | Time zone used by the scheduled export schedule. |

| --holiday-region | string | Optional holiday region used by the scheduled export schedule. |

`files-cli scheduled-exports delete`

Delete Scheduled Export.

| Flag | Type | Description |

| --- | --- | --- |

| --id | int64 | Scheduled Export ID. Required. |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.