EgressTemplate
Operations for managing egress template configurations
List egress templates for a tenant
Returns a page of egress templates scoped to the tenant identified by the required `tenant-id` header. Use this to browse, filter, or search for a template before fetching a single record with `GET /api/v1/egress-templates/{templateId}`.
Create an egress template with mapping CSV
Uploads a CSV column-mapping file and associated metadata to define a new egress template for data export.
List distinct egress-template creators for the Created By filter
List distinct egress-template creators for the Created By filter
List the egress template attribute catalog
Returns the selectable attributes for building egress template columns for a given entity type, including expansion and sensitivity flags used by the builder UI.
Suggest attribute mappings for a not-yet-created egress template
Given a list of column names parsed client-side from an uploaded file (CP-35814), returns ranked attribute-catalog suggestions per column, fuzzy-matched against the entity type's egress field catalog. The egress counterpart of the ingress /templates/scratch/suggest-mappings endpoint.
List data-transformation functions
Returns the catalog of data-transformation functions available for template columns, including each function's parameters, description, and example for the builder UI.
Update an existing egress template
Updates the metadata and/or mapping CSV of an existing egress template and increments its version.
Fetch a single egress template by ID
Returns the full egress template record for the given `templateId`, including schedule configuration, version, and the GCS URL of the current mapping CSV.
Soft-delete an egress template by ID
Marks an egress template as inactive by setting its `status` to `inactive`. The record is not removed from the data store and remains retrievable via `GET /api/v1/egress-templates/{templateId}` and `GET /api/v1/egress-templates` (when filtering by `status=inactive`). No GCS files are deleted.
Get parsed column mappings for a template
Reads the template's stored mappings CSV and returns the parsed columns as JSON so the builder can be re-hydrated for editing.
Get a signed download URL for a template's mappings CSV
Returns a short-lived signed URL for previewing/downloading the mappings CSV associated with the template.