<< All versions

Skill v1.0.1

currentAutomated scan100/100
files-com/files-cli/filescom-action-notification-exports

+1 new

──Details
PublishedOctober 24, 2026 at 01:11 AM
Content Hashsha256:f8e20b40ad43ffa9...
Git SHA7d7bfb361547
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 4.1 KB)
SKILL.md4.1 KBactive
SKILL.md · 65 lines · 4.1 KB

version: "1.0.1" name: filescom-action-notification-exports description: | An ActionNotificationExport is an operation that provides access to outgoing webhook logs.


filescom-action-notification-exports

An ActionNotificationExport is an operation that provides access to outgoing webhook logs. Querying webhook logs is a little different than other APIs.

All queries against the archive must be submitted as Exports. (Even our Web UI creates an Export behind the scenes.)

Only Site Administrators, including Read-only Administrators, and Workspace Administrators can create exports and access their results. Workspace Administrators are limited to the workspace selected for the request. Site Administrators can select a workspace using workspace_id when creating an export, or use X-Files-Workspace-Id to scope requests to a workspace. Without a workspace selection, Site Administrators can export logs across the site.

In any query field in this API, you may specify multiple values separated by commas. That means that commas cannot be searched for themselves, and neither can single quotation marks.

Use the following steps to complete an export:

  1. Initiate the export by using the Create Action Notification Export endpoint.
  2. Using the id from the response to step 1, poll the Show Action Notification Export endpoint. Check the status field until it is ready.
  3. You can download the results of the export as a CSV file using the results_url field in the response from step 2. If you want to page through the records in JSON format, use the List Action Notification Export Results endpoint, passing the id that you got in step 1 as the action_notification_export_id parameter. Check the X-Files-Cursor-Next header to see if there are more records available, and resubmit the same request with a cursor parameter to fetch the next page of results. Unlike most API Endpoints, this endpoint does not provide X-Files-Cursor-Prev cursors allowing reverse pagination through the results. This is due to limitations in Amazon Athena, the underlying data lake for these records.

If you intend to use this API for high volume or automated use, please contact us with more information about your use case.

Example Queries

  • History for a folder: { "query_folder": "path/to/folder" }
  • History for a range of time: { "start_at": "2021-03-18 12:00:00", "end_at": "2021-03-19 12:00:00" }
  • History of all notifications that used GET or POST: { "query_request_method": "GET,POST" }

All subcommands also accept the flags documented in `CONTEXT.md` (--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 action-notification-exports find

Show Action Notification Export.

FlagTypeDescription
--idint64Action Notification Export ID. Required.

files-cli action-notification-exports create

Create Action Notification Export.

FlagTypeDescription
--user-idint64User ID. Provide a value of 0 to operate the current session's user.
--workspace-idint64Workspace whose logs are exported. Set to 0 for the default workspace. A null value means a site-wide export.
--start-atdatetimeStart date/time of export range.
--end-atdatetimeEnd date/time of export range.
--query-messagestringError message associated with the request, if any.
--query-request-methodstringThe HTTP request method used by the webhook.
--query-request-urlstringThe target webhook URL.
--query-statusstringThe HTTP status returned from the server in response to the webhook request.
--query-successbooltrue if the webhook request succeeded (i.e. returned a 200 or 204 response status). false otherwise.
--query-pathstringReturn notifications that were triggered by actions on this specific path.
--query-folderstringReturn notifications that were triggered by actions in this folder.
← v1.0.0All versions