Skip to content

estimate_export

FreeRead-only: always allowedRead-only

Same action in the terminal: capturemann export --estimate

Estimate the size of an export before it runs: a best guess and a hard upper bound, with no decoding and no file written.

  • Tier: Free, read-only: always allowed, never asks, no setting.
  • Read-only: yes
  • CLI: capturemann export --estimate
  • Spec: EXP-5
NameTypeRequiredDefaultDescription
capture_idstringyesCapture id, e.g. from capture_screenshot or list_library. (min length 1)
formatmp4 | webm | gifno"mp4"
sizesource | 1440p | 1080p | 720p | 480p or 1440 | 1080 | 720 | 480noMP4 and WebM: source (the default) or a height step 1440, 1080, 720 or 480 (also "720p").
width480 | 640 | 800 | 1024noGIF only (default 800); the WebM width of older scripts is accepted too.
max_mbnumbernoGIF and WebM: "fit under N MB"; accepted so a request can be checked as it will be sent. (max 1000, above 0)

Returns: max_bytes, label, typical_bytes, typical_label, codec, width, height, fps, duration_s, known_after_export, format, options.

Errors: invalid_input, not_found (plus the common errors above).

JSON
{"name": "estimate_export", "arguments": {"capture_id": "rec_06GYEVMCKZSRHR46", "format": "webm", "size": "720p"}}