Streams the draft's current head as Server-Sent Events — the studio's streaming "Test" action.
The SSE sibling of M:Fruxon.Server.Controllers.AgentRevisions.AgentDraftController.Test(System.String,System.String,Fruxon.Server.Controllers.AgentExecutionRequestView,System.Threading.CancellationToken). Same draft-version assertion via `If-Match`, same Fruxon.Model.Agents.RevisionRef.DraftHead resolution, but output is streamed as SSE events (`text`, `tool_call`, `tool_result`, `step_trace`, `done`/`error`).
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The unique identifier of the agent.
The base revision the draft forks from.
The tenant identifier
The execution parameters and inputs for the test run.
Key-value parameters to pass to the agent
File attachments for the execution
Optional session ID for conversation continuity
Selects which integration-config variant an execution uses. Sandbox falls
back to production per-config when no sandbox variant is configured.
Callers normally send PRODUCTION or SANDBOX;
UNSPECIFIED is the zero value and exists only so the field can
be omitted on the wire without misrepresenting the user's intent —
the host DTO supplies the real default (typically PRODUCTION).
"UNSPECIFIED" | "PRODUCTION" | "SANDBOX"Optional environment slug for per-end-customer cost tracking and analytics. Auto-creates the environment on first use (subject to the per-tenant environment cap).
length <= 64Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/agents/string/revisions/string/draft:streamTest" \ -H "Content-Type: application/json" \ -d '{}'"string"{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}