conversations

Screenshot an agent's HTML page in the desktop app before it is published

Changed on
post/api/v1/sessions/{sessionId}/renders/check

Request

  • Base URL: http://127.0.0.1:3001
  • URL: http://127.0.0.1:3001/api/v1/sessions/{sessionId}/renders/check
  • Auth: none declared

Path parameters

sessionIdstring required

Session identifier, e.g. project-1.

Request body

htmlstring required

A complete, self-contained HTML document, at most 25 MiB.

widthinteger

Viewport width in CSS pixels, 240-1600. Defaults to 720.

Response

OK

contentHeightinteger required

Height the page needs at this width, in CSS pixels.

network'public' | 'none' required

Network the page could use. none when the agent's own sandbox has no network, so remote resources did not load.

Changes