Status
This page is a stub and will be expanded with complete examples.Python SDK method
Use:cw.environments.create_preview(environment_id)
POST /api/v1/environments/{uuid}/preview and returns an attachment
object containing the generated PNG metadata (including file_url).
Minimal example
Notes
- The endpoint requires write access to the target environment.
- The image is generated using the screenshot service and stored as an attachment.