sessions
Serve a static browser preview file from a session workspace or artifact directory
Changed onget/api/v1/sessions/{sessionId}/preview/files/*
Request
- Base URLhttp://127.0.0.1:3001
- URLhttp://127.0.0.1:3001/api/v1/sessions/{sessionId}/preview/files/*
- Authnone declared
Path parameters
sessionIdstring required
Session identifier, e.g. project-1.
Query parameters
source'workspace' | 'artifact'
File root to serve from. Defaults to the session workspace; artifact selects the session artifact directory.
rawboolean
When true, serve Markdown files as raw source instead of rendering them to HTML for Browser preview.
Response
OK
Changes
- info
removed the
agent_switch_sagaenum value from theresponse property for the response status - info
removed the
agent_switch_sagaenum value from theresponse property for the response status - info
removed the
agent_switch_sagaenum value from theresponse property for the response status
- info
- info
added the new optional
queryrequest parameterraw - info
added the new optional
queryrequest parametersource
- info