BlitzReels MCP
Official hosted MCP server providing 265 tools for AI-driven video editing, including project inspection, clipping long-form content, editing captions and timelines, adding media, and exporting verified video outputs for short-form platforms.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://blitzreels.com/api/mcpWhat its tools do
151 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (58)
hooks_suggestcontent_performance_listvideo_storyboard_getrecording_sets_listrecording_sets_getclip_share_getprojects_listprojects_getprojects_inspectexports_listexports_caption_track_geteditor_snapshot_geteditor_history_listclips_candidates_listcaptions_words_listworkspaces_listworkspace_context_getworkspace_brand_scan_getmedia_listmedia_transcript_getmedia_import_inspectmedia_import_scan_pageclips_presets_listcaptions_themes_listmedia_narration_getmedia_assets_getmedia_assets_previewmedia_folders_listmedia_upscale_estimateclips_getclips_status_getclips_listclips_inspectgeneration_options_listgeneration_jobs_getgeneration_plan_briefgeneration_plan_validatecharacters_listcharacters_getstory_kits_liststory_kits_getseries_listseries_getseries_contentcustomer_measurements_listlearning_quotelearning_getcarousels_board_getcarousels_board_templatescarousels_board_ideascarousels_board_versionscarousels_getcarousels_expand_recipepublishing_connections_listpublishing_accounts_listpublishing_post_gettimeline_trim_previewtimeline_split_preview
Can change data (93)
video_storyboard_createvideo_storyboard_revisevideo_storyboard_approvevideo_assets_approvevideo_storyboard_asset_regeneraterecording_sets_createrecording_sets_track_attachrecording_sets_finalizerecording_sets_clips_createclip_share_publishclip_share_unpublishclip_share_visibility_setprojects_duplicateeditor_asset_replaceeditor_audio_seteditor_text_seteditor_composition_editeditor_crop_seteditor_assets_inserteditor_items_moveeditor_items_removeeditor_edit_undocaptions_words_correctvideo_feedback_savecaptions_source_prepareclips_recoverworkspace_context_saveworkspace_brand_scanprojects_createmedia_upload_filemedia_import_urlmedia_upload_startmedia_upload_finishmedia_folders_createmedia_assets_updatemedia_upscaleclips_createclip_batches_deleteclips_reselectclips_repairclips_exportcaptions_look_applyvisuals_applyupdate_timeline_clipbatch_update_timeline_clipsmute_clip_audiodelete_timeline_itemsadd_text_overlayadd_transitiontimeline_media_addtimeline_audio_addexports_startgeneration_image_creategeneration_video_creategeneration_voiceover_creategeneration_music_creategeneration_sound_creategeneration_faceless_creategeneration_jobs_cancelcharacters_applystory_kits_applyseries_applyseries_assignseries_deletecustomer_link_applycustomer_outcome_applylearning_startlearning_controlcarousels_board_editcarousels_board_generatecarousels_board_imagecarousels_board_version_restorecarousels_compilecarousels_previewcarousels_patch_slidecarousels_migratecarousels_clonepublishing_instagram_schedulepublishing_video_scheduletimeline_trim_applytimeline_split_applycarousels_slides_reordercarousels_slides_removecarousels_slides_insertcarousels_slides_undocarousels_save_themecarousels_apply_themecarousels_delete_themecarousels_save_templatecarousels_apply_templatecarousels_delete_templatecarousels_apply_brandclips_delivery_promote
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to blitzreels.com ·
- Passed Endpoint is on the registry namespace domain ·
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Clip long-form podcasts into vertical shorts
- Edit captions and transcripts programmatically
- Generate faceless videos with AI voiceover
- Export and schedule videos to social platforms
Source and maintenance
Protocol and capabilities
- Server
- blitzreels 4.0.1
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 151 advertised
- Resources
- 6 advertised
- Resource templates
- 0 advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
},
"resources": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
151 advertised
hooks_suggest — Suggest Clip Hooks
Suggest text hooks, existing transcript sentences and visual ranges without editing the project. Defaults to three per layer, count 1-5. Times use project timeline seconds. Included with a daily workspace cap; never starts media analysis. Unsupported options are omitted.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"layers",
"count",
"projectId",
"workspaceId"
],
"properties": {
"count": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
},
"layers": {
"type": "array",
"items": {
"enum": [
"text",
"spoken",
"visual"
],
"type": "string"
},
"default": [
"text",
"spoken",
"visual"
],
"maxItems": 3,
"minItems": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"text",
"spoken",
"visual",
"language"
],
"properties": {
"text": {
"type": "array",
"items": {
"type": "object",
"required": [
"pattern",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 180,
"minLength": 1
},
"pattern": {
"enum": [
"question",
"number_stakes",
"contrarian",
"outcome",
"call_out",
"curiosity_gap"
],
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 5
},
"spoken": {
"type": "array",
"items": {
"type": "object",
"required": [
"pattern",
"quote",
"start_seconds",
"end_seconds",
"use"
],
"properties": {
"use": {
"enum": [
"start_here",
"cold_open"
],
"type": "string"
},
"quote": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"pattern": {
"enum": [
"contrarian",
"problem",
"secret_reveal",
"personal_story",
"list",
"comparison",
"question",
"case_study"
],
"type": "string"
},
"end_seconds": {
"type": "number",
"minimum": 0
},
"start_seconds": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 5
},
"visual": {
"type": "array",
"items": {
"type": "object",
"required": [
"pattern",
"start_seconds",
"end_seconds",
"reason"
],
"properties": {
"reason": {
"type": "string",
"maxLength": 600,
"minLength": 1
},
"pattern": {
"enum": [
"result_first",
"punch_in",
"broll_interrupt",
"screen_moment",
"split_screen",
"greenscreen"
],
"type": "string"
},
"end_seconds": {
"type": "number",
"minimum": 0
},
"start_seconds": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 5
},
"language": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}content_performance_list — Read Published Content Performance
Read bounded existing provider-reported engagement in the selected workspace, sorted by views. Filters by format, account and publication window. Returns periodTotals for engagement earned during the period across all posts on the selected accounts, plus per-post lifetime counters, saved watch metrics, capture/check times, availability, and saved Project/export lineage when known. includeDetails includes bounded retention and audience tables. Does not import new data, start monitoring or infer attributable leads, sales or revenue.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"includeDetails",
"workspaceId",
"platform",
"format",
"connectionIds",
"range",
"limit",
"offset",
"search"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"range": {
"enum": [
"7d",
"30d",
"90d",
"all"
],
"type": "string",
"default": "30d"
},
"format": {
"enum": [
"all",
"video",
"image",
"carousel"
],
"type": "string",
"default": "all"
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"search": {
"type": "string",
"default": "",
"maxLength": 200
},
"platform": {
"enum": [
"all",
"youtube",
"instagram",
"facebook",
"tiktok"
],
"type": "string",
"default": "all"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"connectionIds": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxItems": 50
},
{
"type": "null"
}
],
"default": null
},
"includeDetails": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}video_storyboard_create — Plan an Approved Video Script
Create a vertical video storyboard for the user-approved script in an existing project. Spends planning credits; returns scene narration, factual review notes, references and the production credit estimate. Does not generate images or animate video. Existing account access applies.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"script",
"workspaceId",
"idempotencyKey",
"confirmScriptApproved"
],
"properties": {
"genre": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Genre pack id. GET /generation-options/faceless lists them in genres, with what each format needs in formats."
},
"script": {
"type": "string",
"maxLength": 30000,
"minLength": 1
},
"voice_id": {
"type": "string",
"maxLength": 200
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"series_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"multi_shot": {
"type": "boolean",
"description": "Let one video generation cover several timed shots and camera angles. Adjacent script blocks are grouped into takes."
},
"storyboard": {
"type": "boolean",
"description": "Generate one approved storyboard sheet instead of per-scene keyframes and use it as the video reference. Implies multi_shot."
},
"video_model": {
"type": "string",
"maxLength": 200,
"minLength": 3
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"clip_seconds": {
"type": "integer",
"maximum": 60,
"minimum": 4,
"description": "Target length of each multi-shot generation. Defaults to 15, or the model maximum when lower."
},
"story_kit_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"visual_style": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"character_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxItems": 8
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"image_model_id": {
"type": "string",
"maxLength": 200,
"minLength": 3
},
"caption_style_id": {
"type": "string",
"maxLength": 200
},
"include_captions": {
"type": "boolean"
},
"planner_model_id": {
"type": "string",
"maxLength": 200,
"minLength": 3
},
"confirmScriptApproved": {
"type": "boolean",
"const": true
},
"generate_sound_effects": {
"type": "boolean"
},
"target_duration_seconds": {
"type": "number",
"maximum": 120,
"minimum": 10
},
"use_seamless_transitions": {
"type": "boolean",
"description": "Chain each scene's clip into the next with end frames. Applies only to video models that support end frames."
},
"generate_background_music": {
"type": "boolean"
},
"style_reference_asset_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxItems": 10
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}video_storyboard_get — Review Video Storyboard
Read one authorized storyboard revision, its scene and reference previews, estimate, approvals and bounded polling guidance. Refreshes signed previews. Complete means the editable timeline is assembled; use exports_start and exports_list for a downloadable MP4.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"projectId",
"revisionId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"revisionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}video_storyboard_revise — Revise Selected Storyboard Scenes
Create a new immutable draft from a known revision with selected scene, character or model changes. Preserves other scene definitions; requires review and production approval again. Does not generate media or overwrite an approved revision.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"revisionId",
"workspaceId",
"idempotencyKey"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"revisionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"video_model": {
"type": "string",
"maxLength": 200,
"minLength": 3
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"scene_updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"scene_index"
],
"properties": {
"shots": {
"type": "array",
"items": {
"type": "object",
"required": [
"camera",
"action",
"duration_seconds"
],
"properties": {
"line": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "The line spoken during this shot, as captions spell it. Needs speaker_character_id. Only scenes created with several spoken lines accept it."
},
"action": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"camera": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"spoken": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "Phonetic spelling the video model says in place of line, for numbers and acronyms."
},
"delivery": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Acting direction for the line, two to four words."
},
"duration_seconds": {
"type": "number",
"maximum": 60,
"minimum": 1
},
"speaker_character_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 8,
"minItems": 1,
"description": "Replaces the scene's shots. Durations are scaled to fit the scene exactly. On a scene with spoken lines, the shots carry the lines in speaking order."
},
"title": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"end_frame": {
"anyOf": [
{
"type": "object",
"required": [
"source",
"edit_prompt"
],
"properties": {
"source": {
"enum": [
"edit_of_start",
"next_scene_start"
],
"type": "string",
"description": "edit_of_start edits the scene's approved keyframe as edit_prompt says; next_scene_start ends on the next scene's keyframe."
},
"edit_prompt": {
"anyOf": [
{
"type": "string",
"maxLength": 1000,
"minLength": 1
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Where the clip ends. Null removes the end frame. Needs a video model that supports end frames."
},
"scene_index": {
"type": "integer",
"maximum": 39,
"minimum": 0
},
"start_frame": {
"enum": [
"keyframe",
"previous_last_frame"
],
"type": "string",
"description": "previous_last_frame starts the clip on the last frame of the previous scene's clip."
},
"image_prompt": {
"type": "string",
"maxLength": 5000,
"minLength": 1
},
"character_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 2
},
"motion_prompt": {
"type": "string",
"maxLength": 5000,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"image_model_id": {
"type": "string",
"maxLength": 200,
"minLength": 3
},
"character_updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"character_id"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"character_id": {
"type": "string",
"minLength": 1
},
"anchor_prompt": {
"type": "string",
"maxLength": 3000,
"minLength": 1
},
"canonical_description": {
"type": "string",
"maxLength": 3000,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 8
},
"style_anchor_prompt": {
"type": "string",
"maxLength": 3000,
"minLength": 1,
"description": "Self-contained prompt for the single reference frame that locks rendering medium, palette, lighting, and grain for every scene. No characters, no text, no interfaces."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}video_storyboard_approve — Approve Storyboard Previews
After showing the storyboard and its credit estimate, confirmApproved=true starts production of reference images and scene keyframes. Spends existing credits. This stage produces reviewable previews, not animated videos.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"projectId",
"revisionId",
"confirmApproved"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"revisionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"confirmApproved": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}video_assets_approve — Approve Previews and Produce Video
After the user approves the generated previews and animation cost, confirmApproved=true starts scene animation, narration and editable timeline assembly. Can replace the project's generated timeline and spend existing credits. Follow the revision and then export the finished project.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"projectId",
"revisionId",
"confirmApproved"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"revisionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"confirmApproved": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}video_storyboard_asset_regenerate — Regenerate Selected Storyboard Preview
Replace the identified preview after user approval of the new credit cost. A scene_keyframe changes one keyframe; a character_anchor refreshes its dependent keyframes; a style_anchor refreshes every keyframe. Preserves unaffected previews. Does not regenerate an already finished video shot.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"revisionId",
"asset_type",
"workspaceId",
"idempotencyKey",
"confirmRegeneration"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"asset_type": {
"enum": [
"storyboard",
"style_anchor",
"character_anchor",
"scene_keyframe",
"scene_end_frame"
],
"type": "string",
"description": "storyboard regenerates the sheet on storyboard plans; style_anchor regenerates the shared style reference and everything built on it; character_anchor requires character_id and refreshes dependent keyframes or the sheet; scene_keyframe requires scene_index and also redoes that scene's edited end frame; scene_end_frame requires scene_index and redoes only the edited end frame."
},
"revisionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"scene_index": {
"type": "integer",
"maximum": 39,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"character_id": {
"type": "string",
"minLength": 1
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"confirmRegeneration": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}recording_sets_list — List Synchronized Recordings
Read bounded camera and screen recording sets in the selected workspace with status, duration and alignment warnings.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"status",
"limit",
"offset"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"status": {
"anyOf": [
{
"enum": [
"collecting_assets",
"analyzing",
"finalizing",
"ready",
"failed"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}recording_sets_get — Inspect Synchronized Recording
Read one camera and screen recording set, its primary speaker, content windows, alignment and warnings. Separate audio-only tracks are not supported.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"recordingSetId"
],
"properties": {
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"recordingSetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}recording_sets_create — Create Synchronized Recording
Create an empty camera and screen recording set in the explicit workspace. Requires existing recording-set access; does not import files or start processing.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}recording_sets_track_attach — Attach Camera or Screen Recording
Attach one existing authorized video asset as a camera or screen track. Specify the main speaker when known; alignment happens during finalization.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"recordingSetId",
"asset_id",
"role",
"participant_label",
"participant_name",
"is_primary"
],
"properties": {
"role": {
"enum": [
"camera",
"screen"
],
"type": "string"
},
"asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"is_primary": {
"type": "boolean",
"default": false
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"recordingSetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"participant_name": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"default": null
},
"participant_label": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}recording_sets_finalize — Synchronize Recording Tracks
Finalize the collected camera and screen tracks and queue analysis. Can spend existing transcription credits. Inspect returned alignment and warnings before clipping.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"recordingSetId"
],
"properties": {
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"recordingSetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}recording_sets_clips_create — Clip a Synchronized Recording
Produce a batch from a ready synchronized camera and screen recording, with optional clip count, maximum duration and caption look. Preserves readable screen context through the existing layout pipeline. Can spend existing credits; follows clips_get with the returned batch_id.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"recordingSetId",
"clipCount",
"maxDurationSeconds",
"captionThemeId"
],
"properties": {
"clipCount": {
"anyOf": [
{
"type": "integer",
"maximum": 30,
"minimum": 1
},
{
"type": "null"
}
],
"default": null
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"captionThemeId": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"recordingSetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxDurationSeconds": {
"anyOf": [
{
"type": "integer",
"const": 30
},
{
"type": "integer",
"const": 60
},
{
"type": "integer",
"const": 90
},
{
"type": "integer",
"const": 180
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}clip_share_get — Read Clip Review Link
Read whether the source video's clip share page is public and which clips are visible. Does not publish content.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}clip_share_publish — Publish a Clip Review Link
Make the selected source video's clip page public with reviewed title, description and explicit download permission. Requires confirmPublicSharing=true from the user. Returns the verified public URL; no social network post is made.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"assetId",
"title",
"description",
"allowDownloads",
"confirmPublicSharing"
],
"properties": {
"title": {
"type": "string",
"maxLength": 140,
"minLength": 1
},
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"description": {
"type": "string",
"default": "",
"maxLength": 500
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"allowDownloads": {
"type": "boolean"
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"confirmPublicSharing": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}clip_share_unpublish — Unpublish a Clip Review Link
Disable public access to the selected clip page. Changes an existing publication; preserves private projects and exports.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}clip_share_visibility_set — Set Shared Clip Visibility
Show or hide one identified clip on an existing public review page after explicit user confirmation. Preserves the other clips and private project data.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"assetId",
"clipId",
"visibility",
"confirmPublicSharing"
],
"properties": {
"clipId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"visibility": {
"enum": [
"visible",
"hidden"
],
"type": "string"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"confirmPublicSharing": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}projects_list — List Projects
List the user's BlitzReels projects with status, duration, and basic metadata.
{
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "Maximum number of projects to return (1-50)"
},
"offset": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Project offset."
},
"search": {
"type": "string",
"description": "Search projects by name"
},
"status": {
"enum": [
"active",
"archived",
"all"
],
"type": "string",
"default": "active",
"description": "Filter by project status"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"projects",
"bounds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"projects": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"description",
"updatedAt",
"lastExportAt",
"durationSeconds",
"clipCount",
"thumbnailUrl",
"status",
"projectUrl"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"enum": [
"ready",
"exporting",
"needs_captions",
"processing",
"failed"
],
"type": "string"
},
"clipCount": {
"type": "number"
},
"updatedAt": {
"type": "string"
},
"projectUrl": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"lastExportAt": {
"type": [
"string",
"null"
]
},
"thumbnailUrl": {
"type": [
"string",
"null"
]
},
"durationSeconds": {
"type": "number"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}projects_get — Get Project
Get details for one BlitzReels project, including timeline summary, clips, captions, and current recovery state with an app path and next read tool.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"description": "The project ID to get details for. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"project"
],
"properties": {
"error": {
"type": "string"
},
"project": {
"type": [
"object",
"null"
]
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}projects_duplicate — Duplicate Project
Duplicate a project with shared source media and copied timeline, captions, settings and framing. Returns clip_id for copied clip projects. Reuse idempotencyKey only with identical inputs.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"workspaceId",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8
},
"projectFolderId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"series_id",
"id",
"name",
"description",
"aspect_ratio",
"status",
"created_at",
"updated_at",
"clip_id"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"type": "string"
},
"clip_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"series_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"aspect_ratio": {
"anyOf": [
{
"enum": [
"9:16",
"16:9",
"1:1",
"4:5"
],
"type": "string"
},
{
"type": "null"
}
]
},
"thumbnail_url": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}projects_inspect — Inspect Project
Read bounded project context for editing, including timeline items, media assets, transcripts, captions, and stable IDs.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"mode": {
"enum": [
"summary",
"assets",
"timeline",
"transcript",
"full"
],
"type": "string",
"default": "timeline",
"description": "Bounded project context view to return."
},
"search": {
"type": "string",
"description": "Optional media search when mode is assets or full."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Project UUID. UUID string."
},
"assetLimit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum media assets to return (1-50)."
},
"assetOffset": {
"type": "integer",
"minimum": 0,
"description": "Media asset offset."
},
"timelineLimit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum timeline items to return (1-1000)."
},
"timelineOffset": {
"type": "integer",
"minimum": 0,
"description": "Timeline item offset."
},
"transcriptLimit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Maximum transcript segments to return (1-500)."
},
"captionWordLimit": {
"type": "integer",
"maximum": 2000,
"minimum": 1,
"description": "Maximum caption words to return (1-2000)."
},
"transcriptOffset": {
"type": "integer",
"minimum": 0,
"description": "Transcript segment offset."
},
"captionWordOffset": {
"type": "integer",
"minimum": 0,
"description": "Caption word offset."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"mode",
"data",
"bounds"
],
"properties": {
"data": {
"type": "object"
},
"mode": {
"enum": [
"summary",
"assets",
"timeline",
"transcript",
"full"
],
"type": "string"
},
"bounds": {
"type": "object",
"required": [
"collections"
],
"properties": {
"collections": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"offset",
"limit",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"name": {
"type": "string"
},
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
}
}
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}exports_list — List Exports
List exports with render status and progress. Completed exports include a signed download URL. Pass exportId to return one export.
{
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum exports to return when exportId is absent (1-50)."
},
"offset": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Export offset when exportId is absent."
},
"exportId": {
"type": "string",
"format": "uuid",
"description": "Return only this export, including its signed download URL when the render is complete. UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Filter exports by project ID. UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"exports",
"bounds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"exports": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}exports_caption_track_get — Read Export Caption Track
Read a WebVTT caption track from the completed export's immutable canonical speech snapshot, preserving the actual export trims. Returns unavailable for older exports or unverified speech; never fabricates captions from titles or current edited timelines.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"exportId"
],
"properties": {
"exportId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}editor_asset_replace — editor asset replace
Replace one shot's media asset while preserving the other timeline items. Revision checked; dryRun previews by default. Requires a current editor snapshot and an asset in the same workspace.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"itemId",
"assetId",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"dryRun": {
"type": "boolean",
"default": true
},
"itemId": {
"type": "string"
},
"assetId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}editor_audio_set — editor audio set
Adjust one item's volume and audio fades. Revision checked; dryRun previews by default. Preserves the rest of the project.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"itemId",
"volume",
"fadeInSeconds",
"fadeOutSeconds",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"dryRun": {
"type": "boolean",
"default": true
},
"itemId": {
"type": "string"
},
"volume": {
"type": "number",
"maximum": 2,
"minimum": 0
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"fadeInSeconds": {
"type": "number",
"minimum": 0
},
"fadeOutSeconds": {
"type": "number",
"minimum": 0
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}editor_text_set — editor text set
Create or revise one title or text overlay with explicit timing. Revision checked; dryRun previews by default. This edits project text, not spoken audio or captions.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"itemId",
"text",
"textKind",
"spec",
"startSeconds",
"durationSeconds",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"spec": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"text": {
"type": "string",
"minLength": 1
},
"dryRun": {
"type": "boolean",
"default": true
},
"itemId": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"textKind": {
"enum": [
"overlay",
"title_card",
"lower_third"
],
"type": "string"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"durationSeconds": {
"type": "number",
"minimum": 0,
"exclusiveMinimum": 0
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}editor_composition_edit — editor composition edit
Edit composition elements by stable element ID from the editor snapshot: text content, style and animation. Content/style edits preserve placement timing. Optional edit.structure runs ordered insert/move/remove operations before changes. Group by inserting a group and moving children into it. Supply new unique IDs; beforeId null appends. Move coordinates preserveLocal keeps local style and frame offsets, not world position/time. Remove deletes the subtree. Preview reports affected and removed element IDs. Optional edit.duration sets source frames with explicit placements policy: preserve keeps visible windows and syncs unused tails; resizeAll preserves starts/trims and resizes all active placements. Source windows must fit; invalid shortening is rejected. Shared content changes affect all its placements. Omitted fields stay unchanged; null clears a style override; animation values replace the whole property's animation. Attached presets require explicit detachment. Revision checked; dryRun previews by default.
{
"type": "object",
"$defs": {
"__schema0": {
"enum": [
"preserve",
"detach"
],
"type": "string"
},
"__schema1": {
"type": "object",
"required": [
"frames",
"placements"
],
"properties": {
"frames": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"placements": {
"enum": [
"preserve",
"resizeAll"
],
"type": "string"
}
},
"additionalProperties": false
},
"__schema2": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema3"
},
"maxItems": 500,
"minItems": 1
},
"__schema3": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"element",
"into",
"beforeId"
],
"properties": {
"into": {
"$ref": "#/$defs/__schema95"
},
"kind": {
"type": "string",
"const": "insert"
},
"element": {
"$ref": "#/$defs/__schema4"
},
"beforeId": {
"$ref": "#/$defs/__schema96"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"elementId",
"into",
"beforeId",
"coordinates"
],
"properties": {
"into": {
"$ref": "#/$defs/__schema95"
},
"kind": {
"type": "string",
"const": "move"
},
"beforeId": {
"$ref": "#/$defs/__schema96"
},
"elementId": {
"type": "string",
"minLength": 1
},
"coordinates": {
"type": "string",
"const": "preserveLocal"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"elementId"
],
"properties": {
"kind": {
"type": "string",
"const": "remove"
},
"elementId": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"__schema4": {
"oneOf": [
{
"type": "object",
"required": [
"id",
"type",
"content"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema5"
},
"from": {
"$ref": "#/$defs/__schema7"
},
"name": {
"$ref": "#/$defs/__schema6"
},
"runs": {
"$ref": "#/$defs/__schema88"
},
"type": {
"type": "string",
"const": "text"
},
"style": {
"$ref": "#/$defs/__schema10"
},
"layout": {
"$ref": "#/$defs/__schema87"
},
"content": {
"type": "string"
},
"highlight": {
"type": "object",
"required": [
"words",
"color"
],
"properties": {
"color": {
"type": "string"
},
"words": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"stagger": {
"type": "number"
}
},
"additionalProperties": false
},
"typewriter": {
"type": "object",
"properties": {
"delay": {
"type": "number",
"minimum": 0
},
"cursor": {
"type": "boolean"
},
"charsPerFrame": {
"type": "number",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"premountFor": {
"$ref": "#/$defs/__schema9"
},
"durationInFrames": {
"$ref": "#/$defs/__schema8"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"id",
"type",
"shape"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema5"
},
"fill": {
"type": "string"
},
"from": {
"$ref": "#/$defs/__schema7"
},
"name": {
"$ref": "#/$defs/__schema6"
},
"path": {
"type": "string"
},
"type": {
"type": "string",
"const": "shape"
},
"shape": {
"enum": [
"rectangle",
"circle",
"ellipse",
"line",
"arrow",
"polygon",
"star"
],
"type": "string"
},
"style": {
"$ref": "#/$defs/__schema10"
},
"layout": {
"$ref": "#/$defs/__schema87"
},
"points": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 3
},
"stroke": {
"type": "string"
},
"endPoint": {
"type": "object",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"additionalProperties": false
},
"pathData": {
"type": "string"
},
"fillColor": {
"type": "string"
},
"startPoint": {
"type": "object",
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"additionalProperties": false
},
"innerRadius": {
"type": "number"
},
"premountFor": {
"$ref": "#/$defs/__schema9"
},
"strokeColor": {
"type": "string"
},
"strokeWidth": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"durationInFrames": {
"$ref": "#/$defs/__schema8"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"id",
"type",
"src"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema5"
},
"fit": {
"enum": [
"cover",
"contain",
"fill",
"none"
],
"type": "string"
},
"src": {
"type": "string"
},
"from": {
"$ref": "#/$defs/__schema7"
},
"name": {
"$ref": "#/$defs/__schema6"
},
"type": {
"type": "string",
"const": "image"
},
"zoom": {
"$ref": "#/$defs/__schema94",
"description": "Zoom of the photo inside its box; 1 fills the box. style.objectPosition pans it."
},
"style": {
"$ref": "#/$defs/__schema10"
},
"layout": {
"$ref": "#/$defs/__schema87"
},
"kenBurns": {
"type": "object",
"required": [
"startScale",
"endScale"
],
"properties": {
"endX": {
"type": "number"
},
"endY": {
"type": "number"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"endScale": {
"type": "number"
},
"startScale": {
"type": "number"
}
},
"additionalProperties": false
},
"objectFit": {
"enum": [
"cover",
"contain",
"fill",
"none"
],
"type": "string"
},
"premountFor": {
"$ref": "#/$defs/__schema9"
},
"durationInFrames": {
"$ref": "#/$defs/__schema8"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"id",
"type",
"src"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema5"
},
"fit": {
"enum": [
"cover",
"contain",
"fill"
],
"type": "string"
},
"src": {
"type": "string"
},
"from": {
"$ref": "#/$defs/__schema7"
},
"loop": {
"type": "boolean"
},
"name": {
"$ref": "#/$defs/__schema6"
},
"type": {
"type": "string",
"const": "video"
},
"endAt": {
"type": "number",
"minimum": 0
},
"muted": {
"type": "boolean"
},
"style": {
"$ref": "#/$defs/__schema10"
},
"layout": {
"$ref": "#/$defs/__schema87"
},
"volume": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"startFrom": {
"type": "number",
"minimum": 0
},
"premountFor": {
"$ref": "#/$defs/__schema9"
},
"playbackRate": {
"type": "number",
"exclusiveMinimum": 0
},
"durationInFrames": {
"$ref": "#/$defs/__schema8"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"id",
"type",
"src"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema5"
},
"src": {
"type": "string"
},
"from": {
"$ref": "#/$defs/__schema7"
},
"loop": {
"type": "boolean"
},
"name": {
"$ref": "#/$defs/__schema6"
},
"type": {
"type": "string",
"const": "audio"
},
"endAt": {
"type": "number",
"minimum": 0
},
"style": {
"$ref": "#/$defs/__schema10"
},
"layout": {
"$ref": "#/$defs/__schema87"
},
"volume": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"startFrom": {
"type": "number",
"minimum": 0
},
"premountFor": {
"$ref": "#/$defs/__schema9"
},
"playbackRate": {
"type": "number",
"exclusiveMinimum": 0
},
"durationInFrames": {
"$ref": "#/$defs/__schema8"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"id",
"type",
"chartType",
"data"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema5"
},
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"value"
],
"properties": {
"color": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "number"
}
},
"additionalProperties": false
}
},
"from": {
"$ref": "#/$defs/__schema7"
},
"name": {
"$ref": "#/$defs/__schema6"
},
"type": {
"type": "string",
"const": "chart"
},
"style": {
"$ref": "#/$defs/__schema10"
},
"layout": {
"$ref": "#/$defs/__schema87"
},
"stagger": {
"type": "number"
},
"chartType": {
"enum": [
"bar",
"pie",
"line",
"area",
"donut"
],
"type": "string"
},
"showLabels": {
"type": "boolean"
},
"showValues": {
"type": "boolean"
},
"animateFrom": {
"enum": [
"bottom",
"left",
"center"
],
"type": "string"
},
"premountFor": {
"$ref": "#/$defs/__schema9"
},
"staggerDelay": {
"type": "number"
},
"durationInFrames": {
"$ref": "#/$defs/__schema8"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"id",
"type",
"code",
"language"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema5"
},
"code": {
"type": "string"
},
"from": {
"$ref": "#/$defs/__schema7"
},
"name": {
"$ref": "#/$defs/__schema6"
},
"type": {
"type": "string",
"const": "code"
},
"style": {
"$ref": "#/$defs/__schema10"
},
"theme": {
"enum": [
"dark",
"light",
"monokai",
"github",
"dracula"
],
"type": "string"
},
"layout": {
"$ref": "#/$defs/__schema87"
},
"reveal": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"typewriter",
"line-by-line",
"instant"
],
"type": "string"
},
"speed": {
"type": "number",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"language": {
"type": "string"
},
"lineByLine": {
"type": "object",
"required": [
"stagger"
],
"properties": {
"stagger": {
"type": "number"
}
},
"additionalProperties": false
},
"typewriter": {
"type": "boolean"
},
"premountFor": {
"$ref": "#/$defs/__schema9"
},
"highlightLines": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"showLineNumbers": {
"type": "boolean"
},
"durationInFrames": {
"$ref": "#/$defs/__schema8"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"id",
"type",
"svg"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema5"
},
"svg": {
"type": "string"
},
"from": {
"$ref": "#/$defs/__schema7"
},
"name": {
"$ref": "#/$defs/__schema6"
},
"type": {
"type": "string",
"const": "svg"
},
"style": {
"$ref": "#/$defs/__schema10"
},
"layout": {
"$ref": "#/$defs/__schema87"
},
"content": {
"type": "string"
},
"viewBox": {
"type": "string"
},
"animatePath": {
"type": "object",
"required": [
"type"
],
"properties": {
"fill": {
"type": "string"
},
"type": {
"enum": [
"draw",
"morph"
],
"type": "string"
},
"stroke": {
"type": "string"
},
"progress": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"targetPath": {
"type": "string"
},
"strokeWidth": {
"type": "number"
}
},
"additionalProperties": false
},
"premountFor": {
"$ref": "#/$defs/__schema9"
},
"strokeDasharray": {
"type": "string"
},
"durationInFrames": {
"$ref": "#/$defs/__schema8"
},
"strokeDashoffset": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"preserveAspectRatio": {
"enum": [
"none",
"xMinYMin",
"xMidYMin",
"xMaxYMin",
"xMinYMid",
"xMidYMid",
"xMaxYMid",
"xMinYMax",
"xMidYMax"
],
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"id",
"type",
"children"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema5"
},
"from": {
"$ref": "#/$defs/__schema7"
},
"name": {
"$ref": "#/$defs/__schema6"
},
"type": {
"type": "string",
"const": "group"
},
"style": {
"$ref": "#/$defs/__schema10"
},
"layout": {
"$ref": "#/$defs/__schema87"
},
"series": {
"type": "boolean"
},
"children": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema4"
}
},
"premountFor": {
"$ref": "#/$defs/__schema9"
},
"durationInFrames": {
"$ref": "#/$defs/__schema8"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"id",
"type",
"animationData"
],
"properties": {
"id": {
"$ref": "#/$defs/__schema5"
},
"from": {
"$ref": "#/$defs/__schema7"
},
"loop": {
"type": "boolean"
},
"name": {
"$ref": "#/$defs/__schema6"
},
"type": {
"type": "string",
"const": "lottie"
},
"style": {
"$ref": "#/$defs/__schema10"
},
"layout": {
"$ref": "#/$defs/__schema87"
},
"renderer": {
"enum": [
"svg",
"canvas",
"html"
],
"type": "string"
},
"direction": {
"enum": [
"forward",
"backward"
],
"type": "string"
},
"assetsPath": {
"type": "string"
},
"premountFor": {
"$ref": "#/$defs/__schema9"
},
"playbackRate": {
"type": "number",
"exclusiveMinimum": 0
},
"animationData": {
"anyOf": [
{
"type": "object",
"required": [
"fr",
"w",
"h",
"op"
],
"properties": {
"h": {
"type": "number",
"exclusiveMinimum": 0
},
"w": {
"type": "number",
"exclusiveMinimum": 0
},
"fr": {
"type": "number",
"exclusiveMinimum": 0
},
"ip": {
"type": "number"
},
"op": {
"type": "number"
},
"assets": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"layers": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"additionalProperties": {}
},
{
"type": "string"
}
]
},
"sourceAssetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"durationInFrames": {
"$ref": "#/$defs/__schema8"
},
"preserveAspectRatio": {
"enum": [
"none",
"xMinYMin",
"xMidYMin",
"xMaxYMin",
"xMinYMid",
"xMidYMid",
"xMaxYMid",
"xMinYMax",
"xMidYMax"
],
"type": "string"
}
},
"additionalProperties": false
}
]
},
"__schema5": {
"type": "string",
"minLength": 1
},
"__schema6": {
"type": "string"
},
"__schema7": {
"type": "number",
"minimum": 0
},
"__schema8": {
"type": "number",
"exclusiveMinimum": 0
},
"__schema9": {
"type": "number",
"minimum": 0
},
"__schema10": {
"$ref": "#/$defs/CompositionAnimatedStyle"
},
"__schema11": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema12": {
"type": "number"
},
"__schema13": {
"type": "string"
},
"__schema14": {
"type": "object",
"required": [
"timing"
],
"properties": {
"timing": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"inputRange",
"outputRange"
],
"properties": {
"type": {
"type": "string",
"const": "interpolate"
},
"easing": {
"$ref": "#/$defs/__schema17"
},
"inputRange": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema15"
},
"minItems": 2
},
"outputRange": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema16"
},
"minItems": 2
},
"extrapolateLeft": {
"enum": [
"clamp",
"extend",
"identity"
],
"type": "string"
},
"extrapolateRight": {
"enum": [
"clamp",
"extend",
"identity"
],
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "spring"
},
"delay": {
"type": "number"
},
"config": {
"anyOf": [
{
"type": "object",
"properties": {
"mass": {
"type": "number"
},
"damping": {
"type": "number"
},
"stiffness": {
"type": "number"
},
"overshootClamping": {
"type": "boolean"
}
},
"additionalProperties": false
},
{
"enum": [
"smooth",
"snappy",
"bouncy",
"heavy",
"gentle"
],
"type": "string"
}
]
},
"durationInFrames": {
"type": "number",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
]
}
},
"additionalProperties": false
},
"__schema15": {
"type": "number"
},
"__schema16": {
"type": "number"
},
"__schema17": {
"oneOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "linear"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"curve"
],
"properties": {
"type": {
"enum": [
"in",
"out",
"inOut"
],
"type": "string"
},
"curve": {
"enum": [
"quad",
"sin",
"exp",
"circle",
"cubic",
"elastic",
"bounce"
],
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"points"
],
"properties": {
"type": {
"type": "string",
"const": "bezier"
},
"points": {
"type": "array",
"items": false,
"maxItems": 4,
"minItems": 4,
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
]
}
},
"additionalProperties": false
}
]
},
"__schema18": {
"type": "object",
"required": [
"keyframes"
],
"properties": {
"keyframes": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema19"
},
"minItems": 1
}
},
"additionalProperties": false
},
"__schema19": {
"type": "object",
"required": [
"frame",
"value"
],
"properties": {
"frame": {
"type": "number",
"minimum": 0
},
"value": {
"type": "number"
},
"easing": {
"$ref": "#/$defs/__schema17"
}
},
"additionalProperties": false
},
"__schema20": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema21": {
"type": "string"
},
"__schema22": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema23": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema24": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema25": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema26": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema27": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema28": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema29": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema30": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema31": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema32": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema33": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema34": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema35": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema36": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema37": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema38": {
"type": "string"
},
"__schema39": {
"type": "string"
},
"__schema40": {
"type": "string"
},
"__schema41": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema42": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema43": {
"enum": [
"solid",
"dashed",
"dotted",
"none"
],
"type": "string"
},
"__schema44": {
"type": "string"
},
"__schema45": {
"type": "string"
},
"__schema46": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema47": {
"type": "string"
},
"__schema48": {
"type": "string"
},
"__schema49": {
"type": [
"number",
"string"
]
},
"__schema50": {
"type": [
"number",
"string"
]
},
"__schema51": {
"type": [
"number",
"string"
]
},
"__schema52": {
"enum": [
"flex",
"block",
"inline",
"inline-flex",
"grid",
"none",
"-webkit-box"
],
"type": "string"
},
"__schema53": {
"enum": [
"row",
"column",
"row-reverse",
"column-reverse"
],
"type": "string"
},
"__schema54": {
"enum": [
"flex-start",
"flex-end",
"center",
"space-between",
"space-around",
"space-evenly"
],
"type": "string"
},
"__schema55": {
"enum": [
"flex-start",
"flex-end",
"center",
"stretch",
"baseline"
],
"type": "string"
},
"__schema56": {
"enum": [
"wrap",
"nowrap",
"wrap-reverse"
],
"type": "string"
},
"__schema57": {
"enum": [
"relative",
"absolute",
"fixed"
],
"type": "string"
},
"__schema58": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema59": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema60": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema61": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema62": {
"type": "number"
},
"__schema63": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema64": {
"type": [
"number",
"string"
]
},
"__schema65": {
"type": "string"
},
"__schema66": {
"enum": [
"left",
"center",
"right",
"justify"
],
"type": "string"
},
"__schema67": {
"type": [
"number",
"string"
]
},
"__schema68": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema69": {
"enum": [
"none",
"uppercase",
"lowercase",
"capitalize"
],
"type": "string"
},
"__schema70": {
"enum": [
"normal",
"nowrap",
"pre",
"pre-wrap",
"pre-line"
],
"type": "string"
},
"__schema71": {
"enum": [
"clip",
"ellipsis"
],
"type": "string"
},
"__schema72": {
"enum": [
"wrap",
"nowrap",
"balance",
"pretty"
],
"type": "string"
},
"__schema73": {
"enum": [
"border-box",
"content-box"
],
"type": "string"
},
"__schema74": {
"enum": [
"horizontal",
"vertical"
],
"type": "string"
},
"__schema75": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"__schema76": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema77": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema78": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema79": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema80": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema81": {
"$ref": "#/$defs/CompositionAnimatedValue"
},
"__schema82": {
"type": "string"
},
"__schema83": {
"type": "string",
"pattern": "^\\d{1,3}% \\d{1,3}%$"
},
"__schema84": {
"enum": [
"visible",
"hidden",
"scroll",
"auto"
],
"type": "string"
},
"__schema85": {
"enum": [
"slice",
"clone"
],
"type": "string"
},
"__schema86": {
"enum": [
"connected",
"reverse-radius"
],
"type": "string"
},
"__schema87": {
"enum": [
"none",
"absolute-fill"
],
"type": "string"
},
"__schema88": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema89"
},
"maxItems": 400
},
"__schema89": {
"type": "object",
"required": [
"start",
"end",
"style"
],
"properties": {
"end": {
"$ref": "#/$defs/__schema91"
},
"start": {
"$ref": "#/$defs/__schema90"
},
"style": {
"$ref": "#/$defs/__schema92"
}
},
"additionalProperties": false
},
"__schema90": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"__schema91": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
"__schema92": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"italic": {
"type": "boolean"
},
"fontScale": {
"$ref": "#/$defs/__schema93",
"description": "1.5 = 150% of the element font size"
},
"underline": {
"type": "boolean"
},
"fontFamily": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"fontWeight": {
"type": "integer",
"maximum": 900,
"minimum": 100
},
"backgroundColor": {
"type": "string",
"maxLength": 160,
"minLength": 1
}
},
"additionalProperties": false
},
"__schema93": {
"type": "number",
"maximum": 4,
"minimum": 0.25
},
"__schema94": {
"type": "number",
"maximum": 5,
"minimum": 1
},
"__schema95": {
"oneOf": [
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "composition"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"sceneId"
],
"properties": {
"type": {
"type": "string",
"const": "scene"
},
"sceneId": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"elementId"
],
"properties": {
"type": {
"type": "string",
"const": "group"
},
"elementId": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"__schema96": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"__schema97": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema98"
},
"maxItems": 500
},
"__schema98": {
"type": "object",
"required": [
"elementId"
],
"properties": {
"src": {
"$ref": "#/$defs/__schema172"
},
"runs": {
"$ref": "#/$defs/__schema170"
},
"style": {
"$ref": "#/$defs/__schema101"
},
"content": {
"$ref": "#/$defs/__schema100"
},
"elementId": {
"$ref": "#/$defs/__schema99"
}
},
"additionalProperties": false
},
"__schema99": {
"type": "string",
"minLength": 1
},
"__schema100": {
"type": "string"
},
"__schema101": {
"type": "object",
"properties": {
"x": {
"$ref": "#/$defs/__schema102"
},
"y": {
"$ref": "#/$defs/__schema103"
},
"gap": {
"$ref": "#/$defs/__schema134"
},
"top": {
"$ref": "#/$defs/__schema141"
},
"blur": {
"$ref": "#/$defs/__schema159"
},
"left": {
"$ref": "#/$defs/__schema142"
},
"color": {
"$ref": "#/$defs/__schema122"
},
"right": {
"$ref": "#/$defs/__schema143"
},
"scale": {
"$ref": "#/$defs/__schema105"
},
"skewX": {
"$ref": "#/$defs/__schema112"
},
"skewY": {
"$ref": "#/$defs/__schema113"
},
"width": {
"$ref": "#/$defs/__schema115"
},
"bottom": {
"$ref": "#/$defs/__schema144"
},
"height": {
"$ref": "#/$defs/__schema116"
},
"margin": {
"$ref": "#/$defs/__schema133"
},
"rotate": {
"$ref": "#/$defs/__schema108"
},
"scaleX": {
"$ref": "#/$defs/__schema106"
},
"scaleY": {
"$ref": "#/$defs/__schema107"
},
"zIndex": {
"$ref": "#/$defs/__schema145"
},
"display": {
"$ref": "#/$defs/__schema135"
},
"opacity": {
"$ref": "#/$defs/__schema114"
},
"padding": {
"$ref": "#/$defs/__schema132"
},
"rotateX": {
"$ref": "#/$defs/__schema109"
},
"rotateY": {
"$ref": "#/$defs/__schema110"
},
"rotateZ": {
"$ref": "#/$defs/__schema111"
},
"clipPath": {
"$ref": "#/$defs/__schema165"
},
"contrast": {
"$ref": "#/$defs/__schema161"
},
"flexWrap": {
"$ref": "#/$defs/__schema139"
},
"fontSize": {
"$ref": "#/$defs/__schema146"
},
"maxWidth": {
"$ref": "#/$defs/__schema118"
},
"minWidth": {
"$ref": "#/$defs/__schema117"
},
"overflow": {
"$ref": "#/$defs/__schema167"
},
"position": {
"$ref": "#/$defs/__schema140"
},
"saturate": {
"$ref": "#/$defs/__schema162"
},
"textWrap": {
"$ref": "#/$defs/__schema155"
},
"boxShadow": {
"$ref": "#/$defs/__schema127"
},
"boxSizing": {
"$ref": "#/$defs/__schema156"
},
"grayscale": {
"$ref": "#/$defs/__schema163"
},
"hueRotate": {
"$ref": "#/$defs/__schema164"
},
"maxHeight": {
"$ref": "#/$defs/__schema120"
},
"minHeight": {
"$ref": "#/$defs/__schema119"
},
"textAlign": {
"$ref": "#/$defs/__schema149"
},
"transform": {
"$ref": "#/$defs/__schema104"
},
"alignItems": {
"$ref": "#/$defs/__schema138"
},
"brightness": {
"$ref": "#/$defs/__schema160"
},
"fontFamily": {
"$ref": "#/$defs/__schema148"
},
"fontWeight": {
"$ref": "#/$defs/__schema147"
},
"lineHeight": {
"$ref": "#/$defs/__schema150"
},
"textShadow": {
"$ref": "#/$defs/__schema128"
},
"whiteSpace": {
"$ref": "#/$defs/__schema153"
},
"borderColor": {
"$ref": "#/$defs/__schema123"
},
"borderStyle": {
"$ref": "#/$defs/__schema126"
},
"borderWidth": {
"$ref": "#/$defs/__schema124"
},
"borderRadius": {
"$ref": "#/$defs/__schema125"
},
"textOverflow": {
"$ref": "#/$defs/__schema154"
},
"flexDirection": {
"$ref": "#/$defs/__schema136"
},
"letterSpacing": {
"$ref": "#/$defs/__schema151"
},
"textTransform": {
"$ref": "#/$defs/__schema152"
},
"justifyContent": {
"$ref": "#/$defs/__schema137"
},
"objectPosition": {
"$ref": "#/$defs/__schema166"
},
"WebkitBoxOrient": {
"$ref": "#/$defs/__schema157"
},
"WebkitLineClamp": {
"$ref": "#/$defs/__schema158"
},
"backgroundColor": {
"$ref": "#/$defs/__schema121"
},
"bubbleJoinStyle": {
"$ref": "#/$defs/__schema169"
},
"boxDecorationBreak": {
"$ref": "#/$defs/__schema168"
},
"WebkitTextFillColor": {
"$ref": "#/$defs/__schema131"
},
"WebkitTextStrokeColor": {
"$ref": "#/$defs/__schema130"
},
"WebkitTextStrokeWidth": {
"$ref": "#/$defs/__schema129"
}
},
"additionalProperties": false
},
"__schema102": {
"anyOf": [
{
"$ref": "#/$defs/__schema11",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema103": {
"anyOf": [
{
"$ref": "#/$defs/__schema20",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema104": {
"anyOf": [
{
"$ref": "#/$defs/__schema21",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema105": {
"anyOf": [
{
"$ref": "#/$defs/__schema22",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema106": {
"anyOf": [
{
"$ref": "#/$defs/__schema23",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema107": {
"anyOf": [
{
"$ref": "#/$defs/__schema24",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema108": {
"anyOf": [
{
"$ref": "#/$defs/__schema25",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema109": {
"anyOf": [
{
"$ref": "#/$defs/__schema26",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema110": {
"anyOf": [
{
"$ref": "#/$defs/__schema27",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema111": {
"anyOf": [
{
"$ref": "#/$defs/__schema28",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema112": {
"anyOf": [
{
"$ref": "#/$defs/__schema29",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema113": {
"anyOf": [
{
"$ref": "#/$defs/__schema30",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema114": {
"anyOf": [
{
"$ref": "#/$defs/__schema31",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema115": {
"anyOf": [
{
"$ref": "#/$defs/__schema32",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema116": {
"anyOf": [
{
"$ref": "#/$defs/__schema33",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema117": {
"anyOf": [
{
"$ref": "#/$defs/__schema34",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema118": {
"anyOf": [
{
"$ref": "#/$defs/__schema35",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema119": {
"anyOf": [
{
"$ref": "#/$defs/__schema36",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema120": {
"anyOf": [
{
"$ref": "#/$defs/__schema37",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema121": {
"anyOf": [
{
"$ref": "#/$defs/__schema38",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema122": {
"anyOf": [
{
"$ref": "#/$defs/__schema39",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema123": {
"anyOf": [
{
"$ref": "#/$defs/__schema40",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema124": {
"anyOf": [
{
"$ref": "#/$defs/__schema41",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema125": {
"anyOf": [
{
"$ref": "#/$defs/__schema42",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema126": {
"anyOf": [
{
"$ref": "#/$defs/__schema43",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema127": {
"anyOf": [
{
"$ref": "#/$defs/__schema44",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema128": {
"anyOf": [
{
"$ref": "#/$defs/__schema45",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema129": {
"anyOf": [
{
"$ref": "#/$defs/__schema46",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema130": {
"anyOf": [
{
"$ref": "#/$defs/__schema47",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema131": {
"anyOf": [
{
"$ref": "#/$defs/__schema48",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema132": {
"anyOf": [
{
"$ref": "#/$defs/__schema49",
"type": [
"number",
"string"
]
},
{
"type": "null"
}
]
},
"__schema133": {
"anyOf": [
{
"$ref": "#/$defs/__schema50",
"type": [
"number",
"string"
]
},
{
"type": "null"
}
]
},
"__schema134": {
"anyOf": [
{
"$ref": "#/$defs/__schema51",
"type": [
"number",
"string"
]
},
{
"type": "null"
}
]
},
"__schema135": {
"anyOf": [
{
"$ref": "#/$defs/__schema52",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema136": {
"anyOf": [
{
"$ref": "#/$defs/__schema53",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema137": {
"anyOf": [
{
"$ref": "#/$defs/__schema54",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema138": {
"anyOf": [
{
"$ref": "#/$defs/__schema55",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema139": {
"anyOf": [
{
"$ref": "#/$defs/__schema56",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema140": {
"anyOf": [
{
"$ref": "#/$defs/__schema57",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema141": {
"anyOf": [
{
"$ref": "#/$defs/__schema58",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema142": {
"anyOf": [
{
"$ref": "#/$defs/__schema59",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema143": {
"anyOf": [
{
"$ref": "#/$defs/__schema60",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema144": {
"anyOf": [
{
"$ref": "#/$defs/__schema61",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema145": {
"anyOf": [
{
"$ref": "#/$defs/__schema62",
"type": "number"
},
{
"type": "null"
}
]
},
"__schema146": {
"anyOf": [
{
"$ref": "#/$defs/__schema63",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema147": {
"anyOf": [
{
"$ref": "#/$defs/__schema64",
"type": [
"number",
"string"
]
},
{
"type": "null"
}
]
},
"__schema148": {
"anyOf": [
{
"$ref": "#/$defs/__schema65",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema149": {
"anyOf": [
{
"$ref": "#/$defs/__schema66",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema150": {
"anyOf": [
{
"$ref": "#/$defs/__schema67",
"type": [
"number",
"string"
]
},
{
"type": "null"
}
]
},
"__schema151": {
"anyOf": [
{
"$ref": "#/$defs/__schema68",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema152": {
"anyOf": [
{
"$ref": "#/$defs/__schema69",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema153": {
"anyOf": [
{
"$ref": "#/$defs/__schema70",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema154": {
"anyOf": [
{
"$ref": "#/$defs/__schema71",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema155": {
"anyOf": [
{
"$ref": "#/$defs/__schema72",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema156": {
"anyOf": [
{
"$ref": "#/$defs/__schema73",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema157": {
"anyOf": [
{
"$ref": "#/$defs/__schema74",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema158": {
"anyOf": [
{
"$ref": "#/$defs/__schema75",
"type": "integer"
},
{
"type": "null"
}
]
},
"__schema159": {
"anyOf": [
{
"$ref": "#/$defs/__schema76",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema160": {
"anyOf": [
{
"$ref": "#/$defs/__schema77",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema161": {
"anyOf": [
{
"$ref": "#/$defs/__schema78",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema162": {
"anyOf": [
{
"$ref": "#/$defs/__schema79",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema163": {
"anyOf": [
{
"$ref": "#/$defs/__schema80",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema164": {
"anyOf": [
{
"$ref": "#/$defs/__schema81",
"type": [
"number",
"string",
"object"
]
},
{
"type": "null"
}
]
},
"__schema165": {
"anyOf": [
{
"$ref": "#/$defs/__schema82",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema166": {
"anyOf": [
{
"$ref": "#/$defs/__schema83",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema167": {
"anyOf": [
{
"$ref": "#/$defs/__schema84",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema168": {
"anyOf": [
{
"$ref": "#/$defs/__schema85",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema169": {
"anyOf": [
{
"$ref": "#/$defs/__schema86",
"type": "string"
},
{
"type": "null"
}
]
},
"__schema170": {
"$ref": "#/$defs/__schema171",
"description": "Text only: styled character ranges; null clears them"
},
"__schema171": {
"anyOf": [
{
"$ref": "#/$defs/__schema88",
"type": "array"
},
{
"type": "null"
}
]
},
"__schema172": {
"$ref": "#/$defs/__schema173",
"description": "Image only: the new photo source, e.g. asset:<id>"
},
"__schema173": {
"type": "string",
"minLength": 1
},
"CompositionAnimatedStyle": {
"type": "object",
"properties": {
"x": {
"$ref": "#/$defs/__schema11"
},
"y": {
"$ref": "#/$defs/__schema20"
},
"gap": {
"$ref": "#/$defs/__schema51"
},
"top": {
"$ref": "#/$defs/__schema58"
},
"blur": {
"$ref": "#/$defs/__schema76"
},
"left": {
"$ref": "#/$defs/__schema59"
},
"color": {
"$ref": "#/$defs/__schema39"
},
"right": {
"$ref": "#/$defs/__schema60"
},
"scale": {
"$ref": "#/$defs/__schema22"
},
"skewX": {
"$ref": "#/$defs/__schema29"
},
"skewY": {
"$ref": "#/$defs/__schema30"
},
"width": {
"$ref": "#/$defs/__schema32"
},
"bottom": {
"$ref": "#/$defs/__schema61"
},
"height": {
"$ref": "#/$defs/__schema33"
},
"margin": {
"$ref": "#/$defs/__schema50"
},
"rotate": {
"$ref": "#/$defs/__schema25"
},
"scaleX": {
"$ref": "#/$defs/__schema23"
},
"scaleY": {
"$ref": "#/$defs/__schema24"
},
"zIndex": {
"$ref": "#/$defs/__schema62"
},
"display": {
"$ref": "#/$defs/__schema52"
},
"opacity": {
"$ref": "#/$defs/__schema31"
},
"padding": {
"$ref": "#/$defs/__schema49"
},
"rotateX": {
"$ref": "#/$defs/__schema26"
},
"rotateY": {
"$ref": "#/$defs/__schema27"
},
"rotateZ": {
"$ref": "#/$defs/__schema28"
},
"clipPath": {
"$ref": "#/$defs/__schema82"
},
"contrast": {
"$ref": "#/$defs/__schema78"
},
"flexWrap": {
"$ref": "#/$defs/__schema56"
},
"fontSize": {
"$ref": "#/$defs/__schema63"
},
"maxWidth": {
"$ref": "#/$defs/__schema35"
},
"minWidth": {
"$ref": "#/$defs/__schema34"
},
"overflow": {
"$ref": "#/$defs/__schema84"
},
"position": {
"$ref": "#/$defs/__schema57"
},
"saturate": {
"$ref": "#/$defs/__schema79"
},
"textWrap": {
"$ref": "#/$defs/__schema72"
},
"boxShadow": {
"$ref": "#/$defs/__schema44"
},
"boxSizing": {
"$ref": "#/$defs/__schema73"
},
"grayscale": {
"$ref": "#/$defs/__schema80"
},
"hueRotate": {
"$ref": "#/$defs/__schema81"
},
"maxHeight": {
"$ref": "#/$defs/__schema37"
},
"minHeight": {
"$ref": "#/$defs/__schema36"
},
"textAlign": {
"$ref": "#/$defs/__schema66"
},
"transform": {
"$ref": "#/$defs/__schema21"
},
"alignItems": {
"$ref": "#/$defs/__schema55"
},
"brightness": {
"$ref": "#/$defs/__schema77"
},
"fontFamily": {
"$ref": "#/$defs/__schema65"
},
"fontWeight": {
"$ref": "#/$defs/__schema64"
},
"lineHeight": {
"$ref": "#/$defs/__schema67"
},
"textShadow": {
"$ref": "#/$defs/__schema45"
},
"whiteSpace": {
"$ref": "#/$defs/__schema70"
},
"borderColor": {
"$ref": "#/$defs/__schema40"
},
"borderStyle": {
"$ref": "#/$defs/__schema43"
},
"borderWidth": {
"$ref": "#/$defs/__schema41"
},
"borderRadius": {
"$ref": "#/$defs/__schema42"
},
"textOverflow": {
"$ref": "#/$defs/__schema71"
},
"flexDirection": {
"$ref": "#/$defs/__schema53"
},
"letterSpacing": {
"$ref": "#/$defs/__schema68"
},
"textTransform": {
"$ref": "#/$defs/__schema69"
},
"justifyContent": {
"$ref": "#/$defs/__schema54"
},
"objectPosition": {
"$ref": "#/$defs/__schema83"
},
"WebkitBoxOrient": {
"$ref": "#/$defs/__schema74"
},
"WebkitLineClamp": {
"$ref": "#/$defs/__schema75"
},
"backgroundColor": {
"$ref": "#/$defs/__schema38"
},
"bubbleJoinStyle": {
"$ref": "#/$defs/__schema86"
},
"boxDecorationBreak": {
"$ref": "#/$defs/__schema85"
},
"WebkitTextFillColor": {
"$ref": "#/$defs/__schema48"
},
"WebkitTextStrokeColor": {
"$ref": "#/$defs/__schema47"
},
"WebkitTextStrokeWidth": {
"$ref": "#/$defs/__schema46"
}
},
"additionalProperties": false
},
"CompositionAnimatedValue": {
"anyOf": [
{
"$ref": "#/$defs/__schema12",
"type": "number"
},
{
"$ref": "#/$defs/__schema13",
"type": "string"
},
{
"$ref": "#/$defs/__schema14",
"type": "object"
},
{
"$ref": "#/$defs/__schema18",
"type": "object"
}
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"itemId",
"edit",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"edit": {
"type": "object",
"required": [
"ownership",
"changes"
],
"properties": {
"changes": {
"$ref": "#/$defs/__schema97"
},
"duration": {
"$ref": "#/$defs/__schema1"
},
"ownership": {
"$ref": "#/$defs/__schema0"
},
"structure": {
"$ref": "#/$defs/__schema2"
}
},
"additionalProperties": false
},
"dryRun": {
"type": "boolean",
"default": true
},
"itemId": {
"type": "string",
"minLength": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}editor_crop_set — editor crop set
Adjust the crop of one existing source view after a layout has been applied. Revision checked; dryRun previews by default. Preserves the other shots.
{
"type": "object",
"$defs": {
"__schema0": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"__schema1": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"__schema2": {
"type": "number",
"maximum": 1,
"minimum": 0.0001
},
"__schema3": {
"type": "number",
"maximum": 1,
"minimum": 0.0001
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"itemId",
"crop",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"crop": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"$ref": "#/$defs/__schema0"
},
"y": {
"$ref": "#/$defs/__schema1"
},
"width": {
"$ref": "#/$defs/__schema2"
},
"height": {
"$ref": "#/$defs/__schema3"
}
},
"additionalProperties": false
},
"dryRun": {
"type": "boolean",
"default": true
},
"itemId": {
"type": "string",
"minLength": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}editor_assets_insert — editor assets insert
Insert a workspace image, generated shot or audio asset at an explicit project time. Revision checked; dryRun previews by default.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"assetId",
"startSeconds",
"durationSeconds",
"layerIndex",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"dryRun": {
"type": "boolean",
"default": true
},
"assetId": {
"type": "string",
"format": "uuid",
"minLength": 1,
"description": "UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"layerIndex": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"durationSeconds": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}editor_items_move — editor items move
Move selected timeline items to explicit times and layers. Revision checked; dryRun previews by default.
{
"type": "object",
"$defs": {
"__schema0": {
"type": "object",
"required": [
"id",
"startSeconds",
"layerIndex"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"layerIndex": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"items",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
},
"maxItems": 500,
"minItems": 1
},
"dryRun": {
"type": "boolean",
"default": true
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}editor_items_remove — editor items remove
Remove selected timeline items and, if requested, their linked captions. Revision checked; dryRun previews by default. The saved action can be undone.
{
"type": "object",
"$defs": {
"__schema0": {
"type": "string",
"minLength": 1
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"itemIds",
"removeAssociatedCaptions",
"workspaceId",
"idempotencyKey",
"projectId",
"expectedRevision",
"dryRun"
],
"properties": {
"dryRun": {
"type": "boolean",
"default": true
},
"itemIds": {
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
},
"maxItems": 500,
"minItems": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"removeAssociatedCaptions": {
"type": "boolean"
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}editor_snapshot_get — Read Editor Snapshot
Read the current revision, stable timeline IDs, captions, style and bounded media context before a precise revision. Signed media links are refreshed by reading again.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"projectId",
"offset",
"limit",
"expectedRevision"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 200,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}editor_history_list — List Edit History
Read up to 50 saved edit actions, their labels and undo state. Does not restore or change the project.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"projectId",
"limit"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}editor_edit_undo — Undo Saved Edit
Restore one saved editor action at the expected current revision. Requires the action ID from edit history and an idempotency key. Existing project data is changed.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"actionId",
"expectedRevision",
"workspaceId",
"idempotencyKey"
],
"properties": {
"actionId": {
"type": "string",
"minLength": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}clips_candidates_list — Review Clip Candidates
Read existing suggested moments with source ranges, hooks, transcript excerpts and thumbnails before producing videos. Results are bounded; this does not generate suggestions or render clips.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"assetId",
"limit",
"offset"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}captions_words_list — Read Caption Words
Read bounded editable caption words and stable word IDs for one project, optionally matching text.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"projectId",
"matchText",
"limit",
"offset"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 200,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"matchText": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"default": null
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}captions_words_correct — Correct Caption Words
Replace selected caption words by their stable IDs. Preserves timing and the other captions; this does not change the spoken audio.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"projectId",
"updates"
],
"properties": {
"updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"wordId",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"wordId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"maxItems": 200,
"minItems": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}video_feedback_save — Save Video Quality Feedback
Save the user's 1-5 rating and optional quality category/comment against one completed playable video export. Replaces that user's previous feedback for this export; does not change accepted clips or defaults. Requires the feedback storage migration to be installed.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"exportId",
"rating",
"category",
"comment"
],
"properties": {
"rating": {
"type": "integer",
"maximum": 5,
"minimum": 1
},
"comment": {
"type": "string",
"default": "",
"maxLength": 2000
},
"category": {
"anyOf": [
{
"enum": [
"moments",
"captions",
"pacing",
"framing",
"editing",
"export",
"other"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"exportId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}captions_source_prepare — Prepare Source Captions
Restore editable project captions from the selected source's completed canonical transcript. Keeps the full recording and avoids duplicate captions on identical retries. Requires source transcription first; no-speech is an explicit successful state.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"projectId",
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}clips_recover — Recover Missing Clips
Recover a terminal batch's missing clip count through the persisted recovery workflow. Preserves accepted clips and returns the recovery batch ID. Can spend existing account credits; retry with the identical idempotency key.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"batchId",
"targetClipCount"
],
"properties": {
"batchId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"targetClipCount": {
"anyOf": [
{
"type": "integer",
"maximum": 30,
"minimum": 1
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}workspaces_list — List Workspaces
List bounded workspaces the connected user belongs to, with their role and default workspace. Selecting a workspace for the task does not change account defaults.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"limit",
"offset"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}workspace_context_get — Read Business Context
Read the selected workspace's business audience, offer, reviewed brand defaults, protected vocabulary, editorial purpose, language, avoided terms, pronunciation notes and existing account entitlements. Returns current export quality, watermark constraints, public plan names, monthly USD prices, included AI credits and the pricing upgrade URL.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId"
],
"properties": {
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}workspace_context_save — Save Reviewed Business Context
Save the user-reviewed business name, audience, offer, conversion goal, tone, protected vocabulary and editorial preferences for the selected workspace. Requires workspace settings permission and confirmReviewed=true; changes future assistant guidance, preserving existing projects. Pronunciation notes guide script drafting; they do not retime or replace source speech.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"brandName",
"audience",
"offer",
"conversionGoal",
"tone",
"editorialPreferences",
"protectedWords",
"confirmReviewed"
],
"properties": {
"tone": {
"anyOf": [
{
"type": "string",
"maxLength": 240
},
{
"type": "null"
}
]
},
"offer": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"audience": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"brandName": {
"anyOf": [
{
"type": "string",
"maxLength": 160
},
{
"type": "null"
}
]
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"conversionGoal": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"protectedWords": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 40
},
"confirmReviewed": {
"type": "boolean",
"const": true
},
"editorialPreferences": {
"anyOf": [
{
"type": "object",
"required": [
"purpose",
"preferredLanguage",
"avoidTerms",
"pronunciationNotes"
],
"properties": {
"purpose": {
"anyOf": [
{
"enum": [
"authority",
"education",
"product_demo",
"lead_generation"
],
"type": "string"
},
{
"type": "null"
}
]
},
"avoidTerms": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 40
},
"preferredLanguage": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"minLength": 2
},
{
"type": "null"
}
]
},
"pronunciationNotes": {
"type": "array",
"items": {
"type": "object",
"required": [
"term",
"pronunciation"
],
"properties": {
"term": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"pronunciation": {
"type": "string",
"maxLength": 160,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}workspace_brand_scan — Inspect Supplied Business Website
Start extracting a brand profile from the exact website the user supplied and authorized to scan. Saves a draft profile for review; does not apply discovered fields to existing videos. Can spend existing account credits.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"idempotencyKey",
"websiteUrl",
"confirmAuthorizedToScan"
],
"properties": {
"websiteUrl": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"confirmAuthorizedToScan": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}workspace_brand_scan_get — Read Website Brand Draft
Read one authorized website extraction run and its draft business profile. Show the extracted fields to the user for review before saving them as defaults.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"runId"
],
"properties": {
"runId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}media_list — List Media
List media files in user's library (videos, audio, images)
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum number of assets to return (1-50)"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Media asset offset."
},
"assetType": {
"enum": [
"video",
"audio",
"image",
"all"
],
"type": "string",
"default": "all",
"description": "Filter by asset type"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"assets",
"bounds"
],
"properties": {
"assets": {
"type": "array",
"items": {
"type": "object"
}
},
"bounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}media_transcript_get — Get Media Transcript
Get transcript summary metadata or a bounded window of transcription segments for a video asset.
{
"type": "object",
"required": [
"assetId"
],
"properties": {
"mode": {
"enum": [
"summary",
"text",
"full"
],
"type": "string",
"default": "summary",
"description": "Summary returns metadata only. Text returns joined text for a bounded segment window. Full returns the bounded segment objects without duplicating their text."
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Maximum transcript segments to return (1-200)."
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Transcript segment offset."
},
"assetId": {
"type": "string",
"format": "uuid",
"description": "The media asset ID to get transcript for. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"transcript"
],
"properties": {
"error": {
"type": "string"
},
"transcript": {
"type": [
"object",
"null"
],
"required": [
"text",
"segments",
"segmentBounds"
],
"properties": {
"text": {
"type": [
"string",
"null"
]
},
"segments": {
"type": "array",
"items": {
"type": "object"
}
},
"segmentBounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}projects_create — Create Project
Create a new private BlitzReels video project.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Project name (1-100 characters)"
},
"seriesId": {
"type": "string",
"description": "Optional Series UUID for this new project."
},
"frameRate": {
"enum": [
"24",
"25",
"30",
"50",
"60"
],
"type": "string",
"default": "30",
"description": "Video frame rate"
},
"aspectRatio": {
"enum": [
"16:9",
"9:16",
"1:1"
],
"type": "string",
"default": "9:16",
"description": "Video aspect ratio"
},
"description": {
"type": "string",
"description": "Project description (optional, max 500 characters)"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"description": "Retry key. Reuse only with identical inputs."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"project"
],
"properties": {
"project": {
"type": "object",
"required": [
"mutationReceipt"
],
"properties": {
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}media_upload_file — Upload File
Import a video, audio, or image file from ChatGPT into the BlitzReels media library. Use this for a file the user attached or picked, and for an image ChatGPT generated in this conversation that the user wants to keep, animate, or edit in BlitzReels.
{
"type": "object",
"required": [
"file"
],
"properties": {
"file": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"format": "uri"
}
},
"description": "A file from ChatGPT: attached by the user, picked from their file library, or produced earlier in this conversation. ChatGPT provides this value."
},
"name": {
"type": "string",
"description": "Optional name to use in BlitzReels."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Optional BlitzReels project ID to associate with the uploaded file. UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"media"
],
"properties": {
"media": {
"type": "object"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}media_import_url — Import Media From URL
Import video, audio, images, fonts, SVG or JSON from a direct URL into the private workspace library. Returns a durable asset ID and verified contentHashSha256. Fonts, SVG and JSON are limited to 25 MiB.
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "URL of the media file to download and upload"
},
"name": {
"type": "string",
"description": "Optional name for the file"
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Optional project ID to associate the upload with. UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
},
"autoTranscribe": {
"type": "boolean",
"default": true,
"description": "Request transcription for video uploads."
},
"autoSuggestShorts": {
"type": "boolean",
"default": true
},
"contentHashSha256": {
"type": "string",
"pattern": "^[a-fA-F0-9]{64}$",
"description": "Optional expected SHA-256; mismatching bytes are rejected before deduplication. 64-character hex string."
},
"autoProcessEnabled": {
"type": "boolean",
"default": true,
"description": "Enable media analysis after upload."
},
"autoDescribeAfterTranscribe": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"media"
],
"properties": {
"media": {
"type": "object"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}media_upload_start — Start Media Upload
Get a presigned URL for direct file upload (for large files)
{
"type": "object",
"required": [
"fileName",
"contentType"
],
"properties": {
"fileName": {
"type": "string",
"description": "Name of the file to upload"
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Optional project ID to associate the upload with. UUID string."
},
"contentType": {
"type": "string",
"description": "MIME type (e.g., video/mp4, audio/mp3, image/jpeg, font/woff2, image/svg+xml, application/json)"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"uploadInfo"
],
"properties": {
"uploadInfo": {
"type": "object"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}media_upload_finish — Finish Media Upload
Verify uploaded bytes and save a reusable workspace asset after presigned PUT. Returns contentHashSha256, fileSizeBytes and mimeType.
{
"type": "object",
"required": [
"storageKey",
"fileName",
"contentType",
"fileSizeBytes"
],
"properties": {
"fileName": {
"type": "string",
"description": "Name of the uploaded file"
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Optional project ID to associate the upload with. UUID string."
},
"storageKey": {
"type": "string",
"description": "Storage key for the uploaded file"
},
"contentType": {
"type": "string",
"description": "MIME type of the file"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID when projectId is not provided. Defaults to the user's default workspace. UUID string."
},
"fileSizeBytes": {
"type": "number",
"minimum": 1,
"description": "Size of the uploaded file in bytes"
},
"autoTranscribe": {
"type": "boolean",
"default": true,
"description": "Request transcription for video uploads."
},
"autoSuggestShorts": {
"type": "boolean",
"default": true
},
"contentHashSha256": {
"type": "string",
"pattern": "^[a-fA-F0-9]{64}$",
"description": "Optional expected SHA-256; mismatching bytes are rejected before deduplication. 64-character hex string."
},
"autoProcessEnabled": {
"type": "boolean",
"default": true,
"description": "Enable media analysis after upload."
},
"autoDescribeAfterTranscribe": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"media"
],
"properties": {
"media": {
"type": "object"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}media_import_inspect — Inspect Import URL
Inspect a user-provided public social-video or Google Drive URL and return available import metadata without creating media.
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public video URL. Supports social video links and Google Drive file links."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"preview"
],
"properties": {
"preview": {
"type": "object"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}media_import_scan_page — Scan Page For Video
Scan a user-controlled public page and return an importable video URL found on it without creating media.
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Video page URL or direct media URL to inspect for an importable video."
},
"confirmAuthorizedToScan": {
"type": "boolean",
"default": false,
"description": "Set true only after the user confirms they control the page or are authorized to scan it."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"resolved"
],
"properties": {
"resolved": {
"type": "object"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}clips_presets_list — List Clip Presets
List available clip batch presets and their clipping/caption defaults.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"required": [
"presets"
],
"properties": {
"presets": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}captions_themes_list — List Caption Themes
List built-in caption looks and saved caption themes available to a workspace.
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"includeSavedThemes": {
"type": "boolean",
"default": true,
"description": "Include saved workspace caption themes."
},
"includeBuiltInLooks": {
"type": "boolean",
"default": true,
"description": "Include built-in caption looks."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"themes"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}media_narration_get — Read narration timing
Read retained voice inputs, measured duration, audio SHA-256 and word timing. Defaults to 200 words, maximum 500; offset selects the next page. take is null for audio without a retained narration take.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"assetId",
"limit",
"offset"
],
"properties": {
"limit": {
"type": "integer",
"default": 200,
"maximum": 500,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"assetId",
"take",
"wordTimings",
"bounds"
],
"properties": {
"take": {
"anyOf": [
{
"type": "object",
"required": [
"requestFingerprint",
"preparedRequest",
"timingSource",
"durationSeconds",
"durationSource",
"audio"
],
"properties": {
"audio": {
"type": "object",
"required": [
"sha256",
"bytes",
"contentType",
"analysis"
],
"properties": {
"bytes": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"analysis": {
"anyOf": [
{
"type": "object",
"required": [
"version",
"method",
"codec",
"sampleRate",
"channels",
"decodedSamples",
"peakDbfs",
"rmsDbfs",
"silenceThresholdDbfs"
],
"properties": {
"codec": {
"type": "string",
"const": "mp3"
},
"method": {
"type": "string",
"const": "ffmpeg-astats"
},
"rmsDbfs": {
"type": "number"
},
"version": {
"type": "number",
"const": 1
},
"channels": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"peakDbfs": {
"type": "number"
},
"sampleRate": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"decodedSamples": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"silenceThresholdDbfs": {
"type": "number",
"const": -60
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"contentType": {
"type": "string",
"const": "audio/mpeg"
}
},
"additionalProperties": false
},
"timingSource": {
"type": "string",
"const": "provider"
},
"durationSource": {
"enum": [
"decoded",
"legacy-container"
],
"type": "string"
},
"durationSeconds": {
"type": "number",
"exclusiveMinimum": 0
},
"preparedRequest": {
"type": "object",
"required": [
"version",
"provider",
"voiceId",
"body",
"processing"
],
"properties": {
"body": {
"type": "object",
"required": [
"text",
"modelId",
"outputFormat",
"voiceSettings",
"applyTextNormalization"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 4294967295,
"minimum": 0
},
"text": {
"type": "string",
"maxLength": 10000,
"minLength": 1
},
"modelId": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"nextText": {
"type": "string",
"maxLength": 100
},
"languageCode": {
"type": "string",
"maxLength": 12,
"minLength": 2
},
"outputFormat": {
"type": "string",
"const": "mp3_44100_128"
},
"previousText": {
"type": "string",
"maxLength": 100
},
"voiceSettings": {
"type": "object",
"required": [
"stability",
"similarityBoost"
],
"properties": {
"stability": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"similarityBoost": {
"type": "number",
"maximum": 1,
"minimum": 0
}
},
"additionalProperties": false
},
"previousRequestIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 3
},
"applyTextNormalization": {
"type": "string",
"const": "auto"
}
},
"additionalProperties": false
},
"version": {
"type": "number",
"const": 1
},
"voiceId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"provider": {
"type": "string",
"const": "elevenlabs"
},
"processing": {
"type": "object",
"required": [
"version",
"speed"
],
"properties": {
"speed": {
"type": "number",
"maximum": 4,
"minimum": 0.25
},
"version": {
"type": "string",
"const": "ffmpeg-atempo-v1"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"requestFingerprint": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"wordTimings": {
"type": "array",
"items": {
"type": "object",
"required": [
"word",
"startSeconds",
"endSeconds",
"index"
],
"properties": {
"word": {
"type": "string",
"maxLength": 10000,
"minLength": 1
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"endSeconds": {
"type": "number",
"minimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 500
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}media_assets_get — Get Media Asset
Get metadata and processing state for one media-library asset without returning transcript segments.
{
"type": "object",
"required": [
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"description": "Media asset UUID. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"asset"
],
"properties": {
"asset": {
"type": "object",
"required": [
"id",
"name",
"description",
"folderId",
"assetType",
"mimeType",
"fileSizeBytes",
"durationSeconds",
"dimensionsWidth",
"dimensionsHeight",
"optimizedDimensionsWidth",
"optimizedDimensionsHeight",
"fps",
"hasAudioStream",
"processing",
"transcription",
"reframeAnalysis",
"createdAt",
"updatedAt"
],
"properties": {
"id": {
"type": "string"
},
"fps": {
"type": [
"number",
"null"
]
},
"name": {
"type": "string"
},
"folderId": {
"type": [
"string",
"null"
]
},
"mimeType": {
"type": [
"string",
"null"
]
},
"assetType": {
"enum": [
"video",
"audio",
"image",
"document"
],
"type": "string"
},
"createdAt": {
"type": [
"string",
"null"
]
},
"updatedAt": {
"type": [
"string",
"null"
]
},
"processing": {
"type": "object"
},
"description": {
"type": [
"string",
"null"
]
},
"fileSizeBytes": {
"type": "number"
},
"transcription": {
"type": "object"
},
"hasAudioStream": {
"type": [
"boolean",
"null"
]
},
"dimensionsWidth": {
"type": [
"number",
"null"
]
},
"durationSeconds": {
"type": [
"number",
"null"
]
},
"reframeAnalysis": {
"type": "object"
},
"dimensionsHeight": {
"type": [
"number",
"null"
]
},
"optimizedDimensionsWidth": {
"type": [
"number",
"null"
]
},
"optimizedDimensionsHeight": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}media_assets_preview — Preview Media Asset
Return one bounded JPEG as MCP image content for visual inspection. Images use the stored visual; videos use the existing thumbnail.
{
"type": "object",
"required": [
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"description": "Media asset UUID. UUID string."
},
"maxDimension": {
"type": "integer",
"default": 1024,
"maximum": 1536,
"minimum": 256,
"description": "Maximum preview width or height in pixels (256-1536)."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"asset",
"preview"
],
"properties": {
"asset": {
"type": "object",
"required": [
"id",
"name",
"assetType"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"assetType": {
"type": "string"
}
}
},
"preview": {
"type": "object",
"required": [
"mimeType",
"width",
"height",
"byteLength"
],
"properties": {
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"mimeType": {
"type": "string"
},
"byteLength": {
"type": "number"
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}media_folders_list — List Media Folders
List one bounded level of media-library folders and direct asset counts.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum folders to return (1-50)."
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Folder offset."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Workspace UUID, or null for the default workspace. UUID string."
},
"parentFolderId": {
"type": "string",
"format": "uuid",
"description": "Parent folder UUID, or null for root folders."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"folders",
"bounds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"folders": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}media_folders_create — Create Media Folder
Create one media-library folder in a workspace and return a retry-safe mutation receipt.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Folder name."
},
"iconType": {
"enum": [
"folder",
"code",
"video",
"audio",
"image",
"document",
"star",
"spark"
],
"type": "string",
"default": "folder",
"description": "Folder icon type."
},
"description": {
"type": "string",
"maxLength": 1000,
"description": "Optional folder description."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Workspace UUID, or null for the default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"description": "Retry key. Reuse only with identical inputs."
},
"parentFolderId": {
"type": "string",
"format": "uuid",
"description": "Parent folder UUID, or null for the root."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"folder",
"mutationReceipt"
],
"properties": {
"folder": {
"type": "object"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}media_assets_update — Update Media Asset
Rename one media asset, edit its description, move it to a folder, or change B-roll eligibility. Provide at least one of name, description, folderId, or allowUsingAsBroll.
{
"type": "object",
"required": [
"assetId"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "New media asset name."
},
"assetId": {
"type": "string",
"format": "uuid",
"description": "Media asset UUID. UUID string."
},
"folderId": {
"type": "string",
"format": "uuid",
"description": "Target folder UUID, or null to move the asset to root."
},
"description": {
"type": "string",
"maxLength": 5000,
"description": "New description, or null to clear it."
},
"idempotencyKey": {
"type": "string",
"description": "Retry key. Reuse only with identical inputs."
},
"allowUsingAsBroll": {
"type": "boolean",
"description": "Whether the asset may be selected as B-roll."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"asset",
"updatedFields",
"txid",
"mutationReceipt"
],
"properties": {
"txid": {
"type": [
"number",
"null"
]
},
"asset": {
"type": "object"
},
"updatedFields": {
"type": "array",
"items": {
"type": "string"
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}media_upscale_estimate — Estimate Video Upscale
Estimate ByteDance upscale eligibility and credits for one stored video. Does not spend credits or queue a job. Call this before media_upscale.
{
"type": "object",
"required": [
"assetId",
"targetResolution"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"description": "Source video asset UUID. UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Optional project UUID for the estimate context. UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"targetResolution": {
"enum": [
"1080p",
"4k"
],
"type": "string",
"description": "Output long-edge target."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"eligible",
"ineligibleReason",
"targetResolution",
"targetFps",
"creditsRequired",
"durationSeconds",
"sourceLongEdge",
"targetLongEdge"
],
"properties": {
"eligible": {
"type": "boolean"
},
"targetFps": {
"enum": [
"30fps",
"60fps"
],
"type": "string"
},
"sourceLongEdge": {
"type": "number"
},
"targetLongEdge": {
"type": "number"
},
"creditsRequired": {
"type": "number"
},
"durationSeconds": {
"type": "number"
},
"ineligibleReason": {
"type": [
"string",
"null"
]
},
"targetResolution": {
"enum": [
"1080p",
"4k"
],
"type": "string"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}media_upscale — Upscale Video
Queue a ByteDance upscale of one stored video asset to 1080p or 4k. Call media_upscale_estimate first. Spends AI credits and returns a new pending media asset to poll with media_assets_get.
{
"type": "object",
"required": [
"assetId",
"targetResolution"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"description": "Source video asset UUID. UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Optional project UUID to attach the credit spend. UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"description": "Retry key. Reuse only with identical inputs."
},
"targetResolution": {
"enum": [
"1080p",
"4k"
],
"type": "string",
"description": "Output long-edge target."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"assetId",
"sourceAssetId",
"targetResolution",
"creditsRequired",
"runId",
"status",
"mutationReceipt"
],
"properties": {
"runId": {
"type": "string"
},
"status": {
"enum": [
"queued"
],
"type": "string"
},
"assetId": {
"type": "string"
},
"sourceAssetId": {
"type": "string"
},
"creditsRequired": {
"type": "number"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"targetResolution": {
"enum": [
"1080p",
"4k"
],
"type": "string"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}clips_create — Create Clips
Create a private BlitzReels clip batch from an existing asset or a user-provided video URL. Supports public social videos, Google Drive, and direct media URLs.
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Video URL to import before clipping. Supports social video links, Google Drive file links, and direct video file URLs."
},
"assetId": {
"type": "string",
"format": "uuid",
"description": "Existing BlitzReels video asset ID. Provide assetId or url, not both. UUID string."
},
"seriesId": {
"type": "string",
"description": "Optional Series UUID. Omitted inherits the source Series; null creates standalone clips."
},
"clipCount": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum clips requested. Available source moments and account limits can yield fewer."
},
"selection": {
"anyOf": [
{
"type": "object",
"required": [
"includeIds",
"excludeIds"
],
"properties": {
"excludeIds": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50,
"uniqueItems": true
},
"includeIds": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50,
"minItems": 1,
"uniqueItems": true
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Existing asset only: reviewed candidate IDs to include in order or exclude. Resolve IDs with clips_candidates_list first. Null delegates selection."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"clipPresetId": {
"enum": [
"default",
"high-retention",
"demo-focus"
],
"type": "string",
"default": "default",
"description": "Clip style preset. Use high-retention for High Retention clips or demo-focus for product and screen demos."
},
"captionThemeId": {
"type": "string",
"description": "Saved theme UUID or built-in caption look. Omitted inherits Series defaults; null uses workspace captions."
},
"durationBounds": {
"anyOf": [
{
"type": "object",
"required": [
"minSeconds",
"maxSeconds"
],
"properties": {
"maxSeconds": {
"type": [
"number",
"null"
],
"maximum": 180,
"minimum": 1
},
"minSeconds": {
"type": [
"number",
"null"
],
"maximum": 180,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Requested clip duration bounds. Selection preserves complete moments; minimum cannot exceed maximum."
},
"idempotencyKey": {
"type": "string",
"description": "Retry key. Reuse only with identical inputs."
},
"autoTrimSilence": {
"type": "boolean",
"default": true,
"description": "Trim silence around selected moments."
},
"createSharePage": {
"type": "boolean",
"default": false,
"description": "Create a public showcase page where completed clips appear."
},
"selectedAudioLanguage": {
"type": "string",
"maxLength": 40,
"minLength": 2,
"description": "Audio language track for a social-video URL, using the language reported by media_import_inspect. Null uses source default. Existing assets and direct files preserve source audio."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result",
"batch"
],
"properties": {
"batch": {
"type": "object",
"required": [
"id",
"status",
"assetId",
"projectFolderId",
"estimatedClipCount",
"totalClipCount",
"renderedCount",
"failedCount",
"reviewCount",
"clipPreset",
"selectedQuality",
"lastErrorMessage",
"sourceUrl",
"studioUrl",
"projectFolderUrl",
"zipDownloadUrl",
"downloadUrlExpiresInSeconds",
"polling",
"clips"
],
"properties": {
"id": {
"type": "string"
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"suggestionId",
"projectId",
"exportId",
"title",
"status",
"downloadUrl",
"thumbnailUrl",
"errorMessage"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"exportId": {
"type": [
"string",
"null"
]
},
"projectId": {
"type": [
"string",
"null"
]
},
"downloadUrl": {
"type": [
"string",
"null"
]
},
"errorMessage": {
"type": [
"string",
"null"
]
},
"suggestionId": {
"type": [
"string",
"null"
]
},
"thumbnailUrl": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"status": {
"type": "string"
},
"assetId": {
"type": "string"
},
"polling": {
"type": "object",
"required": [
"state",
"stage",
"isTerminal",
"shouldPoll",
"suggestedTool",
"nextPollAfterSeconds",
"maxPollSeconds",
"maxPollAttempts"
],
"properties": {
"stage": {
"type": "string"
},
"state": {
"type": "string"
},
"isTerminal": {
"type": "boolean"
},
"shouldPoll": {
"type": "boolean"
},
"suggestedTool": {
"enum": [
"clips_get",
"clips_status_get"
],
"type": "string"
},
"maxPollSeconds": {
"type": "number"
},
"maxPollAttempts": {
"type": "number"
},
"nextPollAfterSeconds": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"sourceUrl": {
"type": "string"
},
"studioUrl": {
"type": "string"
},
"clipPreset": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"failedCount": {
"type": "number"
},
"reviewCount": {
"type": "number"
},
"renderedCount": {
"type": "number"
},
"totalClipCount": {
"type": "number"
},
"zipDownloadUrl": {
"type": [
"string",
"null"
]
},
"projectFolderId": {
"type": [
"string",
"null"
]
},
"selectedQuality": {
"type": [
"string",
"null"
]
},
"lastErrorMessage": {
"type": [
"string",
"null"
]
},
"projectFolderUrl": {
"type": [
"string",
"null"
]
},
"estimatedClipCount": {
"type": "number"
},
"downloadUrlExpiresInSeconds": {
"type": "number"
}
},
"additionalProperties": false
},
"result": {
"type": "object",
"required": [
"batch",
"importedAssetId",
"sourceKind",
"mutationReceipt"
],
"properties": {
"batch": {
"type": "object",
"required": [
"id",
"status",
"assetId",
"projectFolderId",
"estimatedClipCount",
"totalClipCount",
"renderedCount",
"failedCount",
"reviewCount",
"clipPreset",
"selectedQuality",
"lastErrorMessage",
"sourceUrl",
"studioUrl",
"projectFolderUrl",
"zipDownloadUrl",
"downloadUrlExpiresInSeconds",
"polling",
"clips"
],
"properties": {
"id": {
"type": "string"
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"suggestionId",
"projectId",
"exportId",
"title",
"status",
"downloadUrl",
"thumbnailUrl",
"errorMessage"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"exportId": {
"type": [
"string",
"null"
]
},
"projectId": {
"type": [
"string",
"null"
]
},
"downloadUrl": {
"type": [
"string",
"null"
]
},
"errorMessage": {
"type": [
"string",
"null"
]
},
"suggestionId": {
"type": [
"string",
"null"
]
},
"thumbnailUrl": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"status": {
"type": "string"
},
"assetId": {
"type": "string"
},
"polling": {
"type": "object",
"required": [
"state",
"stage",
"isTerminal",
"shouldPoll",
"suggestedTool",
"nextPollAfterSeconds",
"maxPollSeconds",
"maxPollAttempts"
],
"properties": {
"stage": {
"type": "string"
},
"state": {
"type": "string"
},
"isTerminal": {
"type": "boolean"
},
"shouldPoll": {
"type": "boolean"
},
"suggestedTool": {
"enum": [
"clips_get",
"clips_status_get"
],
"type": "string"
},
"maxPollSeconds": {
"type": "number"
},
"maxPollAttempts": {
"type": "number"
},
"nextPollAfterSeconds": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"sourceUrl": {
"type": "string"
},
"studioUrl": {
"type": "string"
},
"clipPreset": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"failedCount": {
"type": "number"
},
"reviewCount": {
"type": "number"
},
"renderedCount": {
"type": "number"
},
"totalClipCount": {
"type": "number"
},
"zipDownloadUrl": {
"type": [
"string",
"null"
]
},
"projectFolderId": {
"type": [
"string",
"null"
]
},
"selectedQuality": {
"type": [
"string",
"null"
]
},
"lastErrorMessage": {
"type": [
"string",
"null"
]
},
"projectFolderUrl": {
"type": [
"string",
"null"
]
},
"estimatedClipCount": {
"type": "number"
},
"downloadUrlExpiresInSeconds": {
"type": "number"
}
},
"additionalProperties": false
},
"sourceKind": {
"type": "string"
},
"importedAssetId": {
"type": "string"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}clips_get — Get Clip Batch
Get status, generated clips, render counts, and download links for a BlitzReels clip batch.
{
"type": "object",
"required": [
"batchId"
],
"properties": {
"batchId": {
"type": "string",
"format": "uuid",
"description": "Clip batch ID. UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"batch"
],
"properties": {
"batch": {
"type": "object",
"required": [
"id",
"status",
"assetId",
"projectFolderId",
"estimatedClipCount",
"totalClipCount",
"renderedCount",
"failedCount",
"reviewCount",
"clipPreset",
"selectedQuality",
"lastErrorMessage",
"sourceUrl",
"studioUrl",
"projectFolderUrl",
"zipDownloadUrl",
"downloadUrlExpiresInSeconds",
"polling",
"clips"
],
"properties": {
"id": {
"type": "string"
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"suggestionId",
"projectId",
"exportId",
"title",
"status",
"downloadUrl",
"thumbnailUrl",
"errorMessage"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"exportId": {
"type": [
"string",
"null"
]
},
"projectId": {
"type": [
"string",
"null"
]
},
"downloadUrl": {
"type": [
"string",
"null"
]
},
"errorMessage": {
"type": [
"string",
"null"
]
},
"suggestionId": {
"type": [
"string",
"null"
]
},
"thumbnailUrl": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"status": {
"type": "string"
},
"assetId": {
"type": "string"
},
"polling": {
"type": "object",
"required": [
"state",
"stage",
"isTerminal",
"shouldPoll",
"suggestedTool",
"nextPollAfterSeconds",
"maxPollSeconds",
"maxPollAttempts"
],
"properties": {
"stage": {
"type": "string"
},
"state": {
"type": "string"
},
"isTerminal": {
"type": "boolean"
},
"shouldPoll": {
"type": "boolean"
},
"suggestedTool": {
"enum": [
"clips_get",
"clips_status_get"
],
"type": "string"
},
"maxPollSeconds": {
"type": "number"
},
"maxPollAttempts": {
"type": "number"
},
"nextPollAfterSeconds": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"sourceUrl": {
"type": "string"
},
"studioUrl": {
"type": "string"
},
"clipPreset": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"failedCount": {
"type": "number"
},
"reviewCount": {
"type": "number"
},
"renderedCount": {
"type": "number"
},
"totalClipCount": {
"type": "number"
},
"zipDownloadUrl": {
"type": [
"string",
"null"
]
},
"projectFolderId": {
"type": [
"string",
"null"
]
},
"selectedQuality": {
"type": [
"string",
"null"
]
},
"lastErrorMessage": {
"type": [
"string",
"null"
]
},
"projectFolderUrl": {
"type": [
"string",
"null"
]
},
"estimatedClipCount": {
"type": "number"
},
"downloadUrlExpiresInSeconds": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}clip_batches_delete — Delete Clip Batch
Preview or delete a terminal clip batch. Dry-run is the default; real deletion requires explicit confirmation, retention choice, workspace delete permission, and an idempotency key.
{
"type": "object",
"required": [
"batchId",
"idempotencyKey"
],
"properties": {
"dryRun": {
"type": "boolean",
"default": true
},
"batchId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"retention": {
"enum": [
"retain_projects_and_exports",
"delete_projects_and_exports"
],
"type": "string",
"default": "retain_projects_and_exports"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"confirmDelete": {
"type": "boolean",
"default": false
},
"idempotencyKey": {
"type": "string",
"maxLength": 255,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}clips_status_get — Refresh Clip Progress
Read one existing batch's progress, ready clips and renewed signed links without opening or remounting a review widget. Safe for bounded polling and widget refresh; does not recreate or repair clips.
{
"type": "object",
"required": [
"batchId"
],
"properties": {
"batchId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"batch"
],
"properties": {
"batch": {
"type": "object",
"required": [
"id",
"status",
"assetId",
"projectFolderId",
"estimatedClipCount",
"totalClipCount",
"renderedCount",
"failedCount",
"reviewCount",
"clipPreset",
"selectedQuality",
"lastErrorMessage",
"sourceUrl",
"studioUrl",
"projectFolderUrl",
"zipDownloadUrl",
"downloadUrlExpiresInSeconds",
"polling",
"clips"
],
"properties": {
"id": {
"type": "string"
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"suggestionId",
"projectId",
"exportId",
"title",
"status",
"downloadUrl",
"thumbnailUrl",
"errorMessage"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"exportId": {
"type": [
"string",
"null"
]
},
"projectId": {
"type": [
"string",
"null"
]
},
"downloadUrl": {
"type": [
"string",
"null"
]
},
"errorMessage": {
"type": [
"string",
"null"
]
},
"suggestionId": {
"type": [
"string",
"null"
]
},
"thumbnailUrl": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"status": {
"type": "string"
},
"assetId": {
"type": "string"
},
"polling": {
"type": "object",
"required": [
"state",
"stage",
"isTerminal",
"shouldPoll",
"suggestedTool",
"nextPollAfterSeconds",
"maxPollSeconds",
"maxPollAttempts"
],
"properties": {
"stage": {
"type": "string"
},
"state": {
"type": "string"
},
"isTerminal": {
"type": "boolean"
},
"shouldPoll": {
"type": "boolean"
},
"suggestedTool": {
"enum": [
"clips_get",
"clips_status_get"
],
"type": "string"
},
"maxPollSeconds": {
"type": "number"
},
"maxPollAttempts": {
"type": "number"
},
"nextPollAfterSeconds": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"sourceUrl": {
"type": "string"
},
"studioUrl": {
"type": "string"
},
"clipPreset": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"failedCount": {
"type": "number"
},
"reviewCount": {
"type": "number"
},
"renderedCount": {
"type": "number"
},
"totalClipCount": {
"type": "number"
},
"zipDownloadUrl": {
"type": [
"string",
"null"
]
},
"projectFolderId": {
"type": [
"string",
"null"
]
},
"selectedQuality": {
"type": [
"string",
"null"
]
},
"lastErrorMessage": {
"type": [
"string",
"null"
]
},
"projectFolderUrl": {
"type": [
"string",
"null"
]
},
"estimatedClipCount": {
"type": "number"
},
"downloadUrlExpiresInSeconds": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}clips_list — List Clips
List bounded managed clips from the selected source or project with their current workflow state.
{
"type": "object",
"required": [],
"properties": {
"limit": {
"type": "number",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "number",
"default": 0,
"minimum": 0
},
"status": {
"type": "string"
},
"assetId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}clips_inspect — Inspect One Clip
Read one managed clip's selected source range, project, workflow state and delivery information.
{
"type": "object",
"required": [
"clipId"
],
"properties": {
"clipId": {
"type": [
"string",
"null"
],
"default": null
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}clips_reselect — Revise Selected Moment
Replace the source moment for one managed clip using a verified suggestion or explicit time range. Can spend existing account credits. Preserves the other clips; read current state before retrying.
{
"type": "object",
"required": [
"clipId",
"selectionMode",
"idempotencyKey"
],
"properties": {
"clipId": {
"type": [
"string",
"null"
],
"default": null
},
"lookId": {
"type": "string"
},
"endSeconds": {
"type": "number"
},
"layoutMode": {
"enum": [
"auto",
"people_first",
"screen_first",
"preserve_full_source",
"prefer_split",
"prefer_focus",
"prefer_tutorial",
"prefer_demo"
],
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"suggestionId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"selectionMode": {
"enum": [
"auto_best",
"suggestion",
"time_range"
],
"type": [
"string",
"null"
],
"default": null
},
"idempotencyKey": {
"type": [
"string",
"null"
],
"default": null
},
"captionsEnabled": {
"type": "boolean"
},
"contentTypeHint": {
"enum": [
"auto",
"podcast",
"tutorial",
"demo",
"generic"
],
"type": "string"
},
"maxDurationSeconds": {
"type": "number"
},
"minDurationSeconds": {
"type": "number"
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}clips_repair — Repair One Clip Layout
Request a layout repair for one managed clip, such as preserving a screen demo or moving captions away from faces. Changes that clip's project; preserves the other clips.
{
"type": "object",
"required": [
"clipId",
"idempotencyKey"
],
"properties": {
"clipId": {
"type": [
"string",
"null"
],
"default": null
},
"repairMode": {
"enum": [
"auto",
"prefer_split",
"prefer_focus",
"prefer_tutorial",
"prefer_demo",
"move_captions_off_faces"
],
"type": "string",
"default": "auto"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": [
"string",
"null"
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}clips_export — Export One Clip
Render one managed clip at an existing-account-supported quality. Returns persisted export state; inspect until the accepted delivery file is ready. Can spend existing account credits.
{
"type": "object",
"required": [
"clipId",
"idempotencyKey"
],
"properties": {
"clipId": {
"type": [
"string",
"null"
],
"default": null
},
"format": {
"enum": [
"mp4",
"mov"
],
"type": "string",
"default": "mp4"
},
"resolution": {
"enum": [
"720p",
"1080p"
],
"type": "string",
"default": "1080p"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": [
"string",
"null"
],
"default": null
},
"coverFrameSeconds": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}captions_look_apply — Apply Caption Look
Apply a verified caption look to one project. Preserves word overrides unless clearWordOverrides=true. Existing captions are restyled; spoken audio is preserved.
{
"type": "object",
"required": [
"projectId",
"lookId",
"idempotencyKey"
],
"properties": {
"lookId": {
"type": [
"string",
"null"
],
"default": null
},
"projectId": {
"type": [
"string",
"null"
],
"format": "uuid",
"default": null,
"description": "UUID string."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": [
"string",
"null"
],
"default": null
},
"clearWordOverrides": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}visuals_apply — Apply visual presets
Create or update up to 20 visual blocks in one call after edit timing is settled. Presets: broll-headline, steps, quote, end-screen, key-number, before-after, screenshot-focus, chapter. IDs are scoped to the project; repeating an ID updates it. Asset IDs must belong to the workspace. Atomic, undoable; dryRun validates without writing. Returns IDs and revision. No generation pass.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"items",
"expectedRevision",
"dryRun",
"idempotencyKey"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"at",
"duration",
"preset",
"text"
],
"properties": {
"at": {
"type": "number",
"maximum": 86400,
"minimum": 0
},
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,80}$"
},
"cta": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Required for end-screen."
},
"text": {
"type": "string",
"maxLength": 220,
"minLength": 1,
"description": "Heading, or quote. Max 120 characters except quote: 220."
},
"focus": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"description": "Required for screenshot-focus. Normalized rectangle inside the source image.",
"additionalProperties": false
},
"steps": {
"type": "array",
"items": {
"type": "string",
"maxLength": 48,
"minLength": 1
},
"maxItems": 5,
"minItems": 2,
"description": "Required for steps."
},
"value": {
"type": "number",
"maximum": 999999,
"minimum": -999999,
"description": "Required for key-number."
},
"number": {
"type": "string",
"maxLength": 4,
"minLength": 1,
"description": "Required for chapter."
},
"preset": {
"enum": [
"broll-headline",
"steps",
"quote",
"end-screen",
"key-number",
"before-after",
"screenshot-focus",
"chapter"
],
"type": "string"
},
"suffix": {
"type": "string",
"maxLength": 8,
"description": "Required for key-number; empty string allowed."
},
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Required for broll-headline and screenshot-focus."
},
"duration": {
"type": "number",
"maximum": 30,
"minimum": 1
},
"accentColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Brand accent for key-number or screenshot-focus."
},
"attribution": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Required for quote."
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"description": "Required for end-screen; null for no logo."
},
"afterAssetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Required for before-after."
},
"beforeAssetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Required for before-after."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Supply only the fields for the selected preset."
},
"dryRun": {
"type": "boolean"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"success",
"dryRun",
"revision",
"mutationReceiptId",
"replayed",
"items",
"warnings"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"timelineItemId",
"contentItemId",
"compositionId",
"status"
],
"properties": {
"id": {
"type": "string"
},
"status": {
"enum": [
"created",
"updated"
],
"type": "string"
},
"compositionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"contentItemId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"timelineItemId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}
},
"dryRun": {
"type": "boolean"
},
"success": {
"type": "boolean",
"const": true
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"mutationReceiptId": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}update_timeline_clip — Update Timeline Clip
Update one timeline item's start, duration, trim, layer, ignored state, or blurred background. Provide at least one field to update besides timelineItemId.
{
"type": "object",
"required": [
"projectId",
"timelineItemId",
"idempotencyKey"
],
"properties": {
"ignored": {
"type": "boolean"
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"layerIndex": {
"type": "integer",
"minimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"trimEndSeconds": {
"type": "number",
"minimum": 0
},
"durationSeconds": {
"type": "number",
"minimum": 0,
"exclusiveMinimum": 0
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Expected sequence revision, or null."
},
"trimStartSeconds": {
"type": "number",
"minimum": 0
},
"blurredBackground": {
"type": "boolean"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"operationId",
"projectId",
"baseRevision",
"revision",
"replayed",
"txid",
"affectedTimelineItemIds",
"createdTimelineItemIds",
"deletedTimelineItemIds",
"warnings",
"result",
"mutationReceipt"
],
"properties": {
"txid": {
"type": "number"
},
"result": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"projectId": {
"type": "string"
},
"operationId": {
"type": "string"
},
"baseRevision": {
"type": "integer"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"createdTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"deletedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}batch_update_timeline_clips — Batch Update Timeline Clips
Update timing, trim, layer, or state for up to 100 timeline items in one sequence transaction.
{
"type": "object",
"required": [
"projectId",
"updates",
"idempotencyKey"
],
"properties": {
"updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"timelineItemId"
],
"properties": {
"ignored": {
"type": "boolean"
},
"layerIndex": {
"type": "integer",
"minimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"trimEndSeconds": {
"type": "number",
"minimum": 0
},
"durationSeconds": {
"type": "number",
"exclusiveMinimum": 0
},
"trimStartSeconds": {
"type": "number",
"minimum": 0
},
"blurredBackground": {
"type": "boolean"
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1,
"description": "Each update needs at least one field to change besides timelineItemId."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Expected sequence revision, or null."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"operationId",
"projectId",
"baseRevision",
"revision",
"replayed",
"txid",
"affectedTimelineItemIds",
"createdTimelineItemIds",
"deletedTimelineItemIds",
"warnings",
"result",
"mutationReceipt"
],
"properties": {
"txid": {
"type": "number"
},
"result": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"projectId": {
"type": "string"
},
"operationId": {
"type": "string"
},
"baseRevision": {
"type": "integer"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"createdTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"deletedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}mute_clip_audio — Mute Clip Audio
Set one timeline media item's volume to zero.
{
"type": "object",
"required": [
"projectId",
"timelineItemId",
"idempotencyKey"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Expected sequence revision, or null."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"operationId",
"projectId",
"baseRevision",
"revision",
"replayed",
"txid",
"affectedTimelineItemIds",
"createdTimelineItemIds",
"deletedTimelineItemIds",
"warnings",
"result",
"mutationReceipt"
],
"properties": {
"txid": {
"type": "number"
},
"result": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"projectId": {
"type": "string"
},
"operationId": {
"type": "string"
},
"baseRevision": {
"type": "integer"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"createdTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"deletedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}delete_timeline_items — Delete Timeline Items
Preview or delete up to 100 timeline items and optionally remove linked captions.
{
"type": "object",
"required": [
"projectId",
"timelineItemIds"
],
"properties": {
"dryRun": {
"type": "boolean",
"default": true
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"confirmDelete": {
"type": "boolean",
"default": false
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8
},
"timelineItemIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Expected sequence revision, or null."
},
"removeAssociatedCaptions": {
"type": "boolean",
"default": true
}
},
"additionalProperties": false
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"dryRun",
"plan"
],
"properties": {
"plan": {
"type": "object"
},
"dryRun": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"dryRun",
"mutation"
],
"properties": {
"dryRun": {
"type": "boolean",
"const": false
},
"mutation": {
"type": "object",
"required": [
"operationId",
"projectId",
"baseRevision",
"revision",
"replayed",
"txid",
"affectedTimelineItemIds",
"createdTimelineItemIds",
"deletedTimelineItemIds",
"warnings",
"result",
"mutationReceipt"
],
"properties": {
"txid": {
"type": "number"
},
"result": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"projectId": {
"type": "string"
},
"operationId": {
"type": "string"
},
"baseRevision": {
"type": "integer"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"createdTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"deletedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}add_text_overlay — Add Title Card
Add an opening title card (hook) or generic text overlay to a project timeline. Defaults to classic white: black text on a white card.
{
"type": "object",
"required": [
"projectId",
"text",
"idempotencyKey"
],
"properties": {
"kind": {
"enum": [
"overlay",
"title_card",
"lower_third"
],
"type": "string",
"default": "title_card",
"description": "title_card is an opening hook. lower_third is a speaker label (name and role on separate lines). overlay is generic on-video text."
},
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"size": {
"enum": [
"compact",
"default",
"bold"
],
"type": "string",
"default": "default",
"description": "Title-card size. Ignored for overlay."
},
"text": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"theme": {
"enum": [
"classic_white",
"legend_white",
"white_black_outline",
"stacked_black_white",
"red_on_black",
"black_on_yellow",
"red_block"
],
"type": "string",
"default": "classic_white",
"description": "Title-card look. classic_white is black text on a white card. Ignored for overlay."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"layerIndex": {
"type": "integer",
"minimum": 0
},
"startSeconds": {
"type": "number",
"default": 0,
"minimum": 0
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"durationSeconds": {
"type": "number",
"default": 4,
"maximum": 3600,
"minimum": 0,
"exclusiveMinimum": 0
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Expected sequence revision, or null."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"operationId",
"projectId",
"baseRevision",
"revision",
"replayed",
"txid",
"affectedTimelineItemIds",
"createdTimelineItemIds",
"deletedTimelineItemIds",
"warnings",
"result",
"mutationReceipt"
],
"properties": {
"txid": {
"type": "number"
},
"result": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"projectId": {
"type": "string"
},
"operationId": {
"type": "string"
},
"baseRevision": {
"type": "integer"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"createdTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"deletedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}add_transition — Add Transition
Add a timed transition effect, optionally attached to one timeline item and paired with sound.
{
"type": "object",
"required": [
"projectId",
"startSeconds",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"easing": {
"enum": [
"linear",
"easeIn",
"easeOut",
"easeInOut"
],
"type": "string",
"default": "easeInOut"
},
"preset": {
"enum": [
"flash",
"film-flash",
"whip-left",
"whip-right",
"zoom-punch",
"glitch"
],
"type": "string",
"default": "flash"
},
"intensity": {
"type": "number",
"default": 0.5,
"maximum": 2,
"minimum": 0.2
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"includeSfx": {
"type": "boolean",
"default": false
},
"layerIndex": {
"type": "integer",
"minimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"durationSeconds": {
"type": "number",
"default": 0.6,
"maximum": 10,
"minimum": 0,
"exclusiveMinimum": 0
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Expected sequence revision, or null."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"operationId",
"projectId",
"baseRevision",
"revision",
"replayed",
"txid",
"affectedTimelineItemIds",
"createdTimelineItemIds",
"deletedTimelineItemIds",
"warnings",
"result",
"mutationReceipt"
],
"properties": {
"txid": {
"type": "number"
},
"result": {
"type": "object"
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"projectId": {
"type": "string"
},
"operationId": {
"type": "string"
},
"baseRevision": {
"type": "integer"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"createdTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"deletedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"affectedTimelineItemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}timeline_media_add — Add Media To Timeline
Place an image or video asset onto a BlitzReels project timeline at a timestamp, including B-roll and static images.
{
"type": "object",
"required": [
"projectId",
"assetId"
],
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"description": "Image or video media asset ID. UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "BlitzReels project ID. UUID string."
},
"layerIndex": {
"type": "number",
"minimum": 0,
"description": "Exact timeline layer to use. Lower layer numbers render on top. Omit for intent-based placement."
},
"startSeconds": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Timeline start time in seconds"
},
"allowDuplicate": {
"type": "boolean",
"default": true,
"description": "Allow inserting the same asset more than once"
},
"positionPreset": {
"enum": [
"center",
"fullscreen",
"pip-top-left",
"pip-top-right",
"pip-bottom-left",
"pip-bottom-right"
],
"type": "string",
"default": "fullscreen",
"description": "Visual placement preset"
},
"animationPreset": {
"enum": [
"none",
"fadeIn",
"fadeOut",
"zoomIn",
"zoomOut",
"slideLeft",
"slideRight",
"slideUp",
"slideDown",
"popIn",
"bounce",
"spin"
],
"type": "string",
"default": "none",
"description": "Optional visual animation preset"
},
"durationSeconds": {
"type": "number",
"minimum": 0,
"description": "Duration in seconds. Required for still images when a specific length is needed."
},
"placementIntent": {
"enum": [
"overlay",
"background",
"exact"
],
"type": "string",
"default": "overlay",
"description": "Layer intent used when layerIndex is omitted. Use overlay for visible B-roll/logo/sticker over video, background for behind video, exact when layerIndex is supplied."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}timeline_audio_add — Add Audio To Timeline
Place an audio asset onto a BlitzReels project timeline at a timestamp for voiceover, music, or sound.
{
"type": "object",
"required": [
"projectId",
"assetId"
],
"properties": {
"loop": {
"type": "boolean",
"default": false,
"description": "Loop audio to fill requested duration"
},
"volume": {
"type": "number",
"default": 1,
"description": "Audio volume multiplier, 1 is normal"
},
"assetId": {
"type": "string",
"format": "uuid",
"description": "Audio media asset ID. UUID string."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "BlitzReels project ID. UUID string."
},
"startSeconds": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Timeline start time in seconds"
},
"fadeInSeconds": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Fade-in length in seconds"
},
"fadeOutSeconds": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Fade-out length in seconds"
},
"durationSeconds": {
"type": "number",
"minimum": 0,
"description": "Optional duration. Required if the audio asset duration is not known yet."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}exports_start — Start Export
Export a BlitzReels video or native carousel and return export and job IDs for status checks.
{
"type": "object",
"required": [
"projectId"
],
"properties": {
"format": {
"enum": [
"mp4",
"mov",
"fcpxml",
"zip",
"png",
"jpeg",
"carousel_zip"
],
"type": "string",
"default": "mp4",
"description": "Video container or native carousel image ZIP format"
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "BlitzReels project ID. UUID string."
},
"resolution": {
"enum": [
"720p",
"1080p",
"4k"
],
"type": "string",
"default": "1080p",
"description": "Export resolution"
},
"idempotencyKey": {
"type": "string",
"description": "Retry key. Reuse only with identical inputs."
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Reject export if the Project changed since this revision was read."
},
"coverFrameSeconds": {
"type": "number",
"minimum": 0,
"description": "Optional cover thumbnail timestamp"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"export"
],
"properties": {
"export": {
"type": "object",
"required": [
"mutationReceipt"
],
"properties": {
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}generation_options_list — List Generation Options
List models, defaults, limits and credit costs for one generation kind. For a selected video model, pass videoQuote with its model, seconds and optional resolution to check the workspace's current eligibility and a shorter option when available. Durations come from durations_seconds. A quote spends no credits and reserves no capacity.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"videoQuote": {
"anyOf": [
{
"type": "object",
"required": [
"model",
"seconds"
],
"properties": {
"model": {
"enum": [
"sync-lipsync-2",
"flux-3-max",
"flux-3-max-t2v",
"grok-imagine-1.5",
"grok-imagine-1.5-t2v",
"heygen-video",
"heygen-video-t2v",
"omnihuman-v2",
"creatify-aurora",
"veed-fabric-1",
"seedance-2.5-flash",
"seedance-2.5-flash-ref2v",
"seedance-2.5-flash-t2v",
"seedance-2.5-edit",
"kling-o3-standard-edit",
"kling-o3-pro-edit",
"kling-v4-edit",
"kling-v3-standard-motion-control",
"kling-v3-pro-motion-control",
"wan-2.2-animate-replace",
"kling-2.1",
"kling-2.6-pro",
"kling-o1",
"kling-3.0",
"kling-v4",
"kling-v4-ref2v",
"kling-o3-standard",
"kling-o3-pro",
"kling-o3-4k",
"kling-v3-pro",
"minimax-01",
"minimax-hailuo-02",
"minimax-hailuo-2.3-pro",
"minimax-h3-max",
"minimax-hailuo-2.3-pro-t2v",
"minimax-h3-max-t2v",
"veo3",
"veo3.1",
"veo3.1-fast",
"gemini-omni-flash-ref2v",
"gemini-omni-flash-1.2-ref2v",
"gemini-omni-flash-edit",
"gemini-omni-flash-1.2-edit",
"gemini-omni-flash",
"gemini-omni-flash-1.2",
"veo3-fast",
"gemini-omni-flash-t2v",
"gemini-omni-flash-1.2-t2v",
"wan-2.7",
"wan-2.7-ref2v",
"wan-2.7-t2v",
"wan-3.0",
"wan-3.0-prime",
"wan-3.0-t2v",
"wan-3.0-prime-t2v",
"happy-horse",
"happy-horse-ref2v",
"happy-horse-t2v",
"grok-imagine-lite",
"grok-imagine-lite-t2v",
"seedance-2.0-pro",
"seedance-2.5",
"seedance-2.0-pro-fast",
"seedance-2.0-ref2v",
"seedance-2.0-ref2v-fast",
"seedance-2.0-pro-t2v",
"seedance-2.5-t2v",
"seedance-2.0-pro-fast-t2v",
"kling-o3-standard-t2v",
"kling-o3-pro-t2v",
"kling-v3-standard-t2v",
"kling-v3-pro-t2v",
"kling-v4-t2v"
],
"type": "string"
},
"seconds": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"resolution": {
"anyOf": [
{
"enum": [
"360p",
"480p",
"720p",
"768p",
"1080p",
"4k"
],
"type": "string"
},
{
"type": "null"
}
]
}
}
},
{
"type": "null"
}
]
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"options"
],
"properties": {
"options": {
"type": "object"
},
"videoQuote": {
"type": "object",
"required": [
"model",
"seconds",
"resolution",
"estimatedCredits",
"creditsRemaining",
"allowed",
"reason",
"shorterOption"
],
"properties": {
"model": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"allowed": {
"type": "boolean"
},
"seconds": {
"type": "integer"
},
"resolution": {
"type": [
"string",
"null"
]
},
"shorterOption": {
"type": [
"object",
"null"
],
"required": [
"seconds",
"estimatedCredits"
],
"properties": {
"seconds": {
"type": "integer"
},
"estimatedCredits": {
"type": "number"
}
}
},
"creditsRemaining": {
"type": "number"
},
"estimatedCredits": {
"type": "number"
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}generation_image_create — Generate Image
Queue an AI image generation into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.
{
"type": "object",
"required": [
"prompt"
],
"properties": {
"size": {
"anyOf": [
{
"type": "string",
"pattern": "^[1-9][0-9]{1,4}x[1-9][0-9]{1,4}$"
},
{
"type": "null"
}
],
"default": null,
"description": "Exact output size as WIDTHxHEIGHT, for example 1920x2304. Only models whose parameters.size.supported is true in generation_options_list; it replaces aspectRatio, and credits scale with pixel count."
},
"model": {
"enum": [
"fal-ai/gpt-image-1.5",
"fal-ai/gpt-image-2.6-flare",
"fal-ai/gpt-image-2.6-sunburst",
"bfl/flux-3-image",
"bfl/flux-3-image-klein",
"bytedance/seedream/v5/pro/text-to-image",
"bytedance/seedream/v5.5/text-to-image",
"fal-ai/nano-banana-2",
"google/nano-banana-2.1",
"google/nano-banana-2-lite",
"fal-ai/nano-banana-pro"
],
"type": "string",
"default": "fal-ai/nano-banana-2",
"description": "Image model. Call generation_options_list for costs."
},
"prompt": {
"type": "string",
"maxLength": 5000,
"minLength": 8,
"description": "What the image should show (8-5000 characters)."
},
"folderId": {
"type": "string",
"format": "uuid",
"description": "Optional media library folder ID."
},
"background": {
"enum": [
"auto",
"opaque",
"transparent"
],
"type": "string",
"default": "auto",
"description": "Background of the generated image: auto (the model decides), opaque or transparent (an RGBA PNG for cut-outs and overlays). Only models whose parameters.background.supported is true in generation_options_list accept opaque or transparent."
},
"resolution": {
"anyOf": [
{
"enum": [
"0.5k",
"1k",
"2k",
"4k"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Native image resolution. Call generation_options_list for model support and resolution pricing. Unsupported settings are rejected."
},
"aspectRatio": {
"enum": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"5:4",
"4:5",
"21:9"
],
"type": "string",
"default": "1:1",
"description": "Output aspect ratio."
},
"characterId": {
"type": "string",
"format": "uuid",
"description": "Workspace character to keep consistent (characters_list). Its reference images or trained weights and description are added; they count toward the model reference limit."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"enhancePrompt": {
"type": "boolean",
"default": false,
"description": "Enhance using BlitzReels model grammar and actual input context."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"referenceAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"default": [],
"maxItems": 14,
"description": "Ordered image references. Model-specific limits are listed in generation_options_list; unsupported references fail."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"generation"
],
"properties": {
"generation": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"mutationReceipt"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"project_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}generation_video_create — Generate Video
Queue video generation, image animation, source-video editing or character replacement into the media library. Spends AI credits. Check the selected model and duration first with generation_options_list and videoQuote. Editing accepts referenceVideoAssetIds and transformation controls, including original-audio preservation. Read the queued job with generation_jobs_get.
{
"type": "object",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"description": "Optional seed for reproducible output."
},
"model": {
"enum": [
"sync-lipsync-2",
"flux-3-max",
"flux-3-max-t2v",
"grok-imagine-1.5",
"grok-imagine-1.5-t2v",
"heygen-video",
"heygen-video-t2v",
"omnihuman-v2",
"creatify-aurora",
"veed-fabric-1",
"seedance-2.5-flash",
"seedance-2.5-flash-ref2v",
"seedance-2.5-flash-t2v",
"seedance-2.5-edit",
"kling-o3-standard-edit",
"kling-o3-pro-edit",
"kling-v4-edit",
"kling-v3-standard-motion-control",
"kling-v3-pro-motion-control",
"wan-2.2-animate-replace",
"kling-2.1",
"kling-2.6-pro",
"kling-o1",
"kling-3.0",
"kling-v4",
"kling-v4-ref2v",
"kling-o3-standard",
"kling-o3-pro",
"kling-o3-4k",
"kling-v3-pro",
"minimax-01",
"minimax-hailuo-02",
"minimax-hailuo-2.3-pro",
"minimax-h3-max",
"minimax-hailuo-2.3-pro-t2v",
"minimax-h3-max-t2v",
"veo3",
"veo3.1",
"veo3.1-fast",
"gemini-omni-flash-ref2v",
"gemini-omni-flash-1.2-ref2v",
"gemini-omni-flash-edit",
"gemini-omni-flash-1.2-edit",
"gemini-omni-flash",
"gemini-omni-flash-1.2",
"veo3-fast",
"gemini-omni-flash-t2v",
"gemini-omni-flash-1.2-t2v",
"wan-2.7",
"wan-2.7-ref2v",
"wan-2.7-t2v",
"wan-3.0",
"wan-3.0-prime",
"wan-3.0-t2v",
"wan-3.0-prime-t2v",
"happy-horse",
"happy-horse-ref2v",
"happy-horse-t2v",
"grok-imagine-lite",
"grok-imagine-lite-t2v",
"seedance-2.0-pro",
"seedance-2.5",
"seedance-2.0-pro-fast",
"seedance-2.0-ref2v",
"seedance-2.0-ref2v-fast",
"seedance-2.0-pro-t2v",
"seedance-2.5-t2v",
"seedance-2.0-pro-fast-t2v",
"kling-o3-standard-t2v",
"kling-o3-pro-t2v",
"kling-v3-standard-t2v",
"kling-v3-pro-t2v",
"kling-v4-t2v"
],
"type": "string",
"default": "kling-v3-pro-t2v",
"description": "Video model. generation_options_list publishes generation type, source limits, character controls, resolution and pricing for each model."
},
"prompt": {
"type": "string",
"maxLength": 5000,
"minLength": 3,
"description": "What should happen in the shot (3-5000 characters)."
},
"folderId": {
"type": "string",
"format": "uuid",
"description": "Optional media library folder ID."
},
"provider": {
"enum": [
"auto",
"byteplus-modelark",
"fal"
],
"type": "string",
"default": "auto",
"description": "Explicit provider must support the model and input mode. auto uses a configured compatible provider."
},
"provenance": {
"anyOf": [
{
"type": "object",
"required": [
"originalRequest",
"previousJobId"
],
"properties": {
"previousJobId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"originalRequest": {
"anyOf": [
{
"type": "string",
"maxLength": 40000,
"minLength": 1
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Original user request before prompt authoring, and previous failed job ID when retrying. Retained for review; never infer missing wording."
},
"resolution": {
"anyOf": [
{
"enum": [
"360p",
"480p",
"720p",
"768p",
"1080p",
"4k"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Output resolution. Call generation_options_list for model-specific supported values and defaults. Unsupported settings are rejected."
},
"aspectRatio": {
"enum": [
"9:16",
"16:9",
"1:1"
],
"type": "string",
"default": "9:16",
"description": "Output aspect ratio."
},
"characterId": {
"type": "string",
"format": "uuid",
"description": "Workspace character to keep consistent (characters_list). Its reference images come first (@Image1 is the primary), capped to the model limit. Only models whose parameters.character_id.supported is true in generation_options_list."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"enhancePrompt": {
"type": "boolean",
"default": false,
"description": "Enhance using BlitzReels model grammar and actual input context."
},
"generateAudio": {
"type": "boolean",
"description": "null uses model audio behavior. Explicit true/false must be supported by the selected model."
},
"sourceAssetId": {
"type": "string",
"format": "uuid",
"description": "First-frame still. Required only when that model's parameters.source_asset_id.required is true. Optional on reference-capable I2V including Seedance 2.5. Text-to-video rejects it. Cannot combine with reference arrays and end_frame_asset_id."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"negativePrompt": {
"type": "string",
"maxLength": 2500,
"description": "What to avoid in the shot."
},
"transformation": {
"anyOf": [
{
"type": "object",
"required": [
"characters",
"sourcePersonCount",
"keepOriginalAudio",
"characterOrientation"
],
"properties": {
"intent": {
"enum": [
"swap",
"scene",
"camera",
"style"
],
"type": "string",
"description": "What the edit changes: swap (people, needs characters), scene (environment), camera (angle or framing) or style. Omitted: inferred from the prompt."
},
"output": {
"enum": [
"range",
"full"
],
"type": "string",
"description": "With reference_video_range: range returns only the edited range (default); full splices it back into the whole source video with its original audio."
},
"characters": {
"type": "array",
"items": {
"type": "object",
"required": [
"sourceRole",
"frontalAssetId",
"referenceAssetIds"
],
"properties": {
"sourceRole": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"frontalAssetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"referenceAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"default": [],
"maxItems": 3
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 4
},
"transition": {
"enum": [
"cut",
"crossfade"
],
"type": "string",
"description": "Seam between the source and a spliced range when output is full: cut (default) or a short crossfade."
},
"lookFrameAssetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Image of the first frame after the change, approved before paying for the video (create one with POST /generate-look-frame). Sent as @Image1 so the edit matches its look. Video edit models only; counts toward their reference image limit."
},
"keepOriginalAudio": {
"type": "boolean",
"default": true
},
"sourcePersonCount": {
"anyOf": [
{
"type": "integer",
"maximum": 1000,
"minimum": 1
},
{
"type": "null"
}
],
"default": null
},
"characterOrientation": {
"enum": [
"video",
"image"
],
"type": "string",
"default": "video"
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"default": null
},
"durationSeconds": {
"type": "integer",
"default": 5,
"maximum": 30,
"minimum": 2,
"description": "Video transformations inherit the processed source duration and aspect ratio; duration_seconds is not a trim request. Choose a value from the selected model's durations_seconds. duration_seconds_min and duration_seconds_max are the bounds of that list, not a continuous range."
},
"endFrameAssetId": {
"type": "string",
"format": "uuid",
"description": "Last-frame still. Interpolates from the source first frame to this image across the full duration. Requires a source first frame; cannot combine with reference arrays."
},
"referenceAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"default": [],
"maxItems": 30,
"description": "Ordered reference images: Seedance 2.5 up to 30; Seedance 2.0 ref2v up to 9; other reference models up to 4. Source counts toward the limit."
},
"referenceAssetUris": {
"type": "array",
"items": {
"type": "string",
"pattern": "^asset://[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
},
"default": [],
"maxItems": 30,
"description": "BytePlus ModelArk real-human assets as asset://ID, for people who verified themselves in the BytePlus console. Requires provider byteplus-modelark and a model whose parameters.reference_asset_uris.supported is true in generation_options_list. They follow referenceAssetIds in @ImageN numbering and count toward the reference limit."
},
"referenceVideoRange": {
"anyOf": [
{
"type": "object",
"required": [
"startSeconds",
"endSeconds"
],
"properties": {
"endSeconds": {
"type": "number",
"exclusiveMinimum": 0
},
"startSeconds": {
"type": "number",
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"startPhrase",
"endPhrase"
],
"properties": {
"endPhrase": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"startPhrase": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Cut this range from the reference video before a character swap or video edit; billed for the range length. Seconds, or phrases spoken in the source transcript (cut in the pauses around them; each phrase must occur once)."
},
"referenceAudioAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"default": [],
"maxItems": 10,
"description": "Reference audio: Seedance 2.5 up to 10; Seedance 2.0 ref2v and fast up to 3. Other models reject them."
},
"referenceVideoAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"default": [],
"maxItems": 10,
"description": "Video transformations require one processed source video. Other reference modes have model-specific counts published by generation_options_list."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"generation"
],
"properties": {
"generation": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"mutationReceipt"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"project_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}generation_voiceover_create — Generate Voiceover
Queue a text-to-speech voiceover into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 8000,
"minLength": 3,
"description": "Script to read aloud (3-8000 characters)."
},
"speed": {
"type": "number",
"default": 1,
"maximum": 1.6,
"minimum": 0.5,
"description": "Speaking rate between 0.5 and 1.6."
},
"voiceId": {
"type": "string",
"default": "pNInz6obpgDQGcFmaJgB",
"maxLength": 200,
"minLength": 1,
"description": "Catalog voice ID (generation_options_list with kind voiceover) or a workspace voice ID (voices_list), such as a cloned voice."
},
"voiceStyle": {
"enum": [
"curiosity",
"intrigue",
"urgency",
"tension",
"concern",
"surprise",
"hope",
"satisfaction",
"inspiration",
"revelation",
"neutral"
],
"type": "string",
"default": "neutral",
"description": "Delivery emotion."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"generation"
],
"properties": {
"generation": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"mutationReceipt"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"project_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}generation_music_create — Generate Music
Queue a background music track into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.
{
"type": "object",
"properties": {
"mood": {
"enum": [
"curiosity",
"intrigue",
"urgency",
"tension",
"concern",
"surprise",
"hope",
"satisfaction",
"inspiration",
"revelation",
"neutral"
],
"type": "string",
"default": "neutral",
"description": "Track mood."
},
"prompt": {
"type": "string",
"default": "",
"maxLength": 500,
"description": "Optional description of the track."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"durationSeconds": {
"type": "number",
"default": 30,
"maximum": 120,
"minimum": 10,
"description": "Track length between 10 and 120 seconds."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"generation"
],
"properties": {
"generation": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"mutationReceipt"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"project_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}generation_sound_create — Generate Sound Effect
Queue a sound effect into the BlitzReels media library. Spends AI credits and returns a job to poll with generation_jobs_get.
{
"type": "object",
"required": [
"prompt"
],
"properties": {
"loop": {
"type": "boolean",
"default": false,
"description": "Produce a seamlessly loopable effect."
},
"prompt": {
"type": "string",
"maxLength": 500,
"minLength": 3,
"description": "The sound to create (3-500 characters)."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"durationSeconds": {
"type": "number",
"default": 2,
"maximum": 30,
"minimum": 0.5,
"description": "Effect length between 0.5 and 30 seconds."
},
"promptInfluence": {
"type": "number",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"description": "How literally to follow the prompt, between 0 and 1. Higher is more literal."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"generation"
],
"properties": {
"generation": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"mutationReceipt"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"project_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}generation_faceless_create — Generate Faceless Video
Prepare a storyboard for a faceless video with optional voiceover, captions, music and sound. Poll generation_jobs_get for the storyboard, then use video_storyboard_get to review the scenes and estimated cost before approving production. Planning spends AI credits.
{
"type": "object",
"required": [
"script"
],
"properties": {
"script": {
"type": "string",
"maxLength": 30000,
"minLength": 1,
"description": "The narration or story to turn into a video."
},
"voiceId": {
"type": "string",
"maxLength": 200,
"description": "Optional voice override from the BlitzReels voice catalog. The Story Kit narrator voice is used when omitted."
},
"seriesId": {
"type": "string",
"description": "Optional Series UUID. Inherits its Story Kit and branding defaults for this new video."
},
"storyKitId": {
"type": "string",
"description": "Reusable Story Kit UUID for characters, references, locations, style, and narrator voice."
},
"videoModel": {
"enum": [
"sync-lipsync-2",
"flux-3-max",
"grok-imagine-1.5",
"heygen-video",
"omnihuman-v2",
"creatify-aurora",
"veed-fabric-1",
"seedance-2.5-flash",
"seedance-2.5-flash-ref2v",
"seedance-2.5-edit",
"kling-o3-standard-edit",
"kling-o3-pro-edit",
"kling-v4-edit",
"kling-v3-standard-motion-control",
"kling-v3-pro-motion-control",
"wan-2.2-animate-replace",
"kling-2.1",
"kling-2.6-pro",
"kling-o1",
"kling-3.0",
"kling-v4",
"kling-v4-ref2v",
"kling-o3-standard",
"kling-o3-pro",
"kling-o3-4k",
"kling-v3-pro",
"minimax-01",
"minimax-hailuo-02",
"minimax-hailuo-2.3-pro",
"minimax-h3-max",
"veo3",
"veo3.1",
"veo3.1-fast",
"gemini-omni-flash-ref2v",
"gemini-omni-flash-1.2-ref2v",
"gemini-omni-flash-edit",
"gemini-omni-flash-1.2-edit",
"gemini-omni-flash",
"gemini-omni-flash-1.2",
"wan-2.7",
"wan-2.7-ref2v",
"wan-3.0",
"wan-3.0-prime",
"happy-horse",
"happy-horse-ref2v",
"grok-imagine-lite",
"seedance-2.0-pro",
"seedance-2.5",
"seedance-2.0-pro-fast",
"seedance-2.0-ref2v",
"seedance-2.0-ref2v-fast"
],
"type": "string",
"default": "seedance-2.0-ref2v",
"description": "Image-to-video model used to animate scenes."
},
"projectName": {
"type": "string",
"default": "Faceless Video",
"maxLength": 200,
"minLength": 1,
"description": "Name for the created BlitzReels project."
},
"visualStyle": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "Optional art direction override. A Story Kit style is used when omitted."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
},
"imageModelId": {
"type": "string",
"default": "fal-ai/nano-banana-pro",
"maxLength": 200,
"minLength": 3,
"description": "Model used to generate scene images."
},
"captionStyleId": {
"type": "string",
"maxLength": 200,
"description": "Optional caption theme ID from captions_themes_list."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8,
"description": "Retry key. Reuse only with identical inputs."
},
"plannerModelId": {
"type": "string",
"default": "google/gemini-3.8-flash",
"maxLength": 200,
"minLength": 3,
"description": "Model used to plan the video scenes."
},
"includeCaptions": {
"type": "boolean",
"default": true,
"description": "Burn captions into the timeline."
},
"generateVoiceover": {
"type": "boolean",
"default": true,
"description": "Narrate the script with a generated voice."
},
"generateSoundEffects": {
"type": "boolean",
"default": false,
"description": "Add generated sound effects."
},
"targetDurationSeconds": {
"type": "number",
"default": 45,
"maximum": 120,
"minimum": 10,
"description": "Target runtime between 10 and 120 seconds."
},
"styleReferenceAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"default": [],
"maxItems": 10,
"description": "Optional stills that lock rendering medium, palette, lighting and texture. Not used as scene frames."
},
"generateBackgroundMusic": {
"type": "boolean",
"default": false,
"description": "Add a generated background track."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"generation"
],
"properties": {
"generation": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"mutationReceipt"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"job_id": {
"type": "string"
},
"status": {
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"project_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}generation_jobs_get — Get Generation Job
Read generation status, failure category, ledger-confirmed credit outcome, prompt history and compatible model alternatives. Alternatives report duration splits, estimated credits and unverified acceptance. reviewUrl opens prompt review and support escalation. Completed media jobs include the asset when available. A completed faceless planning job returns a storyboard revision for review before video production.
{
"type": "object",
"required": [
"jobId"
],
"properties": {
"jobId": {
"type": "string",
"format": "uuid",
"description": "Job ID returned by any generation_*_create tool."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"job"
],
"properties": {
"job": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"progress",
"content_direction"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"error": {
"type": [
"string",
"null"
]
},
"job_id": {
"type": "string"
},
"result": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"status": {
"enum": [
"queued",
"processing",
"complete",
"failed",
"canceled"
],
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"progress": {
"type": "number"
},
"recovery": {
"anyOf": [
{
"type": "object",
"required": [
"jobId",
"runId",
"failure",
"credits",
"history",
"alternatives",
"actions",
"reviewUrl"
],
"properties": {
"jobId": {
"type": [
"string",
"null"
]
},
"runId": {
"type": [
"string",
"null"
]
},
"actions": {
"type": "array",
"items": {
"enum": [
"review_prompt",
"choose_model",
"request_review"
],
"type": "string"
}
},
"credits": {
"type": "object",
"required": [
"status",
"charged",
"refunded",
"net"
],
"properties": {
"net": {
"type": [
"number",
"null"
]
},
"status": {
"enum": [
"not_charged",
"charged",
"refunded",
"pending",
"unknown"
],
"type": "string"
},
"charged": {
"type": [
"number",
"null"
]
},
"refunded": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"failure": {
"type": "object",
"required": [
"category",
"message",
"stage",
"retryable",
"model",
"provider"
],
"properties": {
"model": {
"type": [
"string",
"null"
]
},
"stage": {
"enum": [
"input",
"output",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"category": {
"enum": [
"trial_limit",
"copyright",
"content_policy",
"reference",
"invalid_input",
"temporary",
"unknown"
],
"type": "string"
},
"provider": {
"type": [
"string",
"null"
]
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
},
"history": {
"type": "object",
"required": [
"originalRequest",
"authoredPrompt",
"submittedPrompt",
"enhancementApplied",
"previousJobId",
"previews",
"settings",
"references",
"providerRequests"
],
"properties": {
"previews": {
"type": "array",
"items": {
"type": "object",
"required": [
"before",
"after",
"approach",
"createdAt"
],
"properties": {
"after": {
"type": "string"
},
"before": {
"type": "string"
},
"approach": {
"enum": [
"clarify",
"original_character"
],
"type": "string"
},
"createdAt": {
"type": "string"
}
},
"additionalProperties": false
}
},
"settings": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"references": {
"type": "array",
"items": {
"type": "string"
}
},
"previousJobId": {
"type": [
"string",
"null"
]
},
"authoredPrompt": {
"type": [
"string",
"null"
]
},
"originalRequest": {
"type": [
"string",
"null"
]
},
"submittedPrompt": {
"type": [
"string",
"null"
]
},
"providerRequests": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"provider",
"status"
],
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"provider": {
"type": "string"
}
},
"additionalProperties": false
}
},
"enhancementApplied": {
"type": "boolean"
}
},
"additionalProperties": false
},
"reviewUrl": {
"type": "string"
},
"alternatives": {
"type": "array",
"items": {
"type": "object",
"required": [
"model",
"label",
"segments",
"estimatedCredits",
"resolution",
"outputResolution",
"aspectRatio",
"generateAudio",
"requiresAssembly",
"acceptance"
],
"properties": {
"label": {
"type": "string"
},
"model": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "number"
}
},
"acceptance": {
"type": "string",
"const": "unverified"
},
"resolution": {
"type": [
"string",
"null"
]
},
"aspectRatio": {
"type": "string"
},
"generateAudio": {
"type": "boolean"
},
"estimatedCredits": {
"type": "number"
},
"outputResolution": {
"type": [
"string",
"null"
]
},
"requiresAssembly": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
},
"created_at": {
"type": "string"
},
"project_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"type": [
"string",
"null"
]
},
"download_url": {
"type": [
"string",
"null"
]
},
"audio_recovery": {
"anyOf": [
{
"type": "object",
"required": [
"attempt",
"mode"
],
"properties": {
"mode": {
"type": "string",
"const": "saved_audio_only"
},
"attempt": {
"type": "integer",
"maximum": 16,
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
},
"content_direction": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"snapshot",
"status",
"current"
],
"properties": {
"status": {
"enum": [
"current",
"changed",
"unavailable",
"unrecorded"
],
"type": "string"
},
"current": {
"anyOf": [
{
"type": "object",
"required": [
"brandRevision",
"brandContentHash",
"seriesRevision",
"seriesContentHash"
],
"properties": {
"brandRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"seriesRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"brandContentHash": {
"type": "string"
},
"seriesContentHash": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"snapshot": {
"anyOf": [
{
"type": "object",
"required": [
"capturedAt",
"scope",
"brand",
"series"
],
"properties": {
"brand": {
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"kind",
"seriesId",
"name"
],
"properties": {
"kind": {
"enum": [
"brand",
"series"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"series": {
"anyOf": [
{
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}generation_jobs_cancel — Cancel Generation Job
Request cancellation of the identified queued or running generation. Work already performed can consume credits; cancellation does not establish a refund.
{
"type": "object",
"required": [
"jobId"
],
"properties": {
"jobId": {
"type": "string",
"format": "uuid",
"description": "Job ID returned by any generation_*_create tool."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace ID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"job"
],
"properties": {
"job": {
"type": "object",
"required": [
"job_id",
"kind",
"status",
"progress",
"content_direction"
],
"properties": {
"kind": {
"enum": [
"image",
"video",
"voiceover",
"music",
"sound",
"faceless"
],
"type": "string"
},
"error": {
"type": [
"string",
"null"
]
},
"job_id": {
"type": "string"
},
"result": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"status": {
"enum": [
"queued",
"processing",
"complete",
"failed",
"canceled"
],
"type": "string"
},
"app_url": {
"type": [
"string",
"null"
]
},
"media_id": {
"type": [
"string",
"null"
]
},
"progress": {
"type": "number"
},
"recovery": {
"anyOf": [
{
"type": "object",
"required": [
"jobId",
"runId",
"failure",
"credits",
"history",
"alternatives",
"actions",
"reviewUrl"
],
"properties": {
"jobId": {
"type": [
"string",
"null"
]
},
"runId": {
"type": [
"string",
"null"
]
},
"actions": {
"type": "array",
"items": {
"enum": [
"review_prompt",
"choose_model",
"request_review"
],
"type": "string"
}
},
"credits": {
"type": "object",
"required": [
"status",
"charged",
"refunded",
"net"
],
"properties": {
"net": {
"type": [
"number",
"null"
]
},
"status": {
"enum": [
"not_charged",
"charged",
"refunded",
"pending",
"unknown"
],
"type": "string"
},
"charged": {
"type": [
"number",
"null"
]
},
"refunded": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"failure": {
"type": "object",
"required": [
"category",
"message",
"stage",
"retryable",
"model",
"provider"
],
"properties": {
"model": {
"type": [
"string",
"null"
]
},
"stage": {
"enum": [
"input",
"output",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"category": {
"enum": [
"trial_limit",
"copyright",
"content_policy",
"reference",
"invalid_input",
"temporary",
"unknown"
],
"type": "string"
},
"provider": {
"type": [
"string",
"null"
]
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
},
"history": {
"type": "object",
"required": [
"originalRequest",
"authoredPrompt",
"submittedPrompt",
"enhancementApplied",
"previousJobId",
"previews",
"settings",
"references",
"providerRequests"
],
"properties": {
"previews": {
"type": "array",
"items": {
"type": "object",
"required": [
"before",
"after",
"approach",
"createdAt"
],
"properties": {
"after": {
"type": "string"
},
"before": {
"type": "string"
},
"approach": {
"enum": [
"clarify",
"original_character"
],
"type": "string"
},
"createdAt": {
"type": "string"
}
},
"additionalProperties": false
}
},
"settings": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"references": {
"type": "array",
"items": {
"type": "string"
}
},
"previousJobId": {
"type": [
"string",
"null"
]
},
"authoredPrompt": {
"type": [
"string",
"null"
]
},
"originalRequest": {
"type": [
"string",
"null"
]
},
"submittedPrompt": {
"type": [
"string",
"null"
]
},
"providerRequests": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"provider",
"status"
],
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"provider": {
"type": "string"
}
},
"additionalProperties": false
}
},
"enhancementApplied": {
"type": "boolean"
}
},
"additionalProperties": false
},
"reviewUrl": {
"type": "string"
},
"alternatives": {
"type": "array",
"items": {
"type": "object",
"required": [
"model",
"label",
"segments",
"estimatedCredits",
"resolution",
"outputResolution",
"aspectRatio",
"generateAudio",
"requiresAssembly",
"acceptance"
],
"properties": {
"label": {
"type": "string"
},
"model": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "number"
}
},
"acceptance": {
"type": "string",
"const": "unverified"
},
"resolution": {
"type": [
"string",
"null"
]
},
"aspectRatio": {
"type": "string"
},
"generateAudio": {
"type": "boolean"
},
"estimatedCredits": {
"type": "number"
},
"outputResolution": {
"type": [
"string",
"null"
]
},
"requiresAssembly": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
},
"created_at": {
"type": "string"
},
"project_id": {
"type": [
"string",
"null"
]
},
"completed_at": {
"type": [
"string",
"null"
]
},
"download_url": {
"type": [
"string",
"null"
]
},
"audio_recovery": {
"anyOf": [
{
"type": "object",
"required": [
"attempt",
"mode"
],
"properties": {
"mode": {
"type": "string",
"const": "saved_audio_only"
},
"attempt": {
"type": "integer",
"maximum": 16,
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
},
"content_direction": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"snapshot",
"status",
"current"
],
"properties": {
"status": {
"enum": [
"current",
"changed",
"unavailable",
"unrecorded"
],
"type": "string"
},
"current": {
"anyOf": [
{
"type": "object",
"required": [
"brandRevision",
"brandContentHash",
"seriesRevision",
"seriesContentHash"
],
"properties": {
"brandRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"seriesRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"brandContentHash": {
"type": "string"
},
"seriesContentHash": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"snapshot": {
"anyOf": [
{
"type": "object",
"required": [
"capturedAt",
"scope",
"brand",
"series"
],
"properties": {
"brand": {
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"kind",
"seriesId",
"name"
],
"properties": {
"kind": {
"enum": [
"brand",
"series"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"series": {
"anyOf": [
{
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"estimated_credits": {
"type": [
"number",
"null"
]
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}generation_plan_brief — Get Generation Plan Brief
Read a generation brief from rawPrompt. Source-video edits return execution for generation_video_create with required assets and transformation controls. New scenes return an authoring grammar and planJsonSchema for generation_plan_validate. The video creation provenance.originalRequest field retains rawPrompt when supplied. This read does not generate media or spend credits.
{
"type": "object",
"properties": {
"genre": {
"type": "string",
"description": "Genre pack id (e.g. pixar-culture-skit). The brief lists available ids in availableGenres; the pack's beats and visual contract override the generic grammar."
},
"rawPrompt": {
"type": "string",
"maxLength": 5000,
"description": "Original request. Clone or character-replacement requests select a video transformation brief instead of a new-story plan."
},
"aspectRatio": {
"enum": [
"9:16",
"16:9",
"1:1"
],
"type": "string",
"default": "9:16"
},
"visualStyle": {
"type": "string",
"description": "Visual style preset id; its locked style contract is included in the brief."
},
"videoModelId": {
"type": "string",
"description": "Target video model id (see generation_options_list, kind: video). Defaults to the strongest single-take model."
},
"targetDurationSeconds": {
"type": "number",
"default": 15,
"maximum": 300,
"minimum": 2,
"description": "Desired final video duration in seconds."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"brief"
],
"properties": {
"brief": {
"type": "object",
"required": [
"instructions",
"videoModelId",
"modelLabel",
"supportsNativeAudio",
"maxSingleTakeSeconds",
"allowedModes",
"targetDurationSeconds",
"aspectRatio",
"styleContract",
"grammar",
"planJsonSchema"
],
"properties": {
"grammar": {
"type": "string"
},
"execution": {
"type": [
"object",
"null"
],
"description": "Source-video operation, model and required assets; null for new-story plans."
},
"genrePack": {
"type": [
"string",
"null"
]
},
"modelLabel": {
"type": "string"
},
"aspectRatio": {
"type": "string"
},
"allowedModes": {
"type": "array",
"items": {
"type": "string"
}
},
"instructions": {
"type": "string"
},
"videoModelId": {
"type": "string"
},
"styleContract": {
"type": [
"string",
"null"
]
},
"planJsonSchema": {
"type": "object"
},
"availableGenres": {
"type": "array",
"items": {
"type": "string"
}
},
"supportsNativeAudio": {
"type": "boolean"
},
"maxSingleTakeSeconds": {
"type": "number"
},
"targetDurationSeconds": {
"type": "number"
}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}generation_plan_validate — Validate Generation Plan
Validate a self-authored generation plan against the schema and the target model's real capabilities before execution. Returns directive errors to fix and revalidate; only a valid plan is executable.
{
"type": "object",
"required": [
"plan"
],
"properties": {
"plan": {
"type": "object",
"description": "The generation plan object authored from generation_plan_brief's planJsonSchema.",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"valid",
"errors"
],
"properties": {
"valid": {
"type": "boolean"
},
"errors": {
"type": "array",
"items": {
"type": "string"
},
"description": "Empty when valid. Each entry states exactly what to change."
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}characters_list — List Reusable Characters
List bounded reusable characters with identity, voice, facts, and image-reference metadata.
{
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "number",
"default": 0,
"minimum": 0
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
},
"includeArchived": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"characters",
"bounds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"characters": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}characters_get — Get Reusable Character
Inspect one reusable character and its ordered reference-image set before planning a story.
{
"type": "object",
"required": [
"characterId"
],
"properties": {
"characterId": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"character"
],
"properties": {
"character": {
"type": "object"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}characters_apply — Apply Reusable Character
Create or update a reference-based character for repeatable faceless story generation.
{
"type": "object",
"required": [
"name",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string"
},
"type": {
"enum": [
"human",
"fictional",
"other"
],
"type": "string",
"default": "human"
},
"species": {
"type": "string"
},
"storyFacts": {
"type": "array",
"items": {
"type": "string"
}
},
"characterId": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
},
"defaultVoiceId": {
"type": "string"
},
"idempotencyKey": {
"type": "string"
},
"defaultVoiceStyle": {
"type": "string"
},
"referenceAssetIds": {
"type": "array",
"items": {
"type": "string"
}
},
"canonicalDescription": {
"type": "string"
},
"confirmLikenessConsent": {
"type": "boolean",
"default": false,
"description": "For a human character, set true only after the user confirms consent to use the depicted person's likeness."
},
"primaryReferenceAssetId": {
"type": "string"
},
"confirmRightsToReferences": {
"type": "boolean",
"default": false,
"description": "Set true only after the user confirms they own the reference media or have permission to use it."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"character",
"mutationReceipt"
],
"properties": {
"character": {
"type": "object"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}story_kits_list — List Story Kits
List bounded reusable Story Kits that bind characters, locations, style, facts, and narrator voice.
{
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "number",
"default": 0,
"minimum": 0
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"storyKits",
"bounds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"maxLimit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"maxLimit": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"storyKits": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}story_kits_get — Get Story Kit
Inspect one Story Kit and its revision before generating or updating a story.
{
"type": "object",
"required": [
"storyKitId"
],
"properties": {
"storyKitId": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"storyKit"
],
"properties": {
"storyKit": {
"type": "object"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}story_kits_apply — Apply Story Kit
Create or update a Story Kit with optimistic concurrency and an idempotent mutation receipt.
{
"type": "object",
"required": [
"name",
"visualStyle",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string",
"description": "Stable Story Kit name."
},
"facts": {
"type": "array",
"items": {
"type": "string"
}
},
"locations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"canonicalDescription",
"referenceAssetIds",
"facts"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"facts": {
"type": "array",
"items": {
"type": "string"
}
},
"referenceAssetIds": {
"type": "array",
"items": {
"type": "string"
}
},
"canonicalDescription": {
"type": "string"
}
},
"additionalProperties": false
}
},
"storyKitId": {
"type": "string"
},
"description": {
"type": "string"
},
"visualStyle": {
"type": "string",
"description": "Canonical visual-style contract."
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Optional workspace UUID. Defaults to the user's default workspace. UUID string."
},
"characterIds": {
"type": "array",
"items": {
"type": "string"
}
},
"idempotencyKey": {
"type": "string"
},
"expectedRevision": {
"type": "number"
},
"narratorCharacterId": {
"type": "string"
},
"styleReferenceAssetIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"storyKit",
"mutationReceipt"
],
"properties": {
"storyKit": {
"type": "object"
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}series_list — List Series
List optional Series with bounded counts and cover previews.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"limit",
"offset",
"workspaceId"
],
"properties": {
"limit": {
"type": "integer",
"default": 30,
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"items",
"bounds"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"defaultCreationMode",
"description",
"coverAssetId",
"logoAssetId",
"storyKitId",
"captionThemeId",
"id",
"revision",
"createdAt",
"updatedAt",
"coverUrl",
"projectCount",
"sourceCount"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"coverUrl": {
"type": [
"string",
"null"
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"storyKitId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"default": null
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"sourceCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"coverAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"projectCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"captionThemeId": {
"anyOf": [
{
"type": "string",
"maxLength": 120,
"minLength": 1
},
{
"type": "null"
}
],
"default": null
},
"defaultCreationMode": {
"enum": [
"podcast",
"faceless"
],
"type": "string",
"default": "podcast"
}
},
"additionalProperties": false
}
},
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}series_get — Get Series
Read a Series identity, creative defaults and revision.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"seriesId"
],
"properties": {
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"series"
],
"properties": {
"series": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"defaultCreationMode",
"description",
"coverAssetId",
"logoAssetId",
"storyKitId",
"captionThemeId",
"id",
"revision",
"createdAt",
"updatedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"storyKitId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"default": null
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"coverAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"captionThemeId": {
"anyOf": [
{
"type": "string",
"maxLength": 120,
"minLength": 1
},
{
"type": "null"
}
],
"default": null
},
"defaultCreationMode": {
"enum": [
"podcast",
"faceless"
],
"type": "string",
"default": "podcast"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}series_content — List Series Content
List sources or projects in a Series. Null seriesId lists standalone content. sourceId filters projects by clip origin.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"limit",
"offset",
"seriesId",
"kind",
"sourceId",
"search",
"workspaceId"
],
"properties": {
"kind": {
"enum": [
"project",
"source"
],
"type": "string"
},
"limit": {
"type": "integer",
"default": 30,
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"search": {
"type": "string",
"default": "",
"maxLength": 120
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"sourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"items",
"bounds"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"name",
"seriesId",
"sourceId",
"thumbnailUrl",
"durationSeconds"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"project",
"source"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"sourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"thumbnailUrl": {
"type": [
"string",
"null"
]
},
"durationSeconds": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
},
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}series_apply — Apply Series
Create or replace a Growth+ Series identity and defaults. defaultCreationMode selects podcast branding or faceless Story Kit defaults; membership stays mixed. Updates require expectedRevision. Existing content keeps its settings.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"defaultCreationMode",
"description",
"coverAssetId",
"logoAssetId",
"storyKitId",
"captionThemeId",
"seriesId",
"expectedRevision",
"workspaceId",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"storyKitId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"default": null
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"coverAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"captionThemeId": {
"anyOf": [
{
"type": "string",
"maxLength": 120,
"minLength": 1
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"default": null
},
"defaultCreationMode": {
"enum": [
"podcast",
"faceless"
],
"type": "string",
"default": "podcast"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"series",
"mutationReceipt"
],
"properties": {
"series": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"defaultCreationMode",
"description",
"coverAssetId",
"logoAssetId",
"storyKitId",
"captionThemeId",
"id",
"revision",
"createdAt",
"updatedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"storyKitId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"default": null
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"coverAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"captionThemeId": {
"anyOf": [
{
"type": "string",
"maxLength": 120,
"minLength": 1
},
{
"type": "null"
}
],
"default": null
},
"defaultCreationMode": {
"enum": [
"podcast",
"faceless"
],
"type": "string",
"default": "podcast"
}
},
"additionalProperties": false
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}series_assign — Assign Series Content
Assign, move or detach one source or project using expectedSeriesId. Moving a source does not move existing clips or change branding.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"kind",
"contentId",
"seriesId",
"expectedSeriesId",
"workspaceId",
"idempotencyKey"
],
"properties": {
"kind": {
"enum": [
"project",
"source"
],
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedSeriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"kind",
"seriesId",
"previousSeriesId",
"changed",
"mutationReceipt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"project",
"source"
],
"type": "string"
},
"changed": {
"type": "boolean"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"previousSeriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}series_delete — Delete Series
Delete the Series container at an expected revision and detach its content. Sources, projects and exports are preserved.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"expectedRevision",
"workspaceId",
"idempotencyKey"
],
"properties": {
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"detachedProjects",
"detachedSources",
"contentPreserved",
"mutationReceipt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"detachedSources": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
},
"contentPreserved": {
"type": "boolean",
"const": true
},
"detachedProjects": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}customer_measurements_list — Read customer outcomes
Read observed link clicks and self-reported outcomes in a bounded window up to 90 days. Counts are not verified conversions. Provider engagement remains separate.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"from",
"to",
"limit",
"offset",
"workspaceId"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"limit": {
"type": "integer",
"default": 30,
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 10000,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"links",
"outcomes",
"linkBounds",
"outcomeBounds",
"window",
"clickSemantics",
"outcomeSemantics",
"retentionDays"
],
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"seriesId",
"projectId",
"postId",
"id",
"label",
"destination",
"enabled",
"revision",
"url",
"createdAt",
"clicks",
"capped"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"capped": {
"type": "boolean"
},
"clicks": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"postId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"destination": {
"type": "string",
"format": "uri",
"maxLength": 2048
}
},
"additionalProperties": false
}
},
"window": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"additionalProperties": false
},
"outcomes": {
"type": "array",
"items": {
"type": "object",
"required": [
"seriesId",
"projectId",
"postId",
"id",
"kind",
"value",
"unit",
"occurredAt",
"source",
"attribution",
"voided",
"revision",
"authorId",
"recordedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"leads",
"sales",
"revenue",
"other"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"multipleOf": 0.000001
},
"postId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"voided": {
"type": "boolean"
},
"authorId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"occurredAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"recordedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"attribution": {
"enum": [
"unknown",
"self_reported"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"linkBounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"outcomeBounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"retentionDays": {
"type": "number",
"const": 90
},
"clickSemantics": {
"type": "string",
"const": "observed_clicks_deduplicated_per_link_per_utc_day"
},
"outcomeSemantics": {
"type": "string",
"const": "self_reported_not_verified_conversions"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}customer_link_apply — Save customer tracking link
Create a stable HTTPS tracking link or revise its label/enabled state. Destination and content association are immutable. Revisions require expectedRevision; null creates.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"projectId",
"postId",
"id",
"expectedRevision",
"label",
"destination",
"enabled",
"workspaceId",
"idempotencyKey"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"postId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"destination": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"link",
"mutationReceipt"
],
"properties": {
"link": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"projectId",
"postId",
"id",
"label",
"destination",
"enabled",
"revision",
"url",
"createdAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"url": {
"type": "string",
"format": "uri"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"postId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"destination": {
"type": "string",
"format": "uri",
"maxLength": 2048
}
},
"additionalProperties": false
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}customer_outcome_apply — Save self-reported outcome
Record or revise leads, sales, revenue or another measured outcome with source, time and explicit attribution. Revision history is retained; voided records remain visible. No conversion is inferred from clicks.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"projectId",
"postId",
"id",
"expectedRevision",
"kind",
"value",
"unit",
"occurredAt",
"source",
"attribution",
"voided",
"workspaceId",
"idempotencyKey"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"leads",
"sales",
"revenue",
"other"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"multipleOf": 0.000001
},
"postId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"voided": {
"type": "boolean"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"occurredAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"attribution": {
"enum": [
"unknown",
"self_reported"
],
"type": "string"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"outcome",
"mutationReceipt"
],
"properties": {
"outcome": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"projectId",
"postId",
"id",
"kind",
"value",
"unit",
"occurredAt",
"source",
"attribution",
"voided",
"revision",
"authorId",
"recordedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"leads",
"sales",
"revenue",
"other"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"multipleOf": 0.000001
},
"postId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"voided": {
"type": "boolean"
},
"authorId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"occurredAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"recordedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"attribution": {
"enum": [
"unknown",
"self_reported"
],
"type": "string"
}
},
"additionalProperties": false
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}learning_quote — Inspect learning evidence
Read bounded Series feedback, metrics, clicks and self-reported outcomes with current owner direction and a cost quote. No model call. Missing or incomparable evidence remains explicit.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"goal",
"from",
"to",
"maxVariations",
"language",
"workspaceId"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"goal": {
"enum": [
"reach",
"engagement",
"traffic",
"leads",
"sales",
"revenue"
],
"type": "string"
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string"
},
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"maxVariations": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"evidence",
"quoteId",
"maximumUsd",
"credits",
"expiresAt"
],
"properties": {
"credits": {
"type": "number",
"minimum": 0
},
"quoteId": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"evidence": {
"type": "object",
"required": [
"fingerprint",
"capturedAt",
"seriesName",
"request",
"context",
"observations",
"comparisons",
"bounds",
"authorityComplete"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"metricLimit",
"reviewLimit",
"editLimit",
"linkLimit",
"outcomeLimit",
"truncated"
],
"properties": {
"editLimit": {
"type": "number",
"const": 30
},
"linkLimit": {
"type": "number",
"const": 30
},
"truncated": {
"type": "boolean"
},
"metricLimit": {
"type": "number",
"const": 100
},
"reviewLimit": {
"type": "number",
"const": 30
},
"outcomeLimit": {
"type": "number",
"const": 30
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"required": [
"direction",
"precedence",
"documents",
"bounds",
"characterLimit",
"truncatedDocumentIds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"direction": {
"type": "object",
"required": [
"capturedAt",
"scope",
"brand",
"series"
],
"properties": {
"brand": {
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"kind",
"seriesId",
"name"
],
"properties": {
"kind": {
"enum": [
"brand",
"series"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"series": {
"anyOf": [
{
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt",
"content"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"content": {
"type": "object",
"required": [
"documentId",
"revision",
"title",
"kind",
"markdown",
"sources",
"authorUserId",
"origin",
"sourceRef",
"contentHash",
"createdAt"
],
"properties": {
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"title": {
"type": "string"
},
"origin": {
"enum": [
"web",
"agent",
"legacy",
"seed"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"sourceRef": {
"type": [
"string",
"null"
]
},
"documentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"contentHash": {
"type": "string"
},
"authorUserId": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
}
},
"precedence": {
"type": "array",
"items": {
"type": "string"
}
},
"characterLimit": {
"type": "number"
},
"truncatedDocumentIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"request": {
"type": "object",
"required": [
"seriesId",
"goal",
"from",
"to",
"maxVariations",
"language"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"goal": {
"enum": [
"reach",
"engagement",
"traffic",
"leads",
"sales",
"revenue"
],
"type": "string"
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string"
},
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxVariations": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
"capturedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"seriesName": {
"type": "string"
},
"comparisons": {
"type": "array",
"items": {
"type": "object",
"required": [
"cohort",
"samples",
"median",
"status",
"observationIds"
],
"properties": {
"cohort": {
"type": "string"
},
"median": {
"type": [
"number",
"null"
]
},
"status": {
"enum": [
"descriptive_comparison",
"insufficient_evidence"
],
"type": "string"
},
"samples": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"observationIds": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100
}
},
"additionalProperties": false
},
"maxItems": 100
},
"fingerprint": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"observations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"anchor",
"projectId",
"creativeRevision",
"accountId",
"format",
"observedAt",
"sourceUrl",
"summary",
"value",
"unit",
"attribution",
"cohort",
"eligible",
"details"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100
},
"kind": {
"enum": [
"metric",
"review",
"click",
"outcome"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 50
},
"value": {
"type": [
"number",
"null"
]
},
"anchor": {
"type": "string",
"maxLength": 230
},
"cohort": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
},
"format": {
"anyOf": [
{
"enum": [
"video",
"carousel",
"image"
],
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"summary": {
"type": "string",
"maxLength": 2500
},
"eligible": {
"type": "boolean"
},
"accountId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"sourceUrl": {
"type": "string",
"format": "uri"
},
"observedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
]
},
"attribution": {
"enum": [
"observed",
"self_reported",
"unknown"
],
"type": "string"
},
"creativeRevision": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 200
},
"authorityComplete": {
"type": "boolean"
}
},
"additionalProperties": false
},
"expiresAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"maximumUsd": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}learning_start — Propose content variations
Start one bounded model call from a reviewed learning quote and approved credits/USD cap. Saves cited lessons and up to five experimental briefs in the shared brain. Idempotent; never publishes or promises performance.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"seriesId",
"goal",
"from",
"to",
"maxVariations",
"language",
"quoteId",
"expectedEvidence",
"maxUsd",
"maxCredits",
"idempotencyKey",
"workspaceId"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"goal": {
"enum": [
"reach",
"engagement",
"traffic",
"leads",
"sales",
"revenue"
],
"type": "string"
},
"maxUsd": {
"type": "number",
"maximum": 10,
"exclusiveMinimum": 0
},
"quoteId": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string"
},
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxCredits": {
"type": "number",
"maximum": 10000,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"maxVariations": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-zA-Z0-9._:-]+$",
"maxLength": 150,
"minLength": 8
},
"expectedEvidence": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"status",
"evidence",
"documents",
"proposal",
"error",
"direction",
"runId",
"canResume"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"error": {
"type": [
"string",
"null"
]
},
"runId": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"queued",
"generating",
"saving",
"complete",
"unknown",
"cancelled",
"failed"
],
"type": "string"
},
"evidence": {
"type": "object",
"required": [
"fingerprint",
"capturedAt",
"seriesName",
"request",
"context",
"observations",
"comparisons",
"bounds",
"authorityComplete"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"metricLimit",
"reviewLimit",
"editLimit",
"linkLimit",
"outcomeLimit",
"truncated"
],
"properties": {
"editLimit": {
"type": "number",
"const": 30
},
"linkLimit": {
"type": "number",
"const": 30
},
"truncated": {
"type": "boolean"
},
"metricLimit": {
"type": "number",
"const": 100
},
"reviewLimit": {
"type": "number",
"const": 30
},
"outcomeLimit": {
"type": "number",
"const": 30
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"required": [
"direction",
"precedence",
"documents",
"bounds",
"characterLimit",
"truncatedDocumentIds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"direction": {
"type": "object",
"required": [
"capturedAt",
"scope",
"brand",
"series"
],
"properties": {
"brand": {
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"kind",
"seriesId",
"name"
],
"properties": {
"kind": {
"enum": [
"brand",
"series"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"series": {
"anyOf": [
{
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt",
"content"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"content": {
"type": "object",
"required": [
"documentId",
"revision",
"title",
"kind",
"markdown",
"sources",
"authorUserId",
"origin",
"sourceRef",
"contentHash",
"createdAt"
],
"properties": {
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"title": {
"type": "string"
},
"origin": {
"enum": [
"web",
"agent",
"legacy",
"seed"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"sourceRef": {
"type": [
"string",
"null"
]
},
"documentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"contentHash": {
"type": "string"
},
"authorUserId": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
}
},
"precedence": {
"type": "array",
"items": {
"type": "string"
}
},
"characterLimit": {
"type": "number"
},
"truncatedDocumentIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"request": {
"type": "object",
"required": [
"seriesId",
"goal",
"from",
"to",
"maxVariations",
"language"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"goal": {
"enum": [
"reach",
"engagement",
"traffic",
"leads",
"sales",
"revenue"
],
"type": "string"
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string"
},
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxVariations": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
"capturedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"seriesName": {
"type": "string"
},
"comparisons": {
"type": "array",
"items": {
"type": "object",
"required": [
"cohort",
"samples",
"median",
"status",
"observationIds"
],
"properties": {
"cohort": {
"type": "string"
},
"median": {
"type": [
"number",
"null"
]
},
"status": {
"enum": [
"descriptive_comparison",
"insufficient_evidence"
],
"type": "string"
},
"samples": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"observationIds": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100
}
},
"additionalProperties": false
},
"maxItems": 100
},
"fingerprint": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"observations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"anchor",
"projectId",
"creativeRevision",
"accountId",
"format",
"observedAt",
"sourceUrl",
"summary",
"value",
"unit",
"attribution",
"cohort",
"eligible",
"details"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100
},
"kind": {
"enum": [
"metric",
"review",
"click",
"outcome"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 50
},
"value": {
"type": [
"number",
"null"
]
},
"anchor": {
"type": "string",
"maxLength": 230
},
"cohort": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
},
"format": {
"anyOf": [
{
"enum": [
"video",
"carousel",
"image"
],
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"summary": {
"type": "string",
"maxLength": 2500
},
"eligible": {
"type": "boolean"
},
"accountId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"sourceUrl": {
"type": "string",
"format": "uri"
},
"observedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
]
},
"attribution": {
"enum": [
"observed",
"self_reported",
"unknown"
],
"type": "string"
},
"creativeRevision": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 200
},
"authorityComplete": {
"type": "boolean"
}
},
"additionalProperties": false
},
"proposal": {
"anyOf": [
{
"type": "object",
"required": [
"lesson",
"evidenceIds",
"limitations",
"variations"
],
"properties": {
"lesson": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"variations": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"axis",
"observationId",
"hypothesis",
"brief",
"measure"
],
"properties": {
"axis": {
"enum": [
"hook",
"format",
"pacing",
"cta",
"topic",
"visual"
],
"type": "string"
},
"brief": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"measure": {
"type": "string",
"maxLength": 700,
"minLength": 1
},
"hypothesis": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"observationId": {
"type": "string",
"maxLength": 100
}
},
"additionalProperties": false
},
"maxItems": 5
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 12,
"minItems": 1
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"maxItems": 8,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"canResume": {
"type": "boolean"
},
"direction": {
"enum": [
"current",
"changed",
"unavailable"
],
"type": "string"
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 6
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}learning_get — Read learning job
Read frozen evidence, exact creative lineage, progress and saved lessons for a workspace learning job. Current owner direction overrides saved suggestions.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"jobId",
"workspaceId"
],
"properties": {
"jobId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"status",
"evidence",
"documents",
"proposal",
"error",
"direction",
"runId",
"canResume"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"error": {
"type": [
"string",
"null"
]
},
"runId": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"queued",
"generating",
"saving",
"complete",
"unknown",
"cancelled",
"failed"
],
"type": "string"
},
"evidence": {
"type": "object",
"required": [
"fingerprint",
"capturedAt",
"seriesName",
"request",
"context",
"observations",
"comparisons",
"bounds",
"authorityComplete"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"metricLimit",
"reviewLimit",
"editLimit",
"linkLimit",
"outcomeLimit",
"truncated"
],
"properties": {
"editLimit": {
"type": "number",
"const": 30
},
"linkLimit": {
"type": "number",
"const": 30
},
"truncated": {
"type": "boolean"
},
"metricLimit": {
"type": "number",
"const": 100
},
"reviewLimit": {
"type": "number",
"const": 30
},
"outcomeLimit": {
"type": "number",
"const": 30
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"required": [
"direction",
"precedence",
"documents",
"bounds",
"characterLimit",
"truncatedDocumentIds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"direction": {
"type": "object",
"required": [
"capturedAt",
"scope",
"brand",
"series"
],
"properties": {
"brand": {
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"kind",
"seriesId",
"name"
],
"properties": {
"kind": {
"enum": [
"brand",
"series"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"series": {
"anyOf": [
{
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt",
"content"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"content": {
"type": "object",
"required": [
"documentId",
"revision",
"title",
"kind",
"markdown",
"sources",
"authorUserId",
"origin",
"sourceRef",
"contentHash",
"createdAt"
],
"properties": {
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"title": {
"type": "string"
},
"origin": {
"enum": [
"web",
"agent",
"legacy",
"seed"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"sourceRef": {
"type": [
"string",
"null"
]
},
"documentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"contentHash": {
"type": "string"
},
"authorUserId": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
}
},
"precedence": {
"type": "array",
"items": {
"type": "string"
}
},
"characterLimit": {
"type": "number"
},
"truncatedDocumentIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"request": {
"type": "object",
"required": [
"seriesId",
"goal",
"from",
"to",
"maxVariations",
"language"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"goal": {
"enum": [
"reach",
"engagement",
"traffic",
"leads",
"sales",
"revenue"
],
"type": "string"
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string"
},
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxVariations": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
"capturedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"seriesName": {
"type": "string"
},
"comparisons": {
"type": "array",
"items": {
"type": "object",
"required": [
"cohort",
"samples",
"median",
"status",
"observationIds"
],
"properties": {
"cohort": {
"type": "string"
},
"median": {
"type": [
"number",
"null"
]
},
"status": {
"enum": [
"descriptive_comparison",
"insufficient_evidence"
],
"type": "string"
},
"samples": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"observationIds": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100
}
},
"additionalProperties": false
},
"maxItems": 100
},
"fingerprint": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"observations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"anchor",
"projectId",
"creativeRevision",
"accountId",
"format",
"observedAt",
"sourceUrl",
"summary",
"value",
"unit",
"attribution",
"cohort",
"eligible",
"details"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100
},
"kind": {
"enum": [
"metric",
"review",
"click",
"outcome"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 50
},
"value": {
"type": [
"number",
"null"
]
},
"anchor": {
"type": "string",
"maxLength": 230
},
"cohort": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
},
"format": {
"anyOf": [
{
"enum": [
"video",
"carousel",
"image"
],
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"summary": {
"type": "string",
"maxLength": 2500
},
"eligible": {
"type": "boolean"
},
"accountId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"sourceUrl": {
"type": "string",
"format": "uri"
},
"observedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
]
},
"attribution": {
"enum": [
"observed",
"self_reported",
"unknown"
],
"type": "string"
},
"creativeRevision": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 200
},
"authorityComplete": {
"type": "boolean"
}
},
"additionalProperties": false
},
"proposal": {
"anyOf": [
{
"type": "object",
"required": [
"lesson",
"evidenceIds",
"limitations",
"variations"
],
"properties": {
"lesson": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"variations": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"axis",
"observationId",
"hypothesis",
"brief",
"measure"
],
"properties": {
"axis": {
"enum": [
"hook",
"format",
"pacing",
"cta",
"topic",
"visual"
],
"type": "string"
},
"brief": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"measure": {
"type": "string",
"maxLength": 700,
"minLength": 1
},
"hypothesis": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"observationId": {
"type": "string",
"maxLength": 100
}
},
"additionalProperties": false
},
"maxItems": 5
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 12,
"minItems": 1
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"maxItems": 8,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"canResume": {
"type": "boolean"
},
"direction": {
"enum": [
"current",
"changed",
"unavailable"
],
"type": "string"
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 6
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}learning_control — Control learning job
Cancel a queued or running analysis, recover an unconfirmed dispatch by its existing identity, or deliver a retained result. Resume never repeats an uncertain model call and rejects changed owner direction.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"jobId",
"action",
"workspaceId"
],
"properties": {
"jobId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"action": {
"enum": [
"resume",
"cancel"
],
"type": "string"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"status",
"evidence",
"documents",
"proposal",
"error",
"direction",
"runId",
"canResume"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"error": {
"type": [
"string",
"null"
]
},
"runId": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"queued",
"generating",
"saving",
"complete",
"unknown",
"cancelled",
"failed"
],
"type": "string"
},
"evidence": {
"type": "object",
"required": [
"fingerprint",
"capturedAt",
"seriesName",
"request",
"context",
"observations",
"comparisons",
"bounds",
"authorityComplete"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"metricLimit",
"reviewLimit",
"editLimit",
"linkLimit",
"outcomeLimit",
"truncated"
],
"properties": {
"editLimit": {
"type": "number",
"const": 30
},
"linkLimit": {
"type": "number",
"const": 30
},
"truncated": {
"type": "boolean"
},
"metricLimit": {
"type": "number",
"const": 100
},
"reviewLimit": {
"type": "number",
"const": 30
},
"outcomeLimit": {
"type": "number",
"const": 30
}
},
"additionalProperties": false
},
"context": {
"type": "object",
"required": [
"direction",
"precedence",
"documents",
"bounds",
"characterLimit",
"truncatedDocumentIds"
],
"properties": {
"bounds": {
"type": "object",
"required": [
"limit",
"offset",
"total",
"returned",
"hasMore",
"truncated"
],
"properties": {
"limit": {
"type": "number"
},
"total": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"direction": {
"type": "object",
"required": [
"capturedAt",
"scope",
"brand",
"series"
],
"properties": {
"brand": {
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
"scope": {
"type": "object",
"required": [
"kind",
"seriesId",
"name"
],
"properties": {
"kind": {
"enum": [
"brand",
"series"
],
"type": "string"
},
"name": {
"type": "string"
},
"seriesId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"series": {
"anyOf": [
{
"type": "object",
"required": [
"title",
"sources",
"path",
"documentId",
"revision",
"markdown",
"contentHash"
],
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"documentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"contentHash": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt",
"content"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"content": {
"type": "object",
"required": [
"documentId",
"revision",
"title",
"kind",
"markdown",
"sources",
"authorUserId",
"origin",
"sourceRef",
"contentHash",
"createdAt"
],
"properties": {
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"title": {
"type": "string"
},
"origin": {
"enum": [
"web",
"agent",
"legacy",
"seed"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 240
}
},
"additionalProperties": false
}
},
"markdown": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"createdAt": {
"type": "string"
},
"sourceRef": {
"type": [
"string",
"null"
]
},
"documentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"contentHash": {
"type": "string"
},
"authorUserId": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
}
},
"precedence": {
"type": "array",
"items": {
"type": "string"
}
},
"characterLimit": {
"type": "number"
},
"truncatedDocumentIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"request": {
"type": "object",
"required": [
"seriesId",
"goal",
"from",
"to",
"maxVariations",
"language"
],
"properties": {
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"goal": {
"enum": [
"reach",
"engagement",
"traffic",
"leads",
"sales",
"revenue"
],
"type": "string"
},
"language": {
"enum": [
"en",
"fr"
],
"type": "string"
},
"seriesId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"maxVariations": {
"type": "integer",
"default": 3,
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
"capturedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"seriesName": {
"type": "string"
},
"comparisons": {
"type": "array",
"items": {
"type": "object",
"required": [
"cohort",
"samples",
"median",
"status",
"observationIds"
],
"properties": {
"cohort": {
"type": "string"
},
"median": {
"type": [
"number",
"null"
]
},
"status": {
"enum": [
"descriptive_comparison",
"insufficient_evidence"
],
"type": "string"
},
"samples": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"observationIds": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100
}
},
"additionalProperties": false
},
"maxItems": 100
},
"fingerprint": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"observations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"anchor",
"projectId",
"creativeRevision",
"accountId",
"format",
"observedAt",
"sourceUrl",
"summary",
"value",
"unit",
"attribution",
"cohort",
"eligible",
"details"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100
},
"kind": {
"enum": [
"metric",
"review",
"click",
"outcome"
],
"type": "string"
},
"unit": {
"type": "string",
"maxLength": 50
},
"value": {
"type": [
"number",
"null"
]
},
"anchor": {
"type": "string",
"maxLength": 230
},
"cohort": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
},
"format": {
"anyOf": [
{
"enum": [
"video",
"carousel",
"image"
],
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"summary": {
"type": "string",
"maxLength": 2500
},
"eligible": {
"type": "boolean"
},
"accountId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"projectId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"sourceUrl": {
"type": "string",
"format": "uri"
},
"observedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
]
},
"attribution": {
"enum": [
"observed",
"self_reported",
"unknown"
],
"type": "string"
},
"creativeRevision": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 200
},
"authorityComplete": {
"type": "boolean"
}
},
"additionalProperties": false
},
"proposal": {
"anyOf": [
{
"type": "object",
"required": [
"lesson",
"evidenceIds",
"limitations",
"variations"
],
"properties": {
"lesson": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"variations": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"axis",
"observationId",
"hypothesis",
"brief",
"measure"
],
"properties": {
"axis": {
"enum": [
"hook",
"format",
"pacing",
"cta",
"topic",
"visual"
],
"type": "string"
},
"brief": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"measure": {
"type": "string",
"maxLength": 700,
"minLength": 1
},
"hypothesis": {
"type": "string",
"maxLength": 1200,
"minLength": 1
},
"observationId": {
"type": "string",
"maxLength": 100
}
},
"additionalProperties": false
},
"maxItems": 5
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100
},
"maxItems": 12,
"minItems": 1
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"maxItems": 8,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"canResume": {
"type": "boolean"
},
"direction": {
"enum": [
"current",
"changed",
"unavailable"
],
"type": "string"
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"path",
"title",
"kind",
"revision",
"updatedAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"enum": [
"brief",
"research",
"correction",
"reference"
],
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"updatedAt": {
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 6
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}carousels_board_get — Get Carousel Board
Read a carousel board: revision, caption, pending AI images and a summary of every slide with its elements in paint order (ID, type, parent, text, image source, box in slide pixels, font, color, hidden, locked), plus the brand theme and saved themes. carousels_board_edit targets these IDs and theme ids. view full adds the board composition (editor element model; colors may be brand tokens like var(--br-accent); media sources are asset:<id>, brand:logo or bundled paths). slideIds limits the summary to those slides.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"view",
"slideIds"
],
"properties": {
"view": {
"enum": [
"summary",
"full"
],
"type": "string",
"default": "summary"
},
"slideIds": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 30
},
{
"type": "null"
}
],
"default": null,
"description": "Only these slides in the summary; null returns every slide"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}carousels_board_templates — List Carousel Board Templates
List carousel slide templates: id, family, label and slots (key, kind text or image, sample). carousels_board_edit insertTemplateSlide takes a template id and slot values.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}carousels_board_edit — Edit Carousel Board
Apply ordered operations to a carousel board by slide and element ID: add a slide from a template with its text and photos, change text and style, insert, duplicate, move or remove slides, set the theme, apply the brand or a saved theme, hide or lock an element. Operations apply to the latest board unless expectedRevision is set; dryRun saves nothing. Returns the base and new revision, affected IDs, slide order and a summary of each changed slide; errors name the failing operation. Identical idempotency keys replay.
{
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"operations"
],
"properties": {
"dryRun": {
"type": "boolean",
"description": "Apply to the latest board without saving and return the would-be result."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"operations": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"insertTemplateSlide",
"applyTheme",
"edit",
"insertSlide",
"duplicateSlide",
"moveSlide",
"removeSlide",
"setTheme",
"setLayer",
"layoutSlides",
"showPart",
"placeImages"
],
"type": "string"
}
},
"description": "Applied in order. Every operation is a flat object with its kind, e.g. {\"kind\":\"edit\",\"edit\":{\"changes\":[{\"elementId\":\"slide-1-headline\",\"content\":\"New hook\"}]}} or {\"kind\":\"layoutSlides\",\"slideIds\":null,\"align\":\"center\"}. insertTemplateSlide {templateId, values: {slotKey: text or asset:<id>}, index (null appends), slideId (null picks slide-N)}; applyTheme {themeId: 'brand' or a saved theme id from carousels_board_get}; edit {edit: {changes: [{elementId, content (text), runs (text), src (image: asset:<id>), style}], structure}} where style values of null remove an override; swap a photo with src on its image element, never by rebuilding the slide; insertSlide {index, slide: group element}; duplicateSlide {slideId, idSuffix}; moveSlide {slideId, index}; removeSlide {slideId}; setTheme {theme}; setLayer {elementId, hidden and/or locked (an omitted flag keeps its state)}; layoutSlides {slideIds (null = every slide), align: left|center|right, textScale: e.g. 1.1} aligns text blocks and scales text on any slide; placeImages {slideId, images: [{src: asset:<id>, name}], area: top|center|bottom|top-left|top-right|bottom-left|bottom-right, height (null fits)} lines up images or logos on a slide; showPart {part: logo|swipe|texture, visible, slideIds (null = every slide)}.",
"additionalProperties": true
},
"maxItems": 200,
"minItems": 1
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Null (default) applies the operations to the latest board. A revision rejects the edit with a conflict when the board has moved."
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_board_generate — Generate Carousel
Write and design a full carousel from a prompt into the project board: hook, body slides, ending call to action and a post caption, styled with the brand kit or a preset style, with optional AI photos (photos finish in the background; pendingAssetIds lists them). Replaces the current board and renames the project. Uses AI and image credits; a retry with the same idempotency key and input replays the first result without generating or charging again.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"expectedRevision",
"prompt",
"goal",
"slideCount",
"style",
"withImages",
"imageModelId",
"characterIds",
"places",
"sourceUrl",
"idempotencyKey"
],
"properties": {
"goal": {
"enum": [
"grow",
"convert",
"both"
],
"type": "string"
},
"style": {
"anyOf": [
{
"enum": [
"brand",
"midnight",
"paper",
"cobalt",
"forest",
"editorial",
"night_city",
"neon_86",
"west_coast",
"rust_belt",
"golden_hour",
"postcard"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Ready-made look; null keeps the carousel's current look."
},
"places": {
"type": "array",
"items": {
"type": "object",
"required": [
"storyKitId",
"locationId"
],
"properties": {
"locationId": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"storyKitId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 3,
"description": "Saved places to set the photos in (a Story Kit location); their reference photo keeps the same room. Empty lets the prompt decide."
},
"prompt": {
"type": "string",
"maxLength": 2000,
"minLength": 3
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"sourceUrl": {
"anyOf": [
{
"type": "string",
"maxLength": 2000,
"minLength": 3
},
{
"type": "null"
}
],
"default": null,
"description": "A public web page the carousel is about (full URL or domain); its text grounds the slides. Null reads a web address written in the prompt, if any."
},
"slideCount": {
"anyOf": [
{
"type": "integer",
"maximum": 20,
"minimum": 4
},
{
"type": "null"
}
],
"description": "Total slides including cover and call to action; null lets the prompt decide."
},
"withImages": {
"type": "boolean"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"characterIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"default": [],
"maxItems": 3,
"description": "Saved AI characters to cast in the photos, by id; their saved references keep their faces. Empty lets the prompt decide."
},
"imageModelId": {
"anyOf": [
{
"enum": [
"fal-ai/nano-banana-2",
"fal-ai/nano-banana-pro",
"bytedance/seedream/v5/pro/text-to-image",
"bytedance/seedream/v5.5/text-to-image"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Image model for the generated photos; null uses Nano Banana 2. Ignored when withImages is false."
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
],
"description": "Replace the board only at this revision; null replaces the latest board."
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_board_ideas — Recommend Carousel Ideas
Recommend six carousel ideas from the workspace brand brief, each with a cover hook, angle, goal (grow, convert or both), archetype and why it should perform. Pass one to carousels_board_generate as its prompt.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}carousels_board_image — Generate Carousel Photo
Start one AI photo shaped for the board (slide or square) and return its asset:<id> source. The image finishes in the background; place it with carousels_board_edit right away, it appears once ready. Uses image credits.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"prompt",
"shape"
],
"properties": {
"shape": {
"enum": [
"slide",
"square"
],
"type": "string"
},
"prompt": {
"type": "string",
"maxLength": 600,
"minLength": 3
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}carousels_board_versions — List Carousel Board Versions
List saved versions of a carousel board, newest first (revision, source: baseline, editor, agent, api, generation or restore; author, merged change count, slide count), or with versionId read one version as a board summary. Saves by the same author and source within three minutes share one version; the newest 50 are kept.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId",
"versionId",
"view",
"limit"
],
"properties": {
"view": {
"enum": [
"summary",
"full"
],
"type": "string",
"default": "summary"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"versionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}carousels_board_version_restore — Restore Carousel Board Version
Replace a carousel board with a saved version from carousels_board_versions as a new revision; every version stays in the history, so a restore can itself be undone by restoring another. Replaces the latest board unless expectedRevision is set. Identical idempotency keys replay.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotencyKey",
"projectId",
"versionId",
"expectedRevision"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"versionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_compile — Compile Carousel
Create or replace a carousel project from a slide document. Server owns chip layout, safezones, and exact export pixels.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"platform",
"name",
"slides",
"idempotencyKey"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"style": {
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"locale": {
"type": "string",
"maxLength": 12,
"minLength": 2
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"lines",
"visual"
],
"properties": {
"role": {
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
"lines": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"default": [],
"maxItems": 6
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"layout_overrides": {
"type": "object",
"properties": {
"top_px": {
"type": "integer",
"maximum": 1920,
"minimum": 0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"maxItems": 35,
"minItems": 1
},
"platform": {
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
"series_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"clear_existing": {
"type": "boolean"
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"project_id",
"revision",
"platform",
"slide_count",
"slides",
"frame",
"warnings",
"next_actions",
"mutationReceipt"
],
"properties": {
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"job_id": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"timeline_item_ids",
"overlay_ids",
"layout_applied",
"chip_band_px"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"overlay_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"chip_band_px": {
"type": "object",
"required": [
"top",
"bottom"
],
"properties": {
"top": {
"type": "number"
},
"bottom": {
"type": "number"
}
},
"additionalProperties": false
},
"layout_applied": {
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
"timeline_item_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"platform": {
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"slide_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"ai_image_run_id": {
"type": [
"string",
"null"
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_preview — Preview Carousel
Render and store private JPEG previews for the selected carousel slides. Replaces cached previews at deterministic storage keys; preserves the source project and slide document.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotencyKey",
"projectId",
"chrome"
],
"properties": {
"chrome": {
"enum": [
"tiktok",
"instagram",
"none"
],
"type": "string",
"default": "none"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"slideIndexes": {
"type": "array",
"items": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"maxItems": 35
},
"idempotencyKey": {
"anyOf": [
{
"type": "string",
"maxLength": 200,
"minLength": 8
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"platform",
"frame",
"slides",
"warnings",
"next_actions"
],
"properties": {
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"preview_url",
"width",
"height",
"expires_at"
],
"properties": {
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"print": {
"enum": [
"slots",
"ingested",
"board"
],
"type": "string"
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"expires_at": {
"type": "string"
},
"preview_url": {
"type": "string"
}
},
"additionalProperties": false
}
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_get — Get Carousel Document
Read the carousel slot document and the named template catalog.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"name",
"platform",
"locale",
"frame",
"style",
"slides",
"templates",
"can_undo",
"warnings",
"next_actions"
],
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}carousels_patch_slide — Patch Carousel Slide
Patch native slots/media or select a completed Remotion frame artifact and crop. Requires expectedRevision; identical keys replay.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotencyKey",
"projectId",
"expectedRevision",
"slideIndex"
],
"properties": {
"crop": {
"anyOf": [
{
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"lines": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 6
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"slideIndex": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"templateId": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"mediaAssetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"expectedRevision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"creativeArtifactId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"name",
"platform",
"locale",
"frame",
"style",
"slides",
"templates",
"can_undo",
"warnings",
"next_actions",
"txid",
"mutationReceipt"
],
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"txid": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"status": {
"type": "string",
"const": "completed"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_expand_recipe — Expand Carousel Recipe
Turn a named recipe or a brief into compile-ready named-template slides. Expand never publishes and never invents metrics.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipeId"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"brief": {
"type": "string",
"maxLength": 8000,
"minLength": 1
},
"offer": {
"type": "string",
"maxLength": 400,
"minLength": 1
},
"locale": {
"type": "string",
"maxLength": 12,
"minLength": 2
},
"product": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"audience": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"platform": {
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
"recipeId": {
"enum": [
"curiosity_gap_ugc_7",
"result_first_demo_6",
"myth_guillotine_8",
"before_after_5",
"from_brief"
],
"type": "string"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipe_id",
"name",
"platform",
"slides"
],
"properties": {
"name": {
"type": "string"
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"lines",
"visual"
],
"properties": {
"role": {
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
"lines": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"default": [],
"maxItems": 6
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"layout_overrides": {
"type": "object",
"properties": {
"top_px": {
"type": "integer",
"maximum": 1920,
"minimum": 0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"platform": {
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
"recipe_id": {
"enum": [
"curiosity_gap_ugc_7",
"result_first_demo_6",
"myth_guillotine_8",
"before_after_5",
"from_brief"
],
"type": "string"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}carousels_migrate — Migrate Legacy Carousel
Rebuild a compile slot document from a legacy overlay carousel. Then patch slots like any compiled deck.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotencyKey",
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_clone — Clone Carousel
Duplicate a carousel onto a new project. Copies slots. Icon and shot values may be pack filenames or asset:<media_asset_id>.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"idempotencyKey",
"projectId"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}publishing_connections_list — List Publishing Connections
List Instagram accounts connected through the BlitzReels UI for the authenticated workspace, including their connection status.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"required": [
"connections",
"count"
],
"properties": {
"count": {
"type": "number"
},
"connections": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}publishing_instagram_schedule — Schedule Instagram Publish
Schedule a completed project export to Instagram. Optional includeAffiliateCta appends Try BlitzReels for free plus the Affonso tracking URL. Requires an active Instagram account connected in the BlitzReels UI.
{
"type": "object",
"required": [
"projectId",
"scheduledFor"
],
"properties": {
"caption": {
"type": "string",
"description": "Caption text (max 2200)."
},
"exportId": {
"type": "string",
"format": "uuid",
"description": "Completed export UUID. Defaults to latest completed. UUID string."
},
"timezone": {
"type": "string",
"default": "UTC",
"description": "IANA timezone. Defaults to UTC."
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Project UUID. UUID string."
},
"trialReel": {
"type": "boolean",
"description": "Publish as Trial Reel (video only)."
},
"shareToFeed": {
"type": "boolean",
"description": "Also share Reel to profile feed."
},
"connectionId": {
"type": "string",
"description": "Instagram connection UUID when multiple exist."
},
"scheduledFor": {
"type": "string",
"description": "ISO-8601 datetime for the scheduled publish."
},
"affiliateCtaText": {
"type": "string",
"description": "Optional CTA text override (max 80)."
},
"includeAffiliateCta": {
"type": "boolean",
"default": false,
"description": "Append Try BlitzReels for free plus Affonso tracking URL."
},
"affiliateTrackingUrl": {
"type": "string",
"description": "Optional BlitzReels URL with via/ref/aff override."
},
"trialGraduationStrategy": {
"anyOf": [
{
"enum": [
"MANUAL",
"SS_PERFORMANCE"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"postId",
"targetId",
"platform",
"status",
"scheduledFor",
"connectionId",
"exportId",
"projectId",
"publishKind"
],
"properties": {
"postId": {
"type": "string"
},
"status": {
"type": "string"
},
"exportId": {
"type": "string"
},
"platform": {
"type": "string"
},
"targetId": {
"type": "string"
},
"projectId": {
"type": "string"
},
"publishKind": {
"type": "string"
},
"connectionId": {
"type": "string"
},
"scheduledFor": {
"type": "string"
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}publishing_accounts_list — Read Connected Publishing Accounts
Read the supported accounts available through the existing workspace and provider access rules. Does not connect new accounts, publish, schedule or bypass provider review.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"limit",
"offset"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}publishing_video_schedule — Schedule Reviewed Video Publication
Schedule a selected existing video asset to explicit active YouTube, Instagram, Facebook, TikTok, LinkedIn or Threads accounts connected in the BlitzReels UI, using reviewed copy, privacy/consent choices, synthetic-media disclosure, time and timezone. Requires confirmPublish=true. Existing workspace permissions and provider access rules apply. A scheduled receipt is not proof of publication.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"media_asset_id",
"contains_synthetic_media",
"scheduled_for",
"targets",
"workspaceId",
"idempotencyKey",
"confirmPublish"
],
"properties": {
"caption": {
"anyOf": [
{
"type": "string",
"maxLength": 5000
},
{
"type": "null"
}
]
},
"targets": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"platform"
],
"properties": {
"platform": {
"type": "string",
"const": "linkedin"
},
"connection_id": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"platform"
],
"properties": {
"platform": {
"type": "string",
"const": "threads"
},
"connection_id": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"platform"
],
"properties": {
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 100,
"minLength": 1
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"const": "youtube"
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 5000
},
{
"type": "null"
}
]
},
"connection_id": {
"type": [
"string",
"null"
]
},
"made_for_kids": {
"type": [
"boolean",
"null"
]
},
"privacy_status": {
"anyOf": [
{
"enum": [
"private",
"unlisted",
"public"
],
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"platform"
],
"properties": {
"platform": {
"type": "string",
"const": "instagram"
},
"trial_reel": {
"type": [
"boolean",
"null"
]
},
"connection_id": {
"type": [
"string",
"null"
]
},
"share_to_feed": {
"type": [
"boolean",
"null"
]
},
"trial_graduation_strategy": {
"anyOf": [
{
"enum": [
"MANUAL",
"SS_PERFORMANCE"
],
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"platform"
],
"properties": {
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"const": "facebook"
},
"connection_id": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"platform"
],
"properties": {
"platform": {
"type": "string",
"const": "tiktok"
},
"allow_duet": {
"type": [
"boolean",
"null"
]
},
"allow_stitch": {
"type": [
"boolean",
"null"
]
},
"publish_mode": {
"anyOf": [
{
"enum": [
"direct_post",
"draft"
],
"type": "string"
},
{
"type": "null"
}
]
},
"allow_comment": {
"type": [
"boolean",
"null"
]
},
"brand_organic": {
"type": [
"boolean",
"null"
]
},
"connection_id": {
"type": [
"string",
"null"
]
},
"privacy_level": {
"anyOf": [
{
"enum": [
"PUBLIC_TO_EVERYONE",
"FOLLOWER_OF_CREATOR",
"MUTUAL_FOLLOW_FRIENDS",
"SELF_ONLY"
],
"type": "string"
},
{
"type": "null"
}
]
},
"branded_content": {
"type": [
"boolean",
"null"
]
},
"is_ai_generated": {
"type": [
"boolean",
"null"
]
},
"consent_accepted": {
"type": [
"boolean",
"null"
]
},
"cover_timestamp_ms": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"commercial_content_enabled": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
}
]
},
"maxItems": 6,
"minItems": 1
},
"timezone": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
},
"scheduled_for": {
"type": "string"
},
"confirmPublish": {
"type": "boolean",
"const": true
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"media_asset_id": {
"type": "string"
},
"affiliate_cta_text": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
]
},
"include_affiliate_cta": {
"type": "boolean"
},
"affiliate_tracking_url": {
"anyOf": [
{
"type": "string",
"format": "uri",
"maxLength": 500
},
{
"type": "null"
}
]
},
"contains_synthetic_media": {
"type": "boolean"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}publishing_post_get — Verify Video Publication
Read the current targets for one publishing receipt with scheduled/published state and verified remote URLs. Does not retry or publish a failed target.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"workspaceId",
"postId"
],
"properties": {
"postId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}timeline_trim_preview — Preview Timeline Trim
Preview trimming or extending one timeline item without changing the project.
{
"type": "object",
"required": [
"projectId",
"expectedRevision",
"timelineItemId",
"trimStartDeltaSeconds",
"trimEndDeltaSeconds",
"snapToFrame"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"snapToFrame": {
"type": "boolean"
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"expectedRevision": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Expected sequence revision, or null."
},
"trimEndDeltaSeconds": {
"type": "number"
},
"trimStartDeltaSeconds": {
"type": "number"
}
},
"additionalProperties": false
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"plan"
],
"properties": {
"plan": {
"type": "object",
"required": [
"operation_id",
"project_id",
"current_revision",
"expected_revision",
"destructive",
"affected_timeline_item_ids",
"would_create_timeline_item_ids",
"would_delete_timeline_item_ids",
"change_count",
"warnings"
],
"properties": {
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"project_id": {
"type": "string",
"format": "uuid"
},
"destructive": {
"type": "boolean"
},
"change_count": {
"type": "number",
"minimum": 0
},
"operation_id": {
"enum": [
"timeline.item.trim",
"timeline.item.split"
],
"type": "string"
},
"current_revision": {
"type": "number",
"minimum": 0
},
"expected_revision": {
"type": [
"number",
"null"
],
"minimum": 0
},
"affected_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"would_create_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"would_delete_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message",
"retryable",
"details"
],
"properties": {
"code": {
"enum": [
"validation_error",
"not_found",
"permission_denied",
"revision_conflict",
"idempotency_conflict",
"operation_in_progress",
"operation_previous_failure",
"sequence_busy",
"mutation_failed"
],
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}timeline_trim_apply — Apply Timeline Trim
Trim or extend one timeline item at the expected project revision. Changes existing timeline state and returns a retry-safe receipt.
{
"type": "object",
"required": [
"projectId",
"expectedRevision",
"idempotencyKey",
"timelineItemId",
"trimStartDeltaSeconds",
"trimEndDeltaSeconds",
"snapToFrame"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"snapToFrame": {
"type": "boolean"
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"expectedRevision": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Expected sequence revision, or null."
},
"trimEndDeltaSeconds": {
"type": "number"
},
"trimStartDeltaSeconds": {
"type": "number"
}
},
"additionalProperties": false
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"result",
"mutationReceipt"
],
"properties": {
"result": {
"oneOf": [
{
"type": "object",
"required": [
"success",
"operation_id",
"project_id",
"mutation_receipt_id",
"idempotency_key",
"base_revision",
"revision",
"replayed",
"txid",
"affected_timeline_item_ids",
"created_timeline_item_ids",
"deleted_timeline_item_ids",
"warnings",
"result"
],
"properties": {
"txid": {
"type": "number",
"minimum": 0
},
"result": {
"type": "object",
"required": [
"timeline_item_id",
"trim_start_units",
"trim_end_units",
"trim_start_seconds",
"trim_end_seconds",
"message"
],
"properties": {
"message": {
"type": "string"
},
"trim_end_units": {
"type": "string"
},
"timeline_item_id": {
"type": "string",
"format": "uuid"
},
"trim_end_seconds": {
"type": "number"
},
"trim_start_units": {
"type": "string"
},
"trim_start_seconds": {
"type": "number"
}
},
"additionalProperties": false
},
"success": {
"type": "boolean",
"const": true
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "number",
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"project_id": {
"type": "string",
"format": "uuid"
},
"operation_id": {
"type": "string",
"const": "timeline.item.trim"
},
"base_revision": {
"type": "number",
"minimum": 0
},
"idempotency_key": {
"type": "string"
},
"mutation_receipt_id": {
"type": "string"
},
"created_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"deleted_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"affected_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"success",
"operation_id",
"project_id",
"mutation_receipt_id",
"idempotency_key",
"base_revision",
"revision",
"replayed",
"txid",
"affected_timeline_item_ids",
"created_timeline_item_ids",
"deleted_timeline_item_ids",
"warnings",
"result"
],
"properties": {
"txid": {
"type": "number",
"minimum": 0
},
"result": {
"type": "object",
"required": [
"left_timeline_item_id",
"right_timeline_item_id",
"split_at_units",
"split_at_seconds"
],
"properties": {
"split_at_units": {
"type": "string"
},
"split_at_seconds": {
"type": "number"
},
"left_timeline_item_id": {
"type": "string",
"format": "uuid"
},
"right_timeline_item_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"success": {
"type": "boolean",
"const": true
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "number",
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"project_id": {
"type": "string",
"format": "uuid"
},
"operation_id": {
"type": "string",
"const": "timeline.item.split"
},
"base_revision": {
"type": "number",
"minimum": 0
},
"idempotency_key": {
"type": "string"
},
"mutation_receipt_id": {
"type": "string"
},
"created_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"deleted_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"affected_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
}
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message",
"retryable",
"details"
],
"properties": {
"code": {
"enum": [
"validation_error",
"not_found",
"permission_denied",
"revision_conflict",
"idempotency_conflict",
"operation_in_progress",
"operation_previous_failure",
"sequence_busy",
"mutation_failed"
],
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}timeline_split_preview — Preview Timeline Split
Preview splitting one timeline item without changing the project.
{
"type": "object",
"required": [
"projectId",
"expectedRevision",
"timelineItemId",
"splitAtSeconds",
"snapToFrame"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"snapToFrame": {
"type": "boolean"
},
"splitAtSeconds": {
"type": "number",
"minimum": 0
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"expectedRevision": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Expected sequence revision, or null."
}
},
"additionalProperties": false
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"plan"
],
"properties": {
"plan": {
"type": "object",
"required": [
"operation_id",
"project_id",
"current_revision",
"expected_revision",
"destructive",
"affected_timeline_item_ids",
"would_create_timeline_item_ids",
"would_delete_timeline_item_ids",
"change_count",
"warnings"
],
"properties": {
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"project_id": {
"type": "string",
"format": "uuid"
},
"destructive": {
"type": "boolean"
},
"change_count": {
"type": "number",
"minimum": 0
},
"operation_id": {
"enum": [
"timeline.item.trim",
"timeline.item.split"
],
"type": "string"
},
"current_revision": {
"type": "number",
"minimum": 0
},
"expected_revision": {
"type": [
"number",
"null"
],
"minimum": 0
},
"affected_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"would_create_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"would_delete_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message",
"retryable",
"details"
],
"properties": {
"code": {
"enum": [
"validation_error",
"not_found",
"permission_denied",
"revision_conflict",
"idempotency_conflict",
"operation_in_progress",
"operation_previous_failure",
"sequence_busy",
"mutation_failed"
],
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}timeline_split_apply — Apply Timeline Split
Split one timeline item at the expected project revision. Changes existing timeline state and returns a retry-safe receipt.
{
"type": "object",
"required": [
"projectId",
"expectedRevision",
"idempotencyKey",
"timelineItemId",
"splitAtSeconds",
"snapToFrame"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"snapToFrame": {
"type": "boolean"
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 200,
"minLength": 8
},
"splitAtSeconds": {
"type": "number",
"minimum": 0
},
"timelineItemId": {
"type": "string",
"format": "uuid"
},
"expectedRevision": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "Expected sequence revision, or null."
}
},
"additionalProperties": false
}{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"result",
"mutationReceipt"
],
"properties": {
"result": {
"oneOf": [
{
"type": "object",
"required": [
"success",
"operation_id",
"project_id",
"mutation_receipt_id",
"idempotency_key",
"base_revision",
"revision",
"replayed",
"txid",
"affected_timeline_item_ids",
"created_timeline_item_ids",
"deleted_timeline_item_ids",
"warnings",
"result"
],
"properties": {
"txid": {
"type": "number",
"minimum": 0
},
"result": {
"type": "object",
"required": [
"timeline_item_id",
"trim_start_units",
"trim_end_units",
"trim_start_seconds",
"trim_end_seconds",
"message"
],
"properties": {
"message": {
"type": "string"
},
"trim_end_units": {
"type": "string"
},
"timeline_item_id": {
"type": "string",
"format": "uuid"
},
"trim_end_seconds": {
"type": "number"
},
"trim_start_units": {
"type": "string"
},
"trim_start_seconds": {
"type": "number"
}
},
"additionalProperties": false
},
"success": {
"type": "boolean",
"const": true
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "number",
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"project_id": {
"type": "string",
"format": "uuid"
},
"operation_id": {
"type": "string",
"const": "timeline.item.trim"
},
"base_revision": {
"type": "number",
"minimum": 0
},
"idempotency_key": {
"type": "string"
},
"mutation_receipt_id": {
"type": "string"
},
"created_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"deleted_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"affected_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"success",
"operation_id",
"project_id",
"mutation_receipt_id",
"idempotency_key",
"base_revision",
"revision",
"replayed",
"txid",
"affected_timeline_item_ids",
"created_timeline_item_ids",
"deleted_timeline_item_ids",
"warnings",
"result"
],
"properties": {
"txid": {
"type": "number",
"minimum": 0
},
"result": {
"type": "object",
"required": [
"left_timeline_item_id",
"right_timeline_item_id",
"split_at_units",
"split_at_seconds"
],
"properties": {
"split_at_units": {
"type": "string"
},
"split_at_seconds": {
"type": "number"
},
"left_timeline_item_id": {
"type": "string",
"format": "uuid"
},
"right_timeline_item_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"success": {
"type": "boolean",
"const": true
},
"replayed": {
"type": "boolean"
},
"revision": {
"type": "number",
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"project_id": {
"type": "string",
"format": "uuid"
},
"operation_id": {
"type": "string",
"const": "timeline.item.split"
},
"base_revision": {
"type": "number",
"minimum": 0
},
"idempotency_key": {
"type": "string"
},
"mutation_receipt_id": {
"type": "string"
},
"created_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"deleted_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"affected_timeline_item_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
}
]
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message",
"retryable",
"details"
],
"properties": {
"code": {
"enum": [
"validation_error",
"not_found",
"permission_denied",
"revision_conflict",
"idempotency_conflict",
"operation_in_progress",
"operation_previous_failure",
"sequence_busy",
"mutation_failed"
],
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_slides_reorder — Carousel Slides reorder
Move one carousel slide to a new index. Replaces the existing slide order.
{
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"from",
"to"
],
"properties": {
"to": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"from": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"name",
"platform",
"locale",
"frame",
"style",
"slides",
"templates",
"can_undo",
"warnings",
"next_actions",
"txid",
"mutationReceipt"
],
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"txid": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"status": {
"type": "string",
"const": "completed"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_slides_remove — Carousel Slides remove
Remove one carousel slide and its content from the project.
{
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"index"
],
"properties": {
"index": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"name",
"platform",
"locale",
"frame",
"style",
"slides",
"templates",
"can_undo",
"warnings",
"next_actions",
"txid",
"mutationReceipt"
],
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"txid": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"status": {
"type": "string",
"const": "completed"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_slides_insert — Carousel Slides insert
Insert one new carousel slide from a named template or copy an existing slide. Preserves existing slide content.
{
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"index"
],
"properties": {
"index": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"templateId": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"sourceIndex": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"name",
"platform",
"locale",
"frame",
"style",
"slides",
"templates",
"can_undo",
"warnings",
"next_actions",
"txid",
"mutationReceipt"
],
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"txid": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"status": {
"type": "string",
"const": "completed"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}carousels_slides_undo — Carousel Slides undo
Restore the previous carousel document revision, replacing the current slide document.
{
"type": "object",
"required": [
"idempotencyKey",
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"project_id",
"revision",
"name",
"platform",
"locale",
"frame",
"style",
"slides",
"templates",
"can_undo",
"warnings",
"next_actions",
"txid",
"mutationReceipt"
],
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"txid": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"status": {
"type": "string",
"const": "completed"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_save_theme — Carousel save theme
Save and activate the current carousel styling as a private theme; removes the oldest saved theme when the 40-theme limit is reached.
{
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_apply_theme — Carousel apply theme
Replace this carousel's styling with an existing saved theme.
{
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"themeId"
],
"properties": {
"themeId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_delete_theme — Carousel delete theme
Delete one saved private carousel theme.
{
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"themeId"
],
"properties": {
"themeId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_save_template — Carousel save template
Save one carousel slide as a private template; removes the oldest saved template when the 40-template limit is reached.
{
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"name",
"slideIndex"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"slideIndex": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_apply_template — Carousel apply template
Replace one carousel slide with a saved private template.
{
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"savedTemplateId",
"slideIndex"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"slideIndex": {
"type": "integer",
"maximum": 34,
"minimum": 0
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"savedTemplateId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_delete_template — Carousel delete template
Delete one saved private carousel slide template.
{
"type": "object",
"required": [
"idempotencyKey",
"projectId",
"savedTemplateId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
},
"savedTemplateId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}carousels_apply_brand — Carousel apply brand
Replace this carousel's styling with the workspace's saved brand theme.
{
"type": "object",
"required": [
"idempotencyKey",
"projectId"
],
"properties": {
"projectId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "UUID string."
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"idempotencyKey": {
"type": "string",
"maxLength": 200,
"minLength": 8
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"kit": {
"type": "object",
"required": [
"themes",
"templates",
"active_theme_id"
],
"properties": {
"themes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"fontFamily",
"titleColor",
"bodyColor",
"background",
"pageColor",
"overlayEnabled",
"overlayOpacity"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"bodyColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"pageColor": {
"type": "string",
"default": "",
"maxLength": 32
},
"background": {
"type": "string",
"default": "",
"maxLength": 32
},
"fontFamily": {
"type": "string",
"default": "",
"maxLength": 80
},
"titleColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"logoAssetId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"overlayEnabled": {
"type": "boolean"
},
"overlayOpacity": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 40
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"scope",
"template_id",
"slots"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"scope": {
"enum": [
"project",
"brand"
],
"type": "string"
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 40
},
"active_theme_id": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"frame": {
"type": "object",
"required": [
"width",
"height",
"aspect_ratio"
],
"properties": {
"width": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"aspect_ratio": {
"type": "string"
}
},
"additionalProperties": false
},
"style": {
"anyOf": [
{
"type": "object",
"properties": {
"chip": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"radius": {
"type": "integer",
"maximum": 48,
"minimum": 0
},
"font_size": {
"type": "integer",
"maximum": 120,
"minimum": 12
},
"padding_x": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"padding_y": {
"type": "integer",
"maximum": 80,
"minimum": 0
},
"background": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"font_family": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"font_weight": {
"anyOf": [
{
"type": "integer",
"maximum": 900,
"minimum": 100
},
{
"type": "string"
}
]
},
"max_lines_per_chip": {
"type": "integer",
"maximum": 4,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"locale": {
"type": [
"string",
"null"
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"role",
"lines",
"slots",
"layout",
"visual"
],
"properties": {
"role": {
"anyOf": [
{
"enum": [
"hook",
"body",
"proof",
"cta"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"slots": {
"type": "object",
"propertyNames": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 4000
}
},
"layout": {
"anyOf": [
{
"enum": [
"chip_stack_ui",
"chip_stack_face_safe",
"chip_stack_top",
"title_body_card"
],
"type": "string"
},
{
"type": "null"
}
]
},
"visual": {
"type": "object",
"required": [
"kind"
],
"properties": {
"crop": {
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"top": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"left": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"html": {
"type": "string",
"maxLength": 80000,
"minLength": 20
},
"kind": {
"enum": [
"creative_source",
"media_asset",
"generate",
"solid",
"gradient",
"html",
"template"
],
"type": "string"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"colors": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"maxItems": 2,
"minItems": 1
},
"prompt": {
"type": "string",
"maxLength": 1000,
"minLength": 3
},
"model_id": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"template_id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"creative_source": {
"type": "object",
"required": [
"artifact_id",
"project_id",
"source_revision_id",
"source_revision",
"source_hash",
"runtime_identity",
"composition_id",
"frame",
"width",
"height",
"fps",
"frame_hash",
"media_asset_id",
"controls",
"values"
],
"properties": {
"fps": {
"type": "number",
"exclusiveMinimum": 0
},
"frame": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"width": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"height": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "number"
}
]
}
},
"controls": {
"anyOf": [
{
"type": "object",
"required": [
"file",
"fields"
],
"properties": {
"file": {
"type": "string",
"format": "ends_with",
"pattern": ".*\\.json$",
"maxLength": 180,
"minLength": 1
},
"fields": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"label",
"type",
"maxLength"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "text"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"maxLength": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "color"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"type": {
"type": "string",
"const": "media"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"key",
"label",
"type",
"min",
"max",
"step"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]*$",
"maxLength": 80,
"minLength": 1
},
"max": {
"type": "number",
"maximum": 10800
},
"min": {
"type": "number",
"minimum": 0
},
"step": {
"type": "number",
"exclusiveMinimum": 0
},
"type": {
"type": "string",
"const": "timing"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"frame_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"composition_id": {
"type": "string",
"minLength": 1
},
"media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_revision": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"runtime_identity": {
"type": "string",
"minLength": 1
},
"source_revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"creative_artifact_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"source_media_asset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"additionalProperties": false
},
"photo_url": {
"anyOf": [
{
"type": "string",
"maxLength": 4000,
"minLength": 1
},
{
"type": "null"
}
]
},
"slot_urls": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"maxLength": 4000,
"minLength": 1
}
}
},
"additionalProperties": false
}
},
"can_undo": {
"type": "boolean"
},
"platform": {
"anyOf": [
{
"enum": [
"tiktok_photo",
"instagram_4x5",
"linkedin"
],
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"repair": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"templates": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"family",
"slots"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
}
},
"additionalProperties": false
}
},
"family": {
"enum": [
"photo",
"designed"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"font_faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"family",
"src",
"weight",
"style",
"unicodeRange"
],
"properties": {
"src": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"style": {
"enum": [
"normal",
"italic",
"oblique"
],
"type": "string"
},
"family": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"weight": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"unicodeRange": {
"type": "string",
"maxLength": 8000
}
},
"additionalProperties": false
},
"maxItems": 256
},
"project_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"next_actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"method",
"path",
"reason"
],
"properties": {
"path": {
"type": "string"
},
"method": {
"enum": [
"GET",
"POST",
"PATCH",
"DELETE"
],
"type": "string"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"mutationReceipt": {
"type": "object",
"required": [
"id",
"key",
"operation",
"status",
"replayed"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"key": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"completed"
],
"type": "string"
},
"replayed": {
"type": "boolean"
},
"operation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}clips_delivery_promote — Promote Reviewed Clip Export
Make one completed export the accepted delivery for a clip after explicit visual-QA confirmation. Replaces the delivery pointer and preserves earlier exports.
{
"type": "object",
"required": [
"clipId",
"exportId",
"confirmVisualQa",
"idempotencyKey"
],
"properties": {
"clipId": {
"type": "string",
"minLength": 1
},
"exportId": {
"type": "string",
"minLength": 1
},
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "UUID string."
},
"idempotencyKey": {
"type": "string",
"maxLength": 255,
"minLength": 8
},
"confirmVisualQa": {
"type": "boolean",
"const": true
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}Prompts
Not advertised
Resources
6 advertised
clip-batch-widget — Clip Batch
Review playable BlitzReels clips, refresh progress and continue revisions in the conversation.
ui://widget/clip-batch.htmlprojects-widget — Projects
Shows recent BlitzReels projects and opens the selected editor.
ui://widget/projects.htmlexport-widget — Export
Follows export progress, then plays and downloads the finished video.
ui://widget/export.htmlproject-widget — Project
Shows one project with its latest export and opens it in the editor.
ui://widget/project.htmlgeneration-widget — Generation
Follows an AI generation, then previews the generated image, video or audio.
ui://widget/generation.htmlmedia-library-widget — Media Library
Browses library media and starts clips or edits from a selected file.
ui://widget/media-library.html90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-22: 1 of 1 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 2707 ms
- 95th percentile latency
- 2830 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 2570 ms · metadata changed · 151 tool(s), 6 resource(s), 0 resource template(s)
- · probe · passed · 2844 ms · metadata changed · 151 tool(s), 6 resource(s), 0 resource template(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http blitzreels-mcp https://blitzreels.com/api/mcpCodex
codex mcp add blitzreels-mcp --url https://blitzreels.com/api/mcpCursor
{
"mcpServers": {
"blitzreels-mcp": {
"url": "https://blitzreels.com/api/mcp"
}
}
}Cline
{
"mcpServers": {
"blitzreels-mcp": {
"type": "streamableHttp",
"url": "https://blitzreels.com/api/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"blitzreels-mcp": {
"type": "http",
"url": "https://blitzreels.com/api/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http blitzreels-mcp https://blitzreels.com/api/mcpClaude Desktop
https://blitzreels.com/api/mcpWindsurf
{
"mcpServers": {
"blitzreels-mcp": {
"serverUrl": "https://blitzreels.com/api/mcp"
}
}
}Let your agent find its tools
Find servers like BlitzReels MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other ai and machine learning servers
Do you run BlitzReels MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.