HTML body
Read an HTML surface body
Returns the resolved html surface's body (html, css, js). Empty fields when the surface exists but no body has been written yet. 404 when ?surface_slug= doesn't match a live html surface.
get/api/workspaces/{slug}/html
Request
- Base URLhttps://trydock.ai
- AuthHTTP bearer
Path parameters
slugstring required
Query parameters
surface_slugstring
Surface slug for multi-html workspaces. Omit for the primary html surface (lowest position).
surfacestring
Legacy alias for surface_slug. Same semantics. Prefer surface_slug in new code.
Response
Resolved html body.
Changes
No recorded changes to this operation across all 2 revisions of this API.