Skip to main content
POST
Create a new configuration

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

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 an ORGANIZATION, PROJECT, or MODEL; 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. ORGANIZATION scope only.
  • GENAI_METRICS_TTL_DAYS: retention period, in days, for pre-aggregated GenAI metrics. Minimum 60. ORGANIZATION scope only.
source_name
enum<string>
required

Scope the configuration applies to.

Available options:
ORGANIZATION,
PROJECT,
MODEL,
APPLICATION
source_id
string<uuid>
required

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.

value
required

Configuration value. The format depends on the configuration type (determined by the name field). The value must be one of:

  • Boolean: true or false (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.

Response

Configuration created successfully

Response object for standard API responses.

api_version
enum<string>
default:3.0

API version.

Available options:
2.0,
3.0
kind
enum<string>
default:NORMAL

Type of response, indicating a normal response.

Available options:
NORMAL
data
object