Publish

Sets the system cache

post
Body
sidstring | nullableOptional
namestring | nullableOptional
descriptionstring | nullableOptional
activebooleanOptional
defaultbooleanOptional
diarizationstring | nullableOptional
agent_locationstring | nullableOptional
inboundbooleanOptional
scrubaudiobooleanOptional
scrubtextbooleanOptional
ignorestring | nullableOptional
behaviorstring | nullableOptional
confidencestring | nullableOptional
real_timebooleanOptional
health_enabledbooleanOptional
callbackstring | nullableOptional
headersstring | nullableOptional
Responses
200
Project published successfully
post
POST /system/cache/v2/publish HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 1623

{
  "sid": "text",
  "name": "text",
  "description": "text",
  "active": true,
  "default": true,
  "diarization": "text",
  "agent_location": "text",
  "inbound": true,
  "scrubaudio": true,
  "scrubtext": true,
  "ignore": "text",
  "behavior": "text",
  "confidence": "text",
  "real_time": true,
  "health_enabled": true,
  "callback": "text",
  "headers": "text",
  "pause_resume": {
    "active": true,
    "spotlight": true,
    "pause_insights": [
      "text"
    ],
    "resume_insights": [
      "text"
    ],
    "pause_start": true,
    "resume_start": true
  },
  "agent_ignore": {
    "active": true,
    "insights": [
      "text"
    ]
  },
  "rules": [
    {
      "name": "text",
      "type": "text",
      "langugage": "text",
      "description": "text",
      "regex": "text",
      "repl": "text",
      "text": true,
      "report": true,
      "audio": true,
      "start": true,
      "stop": true,
      "agentignore": true,
      "score": 1,
      "mask_type": "text",
      "setting": "text",
      "substitutions": [
        "text"
      ],
      "before": 1,
      "after": 1,
      "active": true,
      "line": true,
      "real_time": true
    }
  ],
  "insights": [
    {
      "name": "text",
      "label": "text",
      "active": true,
      "description": "text",
      "leg": "text",
      "model": "text",
      "validation": true,
      "compliance": true,
      "real_time": true,
      "trigger": {
        "expression": "text",
        "offset_start": true,
        "offset_end": true,
        "position_start": "text",
        "position_end": "text",
        "secs_start": 1,
        "secs_end": 1,
        "advanced": true,
        "rules": [
          "text"
        ],
        "redaction": {
          "type": "text",
          "before": 1,
          "after": 1,
          "line": true,
          "audio": true,
          "text": true
        }
      },
      "response": {
        "expression": "text",
        "advanced": true,
        "rules": [
          "text"
        ],
        "before": 1,
        "after": 1,
        "redaction": {
          "type": "text",
          "before": 1,
          "after": 1,
          "line": true,
          "audio": true,
          "text": true
        }
      },
      "realtime": {
        "active": true,
        "message": "text",
        "alert": "text",
        "notifications": true
      }
    }
  ],
  "substitutions": [
    {
      "name": "text",
      "expression": "text",
      "type": "text",
      "group": "text",
      "active": true,
      "ignore": true,
      "real_time": true
    }
  ]
}

No content

Sample Response

{
  "success": true,
  "message": "",
  "detail": ""
}

Last updated