POST /accounts/{account_id}/data-security/posture/content/export

Creates a CSV export for content and accepts optional filters in the payload.

Servers

Path parameters

Name Type Required Description
account_id String Yes

Cloudflare account ID for the user making the request.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
min_affliction_date String No

Filter to view content flagged on or after this date.

max_affliction_date String No

Filter to view content flagged on or before this date.

orders[] Array No

Ordering specifications for the export.

orders[].name String Yes

Content-specific field names for ordering.

Valid values:

  • "dlp_profile_count"
  • "integration_name"
  • "latest_affliction_date"
  • "asset_name"
orders[].direction String Yes

Sort direction.

Valid values:

  • "desc"
  • "asc"
vendors[] Array No

Filter by vendor types.

search String No

Search term to filter content.

dlp_profile_id[] Array No

Filter by DLP profile IDs.

dlp_profile_information[] Array Yes

DLP profile metadata for the export.

dlp_profile_information[].id String Yes

Unique identifier for the DLP profile.

dlp_profile_information[].name String Yes

Name of the DLP profile.

dlp_profile_information[].entries[] Array Yes

Entries contained within this DLP profile.

dlp_profile_information[].entries[].id String Yes

Unique identifier for the DLP profile entry.

dlp_profile_information[].entries[].profile_id String Yes

ID of the parent DLP profile.

dlp_profile_information[].entries[].name String Yes

Name of the DLP profile entry.

integration_id[] Array No

Filter by integration IDs.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.