Message the "Revise Data Product" Agent (streaming)

Post a new Message to the Chat using the "Revise Data Product" Agent.

Query Params

The ID of the Chat to use. If not provided, a new Chat will be created.

array | null

If creating a new chat, add these tags to it. This is ignored if the chat already exists.

Body Params

The payload to be sent to the agent. This should conform to the input JSON schema of the agent. Optionally, a 'tool_approvals' parameter may be accepted with a dictionary of tool_call_id to approval boolean. When submitting tool approvals, the input payload must match the original inputs used to generate the tool calls (same as the previous API call). If tool_approvals is provided, the message parameter is ignored and the tool calls are executed or skipped.

object | null

[LEGACY] A mapping of tool_call_id to approval boolean. When submitting tool approvals, the input payload must match the original inputs used to generate the tool calls (same as the previous API call). If tool_approvals is provided, the message parameter is ignored and the tool calls are executed or skipped. Prefer using 'approvals' field for new integrations.

object | null

A mapping of function name to approval decision for codemode agents. Applies to functions decorated with @requires_approval. Use 'approve' for one-time approval, 'approve_session' for session-level approval, 'deny' for one-time denial, or 'deny_session' to deny for the session.

string
required
length ≥ 1

The message to send to the agent.

string
required
length ≥ 1

The ID of the data product to evaluate.

The version of the data product to evaluate. If None, uses the default version.

Agent config ID to use for central SQL evaluations.

array | null

Evaluation case IDs for central SQL evaluations.

object | null

Input payload for the central SQL evaluation agent.

Custom LLM judge prompt for central SQL evaluations.

Revise data product result ID, used by the central SQL evaluation tool to enable
chat resumption after evaluation completes.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

204

The message is empty and was ignored.

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
application/json
text/event-stream