Skip to main content
PUT
/
api
/
v1
/
config
/
trace-behavior-config
{
  "trace_behavior_config": {
    "baseline_behavior_slug": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "dataset_priorities": [
      "<string>"
    ],
    "main_behavior_assignments": [
      {
        "behavior_slug": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "created_by": "<string>",
        "dataset_slug": "<string>",
        "description": "<string>",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ],
    "override_behavior_assignments": [
      {
        "behavior_slug": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "created_by": "<string>",
        "dataset_slug": "<string>",
        "description": "<string>",
        "end_time": "2023-11-07T05:31:56Z",
        "start_time": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ],
    "preview_behavior_assignments": [
      {
        "behavior_slug": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "created_by": "<string>",
        "dataset_slug": "<string>",
        "description": "<string>",
        "end_time": "2023-11-07T05:31:56Z",
        "start_time": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ],
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
create_if_missing
boolean

If true, the TraceBehaviorConfig will be created if it does not already exist. If false, an error will be returned if the TraceBehaviorConfig does not already exist.

dry_run
boolean

If true, validates the specified configuration without creating or updating the TraceBehaviorConfig. If the specified configuration is valid, the endpoint returns a partial response without the TraceBehaviorConfig. If the specified configuration is invalid, the endpoint returns an error.

trace_behavior_config
object

The TraceBehaviorConfig to update.

Response

A successful response containing the updated TraceBehaviorConfig.

trace_behavior_config
object

TraceBehaviorConfig is a singleton configuration object that specifies the configuration for trace behaviors.