Skip to content

Consent

consent_records_export

Export consent records as CSV.

Tool

Export consent records as CSV.

Returns
Inline CSV rows and, when more match, a download_url for the full dataset.

Arguments

Name Type Required Description
from string Inclusive lower bound for created_at (ISO-8601). Omit for the beginning.
to string Inclusive upper bound for created_at (ISO-8601). Omit for now.
record_id uuid DSAR lookup: a visitor's record_id to export only their decision chain.
limit integer Max rows returned inline (1–10000). default: 1000

Try it

Export all consent records for June 2026 as CSV.

When to use

Export the product's consent decision records as CSV, filtered by date range. Returns rows inline up to a limit and a download_url for larger sets. For an Art. 15 (DSAR) access request, pass record_id (the UUID from the visitor's consent cookie) to return that visitor's full decision chain.

Example

Ask your agent something like this:

Export all consent records for June 2026 as CSV.

The agent will invoke consent_records_export with these arguments:

{
  "from": "2026-06-01T00:00:00Z",
  "to": "2026-07-01T00:00:00Z"
}

Esc

Start typing to search the docs.

navigate select