Streams AI-assisted agent building instructions via Server-Sent Events
Drives the in-Studio Copilot. The response is delivered incrementally over an SSE stream rather than as a single JSON body, so clients must read the event stream to completion. Prior turns for the same agent are replayed as context, enabling multi-turn refinement of the agent's configuration.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The agent identifier.
The tenant identifier
The copilot chat request containing the user message and context.
The user's conversational message (e.g. "Add a step that sends a Slack message").
Optional conversation ID to continue an existing conversation. When null, a new conversation is created.
uuidSnapshot of the workflow canvas sent with each Copilot request.
Platform tools available for the agent to use.
AI/LLM providers available on the platform.
The type of agent being built (e.g. "chat").
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/agents/string/copilot:chat" \ -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
}