Preview Template

This endpoint allows you to preview how a persistence path template will be resolved before saving the configuration. It replaces the template variables (such as policy name, execution time, request ID, and record type) with sample values to generate the final storage path.

You can use this endpoint to verify that the template structure and variables produce the expected output path for a specific record category (good, bad, or metadata). This helps ensure that policy execution results will be stored in the correct location and format before applying the configuration.

Endpoint

Bash
Copy

Path Parameter

ParameterDescription
recordCategorygood, bad, or metadata

Sample Request

Bash
Copy

Request Body

FieldTypeDescription
suffixTemplatestringTemplate string with variables. Must contain {{REQUEST_ID}} or {{EXECUTION_ID}} for uniqueness.

Response (200 OK)

JSON
Copy

Error Response (400 Bad Request) - Missing uniqueness variable:

JSON
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard