SessionKit DOCS
Get Started
API Reference Screenshot
POST/v1/sessions/{session_id}/pages/screenshot

Screenshot

Capture a screenshot of the current page.

The active session ID. Image format. One of: `png`, `jpeg`, `webp`. Capture the full scrollable page instead of just the viewport. JPEG/WebP quality (0-100). Ignored for PNG.

Response

{
  "url": "https://cdn.sessionkit.dev/screenshots/ss_abc123.png",
  "format": "png",
  "width": 1920,
  "height": 1080,
  "size": 284521
}
⌘I
AI Assistant

Ask me anything about the documentation.

ESC