Create a new configuration
Create a configuration for an organization, project, or model.
Each setting can be created only once per scope; if it already exists, this endpoint returns 409 Conflict.
A setting can exist before you first create it: on deployments where stored values take effect,
Fiddler copies any retention value set as an environment variable into an organization-level configuration at startup.
To change an existing value, find its id with the list endpoint and use the update endpoint.
description, is_secret, is_system, and group_name are filled in automatically.
Retention settings delete data. For PROD_EVENTS_TTL_DAYS set on a MODEL, the new retention period
is applied to that model’s existing production events, and events older than the period are permanently deleted
by background processes over the following hours.
PROD_EVENTS_TTL_DAYS set on an ORGANIZATION or PROJECT applies only to models created afterward.
The configuration is saved before the retention period is applied, so a successful response,
or a GET that shows the value, confirms only that the configuration was saved,
not that the retention period has been applied to stored data.
If this request returns an error, the configuration may still have been saved:
check with the list endpoint before retrying, and use the update endpoint if it exists.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Name of the setting. The API accepts every registered setting. This reference documents the data retention settings below; contact your Fiddler Customer Success Manager before changing any other setting.
PROD_EVENTS_TTL_DAYS: retention period, in days, for ML model production events. Minimum 7. Can be set on anORGANIZATION,PROJECT, orMODEL; the most specific scope wins.GENAI_TRACES_TTL_DAYS: retention period, in days, for raw GenAI trace and span data. Minimum 7, unless your deployment sets a different minimum.ORGANIZATIONscope only.GENAI_METRICS_TTL_DAYS: retention period, in days, for pre-aggregated GenAI metrics. Minimum 60.ORGANIZATIONscope only.
Scope the configuration applies to.
ORGANIZATION, PROJECT, MODEL, APPLICATION UUID of the organization, project, model, or application the configuration applies to, matching source_name. For ORGANIZATION, this is your organization's UUID, not its name or numeric ID.
Configuration value. The format depends on the configuration type (determined by the name field).
The value must be one of:
- Boolean:
trueorfalse(for BoolConfigValue) - Integer:
123(for IntConfigValue) - Float:
123.45(for FloatConfigValue) - String:
"string"(for StringConfigValue)
The actual type is determined by the configuration name and validated against the config registry.