Skip to content

DCTAssistant

Stream a DCT assistant chat response as SSE.

Request

Security
ApiKeyAuth
Bodyapplication/jsonrequired
messagestring, non-emptyrequired

The user's message to the assistant.

session_idstring

Optional conversation ID to continue a prior multi-turn session.

service_contextstring

Selects the assistant implementation. Defaults to "synthetic".

Example:"synthetic"
contextobject

Optional key-value page context (e.g. the current webapp route) used only as an additive grounding and tool-prioritization hint. Never restricts which tools are available.

Example:
{ "currentRoute": "/dct/synthetic" }
sensitive_inputsobject

Secret values (e.g. the database password) collected from the user out-of-band in response to a TOOL_CALL_SENSITIVE_INPUT event. Never forwarded to the LLM; injected into the tool at execution time.

confirmation_decisionstring

Explicit decision for a pending TOOL_CALL_CONFIRMATION event, sent by the Allow once / Allow always / Cancel buttons. "approve-always" also suppresses future confirmation prompts for that tool for the remainder of the session. Falls back to parsing message as a yes/no reply when omitted.

Enum:"approve""approve-always""reject"
curl -i -X POST \
  https://help-api.delphix.com/_mock/data-control-tower/continuous-data/2026.5.0.0/continuous-data-apis-dct-2026.5.0.0/ai/assistant/chat \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "message": "string",
    "session_id": "string",
    "service_context": "synthetic",
    "context": {
      "currentRoute": "/dct/synthetic"
    },
    "sensitive_inputs": {
      "property1": "string",
      "property2": "string"
    },
    "confirmation_decision": "approve"
  }'

Responses

SSE stream of assistant events (text/event-stream).

Bodytext/event-stream
typestring
Enum:"TOKEN""DONE""ERROR""TOOL_CALL_CONFIRMATION""TOOL_CALL_START""TOOL_CALL_RESULT""TOOL_CALL_SENSITIVE_INPUT"
contentstring
session_idstring
tool_call_idstring
tool_call_namestring
tool_call_descriptionstring
tool_call_argsstring
requires_confirmationboolean
tool_call_resultstring
tool_call_failedboolean
required_sensitive_fieldsArray of strings

For TOOL_CALL_SENSITIVE_INPUT events, the secret field names the UI must collect from the user (e.g. ["password"]).

Response