v1
latestOpenAPI 3.0.42026-07-26159287356.1 KBstudio
Prompt a deployment with streaming response
Sends a prompt to a specific miniapp generator deployment and returns a streaming response using Server-Sent Events. The response is a continuous stream of Server-Sent Events, not a single JSON payload. Each event contains a JSON object with type, message, and other fields specific to the message type. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
post/v2/studio/deployment/prompt/stream
Request body
Example request
{
"fid": 3
}Response
Success