changedOutput schema / properties / item / anyOf
Previous value: -[
- {
- "description": "Metadata and stored rendering settings for a recording created from HTML and optional CSS.",
- "properties": {
- "actions": {
- "description": "Optional ordered actions to execute while recording. Omitted, null, or empty actions record the page for duration_ms without interactions. Supports simple_scroll, scroll, stall, click, locate_selector, execute_javascript, and error. Branches return to the parent sequence when complete.",
- "items": {
- "anyOf": [
- {
- "description": "Scroll through an ordered sequence of timed movements in the document or a selected container.",
- "properties": {
- "container_selector": {
- "description": "CSS selector for a scrollable container. Omitted or null scrolls the document.",
- "type": [
- "string",
- "null"
- ]
- },
- "if_not_found": {
- "description": "Actions to run if the selected container is missing. Omitted, null, or empty skips this scroll action; it never falls back to the document. Use an error action to fail instead.",
- "items": {
- "$ref": "#/properties/item/anyOf/0/properties/actions/items",
- "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
- },
- "type": [
- "array",
- "null"
- ]
- },
- "steps": {
- "description": "Ordered scroll movements. At least one step is required.",
- "items": {
- "description": "One timed scroll movement within a scroll action. Steps run in order.",
- "properties": {
- "duration_ms": {
- "description": "Duration of the movement in milliseconds. Must be at least 1. The recording deadline can cut the movement short.",
- "maximum": 2147483647,
- "minimum": 1,
- "type": "integer"
- },
- "easing": {
- "description": "Easing curve for the scroll movement. Defaults to linear (constant speed).",
- "enum": [
- "linear",
- "ease_in_cubic",
- "ease_out_cubic",
- "ease_in_out_cubic",
- "ease_in_quad",
- "ease_out_quad",
- "ease_in_out_quad",
- "ease_in_quart",
- "ease_out_quart",
- "ease_in_out_quart",
- "ease_in_quint",
- "ease_out_quint",
- "ease_in_out_quint",
- "ease_in_sine",
- "ease_out_sine",
- "ease_in_out_sine",
- "ease_in_expo",
- "ease_out_expo",
- "ease_in_out_expo",
- "ease_in_circ",
- "ease_out_circ",
- "ease_in_out_circ",
- "ease_in_back",
- "ease_out_back",
- "ease_in_out_back",
- "ease_in_elastic",
- "ease_out_elastic",
- "ease_in_out_elastic",
- "ease_in_bounce",
- "ease_out_bounce",
- "ease_in_out_bounce"
- ],
- "type": "string"
- },
- "to": {
- "anyOf": [
- {
- "description": "Scroll to an edge of the document or selected container.",
- "properties": {
- "position": {
- "description": "Edge to scroll to: top (default), bottom, left, or right.",
- "enum": [
- "top",
- "bottom",
- "left",
- "right"
- ],
- "type": "string"
- },
- "type": {
- "const": "position"
- }
- }
- },
- {
- "description": "Scroll to absolute coordinates within the document or selected container.",
- "properties": {
- "type": {
- "const": "coordinates"
- },
- "x": {
- "description": "Absolute horizontal scroll position in CSS pixels. Defaults to 0.",
- "maximum": 1.7976931348623157e+308,
- "minimum": -1.7976931348623157e+308,
- "type": "number"
- },
- "y": {
- "description": "Absolute vertical scroll position in CSS pixels. Defaults to 0.",
- "maximum": 1.7976931348623157e+308,
- "minimum": -1.7976931348623157e+308,
- "type": "number"
- }
- }
- },
- {
- "description": "Scroll to an element matching a CSS selector, with optional offsets.",
- "properties": {
- "if_not_found": {
- "description": "Actions to run when the destination is missing. Omitted, null, or empty skips this movement. If the branch completes, continue with the next step. Use an error action to fail instead.",
- "items": {
- "$ref": "#/properties/item/anyOf/0/properties/actions/items",
- "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
- },
- "type": [
- "array",
- "null"
- ]
- },
- "offset_x": {
- "description": "Horizontal offset in CSS pixels added to the destination element's position. Defaults to 0.",
- "maximum": 1.7976931348623157e+308,
- "minimum": -1.7976931348623157e+308,
- "type": "number"
- },
- "offset_y": {
- "description": "Vertical offset in CSS pixels added to the destination element's position. Defaults to 0.",
- "maximum": 1.7976931348623157e+308,
- "minimum": -1.7976931348623157e+308,
- "type": "number"
- },
- "selector": {
- "description": "CSS selector for the destination element.",
- "type": "string"
- },
- "type": {
- "const": "selector"
- }
- },
- "required": [
- "selector"
- ]
- }
- ],
- "description": "Destination for this movement. Select position, coordinates, or selector using its type discriminator.",
- "required": [
- "type"
- ],
- "type": "object"
- }
- },
- "required": [
- "to"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "type": {
- "const": "scroll"
- }
- },
- "required": [
- "steps"
- ]
- },
- {
- "description": "Wait while recording and page activity continue.",
- "properties": {
- "duration_ms": {
- "description": "Wait duration in milliseconds. Must be nonnegative. The recording deadline can end the wait early.",
- "maximum": 2147483647,
- "minimum": 0,
- "type": "integer"
- },
- "type": {
- "const": "stall"
- }
- }
- },
- {
- "description": "Look for a matching element and execute the corresponding branch. Branch actions supply their own selectors.",
- "properties": {
- "if_found": {
- "description": "Actions to run when the element is found. Omitted, null, or empty continues. Actions do not inherit the lookup's selector.",
- "items": {
- "$ref": "#/properties/item/anyOf/0/properties/actions/items",
- "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
- },
- "type": [
- "array",
- "null"
- ]
- },
- "if_not_found": {
- "description": "Actions to run when the element is not found before timeout. Omitted, null, or empty continues. Use an error action to fail instead.",
- "items": {
- "$ref": "#/properties/item/anyOf/0/properties/actions/items",
- "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
- },
- "type": [
- "array",
- "null"
- ]
- },
- "selector": {
- "description": "CSS selector of the element to find.",
- "type": "string"
- },
- "timeout_ms": {
- "description": "Maximum wait for the element in milliseconds. Defaults to 0, which performs a single check. The recording deadline can end the wait earlier.",
- "type": "integer"
- },
- "type": {
- "const": "locate_selector"
- }
- },
- "required": [
- "selector"
- ]
- },
- {
- "description": "Find and click an element, scrolling it into view when needed.",
- "properties": {
- "button": {
- "description": "Mouse button: left (default), right, middle, back, or forward.",
- "enum": [
- "left",
- "right",
- "middle",
- "back",
- "forward",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "count": {
- "description": "Click count reported to the page, from 1 to 3. Defaults to 1. This sets the click event count; it does not repeat the action.",
- "maximum": 3,
- "minimum": 1,
- "type": [
- "integer",
- "null"
- ]
- },
- "delay_ms": {
- "description": "Time between mouse down and mouse up, from 0 to 5000 milliseconds. Defaults to 0.",
- "maximum": 5000,
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "if_not_found": {
- "description": "Actions to run when the click target is missing. Omitted, null, or empty continues. Use an error action to fail instead.",
- "items": {
- "$ref": "#/properties/item/anyOf/0/properties/actions/items",
- "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
- },
- "type": [
- "array",
- "null"
- ]
- },
- "offset_x": {
- "description": "Horizontal offset in CSS pixels from the element's border-box top-left. If either offset is supplied, the other defaults to 0; otherwise the default clickable point is used.",
- "maximum": 1.7976931348623157e+308,
- "minimum": -1.7976931348623157e+308,
- "type": [
- "number",
- "null"
- ]
- },
- "offset_y": {
- "description": "Vertical offset in CSS pixels from the element's border-box top-left. If either offset is supplied, the other defaults to 0; otherwise the default clickable point is used.",
- "maximum": 1.7976931348623157e+308,
- "minimum": -1.7976931348623157e+308,
- "type": [
- "number",
- "null"
- ]
- },
- "selector": {
- "description": "CSS selector for the element to click.",
- "type": "string"
- },
- "timeout_ms": {
- "description": "Maximum wait for the element in milliseconds. Defaults to 0, which performs a single check. The recording deadline can end the wait earlier.",
- "type": "integer"
- },
- "type": {
- "const": "click"
- }
- },
- "required": [
- "selector"
- ]
- },
- {
- "description": "Fail the recording and stop executing actions. Must be the last action in its array.",
- "properties": {
- "type": {
- "const": "error"
- }
- }
- },
- {
- "description": "Scroll down repeatedly until reaching the bottom or the recording deadline. Each movement has its own duration and easing, followed by a pause.",
- "properties": {
- "easing": {
- "description": "Easing for each scroll movement. Defaults to ease_in_out_quad.",
- "enum": [
- "linear",
- "ease_in_cubic",
- "ease_out_cubic",
- "ease_in_out_cubic",
- "ease_in_quad",
- "ease_out_quad",
- "ease_in_out_quad",
- "ease_in_quart",
- "ease_out_quart",
- "ease_in_out_quart",
- "ease_in_quint",
- "ease_out_quint",
- "ease_in_out_quint",
- "ease_in_sine",
- "ease_out_sine",
- "ease_in_out_sine",
- "ease_in_expo",
- "ease_out_expo",
- "ease_in_out_expo",
- "ease_in_circ",
- "ease_out_circ",
- "ease_in_out_circ",
- "ease_in_back",
- "ease_out_back",
- "ease_in_out_back",
- "ease_in_elastic",
- "ease_out_elastic",
- "ease_in_out_elastic",
- "ease_in_bounce",
- "ease_out_bounce",
- "ease_in_out_bounce",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "ms_between_scrolls": {
- "description": "Pause after each completed scroll, before the next starts. Defaults to 400 milliseconds. Zero means no pause. The pause also allows newly loaded content to appear before confirming the bottom.",
- "maximum": 90000,
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "scroll_distance": {
- "description": "Positive distance per scroll in CSS pixels (number or px string), or viewport height (vh string). Examples: 900, 900px, 95vh. Omitted or null defaults to 95vh.",
- "exclusiveMinimum": 0,
- "type": [
- "string",
- "number",
- "null"
- ]
- },
- "scroll_duration_ms": {
- "description": "Duration of each scroll movement in milliseconds. Defaults to 800. Must be between 1 and 90000.",
- "maximum": 90000,
- "minimum": 1,
- "type": [
- "integer",
- "null"
- ]
- },
- "stall_at_end_ms": {
- "description": "Time to stall after reaching the bottom, limited by the remaining recording time. Defaults to 0 milliseconds. No stall is added if scrolling runs out of time before reaching the bottom.",
- "maximum": 90000,
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "type": {
- "const": "simple_scroll"
- }
- }
- },
- {
- "description": "Execute JavaScript in the page while recording continues, awaiting any returned promise.",
- "properties": {
- "if_error": {
- "description": "Actions to run if the script throws or times out. Null or omitted fails the recording; an empty array ignores the error. A timeout cannot undo side effects or cancel promises and timers already created by the script.",
- "items": {
- "$ref": "#/properties/item/anyOf/0/properties/actions/items",
- "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
- },
- "type": [
- "array",
- "null"
- ]
- },
- "script": {
- "description": "JavaScript async function body. Supports await; its return value is ignored. For example: await new Promise(resolve => setTimeout(resolve, 500));",
- "type": "string"
- },
- "timeout_ms": {
- "description": "Maximum execution time in milliseconds. Zero or omitted uses the page timeout. Maximum 90000. Recording time and wall time are both bounded.",
- "type": "integer"
- },
- "type": {
- "const": "execute_javascript"
- }
- },
- "required": [
- "script"
- ]
- }
- ],
- "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors.",
- "required": [
- "type"
- ],
- "type": "object"
- },
- "type": [
- "array",
- "null"
- ]
- },
- "attempt_count": {
- "description": "Number of recording attempts started, including retries.",
- "type": "integer"
- },
- "color_scheme": {
- "description": "Sets Chrome's preferred color scheme.",
- "enum": [
- "light",
- "dark",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "created_at": {
- "description": "Date and time the recording was created, in UTC.",
- "format": "date-time",
- "type": "string"
- },
- "credit_count": {
- "description": "Number of render credits recorded for this recording.",
- "type": "integer"
- },
- "css": {
- "description": "CSS used to style the rendered HTML.",
- "type": [
- "string",
- "null"
- ]
- },
- "device_scale": {
- "description": "Adjusts the pixel ratio used for capture.",
- "type": [
- "number",
- "null"
- ]
- },
- "disable_twemoji": {
- "description": "Twemoji is enabled by default. Set true to disable automatic emoji replacement and use the supplied fonts or native emoji fonts instead. Omitted, null, or false keeps Twemoji enabled.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "duration_mode": {
- "description": "How duration_ms controls the timeline. at_most (default) stops when actions finish or the requested duration is reached. fixed pads or cuts off at that duration. at_least pads to that duration and lets actions finish, up to a 90-second capture limit. target changes playback speed to fit the completed timeline to the requested duration.",
- "enum": [
- "fixed",
- "target",
- "at_least",
- "at_most",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "duration_ms": {
- "description": "Requested recording duration in milliseconds, measured after the trigger fires and interpreted by duration_mode.",
- "type": "integer"
- },
- "error": {
- "description": "Most recently recorded error, or null when none is recorded. An error can describe a retryable attempt; use status to determine the recording's current state.",
- "properties": {
- "action_path": {
- "description": "Path to the action associated with the failure, such as actions[1].if_found[0], or null when the error is not associated with an action.",
- "type": [
- "string",
- "null"
- ]
- },
- "code": {
- "description": "Machine-readable error code identifying the failure.",
- "type": "string"
- },
- "message": {
- "description": "Human-readable explanation of the failure.",
- "type": "string"
- },
- "occurred_at": {
- "description": "Date and time the error occurred, in UTC.",
- "format": "date-time",
- "type": "string"
- },
- "retryable": {
- "description": "Whether this kind of error is eligible for retry. A further attempt still depends on the remaining retry budget and the recording's status.",
- "type": "boolean"
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "google_fonts": {
- "description": "Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.",
- "type": [
- "string",
- "null"
- ]
- },
- "html": {
- "description": "HTML document or fragment to capture. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied.",
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "description": "Unique recording ID. Use this value to retrieve recording metadata, status, or media.",
- "type": "string"
- },
- "last_render_stored_at": {
- "description": "Last recorded date and time the recording was stored by HCTI, in UTC. Null when no stored recording timestamp is available.",
- "format": "date-time",
- "type": [
- "string",
- "null"
- ]
- },
- "media_type": {
- "description": "Sets the CSS media type used while rendering the page.",
- "enum": [
- "print",
- "screen",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "metadata": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Custom key-value metadata stored with the capture.",
- "type": [
- "object",
- "null"
- ]
- },
- "output": {
- "description": "Output format, frame rate, and scaling. Defaults to MP4 at 30 fps with no output scaling. GIF defaults to 15 fps. Recordings do not include audio.",
- "properties": {
- "format": {
- "description": "Output format: mp4, webm, or gif. Defaults to mp4. Recordings do not include audio.",
- "enum": [
- "mp4",
- "webm",
- "gif",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "fps": {
- "description": "Frames per second. Defaults to 15 for GIF and 30 for MP4/WebM. GIF accepts 10–50; MP4 and WebM accept 10–120. Higher frame rates increase capture and encoding work.",
- "maximum": 120,
- "minimum": 10,
- "type": [
- "integer",
- "null"
- ]
- },
- "scale": {
- "description": "Scale captured pixel dimensions without changing the browser viewport or page layout. Defaults to 1; 0.5 halves both dimensions. Must be finite and greater than 0.01, producing dimensions between 2 and 6000 pixels after device_scale and output scaling. Video dimensions may be rounded for codec compatibility.",
- "exclusiveMinimum": 0.01,
- "maximum": 1.7976931348623157e+308,
- "type": [
- "number",
- "null"
- ]
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "proxy_id": {
- "description": "Specifies which configured organization proxy to use when rendering.",
- "type": [
- "string",
- "null"
- ]
- },
- "recording_type": {
- "const": "html_css"
- },
- "recording_url": {
- "description": "URL for retrieving the recorded media, including its format extension.",
- "type": "string"
- },
- "request_overrides": {
- "description": "Rules that override browser network requests. The block action blocks requests matching a URL wildcard pattern and/or resource types. When both matchers are supplied, both must match. A request is blocked if any block rule matches. Omitted, null, or an empty array adds no overrides.",
- "items": {
- "anyOf": [
- {
- "properties": {
- "action": {
- "const": "block"
- },
- "resource_types": {
- "description": "Resource types to match, supplied as an array of names, such as image, script, xhr, or fetch. Any listed type may match. When url is also supplied, it must match too.",
- "items": {
- "enum": [
- "beacon",
- "document",
- "stylesheet",
- "image",
- "image_set",
- "media",
- "font",
- "script",
- "text_track",
- "xhr",
- "fetch",
- "event_source",
- "manifest",
- "ping",
- "img",
- "other"
- ],
- "type": "string"
- },
- "type": [
- "array",
- "null"
- ]
- },
- "url": {
- "description": "URL wildcard pattern to match, using * for any sequence of characters. When resource_types is also supplied, both matchers must match.",
- "type": [
- "string",
- "null"
- ]
- }
- }
- }
- ],
- "description": "A browser request override. The action discriminator selects the rule type; currently only block is supported.",
- "required": [
- "action"
- ],
- "type": "object"
- },
- "type": [
- "array",
- "null"
- ]
- },
- "saved_to_storage_destination_at": {
- "description": "Recorded date and time the recording was saved to its configured storage destination, in UTC. Null until a save is recorded.",
- "format": "date-time",
- "type": [
- "string",
- "null"
- ]
- },
- "skip_scroll_preload": {
- "description": "Skip the preparation scroll that loads lazy content before capture when any action or nested branch scrolls. Defaults to false. This does not remove scrolling actions from the recording.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "status": {
- "description": "Current recording status. Processing includes preparation and capture.",
- "enum": [
- "processing",
- "pending_retry",
- "ready",
- "failed",
- "cancelled",
- "awaiting_render"
- ],
- "type": "string"
- },
- "status_entered_at": {
- "description": "Date and time of the most recent processing-state transition, in UTC. This can change while the public status remains processing.",
- "format": "date-time",
- "type": "string"
- },
- "storage_destination_hcti_storage_disabled": {
- "description": "Whether HCTI storage is disabled for this recording, recorded from the storage destination when it was created. When true, media is saved to the configured storage destination without HCTI media hosting or CDN caching.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "storage_destination_id": {
- "description": "Specifies which configured organization storage destination receives the rendered output.",
- "type": [
- "string",
- "null"
- ]
- },
- "stored_duration_ms": {
- "description": "Duration of the saved media in milliseconds, or null until measured. This can differ from the requested duration according to duration_mode.",
- "type": [
- "integer",
- "null"
- ]
- },
- "timezone": {
- "description": "Sets the IANA timezone used by Chrome while rendering.",
- "type": [
- "string",
- "null"
- ]
- },
- "trigger": {
- "anyOf": [
- {
- "description": "Start recording immediately after page preparation. This is the default trigger.",
- "properties": {
- "type": {
- "const": "immediate"
- }
- }
- },
- {
- "description": "Wait for a matching element to become visible before starting recording. Fails if the timeout expires.",
- "properties": {
- "selector": {
- "description": "CSS selector for the element that must become visible before recording starts.",
- "type": "string"
- },
- "timeout_ms": {
- "description": "Maximum wait in milliseconds. Defaults to 1000; minimum 100. The maximum depends on your plan.",
- "maximum": 4294967295,
- "minimum": 100,
- "type": "integer"
- },
- "type": {
- "const": "element_visible"
- }
- },
- "required": [
- "selector"
- ]
- },
- {
- "description": "Wait for the page to call window.RecordingReady() before starting recording. Fails if the timeout expires.",
- "properties": {
- "timeout_ms": {
- "description": "Maximum wait for window.RecordingReady(), in milliseconds. Defaults to 1000; minimum 100. The maximum depends on your plan.",
- "maximum": 4294967295,
- "minimum": 100,
- "type": "integer"
- },
- "type": {
- "const": "function_call"
- }
- }
- }
- ],
- "description": "When recording and action execution begin, after page preparation. Defaults to immediate. element_visible waits for a matching visible element; function_call waits for the page to call window.RecordingReady(). A trigger timeout fails the recording before capture starts.",
- "required": [
- "type"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "updated_at": {
- "description": "Date and time the recording record was last updated, in UTC.",
- "format": "date-time",
- "type": "string"
- },
- "viewport_height": {
- "description": "Sets the height of Chrome's viewport in CSS pixels. For screenshots, setting a viewport disables automatic cropping.",
- "type": [
- "integer",
- "null"
- ]
- },
- "viewport_landscape": {
- "description": "Specifies whether the emulated viewport is in landscape orientation.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "viewport_mobile": {
- "description": "Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "viewport_touch": {
- "description": "Specifies whether the emulated viewport supports touch events.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "viewport_width": {
- "description": "Sets the width of Chrome's viewport in CSS pixels. For screenshots, setting a viewport disables automatic cropping.",
- "type": [
- "integer",
- "null"
- ]
- }
- }
- },
- {
- "description": "Metadata and stored rendering settings for a recording created from a URL.",
- "properties": {
- "actions": {
- "description": "Optional ordered actions to execute while recording. Omitted, null, or empty actions record the page for duration_ms without interactions. Supports simple_scroll, scroll, stall, click, locate_selector, execute_javascript, and error. Branches return to the parent sequence when complete.",
- "items": {
- "$ref": "#/properties/item/anyOf/0/properties/actions/items",
- "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
- },
- "type": [
- "array",
- "null"
- ]
- },
- "additional_header_origins": {
- "description": "Additional exact HTTP or HTTPS origins allowed to receive custom headers. Supports up to 20 unique origins of up to 512 UTF-8 bytes each. Origins must use the format scheme://host[:port] without a path; duplicates are ignored.",
- "items": {
- "type": "string"
- },
- "type": [
- "array",
- "null"
- ]
- },
- "attempt_count": {
- "description": "Number of recording attempts started, including retries.",
- "type": "integer"
- },
- "block_consent_banners": {
- "description": "Attempt to block cookie/consent banners from displaying.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "color_scheme": {
- "description": "Sets Chrome's preferred color scheme.",
- "enum": [
- "light",
- "dark",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "created_at": {
- "description": "Date and time the recording was created, in UTC.",
- "format": "date-time",
- "type": "string"
- },
- "credit_count": {
- "description": "Number of render credits recorded for this recording.",
- "type": "integer"
- },
- "css": {
- "description": "CSS injected into the loaded URL to override styles on the page.",
- "type": [
- "string",
- "null"
- ]
- },
- "device_scale": {
- "description": "Adjusts the pixel ratio used for capture.",
- "type": [
- "number",
- "null"
- ]
- },
- "disable_twemoji": {
- "description": "Set explicitly to false to inject Twemoji into the loaded page. Omitted, null, or true leaves the page's emoji handling unchanged and does not disable the website's own emoji scripts.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "duration_mode": {
- "description": "How duration_ms controls the timeline. at_most (default) stops when actions finish or the requested duration is reached. fixed pads or cuts off at that duration. at_least pads to that duration and lets actions finish, up to a 90-second capture limit. target changes playback speed to fit the completed timeline to the requested duration.",
- "enum": [
- "fixed",
- "target",
- "at_least",
- "at_most",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "duration_ms": {
- "description": "Requested recording duration in milliseconds, measured after the trigger fires and interpreted by duration_mode.",
- "type": "integer"
- },
- "error": {
- "description": "Most recently recorded error, or null when none is recorded. An error can describe a retryable attempt; use status to determine the recording's current state.",
- "properties": {
- "action_path": {
- "description": "Path to the action associated with the failure, such as actions[1].if_found[0], or null when the error is not associated with an action.",
- "type": [
- "string",
- "null"
- ]
- },
- "code": {
- "description": "Machine-readable error code identifying the failure.",
- "type": "string"
- },
- "message": {
- "description": "Human-readable explanation of the failure.",
- "type": "string"
- },
- "occurred_at": {
- "description": "Date and time the error occurred, in UTC.",
- "format": "date-time",
- "type": "string"
- },
- "retryable": {
- "description": "Whether this kind of error is eligible for retry. A further attempt still depends on the remaining retry budget and the recording's status.",
- "type": "boolean"
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "headers": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "HTTP headers to include on top-level page navigations to the requested URL's origin and any additional_header_origins. Supports up to 20 headers with names up to 512 ASCII characters and values up to 8192 UTF-8 bytes.",
- "type": [
- "object",
- "null"
- ]
- },
- "id": {
- "description": "Unique recording ID. Use this value to retrieve recording metadata, status, or media.",
- "type": "string"
- },
- "identify_as_hcti": {
- "description": "Identify the top-level page navigation as an HCTI capture request using the X-HCTI-SCREENSHOT header.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "include_headers_on_subrequests": {
- "description": "Include custom headers on subrequests to the requested URL's origin and any additional_header_origins. Defaults to false.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "last_render_stored_at": {
- "description": "Last recorded date and time the recording was stored by HCTI, in UTC. Null when no stored recording timestamp is available.",
- "format": "date-time",
- "type": [
- "string",
- "null"
- ]
- },
- "media_type": {
- "description": "Sets the CSS media type used while rendering the page.",
- "enum": [
- "print",
- "screen",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "metadata": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Custom key-value metadata stored with the capture.",
- "type": [
- "object",
- "null"
- ]
- },
- "output": {
- "description": "Output format, frame rate, and scaling. Defaults to MP4 at 30 fps with no output scaling. GIF defaults to 15 fps. Recordings do not include audio.",
- "properties": {
- "format": {
- "description": "Output format: mp4, webm, or gif. Defaults to mp4. Recordings do not include audio.",
- "enum": [
- "mp4",
- "webm",
- "gif",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "fps": {
- "description": "Frames per second. Defaults to 15 for GIF and 30 for MP4/WebM. GIF accepts 10–50; MP4 and WebM accept 10–120. Higher frame rates increase capture and encoding work.",
- "maximum": 120,
- "minimum": 10,
- "type": [
- "integer",
- "null"
- ]
- },
- "scale": {
- "description": "Scale captured pixel dimensions without changing the browser viewport or page layout. Defaults to 1; 0.5 halves both dimensions. Must be finite and greater than 0.01, producing dimensions between 2 and 6000 pixels after device_scale and output scaling. Video dimensions may be rounded for codec compatibility.",
- "exclusiveMinimum": 0.01,
- "maximum": 1.7976931348623157e+308,
- "type": [
- "number",
- "null"
- ]
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "proxy_id": {
- "description": "Specifies which configured organization proxy to use when rendering.",
- "type": [
- "string",
- "null"
- ]
- },
- "recording_type": {
- "const": "url"
- },
- "recording_url": {
- "description": "URL for retrieving the recorded media, including its format extension.",
- "type": "string"
- },
- "request_overrides": {
- "description": "Rules that override browser network requests. The block action blocks requests matching a URL wildcard pattern and/or resource types. When both matchers are supplied, both must match. A request is blocked if any block rule matches. Omitted, null, or an empty array adds no overrides.",
- "items": {
- "$ref": "#/properties/item/anyOf/0/properties/request_overrides/items",
- "description": "A browser request override. The action discriminator selects the rule type; currently only block is supported."
- },
- "type": [
- "array",
- "null"
- ]
- },
- "saved_to_storage_destination_at": {
- "description": "Recorded date and time the recording was saved to its configured storage destination, in UTC. Null until a save is recorded.",
- "format": "date-time",
- "type": [
- "string",
- "null"
- ]
- },
- "skip_scroll_preload": {
- "description": "Skip the preparation scroll that loads lazy content before capture when any action or nested branch scrolls. Defaults to false. This does not remove scrolling actions from the recording.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "status": {
- "description": "Current recording status. Processing includes preparation and capture.",
- "enum": [
- "processing",
- "pending_retry",
- "ready",
- "failed",
- "cancelled",
- "awaiting_render"
- ],
- "type": "string"
- },
- "status_entered_at": {
- "description": "Date and time of the most recent processing-state transition, in UTC. This can change while the public status remains processing.",
- "format": "date-time",
- "type": "string"
- },
- "storage_destination_hcti_storage_disabled": {
- "description": "Whether HCTI storage is disabled for this recording, recorded from the storage destination when it was created. When true, media is saved to the configured storage destination without HCTI media hosting or CDN caching.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "storage_destination_id": {
- "description": "Specifies which configured organization storage destination receives the rendered output.",
- "type": [
- "string",
- "null"
- ]
- },
- "stored_duration_ms": {
- "description": "Duration of the saved media in milliseconds, or null until measured. This can differ from the requested duration according to duration_mode.",
- "type": [
- "integer",
- "null"
- ]
- },
- "timezone": {
- "description": "Sets the IANA timezone used by Chrome while rendering.",
- "type": [
- "string",
- "null"
- ]
- },
- "trigger": {
- "anyOf": [
- {
- "description": "Start recording immediately after page preparation. This is the default trigger.",
- "properties": {
- "type": {
- "const": "immediate"
- }
- }
- },
- {
- "description": "Wait for a matching element to become visible before starting recording. Fails if the timeout expires.",
- "properties": {
- "selector": {
- "description": "CSS selector for the element that must become visible before recording starts.",
- "type": "string"
- },
- "timeout_ms": {
- "description": "Maximum wait in milliseconds. Defaults to 1000; minimum 100. The maximum depends on your plan.",
- "maximum": 4294967295,
- "minimum": 100,
- "type": "integer"
- },
- "type": {
- "const": "element_visible"
- }
- },
- "required": [
- "selector"
- ]
- },
- {
- "description": "Wait for the page to call window.RecordingReady() before starting recording. Fails if the timeout expires.",
- "properties": {
- "timeout_ms": {
- "description": "Maximum wait for window.RecordingReady(), in milliseconds. Defaults to 1000; minimum 100. The maximum depends on your plan.",
- "maximum": 4294967295,
- "minimum": 100,
- "type": "integer"
- },
- "type": {
- "const": "function_call"
- }
- }
- }
- ],
- "description": "When recording and action execution begin, after page preparation. Defaults to immediate. element_visible waits for a matching visible element; function_call waits for the page to call window.RecordingReady(). A trigger timeout fails the recording before capture starts.",
- "required": [
- "type"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "updated_at": {
- "description": "Date and time the recording record was last updated, in UTC.",
- "format": "date-time",
- "type": "string"
- },
- "url": {
- "description": "Public HTTP or HTTPS URL to capture.",
- "type": [
- "string",
- "null"
- ]
- },
- "viewport_height": {
- "description": "Sets the height of Chrome's viewport in CSS pixels. For screenshots, setting a viewport disables automatic cropping.",
- "type": [
- "integer",
- "null"
- ]
- },
- "viewport_landscape": {
- "description": "Specifies whether the emulated viewport is in landscape orientation.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "viewport_mobile": {
- "description": "Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "viewport_touch": {
- "description": "Specifies whether the emulated viewport supports touch events.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "viewport_width": {
- "description": "Sets the width of Chrome's viewport in CSS pixels. For screenshots, setting a viewport disables automatic cropping.",
- "type": [
- "integer",
- "null"
- ]
- }
- }
- }
-]New value: +[
+ {
+ "description": "Metadata and stored rendering settings for a recording created from HTML and optional CSS.",
+ "properties": {
+ "actions": {
+ "description": "Optional ordered actions to execute while recording. Omitted, null, or empty actions record the page for duration_ms without interactions. Supports simple_scroll, scroll, stall, click, locate_selector, execute_javascript, and error. Branches return to the parent sequence when complete.",
+ "items": {
+ "anyOf": [
+ {
+ "description": "Scroll through an ordered sequence of timed movements in the document or a selected container.",
+ "properties": {
+ "container_selector": {
+ "description": "CSS selector for a scrollable container. Omitted or null scrolls the document.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "if_not_found": {
+ "description": "Actions to run if the selected container is missing. Omitted, null, or empty skips this scroll action; it never falls back to the document. Use an error action to fail instead.",
+ "items": {
+ "$ref": "#/properties/item/anyOf/0/properties/actions/items",
+ "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "steps": {
+ "description": "Ordered scroll movements. At least one step is required.",
+ "items": {
+ "description": "One timed scroll movement within a scroll action. Steps run in order.",
+ "properties": {
+ "duration_ms": {
+ "description": "Duration of the movement in milliseconds. Must be at least 1. The recording deadline can cut the movement short.",
+ "maximum": 2147483647,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "easing": {
+ "description": "Easing curve for the scroll movement. Defaults to linear (constant speed).",
+ "enum": [
+ "linear",
+ "ease_in_cubic",
+ "ease_out_cubic",
+ "ease_in_out_cubic",
+ "ease_in_quad",
+ "ease_out_quad",
+ "ease_in_out_quad",
+ "ease_in_quart",
+ "ease_out_quart",
+ "ease_in_out_quart",
+ "ease_in_quint",
+ "ease_out_quint",
+ "ease_in_out_quint",
+ "ease_in_sine",
+ "ease_out_sine",
+ "ease_in_out_sine",
+ "ease_in_expo",
+ "ease_out_expo",
+ "ease_in_out_expo",
+ "ease_in_circ",
+ "ease_out_circ",
+ "ease_in_out_circ",
+ "ease_in_back",
+ "ease_out_back",
+ "ease_in_out_back",
+ "ease_in_elastic",
+ "ease_out_elastic",
+ "ease_in_out_elastic",
+ "ease_in_bounce",
+ "ease_out_bounce",
+ "ease_in_out_bounce"
+ ],
+ "type": "string"
+ },
+ "to": {
+ "anyOf": [
+ {
+ "description": "Scroll to an edge of the document or selected container.",
+ "properties": {
+ "position": {
+ "description": "Edge to scroll to: top (default), bottom, left, or right.",
+ "enum": [
+ "top",
+ "bottom",
+ "left",
+ "right"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "position"
+ }
+ }
+ },
+ {
+ "description": "Scroll to absolute coordinates within the document or selected container.",
+ "properties": {
+ "type": {
+ "const": "coordinates"
+ },
+ "x": {
+ "description": "Absolute horizontal scroll position in CSS pixels. Defaults to 0.",
+ "maximum": 1.7976931348623157e+308,
+ "minimum": -1.7976931348623157e+308,
+ "type": "number"
+ },
+ "y": {
+ "description": "Absolute vertical scroll position in CSS pixels. Defaults to 0.",
+ "maximum": 1.7976931348623157e+308,
+ "minimum": -1.7976931348623157e+308,
+ "type": "number"
+ }
+ }
+ },
+ {
+ "description": "Scroll to an element matching a CSS selector, with optional offsets.",
+ "properties": {
+ "if_not_found": {
+ "description": "Actions to run when the destination is missing. Omitted, null, or empty skips this movement. If the branch completes, continue with the next step. Use an error action to fail instead.",
+ "items": {
+ "$ref": "#/properties/item/anyOf/0/properties/actions/items",
+ "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "offset_x": {
+ "description": "Horizontal offset in CSS pixels added to the destination element's position. Defaults to 0.",
+ "maximum": 1.7976931348623157e+308,
+ "minimum": -1.7976931348623157e+308,
+ "type": "number"
+ },
+ "offset_y": {
+ "description": "Vertical offset in CSS pixels added to the destination element's position. Defaults to 0.",
+ "maximum": 1.7976931348623157e+308,
+ "minimum": -1.7976931348623157e+308,
+ "type": "number"
+ },
+ "selector": {
+ "description": "CSS selector for the destination element.",
+ "type": "string"
+ },
+ "type": {
+ "const": "selector"
+ }
+ },
+ "required": [
+ "selector"
+ ]
+ }
+ ],
+ "description": "Destination for this movement. Select position, coordinates, or selector using its type discriminator.",
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "to"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "type": {
+ "const": "scroll"
+ }
+ },
+ "required": [
+ "steps"
+ ]
+ },
+ {
+ "description": "Wait while recording and page activity continue.",
+ "properties": {
+ "duration_ms": {
+ "description": "Wait duration in milliseconds. Must be nonnegative. The recording deadline can end the wait early.",
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "const": "stall"
+ }
+ }
+ },
+ {
+ "description": "Look for a matching element and execute the corresponding branch. Branch actions supply their own selectors.",
+ "properties": {
+ "if_found": {
+ "description": "Actions to run when the element is found. Omitted, null, or empty continues. Actions do not inherit the lookup's selector.",
+ "items": {
+ "$ref": "#/properties/item/anyOf/0/properties/actions/items",
+ "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "if_not_found": {
+ "description": "Actions to run when the element is not found before timeout. Omitted, null, or empty continues. Use an error action to fail instead.",
+ "items": {
+ "$ref": "#/properties/item/anyOf/0/properties/actions/items",
+ "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "selector": {
+ "description": "CSS selector of the element to find.",
+ "type": "string"
+ },
+ "timeout_ms": {
+ "description": "Maximum wait for the element in milliseconds. Defaults to 0, which performs a single check. The recording deadline can end the wait earlier.",
+ "type": "integer"
+ },
+ "type": {
+ "const": "locate_selector"
+ }
+ },
+ "required": [
+ "selector"
+ ]
+ },
+ {
+ "description": "Find and click an element, scrolling it into view when needed.",
+ "properties": {
+ "button": {
+ "description": "Mouse button: left (default), right, middle, back, or forward.",
+ "enum": [
+ "left",
+ "right",
+ "middle",
+ "back",
+ "forward",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "count": {
+ "description": "Click count reported to the page, from 1 to 3. Defaults to 1. This sets the click event count; it does not repeat the action.",
+ "maximum": 3,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "delay_ms": {
+ "description": "Time between mouse down and mouse up, from 0 to 5000 milliseconds. Defaults to 0.",
+ "maximum": 5000,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "if_not_found": {
+ "description": "Actions to run when the click target is missing. Omitted, null, or empty continues. Use an error action to fail instead.",
+ "items": {
+ "$ref": "#/properties/item/anyOf/0/properties/actions/items",
+ "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "offset_x": {
+ "description": "Horizontal offset in CSS pixels from the element's border-box top-left. If either offset is supplied, the other defaults to 0; otherwise the default clickable point is used.",
+ "maximum": 1.7976931348623157e+308,
+ "minimum": -1.7976931348623157e+308,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "offset_y": {
+ "description": "Vertical offset in CSS pixels from the element's border-box top-left. If either offset is supplied, the other defaults to 0; otherwise the default clickable point is used.",
+ "maximum": 1.7976931348623157e+308,
+ "minimum": -1.7976931348623157e+308,
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "selector": {
+ "description": "CSS selector for the element to click.",
+ "type": "string"
+ },
+ "timeout_ms": {
+ "description": "Maximum wait for the element in milliseconds. Defaults to 0, which performs a single check. The recording deadline can end the wait earlier.",
+ "type": "integer"
+ },
+ "type": {
+ "const": "click"
+ }
+ },
+ "required": [
+ "selector"
+ ]
+ },
+ {
+ "description": "Fail the recording and stop executing actions. Must be the last action in its array.",
+ "properties": {
+ "type": {
+ "const": "error"
+ }
+ }
+ },
+ {
+ "description": "Scroll down repeatedly until reaching the bottom or the recording deadline. Each movement has its own duration and easing, followed by a pause.",
+ "properties": {
+ "easing": {
+ "description": "Easing for each scroll movement. Defaults to ease_in_out_quad.",
+ "enum": [
+ "linear",
+ "ease_in_cubic",
+ "ease_out_cubic",
+ "ease_in_out_cubic",
+ "ease_in_quad",
+ "ease_out_quad",
+ "ease_in_out_quad",
+ "ease_in_quart",
+ "ease_out_quart",
+ "ease_in_out_quart",
+ "ease_in_quint",
+ "ease_out_quint",
+ "ease_in_out_quint",
+ "ease_in_sine",
+ "ease_out_sine",
+ "ease_in_out_sine",
+ "ease_in_expo",
+ "ease_out_expo",
+ "ease_in_out_expo",
+ "ease_in_circ",
+ "ease_out_circ",
+ "ease_in_out_circ",
+ "ease_in_back",
+ "ease_out_back",
+ "ease_in_out_back",
+ "ease_in_elastic",
+ "ease_out_elastic",
+ "ease_in_out_elastic",
+ "ease_in_bounce",
+ "ease_out_bounce",
+ "ease_in_out_bounce",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ms_between_scrolls": {
+ "description": "Pause after each completed scroll, before the next starts. Defaults to 400 milliseconds. Zero means no pause. The pause also allows newly loaded content to appear before confirming the bottom.",
+ "maximum": 90000,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "scroll_distance": {
+ "description": "Positive distance per scroll in CSS pixels (number or px string), or viewport height (vh string). Examples: 900, 900px, 95vh. Omitted or null defaults to 95vh.",
+ "exclusiveMinimum": 0,
+ "type": [
+ "string",
+ "number",
+ "null"
+ ]
+ },
+ "scroll_duration_ms": {
+ "description": "Duration of each scroll movement in milliseconds. Defaults to 800. Must be between 1 and 90000.",
+ "maximum": 90000,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "stall_at_end_ms": {
+ "description": "Time to stall after reaching the bottom, limited by the remaining recording time. Defaults to 0 milliseconds. No stall is added if scrolling runs out of time before reaching the bottom.",
+ "maximum": 90000,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "type": {
+ "const": "simple_scroll"
+ }
+ }
+ },
+ {
+ "description": "Execute JavaScript in the page while recording continues, awaiting any returned promise.",
+ "properties": {
+ "if_error": {
+ "description": "Actions to run if the script throws or times out. Null or omitted fails the recording; an empty array ignores the error. A timeout cannot undo side effects or cancel promises and timers already created by the script.",
+ "items": {
+ "$ref": "#/properties/item/anyOf/0/properties/actions/items",
+ "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "script": {
+ "description": "JavaScript async function body. Supports await; its return value is ignored. For example: await new Promise(resolve => setTimeout(resolve, 500));",
+ "type": "string"
+ },
+ "timeout_ms": {
+ "description": "Maximum execution time in milliseconds. Zero or omitted uses the page timeout. Maximum 90000. Recording time and wall time are both bounded.",
+ "type": "integer"
+ },
+ "type": {
+ "const": "execute_javascript"
+ }
+ },
+ "required": [
+ "script"
+ ]
+ }
+ ],
+ "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors.",
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "attempt_count": {
+ "description": "Number of recording attempts started, including retries.",
+ "type": "integer"
+ },
+ "audio": {
+ "description": "Attach a soundtrack to MP4 or WebM after capture. Supply exactly one source: an asset_id from your organization's library or a public HTTP(S) url. Playback follows the finished video timeline at normal speed.",
+ "oneOf": [
+ {
+ "properties": {
+ "asset_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "asset_id"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "properties": {
+ "asset_id": {
+ "description": "ID of an audio file in your organization's asset library. Supply this or url.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "delay_ms": {
+ "description": "Wait this many milliseconds from the start of the finished video before playing audio. For at_most (the default), fixed, and target, the delay must be shorter than duration_ms.",
+ "type": "integer"
+ },
+ "error_on_source_invalid": {
+ "description": "Applies only at render time. Invalid requests still fail at creation, even when this is false. If the audio is unavailable, cannot be decoded, or the requested timing leaves no audio to play, the render fails by default (true). Set false to return the full video without audio.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "source_start_ms": {
+ "description": "Start reading this many milliseconds into the source. Defaults to 0.",
+ "type": "integer"
+ },
+ "url": {
+ "description": "Public HTTP or HTTPS URL of the audio file. Supply this or asset_id.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "when_audio_ends": {
+ "description": "When the track ends, keep the video playing silently (default), loop from source_start_ms, or trim the video.",
+ "enum": [
+ "silence",
+ "loop",
+ "trim_video"
+ ],
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "color_scheme": {
+ "description": "Sets Chrome's preferred color scheme.",
+ "enum": [
+ "light",
+ "dark",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "created_at": {
+ "description": "Date and time the recording was created, in UTC.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "credit_count": {
+ "description": "Number of render credits recorded for this recording.",
+ "type": "integer"
+ },
+ "css": {
+ "description": "CSS used to style the rendered HTML.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "device_scale": {
+ "description": "Adjusts the pixel ratio used for capture.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "disable_twemoji": {
+ "description": "Twemoji is enabled by default. Set true to disable automatic emoji replacement and use the supplied fonts or native emoji fonts instead. Omitted, null, or false keeps Twemoji enabled.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "duration_mode": {
+ "description": "How duration_ms controls the timeline. at_most (default) stops when actions finish or the requested duration is reached. fixed pads or cuts off at that duration. at_least pads to that duration and lets actions finish, up to a 90-second capture limit. target changes playback speed to fit the completed timeline to the requested duration.",
+ "enum": [
+ "fixed",
+ "target",
+ "at_least",
+ "at_most",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "duration_ms": {
+ "description": "Requested recording duration in milliseconds, measured after the trigger fires and interpreted by duration_mode.",
+ "type": "integer"
+ },
+ "error": {
+ "description": "Most recently recorded error, or null when none is recorded. An error can describe a retryable attempt; use status to determine the recording's current state.",
+ "properties": {
+ "action_path": {
+ "description": "Path to the action associated with the failure, such as actions[1].if_found[0], or null when the error is not associated with an action.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "code": {
+ "description": "Machine-readable error code identifying the failure.",
+ "type": "string"
+ },
+ "message": {
+ "description": "Human-readable explanation of the failure.",
+ "type": "string"
+ },
+ "occurred_at": {
+ "description": "Date and time the error occurred, in UTC.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "retryable": {
+ "description": "Whether this kind of error is eligible for retry. A further attempt still depends on the remaining retry budget and the recording's status.",
+ "type": "boolean"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "google_fonts": {
+ "description": "Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "html": {
+ "description": "HTML document or fragment to capture. HTML fragments are rendered in a wrapper document unless a complete HTML document is supplied.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Unique recording ID. Use this value to retrieve recording metadata, status, or media.",
+ "type": "string"
+ },
+ "last_render_stored_at": {
+ "description": "Last recorded date and time the recording was stored by HCTI, in UTC. Null when no stored recording timestamp is available.",
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "media_type": {
+ "description": "Sets the CSS media type used while rendering the page.",
+ "enum": [
+ "print",
+ "screen",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "metadata": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Custom key-value metadata stored with the capture.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "output": {
+ "description": "Output format, frame rate, and scaling. Defaults to MP4 at 30 fps with no output scaling. GIF defaults to 15 fps. MP4 and WebM support an optional audio track.",
+ "properties": {
+ "format": {
+ "description": "Output format: mp4, webm, or gif. Defaults to mp4. MP4 and WebM support an optional audio track.",
+ "enum": [
+ "mp4",
+ "webm",
+ "gif",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fps": {
+ "description": "Frames per second. Defaults to 15 for GIF and 30 for MP4/WebM. GIF accepts 10–50; MP4 and WebM accept 10–120. Higher frame rates increase capture and encoding work.",
+ "maximum": 120,
+ "minimum": 10,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "scale": {
+ "description": "Scale captured pixel dimensions without changing the browser viewport or page layout. Defaults to 1; 0.5 halves both dimensions. Must be finite and greater than 0.01, producing dimensions between 2 and 6000 pixels after device_scale and output scaling. Video dimensions may be rounded for codec compatibility.",
+ "exclusiveMinimum": 0.01,
+ "maximum": 1.7976931348623157e+308,
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "proxy_id": {
+ "description": "Specifies which configured organization proxy to use when rendering.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recording_type": {
+ "const": "html_css"
+ },
+ "recording_url": {
+ "description": "URL for retrieving the recorded media, including its format extension.",
+ "type": "string"
+ },
+ "request_overrides": {
+ "description": "Rules that override browser network requests. The block action blocks requests matching a URL wildcard pattern and/or resource types. When both matchers are supplied, both must match. A request is blocked if any block rule matches. Omitted, null, or an empty array adds no overrides.",
+ "items": {
+ "anyOf": [
+ {
+ "properties": {
+ "action": {
+ "const": "block"
+ },
+ "resource_types": {
+ "description": "Resource types to match, supplied as an array of names, such as image, script, xhr, or fetch. Any listed type may match. When url is also supplied, it must match too.",
+ "items": {
+ "enum": [
+ "beacon",
+ "document",
+ "stylesheet",
+ "image",
+ "image_set",
+ "media",
+ "font",
+ "script",
+ "text_track",
+ "xhr",
+ "fetch",
+ "event_source",
+ "manifest",
+ "ping",
+ "img",
+ "other"
+ ],
+ "type": "string"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "url": {
+ "description": "URL wildcard pattern to match, using * for any sequence of characters. When resource_types is also supplied, both matchers must match.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ }
+ }
+ ],
+ "description": "A browser request override. The action discriminator selects the rule type; currently only block is supported.",
+ "required": [
+ "action"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "saved_to_storage_destination_at": {
+ "description": "Recorded date and time the recording was saved to its configured storage destination, in UTC. Null until a save is recorded.",
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "skip_scroll_preload": {
+ "description": "Skip the preparation scroll that loads lazy content before capture when any action or nested branch scrolls. Defaults to false. This does not remove scrolling actions from the recording.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "Current recording status. Processing includes preparation and capture.",
+ "enum": [
+ "processing",
+ "pending_retry",
+ "ready",
+ "failed",
+ "cancelled",
+ "awaiting_render"
+ ],
+ "type": "string"
+ },
+ "status_entered_at": {
+ "description": "Date and time of the most recent processing-state transition, in UTC. This can change while the public status remains processing.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "storage_destination_hcti_storage_disabled": {
+ "description": "Whether HCTI storage is disabled for this recording, recorded from the storage destination when it was created. When true, media is saved to the configured storage destination without HCTI media hosting or CDN caching.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "storage_destination_id": {
+ "description": "Specifies which configured organization storage destination receives the rendered output.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "stored_duration_ms": {
+ "description": "Duration of the saved media in milliseconds, or null until measured. This can differ from the requested duration according to duration_mode.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "timezone": {
+ "description": "Sets the IANA timezone used by Chrome while rendering.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "trigger": {
+ "anyOf": [
+ {
+ "description": "Start recording immediately after page preparation. This is the default trigger.",
+ "properties": {
+ "type": {
+ "const": "immediate"
+ }
+ }
+ },
+ {
+ "description": "Wait for a matching element to become visible before starting recording. Fails if the timeout expires.",
+ "properties": {
+ "selector": {
+ "description": "CSS selector for the element that must become visible before recording starts.",
+ "type": "string"
+ },
+ "timeout_ms": {
+ "description": "Maximum wait in milliseconds. Defaults to 1000; minimum 100. The maximum depends on your plan.",
+ "maximum": 4294967295,
+ "minimum": 100,
+ "type": "integer"
+ },
+ "type": {
+ "const": "element_visible"
+ }
+ },
+ "required": [
+ "selector"
+ ]
+ },
+ {
+ "description": "Wait for the page to call window.RecordingReady() before starting recording. Fails if the timeout expires.",
+ "properties": {
+ "timeout_ms": {
+ "description": "Maximum wait for window.RecordingReady(), in milliseconds. Defaults to 1000; minimum 100. The maximum depends on your plan.",
+ "maximum": 4294967295,
+ "minimum": 100,
+ "type": "integer"
+ },
+ "type": {
+ "const": "function_call"
+ }
+ }
+ }
+ ],
+ "description": "When recording and action execution begin, after page preparation. Defaults to immediate. element_visible waits for a matching visible element; function_call waits for the page to call window.RecordingReady(). A trigger timeout fails the recording before capture starts.",
+ "required": [
+ "type"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "updated_at": {
+ "description": "Date and time the recording record was last updated, in UTC.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "viewport_height": {
+ "description": "Sets the height of Chrome's viewport in CSS pixels. For screenshots, setting a viewport disables automatic cropping.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "viewport_landscape": {
+ "description": "Specifies whether the emulated viewport is in landscape orientation.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "viewport_mobile": {
+ "description": "Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "viewport_touch": {
+ "description": "Specifies whether the emulated viewport supports touch events.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "viewport_width": {
+ "description": "Sets the width of Chrome's viewport in CSS pixels. For screenshots, setting a viewport disables automatic cropping.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ }
+ },
+ {
+ "description": "Metadata and stored rendering settings for a recording created from a URL.",
+ "properties": {
+ "actions": {
+ "description": "Optional ordered actions to execute while recording. Omitted, null, or empty actions record the page for duration_ms without interactions. Supports simple_scroll, scroll, stall, click, locate_selector, execute_javascript, and error. Branches return to the parent sequence when complete.",
+ "items": {
+ "$ref": "#/properties/item/anyOf/0/properties/actions/items",
+ "description": "One action in the recording timeline, selected by its type discriminator. Actions run in order; nested branches contain ordinary actions and do not inherit selectors."
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "additional_header_origins": {
+ "description": "Additional exact HTTP or HTTPS origins allowed to receive custom headers. Supports up to 20 unique origins of up to 512 UTF-8 bytes each. Origins must use the format scheme://host[:port] without a path; duplicates are ignored.",
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "attempt_count": {
+ "description": "Number of recording attempts started, including retries.",
+ "type": "integer"
+ },
+ "audio": {
+ "description": "Attach a soundtrack to MP4 or WebM after capture. Supply exactly one source: an asset_id from your organization's library or a public HTTP(S) url. Playback follows the finished video timeline at normal speed.",
+ "oneOf": [
+ {
+ "properties": {
+ "asset_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "asset_id"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "properties": {
+ "asset_id": {
+ "description": "ID of an audio file in your organization's asset library. Supply this or url.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "delay_ms": {
+ "description": "Wait this many milliseconds from the start of the finished video before playing audio. For at_most (the default), fixed, and target, the delay must be shorter than duration_ms.",
+ "type": "integer"
+ },
+ "error_on_source_invalid": {
+ "description": "Applies only at render time. Invalid requests still fail at creation, even when this is false. If the audio is unavailable, cannot be decoded, or the requested timing leaves no audio to play, the render fails by default (true). Set false to return the full video without audio.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "source_start_ms": {
+ "description": "Start reading this many milliseconds into the source. Defaults to 0.",
+ "type": "integer"
+ },
+ "url": {
+ "description": "Public HTTP or HTTPS URL of the audio file. Supply this or asset_id.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "when_audio_ends": {
+ "description": "When the track ends, keep the video playing silently (default), loop from source_start_ms, or trim the video.",
+ "enum": [
+ "silence",
+ "loop",
+ "trim_video"
+ ],
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "block_consent_banners": {
+ "description": "Attempt to block cookie/consent banners from displaying.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "color_scheme": {
+ "description": "Sets Chrome's preferred color scheme.",
+ "enum": [
+ "light",
+ "dark",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "created_at": {
+ "description": "Date and time the recording was created, in UTC.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "credit_count": {
+ "description": "Number of render credits recorded for this recording.",
+ "type": "integer"
+ },
+ "css": {
+ "description": "CSS injected into the loaded URL to override styles on the page.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "device_scale": {
+ "description": "Adjusts the pixel ratio used for capture.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "disable_twemoji": {
+ "description": "Set explicitly to false to inject Twemoji into the loaded page. Omitted, null, or true leaves the page's emoji handling unchanged and does not disable the website's own emoji scripts.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "duration_mode": {
+ "description": "How duration_ms controls the timeline. at_most (default) stops when actions finish or the requested duration is reached. fixed pads or cuts off at that duration. at_least pads to that duration and lets actions finish, up to a 90-second capture limit. target changes playback speed to fit the completed timeline to the requested duration.",
+ "enum": [
+ "fixed",
+ "target",
+ "at_least",
+ "at_most",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "duration_ms": {
+ "description": "Requested recording duration in milliseconds, measured after the trigger fires and interpreted by duration_mode.",
+ "type": "integer"
+ },
+ "error": {
+ "description": "Most recently recorded error, or null when none is recorded. An error can describe a retryable attempt; use status to determine the recording's current state.",
+ "properties": {
+ "action_path": {
+ "description": "Path to the action associated with the failure, such as actions[1].if_found[0], or null when the error is not associated with an action.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "code": {
+ "description": "Machine-readable error code identifying the failure.",
+ "type": "string"
+ },
+ "message": {
+ "description": "Human-readable explanation of the failure.",
+ "type": "string"
+ },
+ "occurred_at": {
+ "description": "Date and time the error occurred, in UTC.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "retryable": {
+ "description": "Whether this kind of error is eligible for retry. A further attempt still depends on the remaining retry budget and the recording's status.",
+ "type": "boolean"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "headers": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "HTTP headers to include on top-level page navigations to the requested URL's origin and any additional_header_origins. Supports up to 20 headers with names up to 512 ASCII characters and values up to 8192 UTF-8 bytes.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Unique recording ID. Use this value to retrieve recording metadata, status, or media.",
+ "type": "string"
+ },
+ "identify_as_hcti": {
+ "description": "Identify the top-level page navigation as an HCTI capture request using the X-HCTI-SCREENSHOT header.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "include_headers_on_subrequests": {
+ "description": "Include custom headers on subrequests to the requested URL's origin and any additional_header_origins. Defaults to false.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "last_render_stored_at": {
+ "description": "Last recorded date and time the recording was stored by HCTI, in UTC. Null when no stored recording timestamp is available.",
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "media_type": {
+ "description": "Sets the CSS media type used while rendering the page.",
+ "enum": [
+ "print",
+ "screen",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "metadata": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Custom key-value metadata stored with the capture.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "output": {
+ "description": "Output format, frame rate, and scaling. Defaults to MP4 at 30 fps with no output scaling. GIF defaults to 15 fps. MP4 and WebM support an optional audio track.",
+ "properties": {
+ "format": {
+ "description": "Output format: mp4, webm, or gif. Defaults to mp4. MP4 and WebM support an optional audio track.",
+ "enum": [
+ "mp4",
+ "webm",
+ "gif",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fps": {
+ "description": "Frames per second. Defaults to 15 for GIF and 30 for MP4/WebM. GIF accepts 10–50; MP4 and WebM accept 10–120. Higher frame rates increase capture and encoding work.",
+ "maximum": 120,
+ "minimum": 10,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "scale": {
+ "description": "Scale captured pixel dimensions without changing the browser viewport or page layout. Defaults to 1; 0.5 halves both dimensions. Must be finite and greater than 0.01, producing dimensions between 2 and 6000 pixels after device_scale and output scaling. Video dimensions may be rounded for codec compatibility.",
+ "exclusiveMinimum": 0.01,
+ "maximum": 1.7976931348623157e+308,
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "proxy_id": {
+ "description": "Specifies which configured organization proxy to use when rendering.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recording_type": {
+ "const": "url"
+ },
+ "recording_url": {
+ "description": "URL for retrieving the recorded media, including its format extension.",
+ "type": "string"
+ },
+ "request_overrides": {
+ "description": "Rules that override browser network requests. The block action blocks requests matching a URL wildcard pattern and/or resource types. When both matchers are supplied, both must match. A request is blocked if any block rule matches. Omitted, null, or an empty array adds no overrides.",
+ "items": {
+ "$ref": "#/properties/item/anyOf/0/properties/request_overrides/items",
+ "description": "A browser request override. The action discriminator selects the rule type; currently only block is supported."
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "saved_to_storage_destination_at": {
+ "description": "Recorded date and time the recording was saved to its configured storage destination, in UTC. Null until a save is recorded.",
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "skip_scroll_preload": {
+ "description": "Skip the preparation scroll that loads lazy content before capture when any action or nested branch scrolls. Defaults to false. This does not remove scrolling actions from the recording.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "Current recording status. Processing includes preparation and capture.",
+ "enum": [
+ "processing",
+ "pending_retry",
+ "ready",
+ "failed",
+ "cancelled",
+ "awaiting_render"
+ ],
+ "type": "string"
+ },
+ "status_entered_at": {
+ "description": "Date and time of the most recent processing-state transition, in UTC. This can change while the public status remains processing.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "storage_destination_hcti_storage_disabled": {
+ "description": "Whether HCTI storage is disabled for this recording, recorded from the storage destination when it was created. When true, media is saved to the configured storage destination without HCTI media hosting or CDN caching.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "storage_destination_id": {
+ "description": "Specifies which configured organization storage destination receives the rendered output.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "stored_duration_ms": {
+ "description": "Duration of the saved media in milliseconds, or null until measured. This can differ from the requested duration according to duration_mode.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "timezone": {
+ "description": "Sets the IANA timezone used by Chrome while rendering.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "trigger": {
+ "anyOf": [
+ {
+ "description": "Start recording immediately after page preparation. This is the default trigger.",
+ "properties": {
+ "type": {
+ "const": "immediate"
+ }
+ }
+ },
+ {
+ "description": "Wait for a matching element to become visible before starting recording. Fails if the timeout expires.",
+ "properties": {
+ "selector": {
+ "description": "CSS selector for the element that must become visible before recording starts.",
+ "type": "string"
+ },
+ "timeout_ms": {
+ "description": "Maximum wait in milliseconds. Defaults to 1000; minimum 100. The maximum depends on your plan.",
+ "maximum": 4294967295,
+ "minimum": 100,
+ "type": "integer"
+ },
+ "type": {
+ "const": "element_visible"
+ }
+ },
+ "required": [
+ "selector"
+ ]
+ },
+ {
+ "description": "Wait for the page to call window.RecordingReady() before starting recording. Fails if the timeout expires.",
+ "properties": {
+ "timeout_ms": {
+ "description": "Maximum wait for window.RecordingReady(), in milliseconds. Defaults to 1000; minimum 100. The maximum depends on your plan.",
+ "maximum": 4294967295,
+ "minimum": 100,
+ "type": "integer"
+ },
+ "type": {
+ "const": "function_call"
+ }
+ }
+ }
+ ],
+ "description": "When recording and action execution begin, after page preparation. Defaults to immediate. element_visible waits for a matching visible element; function_call waits for the page to call window.RecordingReady(). A trigger timeout fails the recording before capture starts.",
+ "required": [
+ "type"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "updated_at": {
+ "description": "Date and time the recording record was last updated, in UTC.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "url": {
+ "description": "Public HTTP or HTTPS URL to capture.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "viewport_height": {
+ "description": "Sets the height of Chrome's viewport in CSS pixels. For screenshots, setting a viewport disables automatic cropping.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "viewport_landscape": {
+ "description": "Specifies whether the emulated viewport is in landscape orientation.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "viewport_mobile": {
+ "description": "Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "viewport_touch": {
+ "description": "Specifies whether the emulated viewport supports touch events.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "viewport_width": {
+ "description": "Sets the width of Chrome's viewport in CSS pixels. For screenshots, setting a viewport disables automatic cropping.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ }
+ }
+]