Skip to main content
POST
/
api
/
v1
/
config
/
log-scale-actions
{
  "log_scale_action": {
    "name": "<string>",
    "action_type": "EMAIL",
    "created_at": "2023-11-07T05:31:56Z",
    "email_action": {
      "attach_csv": true,
      "body_template": "<string>",
      "recipients": [
        "<string>"
      ],
      "subject_template": "<string>",
      "use_proxy": true
    },
    "humio_action": {
      "ingest_token": "<string>"
    },
    "ops_genie_action": {
      "api_url": "<string>",
      "ops_genie_key": "<string>",
      "use_proxy": true
    },
    "pager_duty_action": {
      "routing_key": "<string>",
      "severity": "CRITICAL",
      "use_proxy": true
    },
    "repository": "<string>",
    "slack_action": {
      "fields": {},
      "url": "<string>",
      "use_proxy": true
    },
    "slack_post_message_action": {
      "api_token": "<string>",
      "channels": [
        "<string>"
      ],
      "fields": {},
      "use_proxy": true
    },
    "slug": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "upload_file_action": {
      "file_name": "<string>"
    },
    "victor_ops_action": {
      "message_type": "<string>",
      "notify_url": "<string>",
      "use_proxy": true
    },
    "webhook_action": {
      "body_template": "<string>",
      "headers": {},
      "ignore_ssl": true,
      "method": "GET",
      "url": "<string>",
      "use_proxy": true
    }
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
dry_run
boolean

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

log_scale_action
object

The LogScaleAction to create.

Response

A successful response containing the created LogScaleAction.

log_scale_action
object