{
    "openapi": "3.1.0",
    "info": {
        "title": "Presentr Analyze",
        "version": "1.0.0",
        "description": "The Presentr Analyze API is a REST API. All endpoints return JSON. Authenticate using an API key as a Bearer token (`Authorization: Bearer <key>`). API keys can be created in your account settings."
    },
    "servers": [
        {
            "url": "https:\/\/analyze.presentr.me\/api"
        }
    ],
    "security": [
        {
            "http": []
        }
    ],
    "paths": {
        "\/runs\/{uuid}\/adaptation": {
            "get": {
                "operationId": "adaptation.show",
                "tags": [
                    "Adaptation"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "lang",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "state": {
                                            "type": "string"
                                        },
                                        "hold_state": {
                                            "type": "string"
                                        },
                                        "detector_version": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {}
                                            ]
                                        },
                                        "target_language": {
                                            "type": "string"
                                        },
                                        "counts": {
                                            "type": "object",
                                            "properties": {
                                                "units_open": {
                                                    "type": "integer"
                                                },
                                                "occurrences_open": {
                                                    "type": "integer"
                                                },
                                                "kept": {
                                                    "type": "integer"
                                                },
                                                "rewritten": {
                                                    "type": "integer"
                                                }
                                            },
                                            "required": [
                                                "units_open",
                                                "occurrences_open",
                                                "kept",
                                                "rewritten"
                                            ]
                                        },
                                        "units": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "state",
                                        "hold_state",
                                        "detector_version",
                                        "target_language",
                                        "counts",
                                        "units"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/translated-cues\/{cueId}": {
            "put": {
                "operationId": "adaptation.updateCue",
                "tags": [
                    "Adaptation"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "cueId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "target_language": {
                                        "type": "string"
                                    },
                                    "text": {
                                        "type": "string",
                                        "maxLength": 2000
                                    }
                                },
                                "required": [
                                    "target_language",
                                    "text"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "cue_id": {
                                            "type": "string"
                                        },
                                        "target_language": {
                                            "type": "string"
                                        },
                                        "text": {
                                            "type": "string"
                                        },
                                        "version": {
                                            "type": "integer"
                                        }
                                    },
                                    "required": [
                                        "cue_id",
                                        "target_language",
                                        "text",
                                        "version"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/runs\/{uuid}\/adaptation\/occurrences\/{id}\/review": {
            "post": {
                "operationId": "adaptation.reviewOccurrence",
                "tags": [
                    "Adaptation"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "state": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "ok",
                                        "state"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/adaptation\/units\/{id}\/review": {
            "post": {
                "operationId": "adaptation.reviewUnit",
                "tags": [
                    "Adaptation"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "state": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "ok",
                                        "state"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/adaptation\/retry-render": {
            "post": {
                "operationId": "adaptation.retryRender",
                "tags": [
                    "Adaptation"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "hold_state": {
                                            "type": "string",
                                            "const": "rendering"
                                        }
                                    },
                                    "required": [
                                        "ok",
                                        "hold_state"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "This adapted render is not currently retryable."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs": {
            "get": {
                "operationId": "analysisJob.index",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "paginate",
                        "in": "query",
                        "schema": {
                            "type": [
                                "boolean",
                                "null"
                            ]
                        }
                    },
                    {
                        "name": "q",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ]
                        }
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "enum": [
                                "pending_upload",
                                "queued",
                                "processing",
                                "complete",
                                "failed",
                                "cancelled"
                            ]
                        }
                    },
                    {
                        "name": "pipeline_id",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ]
                        }
                    },
                    {
                        "name": "subject_area",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 120
                        }
                    },
                    {
                        "name": "iab_category",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 120
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": [
                                "integer",
                                "null"
                            ],
                            "minimum": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": [
                                "integer",
                                "null"
                            ],
                            "minimum": 1,
                            "maximum": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "data": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "additionalProperties": {}
                                                    }
                                                },
                                                "meta": {
                                                    "type": "object",
                                                    "properties": {
                                                        "total": {
                                                            "type": "string"
                                                        },
                                                        "page": {
                                                            "type": [
                                                                "object",
                                                                "null"
                                                            ]
                                                        },
                                                        "per_page": {
                                                            "type": "integer"
                                                        },
                                                        "last_page": {
                                                            "type": [
                                                                "object",
                                                                "null"
                                                            ]
                                                        },
                                                        "from": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "integer",
                                                                    "enum": [
                                                                        0
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "to": {
                                                            "type": [
                                                                "object",
                                                                "null"
                                                            ]
                                                        },
                                                        "q": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "status": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "pipeline_id": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "subject_area": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "iab_category": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "total",
                                                        "page",
                                                        "per_page",
                                                        "last_page",
                                                        "from",
                                                        "to",
                                                        "q",
                                                        "status",
                                                        "pipeline_id",
                                                        "subject_area",
                                                        "iab_category"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "data",
                                                "meta"
                                            ]
                                        },
                                        {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "additionalProperties": {}
                                            }
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            },
            "post": {
                "operationId": "analysisJob.store",
                "tags": [
                    "AnalysisJob"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "title": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    },
                                    "source_type": {
                                        "type": "string",
                                        "enum": [
                                            "upload",
                                            "url",
                                            "youtube",
                                            "api",
                                            "webhook"
                                        ]
                                    },
                                    "source_value": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "source_uuid": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "mode": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "quick",
                                            "workflow"
                                        ]
                                    },
                                    "language": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 10
                                    },
                                    "desired_breaks": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 20
                                    },
                                    "requested_features": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "requested_artifacts": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "output_formats": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "template_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "destination_ids": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "destination_uuid": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "delivery_mode": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "manual",
                                            "on_processed",
                                            "on_finalize",
                                            "scheduled",
                                            "on_success",
                                            "auto_accept_on_confidence"
                                        ]
                                    },
                                    "auto_accept_min_confidence": {
                                        "type": [
                                            "number",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 1
                                    },
                                    "auto_delivery": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "options": {
                                        "type": "object",
                                        "description": "legacy alias",
                                        "properties": {
                                            "source_tab": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 50
                                            },
                                            "viewer_region": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "description": "The viewer's country from the browser (ProxyCountries): the\nproxy tries it first for links. Anything else is dropped.",
                                                "pattern": "^[A-Za-z]{2}$"
                                            },
                                            "quick_task": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "description": "Which quick-flow task was picked; the run page opens on its output.",
                                                "enum": [
                                                    "transcribe",
                                                    "caption",
                                                    "translate",
                                                    "dub",
                                                    "repair",
                                                    "extract"
                                                ]
                                            },
                                            "selected_integration": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "language": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 10
                                            },
                                            "model": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "content_type": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 50
                                            },
                                            "placement_preference": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 50
                                            },
                                            "detect_ad_markers": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "generate_chapters": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "summary_enabled": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "translation_enabled": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "translation_target": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 10
                                            },
                                            "target_language": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 10
                                            },
                                            "translation_mode": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 50
                                            },
                                            "translation_add_subtitles": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "translation_subtitle_mode": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "enum": [
                                                    "add",
                                                    "replace"
                                                ]
                                            },
                                            "adaptation_check": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "adaptation_hold_delivery": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "dubbing_requested": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ],
                                                "description": "Quick \"Dub\": start the dub when the run finishes (autoRequestOnCompletion)."
                                            },
                                            "dubbing_voice": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 64
                                            },
                                            "dubbing_with_video": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "dubbing_source": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "description": "...from the user's own subtitle file (M2b).",
                                                "enum": [
                                                    "subtitle_upload"
                                                ]
                                            },
                                            "dubbing_target_language": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 10
                                            },
                                            "dubbing_script_language": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 10
                                            },
                                            "conformance_profile_override": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "enum": [
                                                    "none",
                                                    "broadcast_hd_2997",
                                                    "broadcast_hd_25",
                                                    "broadcast_uhd_2997",
                                                    "streaming_1080p_30",
                                                    "streaming_720p_30",
                                                    "podcast_audio_only"
                                                ]
                                            },
                                            "presentation_analysis": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "pose_analysis": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "gaze_analysis": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "sentiment_analysis": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "speaker_detection": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 50
                                            },
                                            "requested_artifacts": {
                                                "type": [
                                                    "array",
                                                    "null"
                                                ],
                                                "items": {
                                                    "type": "string"
                                                }
                                            },
                                            "skip_intro_seconds": {
                                                "type": [
                                                    "number",
                                                    "null"
                                                ],
                                                "minimum": 0
                                            },
                                            "media_output": {
                                                "type": [
                                                    "object",
                                                    "null"
                                                ],
                                                "properties": {
                                                    "enabled": {
                                                        "type": [
                                                            "boolean",
                                                            "null"
                                                        ]
                                                    },
                                                    "variant": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "maxLength": 50
                                                    },
                                                    "embed_chapters": {
                                                        "type": [
                                                            "boolean",
                                                            "null"
                                                        ]
                                                    },
                                                    "embed_ad_markers": {
                                                        "type": [
                                                            "boolean",
                                                            "null"
                                                        ]
                                                    },
                                                    "delivery": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ],
                                                        "maxLength": 50
                                                    }
                                                }
                                            },
                                            "schedule": {
                                                "type": [
                                                    "array",
                                                    "null"
                                                ],
                                                "items": {
                                                    "type": "string"
                                                }
                                            },
                                            "advanced": {
                                                "type": [
                                                    "array",
                                                    "null"
                                                ],
                                                "items": {
                                                    "type": "string"
                                                }
                                            },
                                            "names": {
                                                "type": [
                                                    "array",
                                                    "null"
                                                ],
                                                "description": "Checked in detail by RunNames (strings or {term, target}).",
                                                "items": {
                                                    "type": "string"
                                                }
                                            }
                                        }
                                    }
                                },
                                "required": [
                                    "source_type"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": {
                                        "anyOf": [
                                            {},
                                            {
                                                "type": "array",
                                                "items": {}
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/runs\/{uuid}": {
            "get": {
                "operationId": "analysisJob.show",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": {}
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "analysisJob.update",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "title": {
                                        "type": "string",
                                        "maxLength": 255
                                    }
                                },
                                "required": [
                                    "title"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": {}
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            },
            "delete": {
                "operationId": "analysisJob.destroy",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "This run is being dubbed. Delete it once the dub finishes."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "Cannot delete a run that is currently processing."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/status": {
            "get": {
                "operationId": "analysisJob.status",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "run_id": {
                                            "type": "string"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "is_terminal": {
                                            "type": "boolean"
                                        },
                                        "completed": {
                                            "type": "boolean"
                                        },
                                        "poll_after_ms": {
                                            "type": "integer",
                                            "enum": [
                                                3000,
                                                1500,
                                                2000,
                                                0
                                            ]
                                        },
                                        "error_message": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "progress": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "stage": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "stage_key": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "updated_at": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "run": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "type": "string"
                                                },
                                                "results": {
                                                    "type": "string"
                                                },
                                                "deliveries": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "run",
                                                "status",
                                                "results",
                                                "deliveries"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "run_id",
                                        "status",
                                        "is_terminal",
                                        "completed",
                                        "poll_after_ms",
                                        "error_message",
                                        "progress",
                                        "stage",
                                        "stage_key",
                                        "updated_at",
                                        "links"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/results": {
            "get": {
                "operationId": "analysisJob.results",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": {}
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/source": {
            "post": {
                "operationId": "analysisJob.uploadSource",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "file": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "run": {
                                            "type": "object",
                                            "additionalProperties": {}
                                        },
                                        "source_s3_key": {
                                            "type": "string"
                                        },
                                        "source_url": {
                                            "type": "null"
                                        }
                                    },
                                    "required": [
                                        "ok",
                                        "run",
                                        "source_s3_key",
                                        "source_url"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    },
                    "500": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "Unable to read uploaded file stream."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/quote": {
            "get": {
                "operationId": "analysisJob.quote",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/dispatch": {
            "post": {
                "operationId": "analysisJob.dispatch",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/cancel": {
            "post": {
                "operationId": "analysisJob.cancel",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": {}
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/media-answer": {
            "post": {
                "operationId": "analysisJob.mediaAnswer",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "answer": {
                                        "type": "string",
                                        "maxLength": 200
                                    }
                                },
                                "required": [
                                    "answer"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "run": {
                                            "type": "object",
                                            "additionalProperties": {}
                                        }
                                    },
                                    "required": [
                                        "run"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/runs\/{uuid}\/captions\/upload": {
            "post": {
                "operationId": "analysisJob.uploadCaptions",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "cue_count": {
                                            "type": "integer"
                                        },
                                        "hint_language": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "cue_count",
                                        "hint_language"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "message": {
                                                    "type": "string",
                                                    "const": "Caption file could not be parsed."
                                                },
                                                "error_code": {
                                                    "type": "string",
                                                    "const": "caption_file_parse_failed"
                                                },
                                                "detail": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "message",
                                                "error_code",
                                                "detail"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "message": {
                                                    "type": "string",
                                                    "const": "Caption file could not be read."
                                                },
                                                "error_code": {
                                                    "type": "string",
                                                    "const": "caption_file_parse_failed"
                                                },
                                                "detail": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "message",
                                                "error_code",
                                                "detail"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "message": {
                                                    "type": "string",
                                                    "const": "Only SRT and VTT caption files are supported."
                                                },
                                                "error_code": {
                                                    "type": "string",
                                                    "const": "caption_file_unsupported_format"
                                                },
                                                "detail": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "message",
                                                "error_code",
                                                "detail"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "message": {
                                                    "type": "string",
                                                    "const": "Caption uploads are limited to 1 MB."
                                                },
                                                "error_code": {
                                                    "type": "string",
                                                    "const": "caption_file_too_large"
                                                },
                                                "detail": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "message",
                                                "error_code",
                                                "detail"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "message": {
                                                    "type": "string",
                                                    "const": "A valid SRT or VTT file is required."
                                                },
                                                "error_code": {
                                                    "type": "string",
                                                    "const": "caption_file_parse_failed"
                                                },
                                                "detail": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "message",
                                                "error_code",
                                                "detail"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/captions\/align": {
            "post": {
                "operationId": "analysisJob.alignCaptions",
                "tags": [
                    "AnalysisJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "caption_upload_uuid": {
                                        "type": "string",
                                        "maxLength": 64
                                    },
                                    "language_hint": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "pattern": "^(match|[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,8})?)$",
                                        "maxLength": 16
                                    }
                                },
                                "required": [
                                    "caption_upload_uuid"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "original_filename": {
                                                    "type": "string"
                                                },
                                                "measured_at": {
                                                    "type": "string"
                                                },
                                                "cue_count": {
                                                    "type": "integer"
                                                },
                                                "cues_retimed": {
                                                    "type": "string"
                                                },
                                                "cues_unmatched": {
                                                    "type": "integer"
                                                },
                                                "preview_window_ms": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ]
                                                },
                                                "cues_beyond_preview": {
                                                    "type": "integer"
                                                },
                                                "max_drift_ms": {
                                                    "anyOf": [
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "object"
                                                        },
                                                        {
                                                            "type": "integer",
                                                            "enum": [
                                                                0
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "mean_drift_ms": {
                                                    "anyOf": [
                                                        {
                                                            "type": "integer"
                                                        },
                                                        {
                                                            "type": "integer",
                                                            "enum": [
                                                                0
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "quality": {
                                                    "type": "string",
                                                    "enum": [
                                                        "excellent",
                                                        "good",
                                                        "marginal",
                                                        "poor"
                                                    ]
                                                },
                                                "language_mismatch_warning": {
                                                    "type": "string",
                                                    "const": "We couldn't confirm your captions are in the same language as the audio. Check the retimed file before using it."
                                                },
                                                "unmatched_indexes": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "source_artifact_key": {
                                                    "type": "string",
                                                    "const": "caption_source_original"
                                                },
                                                "source_upload_uuid": {
                                                    "type": "string",
                                                    "description": "Lets the run page retime the same upload again (preview \u2192 full)."
                                                },
                                                "retimed_artifact_keys": {
                                                    "type": "array",
                                                    "prefixItems": [
                                                        {
                                                            "type": "string",
                                                            "const": "caption_retime_srt"
                                                        },
                                                        {
                                                            "type": "string",
                                                            "const": "caption_retime_vtt"
                                                        }
                                                    ],
                                                    "minItems": 2,
                                                    "maxItems": 2,
                                                    "additionalItems": false
                                                }
                                            },
                                            "required": [
                                                "original_filename",
                                                "measured_at",
                                                "cue_count",
                                                "cues_retimed",
                                                "cues_unmatched",
                                                "preview_window_ms",
                                                "cues_beyond_preview",
                                                "max_drift_ms",
                                                "mean_drift_ms",
                                                "quality",
                                                "language_mismatch_warning",
                                                "unmatched_indexes",
                                                "source_artifact_key",
                                                "source_upload_uuid",
                                                "retimed_artifact_keys"
                                            ]
                                        },
                                        {
                                            "type": "string"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/v1\/jobs\/{uuid}": {
            "get": {
                "operationId": "analyzeJob.show",
                "tags": [
                    "AnalyzeJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "job": {
                                            "type": "object",
                                            "properties": {
                                                "uuid": {
                                                    "type": "string"
                                                },
                                                "type": {
                                                    "anyOf": [
                                                        {
                                                            "type": "string"
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "string",
                                                            "enum": [
                                                                "podcast_analysis"
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "status": {
                                                    "type": "string"
                                                },
                                                "created_at": {
                                                    "type": "string"
                                                },
                                                "started_at": {
                                                    "type": "string"
                                                },
                                                "completed_at": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "type",
                                                "status",
                                                "created_at",
                                                "started_at",
                                                "completed_at"
                                            ]
                                        },
                                        "progress": {
                                            "type": "object",
                                            "properties": {
                                                "stage": {
                                                    "type": "string"
                                                },
                                                "percent": {
                                                    "type": "integer"
                                                }
                                            },
                                            "required": [
                                                "stage",
                                                "percent"
                                            ]
                                        },
                                        "result": {
                                            "type": [
                                                "object",
                                                "null"
                                            ],
                                            "properties": {
                                                "type": {
                                                    "type": "string",
                                                    "const": "podcast_analysis_result"
                                                },
                                                "duration_sec": {
                                                    "type": "integer"
                                                },
                                                "language": {
                                                    "anyOf": [
                                                        {
                                                            "type": "string"
                                                        },
                                                        {
                                                            "type": "null"
                                                        }
                                                    ]
                                                },
                                                "transcript_summary": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "ad_markers": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "index": {
                                                                "type": "string"
                                                            },
                                                            "start_sec": {
                                                                "type": [
                                                                    "number",
                                                                    "null"
                                                                ]
                                                            },
                                                            "confidence": {
                                                                "type": [
                                                                    "number",
                                                                    "null"
                                                                ]
                                                            },
                                                            "reason": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            }
                                                        },
                                                        "required": [
                                                            "index",
                                                            "start_sec",
                                                            "confidence",
                                                            "reason"
                                                        ]
                                                    }
                                                },
                                                "chapters": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "title": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "string",
                                                                        "enum": [
                                                                            "Untitled"
                                                                        ]
                                                                    }
                                                                ]
                                                            },
                                                            "start_sec": {
                                                                "type": "number"
                                                            },
                                                            "end_sec": {
                                                                "type": [
                                                                    "number",
                                                                    "null"
                                                                ]
                                                            }
                                                        },
                                                        "required": [
                                                            "title",
                                                            "start_sec",
                                                            "end_sec"
                                                        ]
                                                    }
                                                },
                                                "media_health": {
                                                    "type": "object",
                                                    "properties": {
                                                        "caption_ready": {
                                                            "type": "string"
                                                        },
                                                        "audio_loudness_checked": {
                                                            "type": "string"
                                                        },
                                                        "issues": {
                                                            "type": "array",
                                                            "items": {}
                                                        }
                                                    },
                                                    "required": [
                                                        "caption_ready",
                                                        "audio_loudness_checked",
                                                        "issues"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "type",
                                                "duration_sec",
                                                "language",
                                                "transcript_summary",
                                                "ad_markers",
                                                "chapters",
                                                "media_health"
                                            ]
                                        },
                                        "artifacts": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "type": {
                                                                "type": "string"
                                                            },
                                                            "filename": {
                                                                "type": "string"
                                                            },
                                                            "url": {
                                                                "type": "string"
                                                            },
                                                            "expires_at": {
                                                                "type": "string"
                                                            },
                                                            "content_type": {
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "string",
                                                                        "enum": [
                                                                            "application\/octet-stream"
                                                                        ]
                                                                    }
                                                                ]
                                                            }
                                                        },
                                                        "required": [
                                                            "type",
                                                            "filename",
                                                            "url",
                                                            "expires_at",
                                                            "content_type"
                                                        ]
                                                    }
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        }
                                    },
                                    "required": [
                                        "job",
                                        "progress",
                                        "result",
                                        "artifacts"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/v1\/jobs\/{uuid}\/artifacts": {
            "get": {
                "operationId": "analyzeJob.artifacts",
                "tags": [
                    "AnalyzeJob"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "job_uuid": {
                                            "type": "string"
                                        },
                                        "artifacts": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "filename": {
                                                        "type": "string"
                                                    },
                                                    "url": {
                                                        "type": "string"
                                                    },
                                                    "expires_at": {
                                                        "type": "string"
                                                    },
                                                    "content_type": {
                                                        "anyOf": [
                                                            {
                                                                "type": "string"
                                                            },
                                                            {
                                                                "type": "string",
                                                                "enum": [
                                                                    "application\/octet-stream"
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                },
                                                "required": [
                                                    "type",
                                                    "filename",
                                                    "url",
                                                    "expires_at",
                                                    "content_type"
                                                ]
                                            }
                                        }
                                    },
                                    "required": [
                                        "job_uuid",
                                        "artifacts"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/unsubscribe\/{user}": {
            "get": {
                "operationId": "unsubscribe.confirm",
                "tags": [
                    "AnnouncementSubscription"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user ID",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#\/components\/responses\/ModelNotFoundException"
                    }
                }
            },
            "post": {
                "operationId": "unsubscribe.confirm.post",
                "tags": [
                    "AnnouncementSubscription"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user ID",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "string",
                                    "const": "Unsubscribed from Presentr marketing emails.\n"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#\/components\/responses\/ModelNotFoundException"
                    }
                }
            }
        },
        "\/subscribe\/{user}": {
            "get": {
                "operationId": "subscribe.confirm",
                "tags": [
                    "AnnouncementSubscription"
                ],
                "parameters": [
                    {
                        "name": "user",
                        "in": "path",
                        "required": true,
                        "description": "The user ID",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#\/components\/responses\/ModelNotFoundException"
                    }
                }
            }
        },
        "\/pulse\/pixel\/{openToken}": {
            "get": {
                "operationId": "pulse.pixel",
                "tags": [
                    "AnnouncementTracking"
                ],
                "parameters": [
                    {
                        "name": "openToken",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "image\/gif": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "string"
                                        },
                                        {
                                            "type": "object"
                                        }
                                    ]
                                }
                            }
                        },
                        "headers": {
                            "Content-Length": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "Cache-Control": {
                                "schema": {
                                    "type": "string",
                                    "const": "no-store, no-cache, must-revalidate, private"
                                }
                            },
                            "Pragma": {
                                "schema": {
                                    "type": "string",
                                    "const": "no-cache"
                                }
                            },
                            "Expires": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/pulse\/click\/{openToken}": {
            "get": {
                "operationId": "pulse.click",
                "tags": [
                    "AnnouncementTracking"
                ],
                "parameters": [
                    {
                        "name": "openToken",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#\/components\/responses\/ModelNotFoundException"
                    }
                }
            }
        },
        "\/api-keys": {
            "get": {
                "operationId": "apiKey.index",
                "tags": [
                    "ApiKey"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "id": {
                                                "type": "string"
                                            },
                                            "name": {
                                                "type": "string"
                                            },
                                            "key_prefix": {
                                                "type": "string"
                                            },
                                            "enabled": {
                                                "type": "boolean"
                                            },
                                            "last_used_at": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "format": "date-time"
                                            },
                                            "created_at": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "format": "date-time"
                                            }
                                        },
                                        "required": [
                                            "id",
                                            "name",
                                            "key_prefix",
                                            "enabled",
                                            "last_used_at",
                                            "created_at"
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "apiKey.store",
                "tags": [
                    "ApiKey"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 255
                                    }
                                },
                                "required": [
                                    "name"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "key": {
                                            "type": "string"
                                        },
                                        "key_prefix": {
                                            "type": "string",
                                            "description": "shown ONCE \u2014 store it now"
                                        },
                                        "created_at": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "name",
                                        "key",
                                        "key_prefix",
                                        "created_at"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/api-keys\/{uuid}": {
            "delete": {
                "operationId": "apiKey.destroy",
                "tags": [
                    "ApiKey"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api-keys\/{uuid}\/disable": {
            "post": {
                "operationId": "apiKey.disable",
                "tags": [
                    "ApiKey"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "id": {
                                            "type": "string"
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok",
                                        "id",
                                        "enabled"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/assistant\/respond": {
            "post": {
                "operationId": "assistant",
                "tags": [
                    "Assistant"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "$ref": "#\/components\/schemas\/AssistantRespondRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": {}
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/contact": {
            "post": {
                "operationId": "contact.store",
                "tags": [
                    "Contact"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "email": {
                                        "type": "string",
                                        "format": "email",
                                        "maxLength": 180
                                    },
                                    "subject": {
                                        "type": "string",
                                        "enum": [
                                            "general",
                                            "sales",
                                            "support",
                                            "billing",
                                            "partnership"
                                        ]
                                    },
                                    "company": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 180
                                    },
                                    "message": {
                                        "type": "string",
                                        "minLength": 10,
                                        "maxLength": 5000
                                    },
                                    "source": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 40
                                    }
                                },
                                "required": [
                                    "name",
                                    "email",
                                    "subject",
                                    "message"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/content": {
            "get": {
                "operationId": "content.index",
                "tags": [
                    "Content"
                ],
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ]
                        }
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "enum": [
                                "new",
                                "processing",
                                "processed",
                                "failed",
                                "archived"
                            ]
                        }
                    },
                    {
                        "name": "source_uuid",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ]
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": [
                                "integer",
                                "null"
                            ],
                            "minimum": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": [
                                "integer",
                                "null"
                            ],
                            "minimum": 1,
                            "maximum": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "uuid": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "status": {
                                                        "type": "string"
                                                    },
                                                    "source_uuid": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "source_name": {
                                                        "type": "string"
                                                    },
                                                    "external_content_id": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "media_url": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "media_s3_key": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "media_type": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "duration_seconds": {
                                                        "type": [
                                                            "integer",
                                                            "null"
                                                        ]
                                                    },
                                                    "published_at": {
                                                        "type": "string"
                                                    },
                                                    "language": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "thumbnail_url": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "run_count": {
                                                        "type": "integer"
                                                    },
                                                    "latest_run_uuid": {
                                                        "type": "string"
                                                    },
                                                    "latest_run_status": {
                                                        "type": "string"
                                                    },
                                                    "created_at": {
                                                        "type": "string"
                                                    },
                                                    "updated_at": {
                                                        "type": "string"
                                                    }
                                                },
                                                "required": [
                                                    "uuid",
                                                    "title",
                                                    "status",
                                                    "source_uuid",
                                                    "source_name",
                                                    "external_content_id",
                                                    "media_url",
                                                    "media_s3_key",
                                                    "media_type",
                                                    "duration_seconds",
                                                    "published_at",
                                                    "language",
                                                    "thumbnail_url",
                                                    "run_count",
                                                    "latest_run_uuid",
                                                    "latest_run_status",
                                                    "created_at",
                                                    "updated_at"
                                                ]
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "from": {
                                                    "anyOf": [
                                                        {
                                                            "type": "integer"
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "integer",
                                                            "enum": [
                                                                0
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "to": {
                                                    "anyOf": [
                                                        {
                                                            "type": "integer"
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "integer",
                                                            "enum": [
                                                                0
                                                            ]
                                                        }
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "total",
                                                "per_page",
                                                "current_page",
                                                "last_page",
                                                "from",
                                                "to"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/content\/bulk": {
            "post": {
                "operationId": "content.bulk",
                "tags": [
                    "Content"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "action": {
                                        "type": "string",
                                        "enum": [
                                            "archive",
                                            "unarchive",
                                            "delete"
                                        ]
                                    },
                                    "content_uuids": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "minItems": 1,
                                        "maxItems": 100
                                    }
                                },
                                "required": [
                                    "action",
                                    "content_uuids"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "action": {
                                            "type": "string"
                                        },
                                        "requested_count": {
                                            "type": "integer",
                                            "minimum": 0
                                        },
                                        "affected_count": {
                                            "type": "integer",
                                            "minimum": 0
                                        },
                                        "content_uuids": {
                                            "type": "array",
                                            "items": {}
                                        }
                                    },
                                    "required": [
                                        "ok",
                                        "action",
                                        "requested_count",
                                        "affected_count",
                                        "content_uuids"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "No matching content items were found."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/content\/{uuid}": {
            "get": {
                "operationId": "content.show",
                "tags": [
                    "Content"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "title": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "source_uuid": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "external_content_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "media_url": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "media_s3_key": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "media_type": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "duration_seconds": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "published_at": {
                                            "type": "string"
                                        },
                                        "language": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "thumbnail_url": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "description": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "metadata": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "created_at": {
                                            "type": "string"
                                        },
                                        "updated_at": {
                                            "type": "string"
                                        },
                                        "source_name": {
                                            "type": "string"
                                        },
                                        "runs": {
                                            "type": "string"
                                        },
                                        "latest_completed_run_uuid": {
                                            "type": "string"
                                        },
                                        "artifacts": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "artifact_key": {
                                                                "type": "string"
                                                            },
                                                            "label": {
                                                                "type": "string"
                                                            },
                                                            "filename": {
                                                                "type": "string"
                                                            },
                                                            "content_type": {
                                                                "type": "string"
                                                            },
                                                            "size_bytes": {
                                                                "type": "string"
                                                            },
                                                            "download_url": {
                                                                "type": "string"
                                                            }
                                                        },
                                                        "required": [
                                                            "artifact_key",
                                                            "label",
                                                            "filename",
                                                            "content_type",
                                                            "size_bytes",
                                                            "download_url"
                                                        ]
                                                    }
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "deliveries": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "title",
                                        "status",
                                        "source_uuid",
                                        "external_content_id",
                                        "media_url",
                                        "media_s3_key",
                                        "media_type",
                                        "duration_seconds",
                                        "published_at",
                                        "language",
                                        "thumbnail_url",
                                        "description",
                                        "metadata",
                                        "created_at",
                                        "updated_at",
                                        "source_name",
                                        "runs",
                                        "latest_completed_run_uuid",
                                        "artifacts",
                                        "deliveries"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "content.update",
                "tags": [
                    "Content"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "title": {
                                        "type": "string",
                                        "maxLength": 255
                                    }
                                },
                                "required": [
                                    "title"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "title": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "source_uuid": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "external_content_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "media_url": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "media_s3_key": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "media_type": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "duration_seconds": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "published_at": {
                                            "type": "string"
                                        },
                                        "language": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "thumbnail_url": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "description": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "metadata": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "created_at": {
                                            "type": "string"
                                        },
                                        "updated_at": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "title",
                                        "status",
                                        "source_uuid",
                                        "external_content_id",
                                        "media_url",
                                        "media_s3_key",
                                        "media_type",
                                        "duration_seconds",
                                        "published_at",
                                        "language",
                                        "thumbnail_url",
                                        "description",
                                        "metadata",
                                        "created_at",
                                        "updated_at"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            },
            "delete": {
                "operationId": "content.destroy",
                "tags": [
                    "Content"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/content\/{uuid}\/archive": {
            "post": {
                "operationId": "content.archive",
                "tags": [
                    "Content"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "title": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "source_uuid": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "external_content_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "media_url": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "media_s3_key": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "media_type": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "duration_seconds": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "published_at": {
                                            "type": "string"
                                        },
                                        "language": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "thumbnail_url": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "description": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "metadata": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "created_at": {
                                            "type": "string"
                                        },
                                        "updated_at": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "title",
                                        "status",
                                        "source_uuid",
                                        "external_content_id",
                                        "media_url",
                                        "media_s3_key",
                                        "media_type",
                                        "duration_seconds",
                                        "published_at",
                                        "language",
                                        "thumbnail_url",
                                        "description",
                                        "metadata",
                                        "created_at",
                                        "updated_at"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/content\/{uuid}\/unarchive": {
            "post": {
                "operationId": "content.unarchive",
                "tags": [
                    "Content"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "title": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "source_uuid": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "external_content_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "media_url": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "media_s3_key": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "media_type": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "duration_seconds": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "published_at": {
                                            "type": "string"
                                        },
                                        "language": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "thumbnail_url": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "description": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "metadata": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "created_at": {
                                            "type": "string"
                                        },
                                        "updated_at": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "title",
                                        "status",
                                        "source_uuid",
                                        "external_content_id",
                                        "media_url",
                                        "media_s3_key",
                                        "media_type",
                                        "duration_seconds",
                                        "published_at",
                                        "language",
                                        "thumbnail_url",
                                        "description",
                                        "metadata",
                                        "created_at",
                                        "updated_at"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/content\/{uuid}\/runs": {
            "post": {
                "operationId": "content.createRun",
                "tags": [
                    "Content"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "preset_uuid": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "template_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "destination_ids": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "language": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 10
                                    },
                                    "desired_breaks": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 20
                                    },
                                    "requested_features": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "requested_artifacts": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "delivery_mode": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "manual",
                                            "on_processed",
                                            "on_finalize",
                                            "scheduled",
                                            "on_success",
                                            "auto_accept_on_confidence"
                                        ]
                                    },
                                    "auto_accept_min_confidence": {
                                        "type": [
                                            "number",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 1
                                    },
                                    "title": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    },
                                    "mode": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "quick",
                                            "workflow"
                                        ]
                                    },
                                    "options": {
                                        "type": "object",
                                        "properties": {
                                            "translation_enabled": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "translation_target": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 10
                                            },
                                            "target_language": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 10
                                            },
                                            "translation_mode": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 50
                                            },
                                            "translation_add_subtitles": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "translation_subtitle_mode": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "enum": [
                                                    "add",
                                                    "replace"
                                                ]
                                            },
                                            "adaptation_check": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "adaptation_hold_delivery": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "quick_task": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "description": "The quick flow re-running stored media sends its task, as POST \/api\/runs does.",
                                                "enum": [
                                                    "transcribe",
                                                    "caption",
                                                    "translate",
                                                    "dub",
                                                    "repair",
                                                    "extract"
                                                ]
                                            },
                                            "names": {
                                                "type": [
                                                    "array",
                                                    "null"
                                                ],
                                                "description": "Checked in detail by RunNames, as on POST \/api\/runs.",
                                                "items": {
                                                    "type": "string"
                                                }
                                            },
                                            "dubbing_requested": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ],
                                                "description": "Quick \"Dub\": start the dub when the run finishes (autoRequestOnCompletion)."
                                            },
                                            "dubbing_voice": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 64
                                            },
                                            "dubbing_with_video": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "dubbing_source": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "description": "...from the user's own subtitle file (M2b).",
                                                "enum": [
                                                    "subtitle_upload"
                                                ]
                                            },
                                            "dubbing_target_language": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 10
                                            },
                                            "dubbing_script_language": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 10
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "additionalProperties": {}
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "Preset not found."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/destinations": {
            "get": {
                "operationId": "destination.index",
                "tags": [
                    "Destination"
                ],
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "default": ""
                        }
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "default": ""
                        }
                    },
                    {
                        "name": "enabled",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "default": ""
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#\/components\/schemas\/LengthAwarePaginator"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "from": {
                                                    "anyOf": [
                                                        {
                                                            "type": "integer"
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "integer",
                                                            "enum": [
                                                                0
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "to": {
                                                    "anyOf": [
                                                        {
                                                            "type": "integer"
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "integer",
                                                            "enum": [
                                                                0
                                                            ]
                                                        }
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "total",
                                                "per_page",
                                                "current_page",
                                                "last_page",
                                                "from",
                                                "to"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "destination.store",
                "tags": [
                    "Destination"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 255
                                    },
                                    "type": {
                                        "type": "string",
                                        "enum": [
                                            "dashboard",
                                            "webhook",
                                            "publish_endpoint",
                                            "storage",
                                            "api_retrieval",
                                            "callback",
                                            "none"
                                        ]
                                    },
                                    "enabled": {
                                        "type": "boolean"
                                    },
                                    "auth_mode": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "none",
                                            "bearer",
                                            "basic",
                                            "api_key_header",
                                            "custom_header"
                                        ]
                                    },
                                    "auth_config": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "default_artifacts": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "include_processing_record": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "include_broadcast_cues": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "include_conformance_report": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "artifacts_to_send": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "artifact_delivery_rule": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "description": "legacy alias",
                                        "enum": [
                                            "skip_missing",
                                            "require_all"
                                        ]
                                    },
                                    "artifact_representation": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "auto",
                                            "url_only",
                                            "inline_only"
                                        ]
                                    },
                                    "payload_format": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "json",
                                            "multipart",
                                            "ndjson"
                                        ]
                                    },
                                    "retry_policy": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "config": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "connection": {
                                        "type": "object",
                                        "properties": {
                                            "provider": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "enum": [
                                                    "s3",
                                                    "dropbox",
                                                    "gdrive",
                                                    "youtube"
                                                ]
                                            },
                                            "url": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "format": "uri"
                                            },
                                            "timeout_seconds": {
                                                "type": [
                                                    "integer",
                                                    "null"
                                                ],
                                                "minimum": 1,
                                                "maximum": 300
                                            },
                                            "custom_headers": {
                                                "type": [
                                                    "array",
                                                    "null"
                                                ],
                                                "items": {
                                                    "type": "string"
                                                }
                                            },
                                            "bucket": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "region": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 64
                                            },
                                            "prefix": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 1024
                                            },
                                            "filename_template": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "write_manifest": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "endpoint": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "format": "uri"
                                            },
                                            "use_path_style": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "use_path_style_endpoint": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "folder_path": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 4096
                                            },
                                            "folder_id": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "create_subfolder_per_run": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "subfolder_template": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "overwrite": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "integration_id": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "format": "uuid"
                                            },
                                            "language": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 16
                                            },
                                            "track_name_template": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "is_draft": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "mode": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "enum": [
                                                    "captions",
                                                    "video"
                                                ]
                                            },
                                            "title_template": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "description_template": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 5000
                                            },
                                            "privacy_status": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "enum": [
                                                    "public",
                                                    "private",
                                                    "unlisted"
                                                ]
                                            },
                                            "category_id": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 16
                                            },
                                            "notify_subscribers": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "channel_id": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            }
                                        }
                                    }
                                },
                                "required": [
                                    "name",
                                    "type"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "integer"
                                        },
                                        "owner_user_id": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        },
                                        "auth_mode": {
                                            "type": "string"
                                        },
                                        "auth_config": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "connection": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "config": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "dispatch": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "default_artifacts": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "include_processing_record": {
                                            "type": "boolean"
                                        },
                                        "artifact_delivery_rule": {
                                            "type": "string"
                                        },
                                        "artifact_representation": {
                                            "type": "string"
                                        },
                                        "payload_format": {
                                            "type": "string"
                                        },
                                        "retry_policy": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "created_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "updated_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "include_broadcast_cues": {
                                            "type": "boolean"
                                        },
                                        "include_conformance_report": {
                                            "type": "boolean"
                                        },
                                        "request_reference": {
                                            "anyOf": [
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        ""
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string"
                                                        },
                                                        "path": {
                                                            "type": "string"
                                                        },
                                                        "auth_mode": {
                                                            "type": "string"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string"
                                                        },
                                                        "payload_format": {
                                                            "type": "string"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context"
                                                    ]
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "type": "string",
                                                            "const": "youtube:\/\/captions"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string",
                                                            "const": "youtube"
                                                        },
                                                        "path": {
                                                            "type": "string",
                                                            "const": "\/captions"
                                                        },
                                                        "auth_mode": {
                                                            "type": "string",
                                                            "const": "oauth"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string",
                                                            "const": "Uses a connected YouTube account via OAuth with caption upload scope."
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "const": "youtube\/caption"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        },
                                                        "metadata": {
                                                            "type": "object",
                                                            "properties": {
                                                                "language": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "en"
                                                                            ]
                                                                        }
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "language"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context",
                                                        "metadata"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string",
                                                            "const": "gdrive"
                                                        },
                                                        "path": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "\/"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_mode": {
                                                            "type": "string",
                                                            "const": "oauth"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string",
                                                            "const": "Uses a connected Google Drive account via OAuth."
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "const": "gdrive\/file"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "PUT"
                                                        },
                                                        "host": {
                                                            "type": "string",
                                                            "const": "dropbox"
                                                        },
                                                        "path": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "\/"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_mode": {
                                                            "type": "string",
                                                            "const": "oauth"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string",
                                                            "const": "Uses a connected Dropbox account via OAuth."
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "const": "dropbox\/file"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "PUT"
                                                        },
                                                        "host": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        ""
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "path": {
                                                            "type": "string"
                                                        },
                                                        "auth_mode": {
                                                            "type": "string"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string"
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "const": "s3\/object"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context"
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "owner_user_id",
                                        "uuid",
                                        "name",
                                        "type",
                                        "auth_mode",
                                        "auth_config",
                                        "connection",
                                        "enabled",
                                        "config",
                                        "dispatch",
                                        "default_artifacts",
                                        "include_processing_record",
                                        "artifact_delivery_rule",
                                        "artifact_representation",
                                        "payload_format",
                                        "retry_policy",
                                        "created_at",
                                        "updated_at",
                                        "include_broadcast_cues",
                                        "include_conformance_report",
                                        "request_reference"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/destinations\/{uuid}": {
            "get": {
                "operationId": "destination.show",
                "tags": [
                    "Destination"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "integer"
                                        },
                                        "owner_user_id": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        },
                                        "auth_mode": {
                                            "type": "string"
                                        },
                                        "auth_config": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "connection": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "config": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "dispatch": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "default_artifacts": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "include_processing_record": {
                                            "type": "boolean"
                                        },
                                        "artifact_delivery_rule": {
                                            "type": "string"
                                        },
                                        "artifact_representation": {
                                            "type": "string"
                                        },
                                        "payload_format": {
                                            "type": "string"
                                        },
                                        "retry_policy": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "created_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "updated_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "include_broadcast_cues": {
                                            "type": "boolean"
                                        },
                                        "include_conformance_report": {
                                            "type": "boolean"
                                        },
                                        "request_reference": {
                                            "anyOf": [
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        ""
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string"
                                                        },
                                                        "path": {
                                                            "type": "string"
                                                        },
                                                        "auth_mode": {
                                                            "type": "string"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string"
                                                        },
                                                        "payload_format": {
                                                            "type": "string"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context"
                                                    ]
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "type": "string",
                                                            "const": "youtube:\/\/captions"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string",
                                                            "const": "youtube"
                                                        },
                                                        "path": {
                                                            "type": "string",
                                                            "const": "\/captions"
                                                        },
                                                        "auth_mode": {
                                                            "type": "string",
                                                            "const": "oauth"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string",
                                                            "const": "Uses a connected YouTube account via OAuth with caption upload scope."
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "const": "youtube\/caption"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        },
                                                        "metadata": {
                                                            "type": "object",
                                                            "properties": {
                                                                "language": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "en"
                                                                            ]
                                                                        }
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "language"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context",
                                                        "metadata"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string",
                                                            "const": "gdrive"
                                                        },
                                                        "path": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "\/"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_mode": {
                                                            "type": "string",
                                                            "const": "oauth"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string",
                                                            "const": "Uses a connected Google Drive account via OAuth."
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "const": "gdrive\/file"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "PUT"
                                                        },
                                                        "host": {
                                                            "type": "string",
                                                            "const": "dropbox"
                                                        },
                                                        "path": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "\/"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_mode": {
                                                            "type": "string",
                                                            "const": "oauth"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string",
                                                            "const": "Uses a connected Dropbox account via OAuth."
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "const": "dropbox\/file"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "PUT"
                                                        },
                                                        "host": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        ""
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "path": {
                                                            "type": "string"
                                                        },
                                                        "auth_mode": {
                                                            "type": "string"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string"
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "const": "s3\/object"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context"
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "owner_user_id",
                                        "uuid",
                                        "name",
                                        "type",
                                        "auth_mode",
                                        "auth_config",
                                        "connection",
                                        "enabled",
                                        "config",
                                        "dispatch",
                                        "default_artifacts",
                                        "include_processing_record",
                                        "artifact_delivery_rule",
                                        "artifact_representation",
                                        "payload_format",
                                        "retry_policy",
                                        "created_at",
                                        "updated_at",
                                        "include_broadcast_cues",
                                        "include_conformance_report",
                                        "request_reference"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "destination.update",
                "tags": [
                    "Destination"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 255
                                    },
                                    "enabled": {
                                        "type": "boolean"
                                    },
                                    "auth_mode": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "none",
                                            "bearer",
                                            "basic",
                                            "api_key_header",
                                            "custom_header"
                                        ]
                                    },
                                    "auth_config": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "default_artifacts": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "include_processing_record": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "include_broadcast_cues": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "include_conformance_report": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "artifacts_to_send": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "artifact_delivery_rule": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "description": "legacy alias",
                                        "enum": [
                                            "skip_missing",
                                            "require_all"
                                        ]
                                    },
                                    "artifact_representation": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "auto",
                                            "url_only",
                                            "inline_only"
                                        ]
                                    },
                                    "payload_format": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "json",
                                            "multipart",
                                            "ndjson"
                                        ]
                                    },
                                    "retry_policy": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "config": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "connection": {
                                        "type": "object",
                                        "properties": {
                                            "provider": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "enum": [
                                                    "s3",
                                                    "dropbox",
                                                    "gdrive",
                                                    "youtube"
                                                ]
                                            },
                                            "url": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "format": "uri"
                                            },
                                            "timeout_seconds": {
                                                "type": [
                                                    "integer",
                                                    "null"
                                                ],
                                                "minimum": 1,
                                                "maximum": 300
                                            },
                                            "custom_headers": {
                                                "type": [
                                                    "array",
                                                    "null"
                                                ],
                                                "items": {
                                                    "type": "string"
                                                }
                                            },
                                            "bucket": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "region": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 64
                                            },
                                            "prefix": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 1024
                                            },
                                            "filename_template": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "write_manifest": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "endpoint": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "format": "uri"
                                            },
                                            "use_path_style": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "use_path_style_endpoint": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "folder_path": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 4096
                                            },
                                            "folder_id": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "create_subfolder_per_run": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "subfolder_template": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "overwrite": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "integration_id": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "format": "uuid"
                                            },
                                            "language": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 16
                                            },
                                            "track_name_template": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "is_draft": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "mode": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "enum": [
                                                    "captions",
                                                    "video"
                                                ]
                                            },
                                            "title_template": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            },
                                            "description_template": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 5000
                                            },
                                            "privacy_status": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "enum": [
                                                    "public",
                                                    "private",
                                                    "unlisted"
                                                ]
                                            },
                                            "category_id": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 16
                                            },
                                            "notify_subscribers": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "channel_id": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 255
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "integer"
                                        },
                                        "owner_user_id": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        },
                                        "auth_mode": {
                                            "type": "string"
                                        },
                                        "auth_config": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "connection": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "config": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "dispatch": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "default_artifacts": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "include_processing_record": {
                                            "type": "boolean"
                                        },
                                        "artifact_delivery_rule": {
                                            "type": "string"
                                        },
                                        "artifact_representation": {
                                            "type": "string"
                                        },
                                        "payload_format": {
                                            "type": "string"
                                        },
                                        "retry_policy": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "created_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "updated_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "include_broadcast_cues": {
                                            "type": "boolean"
                                        },
                                        "include_conformance_report": {
                                            "type": "boolean"
                                        },
                                        "request_reference": {
                                            "anyOf": [
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        ""
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string"
                                                        },
                                                        "path": {
                                                            "type": "string"
                                                        },
                                                        "auth_mode": {
                                                            "type": "string"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string"
                                                        },
                                                        "payload_format": {
                                                            "type": "string"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context"
                                                    ]
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "type": "string",
                                                            "const": "youtube:\/\/captions"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string",
                                                            "const": "youtube"
                                                        },
                                                        "path": {
                                                            "type": "string",
                                                            "const": "\/captions"
                                                        },
                                                        "auth_mode": {
                                                            "type": "string",
                                                            "const": "oauth"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string",
                                                            "const": "Uses a connected YouTube account via OAuth with caption upload scope."
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "const": "youtube\/caption"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        },
                                                        "metadata": {
                                                            "type": "object",
                                                            "properties": {
                                                                "language": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "en"
                                                                            ]
                                                                        }
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "language"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context",
                                                        "metadata"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string",
                                                            "const": "gdrive"
                                                        },
                                                        "path": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "\/"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_mode": {
                                                            "type": "string",
                                                            "const": "oauth"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string",
                                                            "const": "Uses a connected Google Drive account via OAuth."
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "const": "gdrive\/file"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "PUT"
                                                        },
                                                        "host": {
                                                            "type": "string",
                                                            "const": "dropbox"
                                                        },
                                                        "path": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "\/"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_mode": {
                                                            "type": "string",
                                                            "const": "oauth"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string",
                                                            "const": "Uses a connected Dropbox account via OAuth."
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "const": "dropbox\/file"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "outbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "destination_delivery"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "PUT"
                                                        },
                                                        "host": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        ""
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "path": {
                                                            "type": "string"
                                                        },
                                                        "auth_mode": {
                                                            "type": "string"
                                                        },
                                                        "auth_hint": {
                                                            "type": "string"
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "const": "s3\/object"
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                },
                                                                "egress_allowlist": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "cidrs": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        },
                                                                        "ips": {
                                                                            "anyOf": [
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {}
                                                                                },
                                                                                {
                                                                                    "type": "array",
                                                                                    "items": {
                                                                                        "type": "string"
                                                                                    },
                                                                                    "minItems": 0,
                                                                                    "maxItems": 0,
                                                                                    "additionalItems": false
                                                                                }
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "cidrs",
                                                                        "ips"
                                                                    ]
                                                                },
                                                                "user_agent": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label",
                                                                "egress_allowlist",
                                                                "user_agent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context"
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "owner_user_id",
                                        "uuid",
                                        "name",
                                        "type",
                                        "auth_mode",
                                        "auth_config",
                                        "connection",
                                        "enabled",
                                        "config",
                                        "dispatch",
                                        "default_artifacts",
                                        "include_processing_record",
                                        "artifact_delivery_rule",
                                        "artifact_representation",
                                        "payload_format",
                                        "retry_policy",
                                        "created_at",
                                        "updated_at",
                                        "include_broadcast_cues",
                                        "include_conformance_report",
                                        "request_reference"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            },
            "delete": {
                "operationId": "destination.destroy",
                "tags": [
                    "Destination"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/destinations\/{uuid}\/health": {
            "get": {
                "operationId": "destination.health",
                "tags": [
                    "Destination"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "deliveries_last_24h": {
                                            "type": "string"
                                        },
                                        "failed_last_24h": {
                                            "type": "string"
                                        },
                                        "last_delivered_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "last_error": {},
                                        "recent_deliveries": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "deliveries_last_24h",
                                        "failed_last_24h",
                                        "last_delivered_at",
                                        "last_error",
                                        "recent_deliveries"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/document-interest": {
            "post": {
                "operationId": "documentInterest.store",
                "tags": [
                    "DocumentInterest"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "email": {
                                        "type": "string",
                                        "format": "email",
                                        "maxLength": 320
                                    },
                                    "kind": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            ""
                                        ]
                                    },
                                    "notes": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 2000
                                    },
                                    "page": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    },
                                    "referrer": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 500
                                    },
                                    "utm": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "maxLength": 120
                                        },
                                        "maxItems": 5
                                    }
                                },
                                "required": [
                                    "email"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/runs\/{uuid}\/dubs": {
            "get": {
                "operationId": "dubbing.show",
                "summary": "The quote and the latest dub, for the run page",
                "tags": [
                    "Dubbing"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "quote": {
                                            "anyOf": [
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "available": {
                                                            "type": "boolean"
                                                        },
                                                        "reason": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ],
                                                            "enum": [
                                                                "disabled",
                                                                "run_not_complete",
                                                                "not_media",
                                                                "no_translation",
                                                                "no_source",
                                                                "language_unsupported",
                                                                "no_duration",
                                                                "too_long",
                                                                null
                                                            ]
                                                        },
                                                        "target_language": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "duration_seconds": {
                                                            "type": "integer"
                                                        },
                                                        "credits": {
                                                            "type": "integer"
                                                        },
                                                        "with_video_available": {
                                                            "type": "boolean"
                                                        }
                                                    },
                                                    "required": [
                                                        "available",
                                                        "reason",
                                                        "target_language",
                                                        "duration_seconds",
                                                        "credits",
                                                        "with_video_available"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "available": {
                                                            "type": "boolean"
                                                        },
                                                        "reason": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ],
                                                            "enum": [
                                                                "disabled",
                                                                "run_not_complete",
                                                                "not_media",
                                                                "no_script",
                                                                "no_source",
                                                                "language_unsupported",
                                                                "no_duration",
                                                                "too_long",
                                                                null
                                                            ]
                                                        },
                                                        "target_language": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "duration_seconds": {
                                                            "type": "integer"
                                                        },
                                                        "credits": {
                                                            "type": "string"
                                                        },
                                                        "with_video_available": {
                                                            "type": "boolean"
                                                        },
                                                        "source": {
                                                            "type": "string",
                                                            "const": "subtitle_upload"
                                                        },
                                                        "translates_script": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "required": [
                                                        "available",
                                                        "reason",
                                                        "target_language",
                                                        "duration_seconds",
                                                        "credits",
                                                        "with_video_available",
                                                        "source",
                                                        "translates_script"
                                                    ]
                                                }
                                            ]
                                        },
                                        "dub": {
                                            "type": [
                                                "object",
                                                "null"
                                            ],
                                            "properties": {
                                                "uuid": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "description": "The web knows queued\/processing\/complete\/failed: an agent's dub\nwaiting for its run shows as queued (Part B \u00a7B6).",
                                                    "anyOf": [
                                                        {
                                                            "type": "string"
                                                        },
                                                        {
                                                            "type": "string",
                                                            "enum": [
                                                                "queued"
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "target_language": {
                                                    "type": "string"
                                                },
                                                "voice": {
                                                    "type": "string"
                                                },
                                                "voice_name": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "with_video": {
                                                    "type": "string"
                                                },
                                                "credits": {
                                                    "type": "string"
                                                },
                                                "error_code": {
                                                    "type": "string"
                                                },
                                                "stats": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "created_at": {
                                                    "type": "string"
                                                },
                                                "completed_at": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "status",
                                                "target_language",
                                                "voice",
                                                "voice_name",
                                                "with_video",
                                                "credits",
                                                "error_code",
                                                "stats",
                                                "created_at",
                                                "completed_at"
                                            ]
                                        },
                                        "voices": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "quote",
                                        "dub",
                                        "voices"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "dubbing.store",
                "tags": [
                    "Dubbing"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "voice": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "description": "A preset name, or \"mine:{uuid}\" (checked by DubbingService).",
                                        "maxLength": 64
                                    },
                                    "with_video": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "dub": {
                                            "type": [
                                                "object",
                                                "null"
                                            ],
                                            "properties": {
                                                "uuid": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "description": "The web knows queued\/processing\/complete\/failed: an agent's dub\nwaiting for its run shows as queued (Part B \u00a7B6).",
                                                    "anyOf": [
                                                        {
                                                            "type": "string"
                                                        },
                                                        {
                                                            "type": "string",
                                                            "enum": [
                                                                "queued"
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "target_language": {
                                                    "type": "string"
                                                },
                                                "voice": {
                                                    "type": "string"
                                                },
                                                "voice_name": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "with_video": {
                                                    "type": "string"
                                                },
                                                "credits": {
                                                    "type": "string"
                                                },
                                                "error_code": {
                                                    "type": "string"
                                                },
                                                "stats": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "created_at": {
                                                    "type": "string"
                                                },
                                                "completed_at": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "status",
                                                "target_language",
                                                "voice",
                                                "voice_name",
                                                "with_video",
                                                "credits",
                                                "error_code",
                                                "stats",
                                                "created_at",
                                                "completed_at"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "dub"
                                    ]
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/dubbing-interest": {
            "post": {
                "operationId": "dubbingInterest.store",
                "summary": "Public form on \/features\/ai-dubbing",
                "tags": [
                    "DubbingInterest"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "email": {
                                        "type": "string",
                                        "format": "email",
                                        "maxLength": 320
                                    },
                                    "use_case": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            ""
                                        ]
                                    },
                                    "languages": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    },
                                    "wants_own_voice": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "notes": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 2000
                                    },
                                    "referrer": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 500
                                    },
                                    "utm": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "maxLength": 120
                                        },
                                        "maxItems": 5
                                    }
                                },
                                "required": [
                                    "email"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/runs\/{uuid}\/dubbing-interest": {
            "get": {
                "operationId": "dubbingInterest.showForRun",
                "summary": "Whether the signed-in user has already said they're interested (the button's state)",
                "tags": [
                    "DubbingInterest"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "By account only: an anonymous form post can claim any email, and\nmust not hide the button from that account's owner.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "interested": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "interested"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "dubbingInterest.storeForRun",
                "summary": "\"I'm interested\" on a translated run: the account's email and the run's language pair",
                "tags": [
                    "DubbingInterest"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "target_language": {
                                        "type": "string",
                                        "maxLength": 16
                                    },
                                    "source_language": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 16
                                    }
                                },
                                "required": [
                                    "target_language"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "interested": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok",
                                        "interested"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/e2e\/mail": {
            "get": {
                "operationId": "e2e.mail",
                "tags": [
                    "E2e"
                ],
                "parameters": [
                    {
                        "name": "since",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "messages": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        }
                                    },
                                    "required": [
                                        "messages"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/e2e\/credits": {
            "post": {
                "operationId": "e2e.credits",
                "summary": "Sets the user's balance to target_balance with one adjustment; request_id makes a retry a no-op",
                "tags": [
                    "E2e"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "target_balance": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 200
                                    },
                                    "request_id": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z0-9-]+$",
                                        "maxLength": 64
                                    }
                                },
                                "required": [
                                    "target_balance",
                                    "request_id"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "balance": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "balance"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/e2e\/fault": {
            "post": {
                "operationId": "e2e.fault",
                "summary": "Opts this e2e user into one allowed fault (or none) for an hour",
                "tags": [
                    "E2e"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "fault": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "fault": {}
                                    },
                                    "required": [
                                        "fault"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "An error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "description": "Error overview.",
                                            "example": "Unknown fault."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/e2e\/cleanup": {
            "post": {
                "operationId": "e2e.cleanup",
                "tags": [
                    "E2e"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "status": {
                                                    "type": "string",
                                                    "const": "done"
                                                },
                                                "counts": {
                                                    "type": "object",
                                                    "properties": {
                                                        "runs": {
                                                            "type": "integer"
                                                        },
                                                        "files_left": {
                                                            "type": "integer"
                                                        }
                                                    },
                                                    "required": [
                                                        "runs",
                                                        "files_left"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "status",
                                                "counts"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "status": {
                                                    "type": "string",
                                                    "const": "pending"
                                                },
                                                "counts": {
                                                    "type": "object",
                                                    "properties": {
                                                        "runs": {
                                                            "type": "integer"
                                                        },
                                                        "files_left": {
                                                            "type": "integer"
                                                        }
                                                    },
                                                    "required": [
                                                        "runs",
                                                        "files_left"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "status",
                                                "counts"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "status": {
                                                    "type": "string",
                                                    "const": "absent"
                                                },
                                                "counts": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            },
                                            "required": [
                                                "status",
                                                "counts"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/free-tools\/{toolSlug}\/preview": {
            "post": {
                "operationId": "freeToolPreview.store",
                "tags": [
                    "FreeToolPreview"
                ],
                "parameters": [
                    {
                        "name": "toolSlug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "tool": {
                                        "type": "string"
                                    },
                                    "product": {
                                        "type": "string"
                                    },
                                    "input_type": {
                                        "type": "string",
                                        "enum": [
                                            "text",
                                            "url"
                                        ]
                                    },
                                    "payload": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "minItems": 1
                                    },
                                    "anonymous_session_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "pattern": "^anon_[A-Z0-9]{26}$"
                                    }
                                },
                                "required": [
                                    "tool",
                                    "product",
                                    "input_type",
                                    "payload"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "preview_id": {
                                            "type": "string"
                                        },
                                        "tool": {
                                            "type": "string"
                                        },
                                        "product": {
                                            "type": "string"
                                        },
                                        "is_limited": {
                                            "type": "boolean"
                                        },
                                        "result": {
                                            "type": "array",
                                            "items": {}
                                        },
                                        "locked_sections": {
                                            "anyOf": [
                                                {},
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "cta": {
                                            "anyOf": [
                                                {},
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "label": {
                                                            "type": "string"
                                                        },
                                                        "target": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "required": [
                                                        "label",
                                                        "target"
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    "required": [
                                        "preview_id",
                                        "tool",
                                        "product",
                                        "is_limited",
                                        "result",
                                        "locked_sections",
                                        "cta"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/free-tools\/events": {
            "post": {
                "operationId": "freeToolPreview.recordEvent",
                "tags": [
                    "FreeToolPreview"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "event_name": {
                                        "type": "string"
                                    },
                                    "product": {
                                        "type": "string"
                                    },
                                    "tool_slug": {
                                        "type": "string"
                                    },
                                    "route": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    },
                                    "preview_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "minLength": 26,
                                        "maxLength": 26
                                    },
                                    "anonymous_session_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "pattern": "^anon_[A-Z0-9]{26}$"
                                    },
                                    "input_type": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "text",
                                            "url"
                                        ]
                                    },
                                    "properties": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    }
                                },
                                "required": [
                                    "event_name",
                                    "product",
                                    "tool_slug"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/free-tools\/previews\/{uuid}": {
            "get": {
                "operationId": "freeToolPreview.show",
                "tags": [
                    "FreeToolPreview"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "preview_id": {
                                            "type": "string"
                                        },
                                        "tool": {
                                            "type": "string"
                                        },
                                        "product": {
                                            "type": "string"
                                        },
                                        "input_type": {
                                            "type": "string"
                                        },
                                        "payload": {
                                            "type": "string"
                                        },
                                        "result": {
                                            "type": "array",
                                            "items": {}
                                        },
                                        "locked_sections": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "cta": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "label": {
                                                            "type": "string"
                                                        },
                                                        "target": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "required": [
                                                        "label",
                                                        "target"
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    "required": [
                                        "preview_id",
                                        "tool",
                                        "product",
                                        "input_type",
                                        "payload",
                                        "result",
                                        "locked_sections",
                                        "cta"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#\/components\/responses\/ModelNotFoundException"
                    }
                }
            }
        },
        "\/sources\/{uuid}\/ingest": {
            "post": {
                "operationId": "ingest.ingestSource",
                "description": "Manual ingest trigger for any source type.\nCreates one run per enabled pipeline attached to the source.",
                "summary": "POST \/sources\/{uuid}\/ingest",
                "tags": [
                    "Ingest"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "title": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    },
                                    "source_value": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "accepted": {
                                            "type": "boolean"
                                        },
                                        "source_id": {
                                            "type": "string"
                                        },
                                        "pipeline_id": {
                                            "type": "string"
                                        },
                                        "run_id": {
                                            "type": "string"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "run": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "type": "string"
                                                },
                                                "deliveries": {
                                                    "type": "string"
                                                },
                                                "finalize": {
                                                    "type": "string"
                                                },
                                                "deliver": {
                                                    "type": "string"
                                                },
                                                "results": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "run",
                                                "status",
                                                "deliveries",
                                                "finalize",
                                                "deliver",
                                                "results"
                                            ]
                                        },
                                        "pipeline_ids": {
                                            "type": "array",
                                            "items": {}
                                        },
                                        "run_ids": {
                                            "type": "array",
                                            "items": {}
                                        },
                                        "runs": {
                                            "type": "array",
                                            "items": {}
                                        }
                                    },
                                    "required": [
                                        "accepted",
                                        "source_id",
                                        "pipeline_id",
                                        "run_id",
                                        "status",
                                        "links",
                                        "pipeline_ids",
                                        "run_ids",
                                        "runs"
                                    ]
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "string",
                                            "const": "Failed to create runs for all matched pipelines."
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/ops\/maintenance-status": {
            "get": {
                "operationId": "maintenanceStatus.show",
                "tags": [
                    "MaintenanceStatus"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "scheduled": {
                                                    "type": "boolean"
                                                },
                                                "": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "scheduled",
                                                null
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "scheduled": {
                                                    "type": "boolean"
                                                }
                                            },
                                            "required": [
                                                "scheduled"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/mcp": {
            "post": {
                "operationId": "mcp.mcp.handle_0",
                "tags": [
                    "Mcp"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "anyOf": [
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "error": {
                                                            "type": "object",
                                                            "properties": {
                                                                "code": {
                                                                    "type": "string"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Internal error"
                                                                }
                                                            },
                                                            "required": [
                                                                "code",
                                                                "message"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "error"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "protocolVersion": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "2025-06-18"
                                                                            ]
                                                                        }
                                                                    ]
                                                                },
                                                                "capabilities": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "tools": {
                                                                            "type": "object"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "tools"
                                                                    ]
                                                                },
                                                                "serverInfo": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "presentr-analyze"
                                                                        },
                                                                        "version": {
                                                                            "type": "string",
                                                                            "const": "1.1.0"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "version"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "protocolVersion",
                                                                "capabilities",
                                                                "serverInfo"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "tools": {
                                                                    "type": "array",
                                                                    "items": {}
                                                                }
                                                            },
                                                            "required": [
                                                                "tools"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "isError": {
                                                                    "type": "boolean"
                                                                },
                                                                "content": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "text"
                                                                                },
                                                                                "text": {
                                                                                    "type": "string",
                                                                                    "const": "Something went wrong running this tool. Try again in a moment."
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "text"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "structuredContent": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "error": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "code": {
                                                                                    "type": "string",
                                                                                    "const": "internal_error"
                                                                                },
                                                                                "message": {
                                                                                    "type": "string",
                                                                                    "const": "Something went wrong running this tool. Try again in a moment."
                                                                                },
                                                                                "retryable": {
                                                                                    "type": "boolean"
                                                                                },
                                                                                "details": {
                                                                                    "type": "null"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "code",
                                                                                "message",
                                                                                "retryable",
                                                                                "details"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "error"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "isError",
                                                                "content",
                                                                "structuredContent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "error": {
                                                            "type": "object",
                                                            "properties": {
                                                                "code": {
                                                                    "type": "string"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Unknown tool"
                                                                }
                                                            },
                                                            "required": [
                                                                "code",
                                                                "message"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "error"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "isError": {
                                                                    "type": "boolean"
                                                                },
                                                                "content": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "text"
                                                                                },
                                                                                "text": {
                                                                                    "type": "string",
                                                                                    "const": "Too many tool calls. Wait a moment and try again."
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "text"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "structuredContent": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "error": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "code": {
                                                                                    "type": "string",
                                                                                    "const": "rate_limited"
                                                                                },
                                                                                "message": {
                                                                                    "type": "string",
                                                                                    "const": "Too many tool calls. Wait a moment and try again."
                                                                                },
                                                                                "retryable": {
                                                                                    "type": "boolean"
                                                                                },
                                                                                "details": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "retry_after_seconds": {
                                                                                            "type": [
                                                                                                "integer",
                                                                                                "null"
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "retry_after_seconds"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "code",
                                                                                "message",
                                                                                "retryable",
                                                                                "details"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "error"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "isError",
                                                                "content",
                                                                "structuredContent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "isError": {
                                                                    "type": "boolean"
                                                                },
                                                                "content": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "text"
                                                                                },
                                                                                "text": {
                                                                                    "type": "string",
                                                                                    "const": "Something went wrong. Try again in a moment."
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "text"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "structuredContent": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "error": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "code": {
                                                                                    "type": "string",
                                                                                    "const": "internal_error"
                                                                                },
                                                                                "message": {
                                                                                    "type": "string",
                                                                                    "const": "Something went wrong. Try again in a moment."
                                                                                },
                                                                                "retryable": {
                                                                                    "type": "boolean"
                                                                                },
                                                                                "details": {
                                                                                    "type": "null"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "code",
                                                                                "message",
                                                                                "retryable",
                                                                                "details"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "error"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "isError",
                                                                "content",
                                                                "structuredContent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object"
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "error": {
                                                            "type": "object",
                                                            "properties": {
                                                                "code": {
                                                                    "type": "string"
                                                                },
                                                                "message": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "code",
                                                                "message"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "error"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "string"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "arguments must be an object"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "string"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "params must be an object"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: id must be a string or integer"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: params must be an object"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: method must be a string"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: jsonrpc must be \"2.0\""
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: send one JSON-RPC message (an object) per POST"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Parse error"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Unsupported MCP-Protocol-Version"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "202": {
                        "description": ""
                    },
                    "406": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "jsonrpc": {
                                            "type": "string",
                                            "const": "2.0"
                                        },
                                        "id": {
                                            "type": "null"
                                        },
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string"
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "const": "Accept must allow application\/json"
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "jsonrpc",
                                        "id",
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "jsonrpc": {
                                            "type": "string",
                                            "const": "2.0"
                                        },
                                        "id": {
                                            "type": "null"
                                        },
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string"
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "const": "Content-Type must be application\/json"
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "jsonrpc",
                                        "id",
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/mcp\/chatgpt": {
            "post": {
                "operationId": "mcp.mcp.handle_0",
                "tags": [
                    "Mcp"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "anyOf": [
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "error": {
                                                            "type": "object",
                                                            "properties": {
                                                                "code": {
                                                                    "type": "string"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Internal error"
                                                                }
                                                            },
                                                            "required": [
                                                                "code",
                                                                "message"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "error"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "protocolVersion": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "2025-06-18"
                                                                            ]
                                                                        }
                                                                    ]
                                                                },
                                                                "capabilities": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "tools": {
                                                                            "type": "object"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "tools"
                                                                    ]
                                                                },
                                                                "serverInfo": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "presentr-analyze"
                                                                        },
                                                                        "version": {
                                                                            "type": "string",
                                                                            "const": "1.1.0"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "version"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "protocolVersion",
                                                                "capabilities",
                                                                "serverInfo"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "tools": {
                                                                    "type": "array",
                                                                    "items": {}
                                                                }
                                                            },
                                                            "required": [
                                                                "tools"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "isError": {
                                                                    "type": "boolean"
                                                                },
                                                                "content": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "text"
                                                                                },
                                                                                "text": {
                                                                                    "type": "string",
                                                                                    "const": "Something went wrong running this tool. Try again in a moment."
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "text"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "structuredContent": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "error": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "code": {
                                                                                    "type": "string",
                                                                                    "const": "internal_error"
                                                                                },
                                                                                "message": {
                                                                                    "type": "string",
                                                                                    "const": "Something went wrong running this tool. Try again in a moment."
                                                                                },
                                                                                "retryable": {
                                                                                    "type": "boolean"
                                                                                },
                                                                                "details": {
                                                                                    "type": "null"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "code",
                                                                                "message",
                                                                                "retryable",
                                                                                "details"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "error"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "isError",
                                                                "content",
                                                                "structuredContent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "error": {
                                                            "type": "object",
                                                            "properties": {
                                                                "code": {
                                                                    "type": "string"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Unknown tool"
                                                                }
                                                            },
                                                            "required": [
                                                                "code",
                                                                "message"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "error"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "isError": {
                                                                    "type": "boolean"
                                                                },
                                                                "content": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "text"
                                                                                },
                                                                                "text": {
                                                                                    "type": "string",
                                                                                    "const": "Too many tool calls. Wait a moment and try again."
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "text"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "structuredContent": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "error": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "code": {
                                                                                    "type": "string",
                                                                                    "const": "rate_limited"
                                                                                },
                                                                                "message": {
                                                                                    "type": "string",
                                                                                    "const": "Too many tool calls. Wait a moment and try again."
                                                                                },
                                                                                "retryable": {
                                                                                    "type": "boolean"
                                                                                },
                                                                                "details": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "retry_after_seconds": {
                                                                                            "type": [
                                                                                                "integer",
                                                                                                "null"
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "retry_after_seconds"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "code",
                                                                                "message",
                                                                                "retryable",
                                                                                "details"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "error"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "isError",
                                                                "content",
                                                                "structuredContent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "isError": {
                                                                    "type": "boolean"
                                                                },
                                                                "content": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "text"
                                                                                },
                                                                                "text": {
                                                                                    "type": "string",
                                                                                    "const": "Something went wrong. Try again in a moment."
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "text"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "structuredContent": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "error": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "code": {
                                                                                    "type": "string",
                                                                                    "const": "internal_error"
                                                                                },
                                                                                "message": {
                                                                                    "type": "string",
                                                                                    "const": "Something went wrong. Try again in a moment."
                                                                                },
                                                                                "retryable": {
                                                                                    "type": "boolean"
                                                                                },
                                                                                "details": {
                                                                                    "type": "null"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "code",
                                                                                "message",
                                                                                "retryable",
                                                                                "details"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "error"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "isError",
                                                                "content",
                                                                "structuredContent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object"
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "error": {
                                                            "type": "object",
                                                            "properties": {
                                                                "code": {
                                                                    "type": "string"
                                                                },
                                                                "message": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "code",
                                                                "message"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "error"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "string"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "arguments must be an object"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "string"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "params must be an object"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: id must be a string or integer"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: params must be an object"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: method must be a string"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: jsonrpc must be \"2.0\""
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: send one JSON-RPC message (an object) per POST"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Parse error"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Unsupported MCP-Protocol-Version"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "202": {
                        "description": ""
                    },
                    "406": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "jsonrpc": {
                                            "type": "string",
                                            "const": "2.0"
                                        },
                                        "id": {
                                            "type": "null"
                                        },
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string"
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "const": "Accept must allow application\/json"
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "jsonrpc",
                                        "id",
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "jsonrpc": {
                                            "type": "string",
                                            "const": "2.0"
                                        },
                                        "id": {
                                            "type": "null"
                                        },
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string"
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "const": "Content-Type must be application\/json"
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "jsonrpc",
                                        "id",
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/mcp\/claude-directory": {
            "post": {
                "operationId": "mcp.mcp.handle_0",
                "tags": [
                    "Mcp"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "anyOf": [
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "error": {
                                                            "type": "object",
                                                            "properties": {
                                                                "code": {
                                                                    "type": "string"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Internal error"
                                                                }
                                                            },
                                                            "required": [
                                                                "code",
                                                                "message"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "error"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "protocolVersion": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "2025-06-18"
                                                                            ]
                                                                        }
                                                                    ]
                                                                },
                                                                "capabilities": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "tools": {
                                                                            "type": "object"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "tools"
                                                                    ]
                                                                },
                                                                "serverInfo": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "presentr-analyze"
                                                                        },
                                                                        "version": {
                                                                            "type": "string",
                                                                            "const": "1.1.0"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "version"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "protocolVersion",
                                                                "capabilities",
                                                                "serverInfo"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "tools": {
                                                                    "type": "array",
                                                                    "items": {}
                                                                }
                                                            },
                                                            "required": [
                                                                "tools"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "isError": {
                                                                    "type": "boolean"
                                                                },
                                                                "content": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "text"
                                                                                },
                                                                                "text": {
                                                                                    "type": "string",
                                                                                    "const": "Something went wrong running this tool. Try again in a moment."
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "text"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "structuredContent": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "error": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "code": {
                                                                                    "type": "string",
                                                                                    "const": "internal_error"
                                                                                },
                                                                                "message": {
                                                                                    "type": "string",
                                                                                    "const": "Something went wrong running this tool. Try again in a moment."
                                                                                },
                                                                                "retryable": {
                                                                                    "type": "boolean"
                                                                                },
                                                                                "details": {
                                                                                    "type": "null"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "code",
                                                                                "message",
                                                                                "retryable",
                                                                                "details"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "error"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "isError",
                                                                "content",
                                                                "structuredContent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "error": {
                                                            "type": "object",
                                                            "properties": {
                                                                "code": {
                                                                    "type": "string"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Unknown tool"
                                                                }
                                                            },
                                                            "required": [
                                                                "code",
                                                                "message"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "error"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "isError": {
                                                                    "type": "boolean"
                                                                },
                                                                "content": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "text"
                                                                                },
                                                                                "text": {
                                                                                    "type": "string",
                                                                                    "const": "Too many tool calls. Wait a moment and try again."
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "text"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "structuredContent": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "error": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "code": {
                                                                                    "type": "string",
                                                                                    "const": "rate_limited"
                                                                                },
                                                                                "message": {
                                                                                    "type": "string",
                                                                                    "const": "Too many tool calls. Wait a moment and try again."
                                                                                },
                                                                                "retryable": {
                                                                                    "type": "boolean"
                                                                                },
                                                                                "details": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "retry_after_seconds": {
                                                                                            "type": [
                                                                                                "integer",
                                                                                                "null"
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "retry_after_seconds"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "code",
                                                                                "message",
                                                                                "retryable",
                                                                                "details"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "error"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "isError",
                                                                "content",
                                                                "structuredContent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object",
                                                            "properties": {
                                                                "isError": {
                                                                    "type": "boolean"
                                                                },
                                                                "content": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "text"
                                                                                },
                                                                                "text": {
                                                                                    "type": "string",
                                                                                    "const": "Something went wrong. Try again in a moment."
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "text"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "structuredContent": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "error": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "code": {
                                                                                    "type": "string",
                                                                                    "const": "internal_error"
                                                                                },
                                                                                "message": {
                                                                                    "type": "string",
                                                                                    "const": "Something went wrong. Try again in a moment."
                                                                                },
                                                                                "retryable": {
                                                                                    "type": "boolean"
                                                                                },
                                                                                "details": {
                                                                                    "type": "null"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "code",
                                                                                "message",
                                                                                "retryable",
                                                                                "details"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "error"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "isError",
                                                                "content",
                                                                "structuredContent"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "result": {
                                                            "type": "object"
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "result"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "jsonrpc": {
                                                            "type": "string",
                                                            "const": "2.0"
                                                        },
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "error": {
                                                            "type": "object",
                                                            "properties": {
                                                                "code": {
                                                                    "type": "string"
                                                                },
                                                                "message": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "code",
                                                                "message"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "jsonrpc",
                                                        "id",
                                                        "error"
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "string"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "arguments must be an object"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "string"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "params must be an object"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: id must be a string or integer"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: params must be an object"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: method must be a string"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: jsonrpc must be \"2.0\""
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Invalid Request: send one JSON-RPC message (an object) per POST"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Parse error"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "jsonrpc": {
                                                    "type": "string",
                                                    "const": "2.0"
                                                },
                                                "id": {
                                                    "type": "null"
                                                },
                                                "error": {
                                                    "type": "object",
                                                    "properties": {
                                                        "code": {
                                                            "type": "string"
                                                        },
                                                        "message": {
                                                            "type": "string",
                                                            "const": "Unsupported MCP-Protocol-Version"
                                                        }
                                                    },
                                                    "required": [
                                                        "code",
                                                        "message"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "jsonrpc",
                                                "id",
                                                "error"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "202": {
                        "description": ""
                    },
                    "406": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "jsonrpc": {
                                            "type": "string",
                                            "const": "2.0"
                                        },
                                        "id": {
                                            "type": "null"
                                        },
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string"
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "const": "Accept must allow application\/json"
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "jsonrpc",
                                        "id",
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "415": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "jsonrpc": {
                                            "type": "string",
                                            "const": "2.0"
                                        },
                                        "id": {
                                            "type": "null"
                                        },
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string"
                                                },
                                                "message": {
                                                    "type": "string",
                                                    "const": "Content-Type must be application\/json"
                                                }
                                            },
                                            "required": [
                                                "code",
                                                "message"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "jsonrpc",
                                        "id",
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/mcp-oauth\/register": {
            "post": {
                "operationId": "mcpOAuth.register",
                "tags": [
                    "McpOAuth"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "redirect_uris": {
                                        "type": "string"
                                    },
                                    "scope": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/mcp-oauth\/authorize": {
            "get": {
                "operationId": "mcpOAuth.startAuthorization",
                "tags": [
                    "McpOAuth"
                ],
                "parameters": [
                    {
                        "name": "client_id",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "redirect_uri",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "state",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "code_challenge",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "resource",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "scope",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/mcp-oauth\/token": {
            "post": {
                "operationId": "mcpOAuth.token",
                "tags": [
                    "McpOAuth"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "client_id": {
                                        "type": "string"
                                    },
                                    "resource": {
                                        "type": "string"
                                    },
                                    "grant_type": {
                                        "type": "string"
                                    },
                                    "code": {
                                        "type": "string"
                                    },
                                    "redirect_uri": {
                                        "type": "string"
                                    },
                                    "code_verifier": {
                                        "type": "string"
                                    },
                                    "refresh_token": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/mcp-oauth\/revoke": {
            "post": {
                "operationId": "mcpOAuth.revoke",
                "tags": [
                    "McpOAuth"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "token": {
                                        "type": "string"
                                    },
                                    "client_id": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/mcp-oauth\/requests\/{id}": {
            "get": {
                "operationId": "mcpOAuth.showRequest",
                "tags": [
                    "McpOAuth"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/mcp-oauth\/requests\/{id}\/decision": {
            "post": {
                "operationId": "mcpOAuth.decide",
                "tags": [
                    "McpOAuth"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "approve": {
                                        "type": "string"
                                    },
                                    "prompt_key": {
                                        "type": "string"
                                    },
                                    "copied": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/mcp-oauth\/connections": {
            "get": {
                "operationId": "mcpOAuth.connections",
                "tags": [
                    "McpOAuth"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/mcp-oauth\/connections\/{familyId}": {
            "delete": {
                "operationId": "mcpOAuth.disconnect",
                "tags": [
                    "McpOAuth"
                ],
                "parameters": [
                    {
                        "name": "familyId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/v1\/me": {
            "get": {
                "operationId": "me.show",
                "tags": [
                    "Me"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "authenticated": {
                                            "type": "boolean"
                                        },
                                        "account": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "string"
                                                },
                                                "name": {
                                                    "anyOf": [
                                                        {
                                                            "type": "string"
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "string",
                                                            "enum": [
                                                                "RapidAPI Account"
                                                            ]
                                                        }
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "id",
                                                "name"
                                            ]
                                        },
                                        "api_client": {
                                            "anyOf": [
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "name": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "RapidAPI Client"
                                                                    ]
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "id",
                                                        "name"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "name": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "required": [
                                                        "id",
                                                        "name"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "id": {
                                                            "type": "string"
                                                        },
                                                        "name": {
                                                            "type": "string",
                                                            "const": "Direct API Client"
                                                        }
                                                    },
                                                    "required": [
                                                        "id",
                                                        "name"
                                                    ]
                                                }
                                            ]
                                        },
                                        "channel": {
                                            "type": "string"
                                        },
                                        "plan": {
                                            "anyOf": [
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "name": {
                                                            "anyOf": [
                                                                {},
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "Free"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "source": {
                                                            "type": "string",
                                                            "const": "rapidapi"
                                                        }
                                                    },
                                                    "required": [
                                                        "name",
                                                        "source"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "name": {
                                                            "anyOf": [
                                                                {},
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "Direct"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "source": {
                                                            "type": "string",
                                                            "const": "direct"
                                                        }
                                                    },
                                                    "required": [
                                                        "name",
                                                        "source"
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    "required": [
                                        "authenticated",
                                        "account",
                                        "api_client",
                                        "channel",
                                        "plan"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/integrations": {
            "get": {
                "operationId": "oAuth.index",
                "tags": [
                    "OAuth"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/integrations\/youtube\/channels": {
            "get": {
                "operationId": "oAuth.youtubeChannels",
                "tags": [
                    "OAuth"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "channels": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            },
                                            "required": [
                                                "channels"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "channels": {
                                                    "type": "array",
                                                    "items": {}
                                                }
                                            },
                                            "required": [
                                                "channels"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/outreach\/unsubscribe\/{contact}": {
            "get": {
                "operationId": "outreach.unsubscribe",
                "summary": "Read-only. Shows whose address this is and offers the button",
                "tags": [
                    "OutreachUnsubscribe"
                ],
                "parameters": [
                    {
                        "name": "contact",
                        "in": "path",
                        "required": true,
                        "description": "The contact ID",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#\/components\/responses\/ModelNotFoundException"
                    }
                }
            },
            "post": {
                "operationId": "outreach.unsubscribe.post",
                "summary": "The action. Also the RFC 8058 one-click target",
                "tags": [
                    "OutreachUnsubscribe"
                ],
                "parameters": [
                    {
                        "name": "contact",
                        "in": "path",
                        "required": true,
                        "description": "The contact ID",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "string"
                                        },
                                        {
                                            "type": "string",
                                            "const": "Unsubscribed.\n"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#\/components\/responses\/ModelNotFoundException"
                    }
                }
            }
        },
        "\/pipelines": {
            "get": {
                "operationId": "pipeline.index",
                "tags": [
                    "Pipeline"
                ],
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "default": ""
                        }
                    },
                    {
                        "name": "enabled",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "default": ""
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#\/components\/schemas\/LengthAwarePaginator"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "from": {
                                                    "anyOf": [
                                                        {
                                                            "type": "integer"
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "integer",
                                                            "enum": [
                                                                0
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "to": {
                                                    "anyOf": [
                                                        {
                                                            "type": "integer"
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "integer",
                                                            "enum": [
                                                                0
                                                            ]
                                                        }
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "total",
                                                "per_page",
                                                "current_page",
                                                "last_page",
                                                "from",
                                                "to"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "pipeline.store",
                "tags": [
                    "Pipeline"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 255
                                    },
                                    "loudness_target_profile": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "broadcast_atsc_a85",
                                            "broadcast_ebu_r128",
                                            "streaming_spotify",
                                            "streaming_youtube",
                                            "podcast_apple"
                                        ]
                                    },
                                    "conformance_profile": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "broadcast_hd_2997",
                                            "broadcast_hd_25",
                                            "broadcast_uhd_2997",
                                            "streaming_1080p_30",
                                            "streaming_720p_30",
                                            "podcast_audio_only"
                                        ]
                                    },
                                    "emit_broadcast_cues": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "enabled": {
                                        "type": "boolean"
                                    },
                                    "source_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "template_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "dispatch": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "run_mode": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "immediate",
                                            "manual"
                                        ]
                                    },
                                    "delivery_mode": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "manual",
                                            "on_processed",
                                            "on_finalize",
                                            "scheduled",
                                            "on_success",
                                            "auto_accept_on_confidence"
                                        ]
                                    },
                                    "auto_accept_min_confidence": {
                                        "type": [
                                            "number",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 1
                                    },
                                    "scheduled_type": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "once",
                                            "recurring"
                                        ]
                                    },
                                    "scheduled_at": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "scheduled_cron": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "description": "ISO local datetime for 'once'",
                                        "maxLength": 100
                                    },
                                    "scheduled_tz": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "allow_payload_title_override": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "allow_payload_callback_url": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "destination_ids": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "overrides": {
                                        "type": "object",
                                        "properties": {
                                            "adaptation_check": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "adaptation_hold_delivery": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            }
                                        }
                                    }
                                },
                                "required": [
                                    "name"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "integer"
                                        },
                                        "owner_user_id": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "loudness_target_profile": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "conformance_profile": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "source_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "template_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "dispatch": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "overrides": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "created_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "updated_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "emit_broadcast_cues": {
                                            "type": "boolean"
                                        },
                                        "destination_ids": {
                                            "type": "array",
                                            "items": {}
                                        },
                                        "run_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "immediate"
                                                    ]
                                                }
                                            ]
                                        },
                                        "delivery_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "on_processed",
                                                        "manual"
                                                    ]
                                                }
                                            ]
                                        },
                                        "delivery_delay_minutes": {
                                            "type": "integer"
                                        },
                                        "allow_payload_title_override": {
                                            "type": "boolean"
                                        },
                                        "allow_payload_callback_url": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "owner_user_id",
                                        "uuid",
                                        "name",
                                        "loudness_target_profile",
                                        "conformance_profile",
                                        "enabled",
                                        "source_id",
                                        "template_id",
                                        "dispatch",
                                        "overrides",
                                        "created_at",
                                        "updated_at",
                                        "emit_broadcast_cues",
                                        "destination_ids",
                                        "run_mode",
                                        "delivery_mode",
                                        "delivery_delay_minutes",
                                        "allow_payload_title_override",
                                        "allow_payload_callback_url"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/pipelines\/{uuid}": {
            "get": {
                "operationId": "pipeline.show",
                "tags": [
                    "Pipeline"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "integer"
                                        },
                                        "owner_user_id": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "loudness_target_profile": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "conformance_profile": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "source_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "template_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "dispatch": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "overrides": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "created_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "updated_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "emit_broadcast_cues": {
                                            "type": "boolean"
                                        },
                                        "destination_ids": {
                                            "type": "array",
                                            "items": {}
                                        },
                                        "run_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "immediate"
                                                    ]
                                                }
                                            ]
                                        },
                                        "delivery_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "on_processed",
                                                        "manual"
                                                    ]
                                                }
                                            ]
                                        },
                                        "delivery_delay_minutes": {
                                            "type": "integer"
                                        },
                                        "allow_payload_title_override": {
                                            "type": "boolean"
                                        },
                                        "allow_payload_callback_url": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "owner_user_id",
                                        "uuid",
                                        "name",
                                        "loudness_target_profile",
                                        "conformance_profile",
                                        "enabled",
                                        "source_id",
                                        "template_id",
                                        "dispatch",
                                        "overrides",
                                        "created_at",
                                        "updated_at",
                                        "emit_broadcast_cues",
                                        "destination_ids",
                                        "run_mode",
                                        "delivery_mode",
                                        "delivery_delay_minutes",
                                        "allow_payload_title_override",
                                        "allow_payload_callback_url"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "patch": {
                "operationId": "pipeline.update",
                "tags": [
                    "Pipeline"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 255
                                    },
                                    "loudness_target_profile": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "broadcast_atsc_a85",
                                            "broadcast_ebu_r128",
                                            "streaming_spotify",
                                            "streaming_youtube",
                                            "podcast_apple"
                                        ]
                                    },
                                    "conformance_profile": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "broadcast_hd_2997",
                                            "broadcast_hd_25",
                                            "broadcast_uhd_2997",
                                            "streaming_1080p_30",
                                            "streaming_720p_30",
                                            "podcast_audio_only"
                                        ]
                                    },
                                    "emit_broadcast_cues": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "enabled": {
                                        "type": "boolean"
                                    },
                                    "source_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "template_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "dispatch": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "run_mode": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "immediate",
                                            "manual"
                                        ]
                                    },
                                    "delivery_mode": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "manual",
                                            "on_processed",
                                            "on_finalize",
                                            "scheduled",
                                            "on_success",
                                            "auto_accept_on_confidence"
                                        ]
                                    },
                                    "auto_accept_min_confidence": {
                                        "type": [
                                            "number",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 1
                                    },
                                    "scheduled_type": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "once",
                                            "recurring"
                                        ]
                                    },
                                    "scheduled_at": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "scheduled_cron": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "description": "ISO local datetime for 'once'",
                                        "maxLength": 100
                                    },
                                    "scheduled_tz": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "allow_payload_title_override": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "allow_payload_callback_url": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "destination_ids": {
                                        "type": [
                                            "array",
                                            "null"
                                        ],
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "overrides": {
                                        "type": "object",
                                        "properties": {
                                            "adaptation_check": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "adaptation_hold_delivery": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "integer"
                                        },
                                        "owner_user_id": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "loudness_target_profile": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "conformance_profile": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "source_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "template_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "dispatch": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "overrides": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "created_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "updated_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "emit_broadcast_cues": {
                                            "type": "boolean"
                                        },
                                        "destination_ids": {
                                            "type": "array",
                                            "items": {}
                                        },
                                        "run_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "immediate"
                                                    ]
                                                }
                                            ]
                                        },
                                        "delivery_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "on_processed",
                                                        "manual"
                                                    ]
                                                }
                                            ]
                                        },
                                        "delivery_delay_minutes": {
                                            "type": "integer"
                                        },
                                        "allow_payload_title_override": {
                                            "type": "boolean"
                                        },
                                        "allow_payload_callback_url": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "owner_user_id",
                                        "uuid",
                                        "name",
                                        "loudness_target_profile",
                                        "conformance_profile",
                                        "enabled",
                                        "source_id",
                                        "template_id",
                                        "dispatch",
                                        "overrides",
                                        "created_at",
                                        "updated_at",
                                        "emit_broadcast_cues",
                                        "destination_ids",
                                        "run_mode",
                                        "delivery_mode",
                                        "delivery_delay_minutes",
                                        "allow_payload_title_override",
                                        "allow_payload_callback_url"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            },
            "delete": {
                "operationId": "pipeline.destroy",
                "tags": [
                    "Pipeline"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/pipelines\/{uuid}\/enable": {
            "post": {
                "operationId": "pipeline.enable",
                "tags": [
                    "Pipeline"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "integer"
                                        },
                                        "owner_user_id": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "loudness_target_profile": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "conformance_profile": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "source_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "template_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "dispatch": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "overrides": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "created_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "updated_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "emit_broadcast_cues": {
                                            "type": "boolean"
                                        },
                                        "destination_ids": {
                                            "type": "array",
                                            "items": {}
                                        },
                                        "run_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "immediate"
                                                    ]
                                                }
                                            ]
                                        },
                                        "delivery_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "on_processed",
                                                        "manual"
                                                    ]
                                                }
                                            ]
                                        },
                                        "delivery_delay_minutes": {
                                            "type": "integer"
                                        },
                                        "allow_payload_title_override": {
                                            "type": "boolean"
                                        },
                                        "allow_payload_callback_url": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "owner_user_id",
                                        "uuid",
                                        "name",
                                        "loudness_target_profile",
                                        "conformance_profile",
                                        "enabled",
                                        "source_id",
                                        "template_id",
                                        "dispatch",
                                        "overrides",
                                        "created_at",
                                        "updated_at",
                                        "emit_broadcast_cues",
                                        "destination_ids",
                                        "run_mode",
                                        "delivery_mode",
                                        "delivery_delay_minutes",
                                        "allow_payload_title_override",
                                        "allow_payload_callback_url"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/pipelines\/{uuid}\/disable": {
            "post": {
                "operationId": "pipeline.disable",
                "tags": [
                    "Pipeline"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "integer"
                                        },
                                        "owner_user_id": {
                                            "type": [
                                                "integer",
                                                "null"
                                            ]
                                        },
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "loudness_target_profile": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "conformance_profile": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "source_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "template_id": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "dispatch": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "overrides": {
                                            "type": [
                                                "array",
                                                "null"
                                            ],
                                            "items": {}
                                        },
                                        "created_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "updated_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "emit_broadcast_cues": {
                                            "type": "boolean"
                                        },
                                        "destination_ids": {
                                            "type": "array",
                                            "items": {}
                                        },
                                        "run_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "immediate"
                                                    ]
                                                }
                                            ]
                                        },
                                        "delivery_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "on_processed",
                                                        "manual"
                                                    ]
                                                }
                                            ]
                                        },
                                        "delivery_delay_minutes": {
                                            "type": "integer"
                                        },
                                        "allow_payload_title_override": {
                                            "type": "boolean"
                                        },
                                        "allow_payload_callback_url": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "owner_user_id",
                                        "uuid",
                                        "name",
                                        "loudness_target_profile",
                                        "conformance_profile",
                                        "enabled",
                                        "source_id",
                                        "template_id",
                                        "dispatch",
                                        "overrides",
                                        "created_at",
                                        "updated_at",
                                        "emit_broadcast_cues",
                                        "destination_ids",
                                        "run_mode",
                                        "delivery_mode",
                                        "delivery_delay_minutes",
                                        "allow_payload_title_override",
                                        "allow_payload_callback_url"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/pipelines\/{uuid}\/run": {
            "post": {
                "operationId": "pipeline.run",
                "summary": "POST \/api\/pipelines\/{uuid}\/run \u2014 trigger a manual run from a pipeline",
                "tags": [
                    "Pipeline"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "title": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    },
                                    "source_value": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "accepted": {
                                            "type": "boolean"
                                        },
                                        "run_id": {
                                            "type": "string"
                                        },
                                        "pipeline_id": {
                                            "type": "string"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "run": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "type": "string"
                                                },
                                                "deliveries": {
                                                    "type": "string"
                                                },
                                                "finalize": {
                                                    "type": "string"
                                                },
                                                "deliver": {
                                                    "type": "string"
                                                },
                                                "results": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "run",
                                                "status",
                                                "deliveries",
                                                "finalize",
                                                "deliver",
                                                "results"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "accepted",
                                        "run_id",
                                        "pipeline_id",
                                        "status",
                                        "links"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/v1\/podcasts\/analyze": {
            "post": {
                "operationId": "podcastAnalyze.store",
                "tags": [
                    "PodcastAnalyze"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "source_url": {
                                        "type": "string",
                                        "format": "uri",
                                        "maxLength": 2048
                                    },
                                    "options": {
                                        "type": "object",
                                        "properties": {
                                            "language": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ],
                                                "maxLength": 10
                                            },
                                            "generate_transcript": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "generate_captions": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "caption_formats": {
                                                "type": [
                                                    "array",
                                                    "null"
                                                ],
                                                "items": {
                                                    "type": "string",
                                                    "enum": [
                                                        "srt",
                                                        "vtt"
                                                    ]
                                                }
                                            },
                                            "detect_ad_markers": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "ad_marker_count": {
                                                "type": [
                                                    "integer",
                                                    "null"
                                                ],
                                                "minimum": 1,
                                                "maximum": 10
                                            },
                                            "generate_chapters": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            },
                                            "generate_summary": {
                                                "type": [
                                                    "boolean",
                                                    "null"
                                                ]
                                            }
                                        }
                                    }
                                },
                                "required": [
                                    "source_url"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "500": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "array",
                                            "items": {}
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    },
                    "403": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "array",
                                            "items": {}
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    },
                    "202": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "job": {
                                            "type": "object",
                                            "properties": {
                                                "uuid": {
                                                    "type": "string"
                                                },
                                                "type": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "status": {
                                                    "type": "string",
                                                    "const": "queued"
                                                },
                                                "status_url": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "type",
                                                "status",
                                                "status_url"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "job"
                                    ]
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Same key, same body: hand back the original job rather\nthan charging for a duplicate.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "job": {
                                                    "type": "object",
                                                    "properties": {
                                                        "uuid": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "type": {
                                                            "type": "string",
                                                            "const": "podcast_analysis"
                                                        },
                                                        "status": {
                                                            "type": "string",
                                                            "const": "queued"
                                                        },
                                                        "status_url": {
                                                            "type": "string"
                                                        },
                                                        "idempotent_replay": {
                                                            "type": "boolean"
                                                        }
                                                    },
                                                    "required": [
                                                        "uuid",
                                                        "type",
                                                        "status",
                                                        "status_url",
                                                        "idempotent_replay"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "job"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "job": {
                                                    "type": "object",
                                                    "properties": {
                                                        "uuid": {
                                                            "type": "string"
                                                        },
                                                        "type": {
                                                            "type": "string",
                                                            "const": "podcast_analysis"
                                                        },
                                                        "status": {
                                                            "type": "string",
                                                            "const": "queued"
                                                        },
                                                        "status_url": {
                                                            "type": "string"
                                                        },
                                                        "idempotent_replay": {
                                                            "type": "boolean"
                                                        }
                                                    },
                                                    "required": [
                                                        "uuid",
                                                        "type",
                                                        "status",
                                                        "status_url",
                                                        "idempotent_replay"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "job"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "array",
                                            "items": {}
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/preflight\/source": {
            "post": {
                "operationId": "preflight.check",
                "tags": [
                    "Preflight"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "type": "string",
                                        "maxLength": 2048
                                    },
                                    "source_type": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "url",
                                            "youtube",
                                            "upload",
                                            "api"
                                        ]
                                    }
                                },
                                "required": [
                                    "url"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    },
                    "401": {
                        "$ref": "#\/components\/responses\/AuthenticationException"
                    }
                }
            }
        },
        "\/openapi.json": {
            "get": {
                "operationId": "publicOpenApi",
                "tags": [
                    "PublicOpenApi"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "openapi": {
                                            "type": "string",
                                            "const": "3.0.0"
                                        },
                                        "info": {
                                            "type": "object",
                                            "properties": {
                                                "title": {
                                                    "type": "string",
                                                    "const": "Presentr Analyze Media Intelligence API"
                                                },
                                                "version": {
                                                    "type": "string",
                                                    "const": "1.0.0"
                                                },
                                                "description": {
                                                    "type": "string",
                                                    "const": "Podcast analysis API for transcript, captions, chapters, ad markers, show notes, and media health."
                                                }
                                            },
                                            "required": [
                                                "title",
                                                "version",
                                                "description"
                                            ]
                                        },
                                        "servers": {
                                            "type": "array",
                                            "prefixItems": [
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "url": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "https:\/\/analyze.presentr.me"
                                                                    ]
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "url"
                                                    ]
                                                }
                                            ],
                                            "minItems": 1,
                                            "maxItems": 1,
                                            "additionalItems": false
                                        },
                                        "components": {
                                            "type": "object",
                                            "properties": {
                                                "securitySchemes": {
                                                    "type": "object",
                                                    "properties": {
                                                        "bearerAuth": {
                                                            "type": "object",
                                                            "properties": {
                                                                "type": {
                                                                    "type": "string",
                                                                    "const": "http"
                                                                },
                                                                "scheme": {
                                                                    "type": "string",
                                                                    "const": "bearer"
                                                                }
                                                            },
                                                            "required": [
                                                                "type",
                                                                "scheme"
                                                            ]
                                                        },
                                                        "apiKeyAuth": {
                                                            "type": "object",
                                                            "properties": {
                                                                "type": {
                                                                    "type": "string",
                                                                    "const": "apiKey"
                                                                },
                                                                "in": {
                                                                    "type": "string",
                                                                    "const": "header"
                                                                },
                                                                "name": {
                                                                    "type": "string",
                                                                    "const": "X-Api-Key"
                                                                }
                                                            },
                                                            "required": [
                                                                "type",
                                                                "in",
                                                                "name"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "bearerAuth",
                                                        "apiKeyAuth"
                                                    ]
                                                },
                                                "schemas": {
                                                    "type": "object",
                                                    "properties": {
                                                        "PodcastAnalyzeRequest": {
                                                            "type": "object",
                                                            "properties": {
                                                                "type": {
                                                                    "type": "string",
                                                                    "const": "object"
                                                                },
                                                                "required": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "string",
                                                                            "const": "source_url"
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "properties": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "source_url": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "string"
                                                                                },
                                                                                "format": {
                                                                                    "type": "string",
                                                                                    "const": "uri"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "format"
                                                                            ]
                                                                        },
                                                                        "options": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "object"
                                                                                },
                                                                                "properties": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "language": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "string"
                                                                                                },
                                                                                                "example": {
                                                                                                    "type": "string",
                                                                                                    "const": "en"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "example"
                                                                                            ]
                                                                                        },
                                                                                        "generate_transcript": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "boolean"
                                                                                                },
                                                                                                "example": {
                                                                                                    "type": "boolean"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "example"
                                                                                            ]
                                                                                        },
                                                                                        "generate_captions": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "boolean"
                                                                                                },
                                                                                                "example": {
                                                                                                    "type": "boolean"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "example"
                                                                                            ]
                                                                                        },
                                                                                        "caption_formats": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "array"
                                                                                                },
                                                                                                "items": {
                                                                                                    "type": "object",
                                                                                                    "properties": {
                                                                                                        "type": {
                                                                                                            "type": "string",
                                                                                                            "const": "string"
                                                                                                        },
                                                                                                        "enum": {
                                                                                                            "type": "array",
                                                                                                            "prefixItems": [
                                                                                                                {
                                                                                                                    "type": "string",
                                                                                                                    "const": "srt"
                                                                                                                },
                                                                                                                {
                                                                                                                    "type": "string",
                                                                                                                    "const": "vtt"
                                                                                                                }
                                                                                                            ],
                                                                                                            "minItems": 2,
                                                                                                            "maxItems": 2,
                                                                                                            "additionalItems": false
                                                                                                        }
                                                                                                    },
                                                                                                    "required": [
                                                                                                        "type",
                                                                                                        "enum"
                                                                                                    ]
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "items"
                                                                                            ]
                                                                                        },
                                                                                        "detect_ad_markers": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "boolean"
                                                                                                },
                                                                                                "example": {
                                                                                                    "type": "boolean"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "example"
                                                                                            ]
                                                                                        },
                                                                                        "ad_marker_count": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "integer"
                                                                                                },
                                                                                                "minimum": {
                                                                                                    "type": "integer",
                                                                                                    "const": 1
                                                                                                },
                                                                                                "maximum": {
                                                                                                    "type": "integer",
                                                                                                    "const": 10
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "minimum",
                                                                                                "maximum"
                                                                                            ]
                                                                                        },
                                                                                        "generate_chapters": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "boolean"
                                                                                                },
                                                                                                "example": {
                                                                                                    "type": "boolean"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "example"
                                                                                            ]
                                                                                        },
                                                                                        "generate_summary": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "boolean"
                                                                                                },
                                                                                                "example": {
                                                                                                    "type": "boolean"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "example"
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "language",
                                                                                        "generate_transcript",
                                                                                        "generate_captions",
                                                                                        "caption_formats",
                                                                                        "detect_ad_markers",
                                                                                        "ad_marker_count",
                                                                                        "generate_chapters",
                                                                                        "generate_summary"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "properties"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "source_url",
                                                                        "options"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "type",
                                                                "required",
                                                                "properties"
                                                            ]
                                                        },
                                                        "JobEnvelope": {
                                                            "type": "object",
                                                            "properties": {
                                                                "type": {
                                                                    "type": "string",
                                                                    "const": "object"
                                                                },
                                                                "properties": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "job": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "object"
                                                                                },
                                                                                "properties": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "uuid": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "string"
                                                                                                },
                                                                                                "example": {
                                                                                                    "type": "string",
                                                                                                    "const": "job_123e4567-e89b-12d3-a456-426614174000"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "example"
                                                                                            ]
                                                                                        },
                                                                                        "type": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "string"
                                                                                                },
                                                                                                "example": {
                                                                                                    "type": "string",
                                                                                                    "const": "podcast_analysis"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "example"
                                                                                            ]
                                                                                        },
                                                                                        "status": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "string"
                                                                                                },
                                                                                                "example": {
                                                                                                    "type": "string",
                                                                                                    "const": "queued"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "example"
                                                                                            ]
                                                                                        },
                                                                                        "status_url": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "string"
                                                                                                },
                                                                                                "example": {
                                                                                                    "type": "string",
                                                                                                    "const": "\/api\/v1\/jobs\/job_123e4567-e89b-12d3-a456-426614174000"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "example"
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "uuid",
                                                                                        "type",
                                                                                        "status",
                                                                                        "status_url"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "properties"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "job"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "type",
                                                                "properties"
                                                            ]
                                                        },
                                                        "Artifact": {
                                                            "type": "object",
                                                            "properties": {
                                                                "type": {
                                                                    "type": "string",
                                                                    "const": "object"
                                                                },
                                                                "properties": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "type": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "string"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type"
                                                                            ]
                                                                        },
                                                                        "filename": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "string"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type"
                                                                            ]
                                                                        },
                                                                        "url": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "string"
                                                                                },
                                                                                "format": {
                                                                                    "type": "string",
                                                                                    "const": "uri"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "format"
                                                                            ]
                                                                        },
                                                                        "expires_at": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "string"
                                                                                },
                                                                                "format": {
                                                                                    "type": "string",
                                                                                    "const": "date-time"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "format"
                                                                            ]
                                                                        },
                                                                        "content_type": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "string"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "type",
                                                                        "filename",
                                                                        "url",
                                                                        "expires_at",
                                                                        "content_type"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "type",
                                                                "properties"
                                                            ]
                                                        },
                                                        "PodcastAnalysisResult": {
                                                            "type": "object",
                                                            "properties": {
                                                                "type": {
                                                                    "type": "string",
                                                                    "const": "object"
                                                                },
                                                                "properties": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "type": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "string"
                                                                                },
                                                                                "example": {
                                                                                    "type": "string",
                                                                                    "const": "podcast_analysis_result"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "example"
                                                                            ]
                                                                        },
                                                                        "duration_sec": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "integer"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type"
                                                                            ]
                                                                        },
                                                                        "language": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "string"
                                                                                },
                                                                                "nullable": {
                                                                                    "type": "boolean"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "nullable"
                                                                            ]
                                                                        },
                                                                        "transcript_summary": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "string"
                                                                                },
                                                                                "nullable": {
                                                                                    "type": "boolean"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "nullable"
                                                                            ]
                                                                        },
                                                                        "ad_markers": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "array"
                                                                                },
                                                                                "items": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "type": {
                                                                                            "type": "string",
                                                                                            "const": "object"
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "type"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "items"
                                                                            ]
                                                                        },
                                                                        "chapters": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "array"
                                                                                },
                                                                                "items": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "type": {
                                                                                            "type": "string",
                                                                                            "const": "object"
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "type"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "items"
                                                                            ]
                                                                        },
                                                                        "media_health": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "object"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "type",
                                                                        "duration_sec",
                                                                        "language",
                                                                        "transcript_summary",
                                                                        "ad_markers",
                                                                        "chapters",
                                                                        "media_health"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "type",
                                                                "properties"
                                                            ]
                                                        },
                                                        "ErrorResponse": {
                                                            "type": "object",
                                                            "properties": {
                                                                "type": {
                                                                    "type": "string",
                                                                    "const": "object"
                                                                },
                                                                "properties": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "error": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "type": {
                                                                                    "type": "string",
                                                                                    "const": "object"
                                                                                },
                                                                                "properties": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "code": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "string"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type"
                                                                                            ]
                                                                                        },
                                                                                        "message": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "string"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type"
                                                                                            ]
                                                                                        },
                                                                                        "details": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "type": {
                                                                                                    "type": "string",
                                                                                                    "const": "object"
                                                                                                },
                                                                                                "nullable": {
                                                                                                    "type": "boolean"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "type",
                                                                                                "nullable"
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "code",
                                                                                        "message",
                                                                                        "details"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "type",
                                                                                "properties"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "error"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "type",
                                                                "properties"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "PodcastAnalyzeRequest",
                                                        "JobEnvelope",
                                                        "Artifact",
                                                        "PodcastAnalysisResult",
                                                        "ErrorResponse"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "securitySchemes",
                                                "schemas"
                                            ]
                                        },
                                        "security": {
                                            "type": "array",
                                            "prefixItems": [
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "bearerAuth": {
                                                            "type": "array",
                                                            "items": {
                                                                "type": "string"
                                                            },
                                                            "minItems": 0,
                                                            "maxItems": 0,
                                                            "additionalItems": false
                                                        }
                                                    },
                                                    "required": [
                                                        "bearerAuth"
                                                    ]
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "apiKeyAuth": {
                                                            "type": "array",
                                                            "items": {
                                                                "type": "string"
                                                            },
                                                            "minItems": 0,
                                                            "maxItems": 0,
                                                            "additionalItems": false
                                                        }
                                                    },
                                                    "required": [
                                                        "apiKeyAuth"
                                                    ]
                                                }
                                            ],
                                            "minItems": 2,
                                            "maxItems": 2,
                                            "additionalItems": false
                                        },
                                        "paths": {
                                            "type": "object",
                                            "properties": {
                                                "\/api\/v1\/podcasts\/analyze": {
                                                    "type": "object",
                                                    "properties": {
                                                        "post": {
                                                            "type": "object",
                                                            "properties": {
                                                                "summary": {
                                                                    "type": "string",
                                                                    "const": "Create podcast analysis job"
                                                                },
                                                                "parameters": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "name": {
                                                                                    "type": "string",
                                                                                    "const": "Idempotency-Key"
                                                                                },
                                                                                "in": {
                                                                                    "type": "string",
                                                                                    "const": "header"
                                                                                },
                                                                                "required": {
                                                                                    "type": "boolean"
                                                                                },
                                                                                "schema": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "type": {
                                                                                            "type": "string",
                                                                                            "const": "string"
                                                                                        },
                                                                                        "maxLength": {
                                                                                            "type": "integer",
                                                                                            "const": 255
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "type",
                                                                                        "maxLength"
                                                                                    ]
                                                                                },
                                                                                "description": {
                                                                                    "type": "string",
                                                                                    "const": "Replaying this key with the same body returns the original job instead of creating a second, chargeable one. A different body with the same key returns 409. Scoped per account."
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "name",
                                                                                "in",
                                                                                "required",
                                                                                "schema",
                                                                                "description"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "requestBody": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "required": {
                                                                            "type": "boolean"
                                                                        },
                                                                        "content": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "application\/json": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "schema": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "$ref": {
                                                                                                    "type": "string",
                                                                                                    "const": "#\/components\/schemas\/PodcastAnalyzeRequest"
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "$ref"
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "schema"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "application\/json"
                                                                            ]
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "required",
                                                                        "content"
                                                                    ]
                                                                },
                                                                "responses": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "description": {
                                                                                    "type": "string",
                                                                                    "const": "Queued"
                                                                                },
                                                                                "content": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "application\/json": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "schema": {
                                                                                                    "type": "object",
                                                                                                    "properties": {
                                                                                                        "$ref": {
                                                                                                            "type": "string",
                                                                                                            "const": "#\/components\/schemas\/JobEnvelope"
                                                                                                        }
                                                                                                    },
                                                                                                    "required": [
                                                                                                        "$ref"
                                                                                                    ]
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "schema"
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "application\/json"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "description",
                                                                                "content"
                                                                            ]
                                                                        },
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "description": {
                                                                                    "type": "string",
                                                                                    "const": "Validation failed"
                                                                                },
                                                                                "content": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "application\/json": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "schema": {
                                                                                                    "type": "object",
                                                                                                    "properties": {
                                                                                                        "$ref": {
                                                                                                            "type": "string",
                                                                                                            "const": "#\/components\/schemas\/ErrorResponse"
                                                                                                        }
                                                                                                    },
                                                                                                    "required": [
                                                                                                        "$ref"
                                                                                                    ]
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "schema"
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "application\/json"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "description",
                                                                                "content"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 2,
                                                                    "maxItems": 2,
                                                                    "additionalItems": false
                                                                }
                                                            },
                                                            "required": [
                                                                "summary",
                                                                "parameters",
                                                                "requestBody",
                                                                "responses"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "post"
                                                    ]
                                                },
                                                "\/api\/v1\/jobs\/{uuid}": {
                                                    "type": "object",
                                                    "properties": {
                                                        "get": {
                                                            "type": "object",
                                                            "properties": {
                                                                "summary": {
                                                                    "type": "string",
                                                                    "const": "Get job status"
                                                                },
                                                                "parameters": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "in": {
                                                                                    "type": "string",
                                                                                    "const": "path"
                                                                                },
                                                                                "name": {
                                                                                    "type": "string",
                                                                                    "const": "uuid"
                                                                                },
                                                                                "required": {
                                                                                    "type": "boolean"
                                                                                },
                                                                                "schema": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "type": {
                                                                                            "type": "string",
                                                                                            "const": "string"
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "type"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "in",
                                                                                "name",
                                                                                "required",
                                                                                "schema"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "responses": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "description": {
                                                                                    "type": "string",
                                                                                    "const": "Job status"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "description"
                                                                            ]
                                                                        },
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "description": {
                                                                                    "type": "string",
                                                                                    "const": "Job missing or expired"
                                                                                },
                                                                                "content": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "application\/json": {
                                                                                            "type": "object",
                                                                                            "properties": {
                                                                                                "schema": {
                                                                                                    "type": "object",
                                                                                                    "properties": {
                                                                                                        "$ref": {
                                                                                                            "type": "string",
                                                                                                            "const": "#\/components\/schemas\/ErrorResponse"
                                                                                                        }
                                                                                                    },
                                                                                                    "required": [
                                                                                                        "$ref"
                                                                                                    ]
                                                                                                }
                                                                                            },
                                                                                            "required": [
                                                                                                "schema"
                                                                                            ]
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "application\/json"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "description",
                                                                                "content"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 2,
                                                                    "maxItems": 2,
                                                                    "additionalItems": false
                                                                }
                                                            },
                                                            "required": [
                                                                "summary",
                                                                "parameters",
                                                                "responses"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "get"
                                                    ]
                                                },
                                                "\/api\/v1\/jobs\/{uuid}\/artifacts": {
                                                    "type": "object",
                                                    "properties": {
                                                        "get": {
                                                            "type": "object",
                                                            "properties": {
                                                                "summary": {
                                                                    "type": "string",
                                                                    "const": "Get signed artifact URLs"
                                                                },
                                                                "parameters": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "in": {
                                                                                    "type": "string",
                                                                                    "const": "path"
                                                                                },
                                                                                "name": {
                                                                                    "type": "string",
                                                                                    "const": "uuid"
                                                                                },
                                                                                "required": {
                                                                                    "type": "boolean"
                                                                                },
                                                                                "schema": {
                                                                                    "type": "object",
                                                                                    "properties": {
                                                                                        "type": {
                                                                                            "type": "string",
                                                                                            "const": "string"
                                                                                        }
                                                                                    },
                                                                                    "required": [
                                                                                        "type"
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "in",
                                                                                "name",
                                                                                "required",
                                                                                "schema"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                },
                                                                "responses": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "description": {
                                                                                    "type": "string",
                                                                                    "const": "Artifacts list"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "description"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                }
                                                            },
                                                            "required": [
                                                                "summary",
                                                                "parameters",
                                                                "responses"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "get"
                                                    ]
                                                },
                                                "\/api\/v1\/me": {
                                                    "type": "object",
                                                    "properties": {
                                                        "get": {
                                                            "type": "object",
                                                            "properties": {
                                                                "summary": {
                                                                    "type": "string",
                                                                    "const": "Verify authentication context"
                                                                },
                                                                "responses": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "description": {
                                                                                    "type": "string",
                                                                                    "const": "Authenticated context"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "description"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                }
                                                            },
                                                            "required": [
                                                                "summary",
                                                                "responses"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "get"
                                                    ]
                                                },
                                                "\/api\/v1\/usage": {
                                                    "type": "object",
                                                    "properties": {
                                                        "get": {
                                                            "type": "object",
                                                            "properties": {
                                                                "summary": {
                                                                    "type": "string",
                                                                    "const": "Current-period usage"
                                                                },
                                                                "responses": {
                                                                    "type": "array",
                                                                    "prefixItems": [
                                                                        {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "description": {
                                                                                    "type": "string",
                                                                                    "const": "Usage summary"
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "description"
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "minItems": 1,
                                                                    "maxItems": 1,
                                                                    "additionalItems": false
                                                                }
                                                            },
                                                            "required": [
                                                                "summary",
                                                                "responses"
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "get"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "\/api\/v1\/podcasts\/analyze",
                                                "\/api\/v1\/jobs\/{uuid}",
                                                "\/api\/v1\/jobs\/{uuid}\/artifacts",
                                                "\/api\/v1\/me",
                                                "\/api\/v1\/usage"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "openapi",
                                        "info",
                                        "servers",
                                        "components",
                                        "security",
                                        "paths"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{runUuid}\/deliveries": {
            "get": {
                "operationId": "runDelivery.index",
                "summary": "GET \/api\/runs\/{uuid}\/deliveries",
                "tags": [
                    "RunDelivery"
                ],
                "parameters": [
                    {
                        "name": "runUuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/health": {
            "get": {
                "operationId": "runHealth.show",
                "tags": [
                    "RunHealth"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "run_uuid": {
                                                    "type": "string"
                                                },
                                                "overall_status": {
                                                    "type": "string",
                                                    "enum": [
                                                        "unknown",
                                                        "ok",
                                                        "warning",
                                                        "error"
                                                    ]
                                                },
                                                "checks": {
                                                    "type": "array",
                                                    "prefixItems": [
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "key": {
                                                                    "type": "string",
                                                                    "const": "audio_extracted"
                                                                },
                                                                "label": {
                                                                    "type": "string",
                                                                    "const": "Audio extracted"
                                                                },
                                                                "status": {
                                                                    "type": "string",
                                                                    "const": "unknown"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Health check could not be completed."
                                                                },
                                                                "action": {
                                                                    "type": "null"
                                                                },
                                                                "meta": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "exception": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "exception"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "key",
                                                                "label",
                                                                "status",
                                                                "message",
                                                                "action",
                                                                "meta"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "key": {
                                                                    "type": "string",
                                                                    "const": "transcript_completed"
                                                                },
                                                                "label": {
                                                                    "type": "string",
                                                                    "const": "Transcript completed"
                                                                },
                                                                "status": {
                                                                    "type": "string",
                                                                    "const": "unknown"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Health check could not be completed."
                                                                },
                                                                "action": {
                                                                    "type": "null"
                                                                },
                                                                "meta": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "exception": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "exception"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "key",
                                                                "label",
                                                                "status",
                                                                "message",
                                                                "action",
                                                                "meta"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "key": {
                                                                    "type": "string",
                                                                    "const": "subtitle_file_exists"
                                                                },
                                                                "label": {
                                                                    "type": "string",
                                                                    "const": "Subtitle file (SRT\/VTT)"
                                                                },
                                                                "status": {
                                                                    "type": "string",
                                                                    "const": "unknown"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Health check could not be completed."
                                                                },
                                                                "action": {
                                                                    "type": "null"
                                                                },
                                                                "meta": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "exception": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "exception"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "key",
                                                                "label",
                                                                "status",
                                                                "message",
                                                                "action",
                                                                "meta"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "key": {
                                                                    "type": "string",
                                                                    "const": "markers_artifact_exists"
                                                                },
                                                                "label": {
                                                                    "type": "string",
                                                                    "const": "Ad-break markers"
                                                                },
                                                                "status": {
                                                                    "type": "string",
                                                                    "const": "unknown"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Health check could not be completed."
                                                                },
                                                                "action": {
                                                                    "type": "null"
                                                                },
                                                                "meta": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "exception": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "exception"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "key",
                                                                "label",
                                                                "status",
                                                                "message",
                                                                "action",
                                                                "meta"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "key": {
                                                                    "type": "string",
                                                                    "const": "requested_artifacts_present"
                                                                },
                                                                "label": {
                                                                    "type": "string",
                                                                    "const": "All requested artifacts delivered"
                                                                },
                                                                "status": {
                                                                    "type": "string",
                                                                    "const": "unknown"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Health check could not be completed."
                                                                },
                                                                "action": {
                                                                    "type": "null"
                                                                },
                                                                "meta": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "exception": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "exception"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "key",
                                                                "label",
                                                                "status",
                                                                "message",
                                                                "action",
                                                                "meta"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "key": {
                                                                    "type": "string",
                                                                    "const": "delivery_status"
                                                                },
                                                                "label": {
                                                                    "type": "string",
                                                                    "const": "Delivery to destinations"
                                                                },
                                                                "status": {
                                                                    "type": "string",
                                                                    "const": "unknown"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Health check could not be completed."
                                                                },
                                                                "action": {
                                                                    "type": "null"
                                                                },
                                                                "meta": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "exception": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "exception"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "key",
                                                                "label",
                                                                "status",
                                                                "message",
                                                                "action",
                                                                "meta"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "key": {
                                                                    "type": "string",
                                                                    "const": "run_state"
                                                                },
                                                                "label": {
                                                                    "type": "string",
                                                                    "const": "Run state"
                                                                },
                                                                "status": {
                                                                    "type": "string",
                                                                    "const": "unknown"
                                                                },
                                                                "message": {
                                                                    "type": "string",
                                                                    "const": "Health check could not be completed."
                                                                },
                                                                "action": {
                                                                    "type": "null"
                                                                },
                                                                "meta": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "exception": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "exception"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "key",
                                                                "label",
                                                                "status",
                                                                "message",
                                                                "action",
                                                                "meta"
                                                            ]
                                                        }
                                                    ],
                                                    "minItems": 7,
                                                    "maxItems": 7,
                                                    "additionalItems": false
                                                },
                                                "recommended_actions": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            },
                                            "required": [
                                                "run_uuid",
                                                "overall_status",
                                                "checks",
                                                "recommended_actions"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/moderation\/attest": {
            "post": {
                "operationId": "runModerationAttestation.store",
                "tags": [
                    "RunModerationAttestation"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "accepted": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "accepted"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "data": {
                                            "type": "object",
                                            "properties": {
                                                "run_uuid": {
                                                    "type": "string"
                                                },
                                                "attestation_type": {
                                                    "type": "string"
                                                },
                                                "attestation_version": {
                                                    "type": "string"
                                                },
                                                "accepted_at": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "run_uuid",
                                                "attestation_type",
                                                "attestation_version",
                                                "accepted_at"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "ok",
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/runs\/{uuid}\/unlock-checkout": {
            "post": {
                "operationId": "runUnlock.checkout",
                "tags": [
                    "RunUnlock"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "url": {
                                            "type": "string"
                                        },
                                        "session_id": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "url",
                                        "session_id"
                                    ]
                                }
                            }
                        }
                    },
                    "502": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "Could not start checkout. Please try again."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "A payment for this file already went through and is being\napplied; a second checkout would charge for it twice.",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "message": {
                                                    "type": "string",
                                                    "const": "Your payment for this file is being processed."
                                                },
                                                "unlock": {
                                                    "anyOf": [
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "eligible": {
                                                                    "type": "boolean"
                                                                },
                                                                "full_minutes": {
                                                                    "type": "integer"
                                                                },
                                                                "hours": {
                                                                    "type": "integer"
                                                                },
                                                                "credits_needed": {
                                                                    "type": "integer"
                                                                },
                                                                "price_usd": {
                                                                    "type": "string"
                                                                },
                                                                "state": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "resuming",
                                                                        "paid",
                                                                        "pending",
                                                                        "none"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "eligible",
                                                                "full_minutes",
                                                                "hours",
                                                                "credits_needed",
                                                                "price_usd",
                                                                "state"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "eligible": {
                                                                    "type": "boolean"
                                                                },
                                                                "full_minutes": {
                                                                    "type": [
                                                                        "integer",
                                                                        "null"
                                                                    ]
                                                                },
                                                                "hours": {
                                                                    "type": [
                                                                        "integer",
                                                                        "null"
                                                                    ]
                                                                },
                                                                "credits_needed": {
                                                                    "type": "null"
                                                                },
                                                                "price_usd": {
                                                                    "type": "null"
                                                                },
                                                                "state": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "resuming",
                                                                        "paid",
                                                                        "pending",
                                                                        "none"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "eligible",
                                                                "full_minutes",
                                                                "hours",
                                                                "credits_needed",
                                                                "price_usd",
                                                                "state"
                                                            ]
                                                        }
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "message",
                                                "unlock"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "message": {
                                                    "type": "string",
                                                    "enum": [
                                                        "This file cannot be unlocked.",
                                                        "This file has already been unlocked."
                                                    ]
                                                },
                                                "unlock": {
                                                    "anyOf": [
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "eligible": {
                                                                    "type": "boolean"
                                                                },
                                                                "full_minutes": {
                                                                    "type": "integer"
                                                                },
                                                                "hours": {
                                                                    "type": "integer"
                                                                },
                                                                "credits_needed": {
                                                                    "type": "integer"
                                                                },
                                                                "price_usd": {
                                                                    "type": "string"
                                                                },
                                                                "state": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "resuming",
                                                                        "paid",
                                                                        "pending",
                                                                        "none"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "eligible",
                                                                "full_minutes",
                                                                "hours",
                                                                "credits_needed",
                                                                "price_usd",
                                                                "state"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "eligible": {
                                                                    "type": "boolean"
                                                                },
                                                                "full_minutes": {
                                                                    "type": [
                                                                        "integer",
                                                                        "null"
                                                                    ]
                                                                },
                                                                "hours": {
                                                                    "type": "null"
                                                                },
                                                                "credits_needed": {
                                                                    "type": "null"
                                                                },
                                                                "price_usd": {
                                                                    "type": "null"
                                                                },
                                                                "state": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "resuming",
                                                                        "paid",
                                                                        "pending",
                                                                        "none"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "eligible",
                                                                "full_minutes",
                                                                "hours",
                                                                "credits_needed",
                                                                "price_usd",
                                                                "state"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "eligible": {
                                                                    "type": "boolean"
                                                                },
                                                                "full_minutes": {
                                                                    "type": [
                                                                        "integer",
                                                                        "null"
                                                                    ]
                                                                },
                                                                "hours": {
                                                                    "type": [
                                                                        "integer",
                                                                        "null"
                                                                    ]
                                                                },
                                                                "credits_needed": {
                                                                    "type": "null"
                                                                },
                                                                "price_usd": {
                                                                    "type": "null"
                                                                },
                                                                "state": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "resuming",
                                                                        "paid",
                                                                        "pending",
                                                                        "none"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "eligible",
                                                                "full_minutes",
                                                                "hours",
                                                                "credits_needed",
                                                                "price_usd",
                                                                "state"
                                                            ]
                                                        }
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "message",
                                                "unlock"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "Unlocking is not available right now."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "API runs cannot be unlocked here."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/runs\/{uuid}\/unlock\/confirm": {
            "post": {
                "operationId": "runUnlock.confirm",
                "tags": [
                    "RunUnlock"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "session_id": {
                                        "type": "string",
                                        "maxLength": 255
                                    }
                                },
                                "required": [
                                    "session_id"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "state": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "enum": [
                                                "resuming",
                                                "paid",
                                                "pending",
                                                "none",
                                                null
                                            ]
                                        },
                                        "payment_status": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "state",
                                        "payment_status"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "Checkout session not found."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "502": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "Could not reach the payment provider. Please try again."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/sources": {
            "get": {
                "operationId": "source.index",
                "tags": [
                    "Source"
                ],
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "default": ""
                        }
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "default": ""
                        }
                    },
                    {
                        "name": "enabled",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "default": ""
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#\/components\/schemas\/LengthAwarePaginator"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "from": {
                                                    "anyOf": [
                                                        {
                                                            "type": "integer"
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "integer",
                                                            "enum": [
                                                                0
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "to": {
                                                    "anyOf": [
                                                        {
                                                            "type": "integer"
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "integer",
                                                            "enum": [
                                                                0
                                                            ]
                                                        }
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "total",
                                                "per_page",
                                                "current_page",
                                                "last_page",
                                                "from",
                                                "to"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/sources\/{uuid}": {
            "get": {
                "operationId": "source.show",
                "tags": [
                    "Source"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "public_token": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        },
                                        "mode": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "auth_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "none"
                                                    ]
                                                }
                                            ]
                                        },
                                        "auth_config": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "connection": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "poll_config": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "content_mapping": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "config": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "content_count": {
                                            "description": "legacy",
                                            "anyOf": [
                                                {
                                                    "type": "integer"
                                                },
                                                {
                                                    "type": "integer",
                                                    "minimum": 0
                                                }
                                            ]
                                        },
                                        "latest_content": {
                                            "type": [
                                                "object",
                                                "null"
                                            ],
                                            "properties": {
                                                "uuid": {
                                                    "type": "string"
                                                },
                                                "title": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "title",
                                                "status"
                                            ]
                                        },
                                        "ingest_token": {
                                            "type": "string"
                                        },
                                        "request_reference": {
                                            "type": "object",
                                            "properties": {
                                                "inbound": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ],
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "inbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "source_ingest"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string"
                                                        },
                                                        "path": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "\/api\/ingest\/sqs"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_mode": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "websub",
                                                                        "sns_signature_or_query_secret",
                                                                        "sns_signature",
                                                                        "dropbox_signature"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_hint": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "GET echoes hub.challenge for verification; POST accepts RSS\/Atom item fragments from the WebSub hub.",
                                                                        "Accepts SNS-wrapped notifications with AWS SNS signature verification or raw S3 event payloads when the shared ingest secret is provided.",
                                                                        "AWS SNS signature verification required for forwarded S3 event notifications.",
                                                                        "Dropbox webhook signature verification required. Initial GET challenge must be echoed back as plain text."
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "enum": [
                                                                "xml",
                                                                "sqs\/json",
                                                                "sns\/json",
                                                                "dropbox\/json",
                                                                "json"
                                                            ]
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label"
                                                            ]
                                                        },
                                                        "ingest_behavior": {
                                                            "type": "object",
                                                            "properties": {
                                                                "pipeline_fanout": {
                                                                    "type": "string",
                                                                    "const": "all enabled pipelines attached to this source"
                                                                },
                                                                "dedupe_scope": {
                                                                    "type": "string",
                                                                    "const": "source_uuid + pipeline_uuid + external_content_id"
                                                                }
                                                            },
                                                            "required": [
                                                                "pipeline_fanout",
                                                                "dedupe_scope"
                                                            ]
                                                        },
                                                        "response_fields": {
                                                            "type": "array",
                                                            "prefixItems": [
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "accepted"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "boolean"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Whether ingest was accepted."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "source_id"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "string"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Source UUID that matched the endpoint token."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "links"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "object"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Canonical API URLs for the first created run."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "pipeline_ids"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "string[]"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Pipelines that created runs for this ingest."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "run_ids"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "string[]"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Run UUIDs created for each matched pipeline."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "runs"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "array"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Per-pipeline run mapping with status."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                }
                                                            ],
                                                            "minItems": 6,
                                                            "maxItems": 6,
                                                            "additionalItems": false
                                                        },
                                                        "sample_response": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "object"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context",
                                                        "ingest_behavior",
                                                        "response_fields",
                                                        "sample_response"
                                                    ]
                                                },
                                                "outbound": {
                                                    "anyOf": [
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "direction": {
                                                                    "type": "string",
                                                                    "const": "outbound"
                                                                },
                                                                "purpose": {
                                                                    "type": "string",
                                                                    "const": "source_poll"
                                                                },
                                                                "full_url": {
                                                                    "type": "string"
                                                                },
                                                                "method": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "LIST",
                                                                        "GET"
                                                                    ]
                                                                },
                                                                "host": {
                                                                    "type": "string"
                                                                },
                                                                "path": {
                                                                    "type": "string"
                                                                },
                                                                "auth_mode": {
                                                                    "type": "string"
                                                                },
                                                                "auth_hint": {
                                                                    "type": "string"
                                                                },
                                                                "payload_format": {
                                                                    "type": "string",
                                                                    "const": "s3\/object"
                                                                },
                                                                "origin_context": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "environment": {
                                                                            "type": "string"
                                                                        },
                                                                        "region_label": {
                                                                            "type": "string"
                                                                        },
                                                                        "egress_allowlist": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "cidrs": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "ips": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "cidrs",
                                                                                "ips"
                                                                            ]
                                                                        },
                                                                        "user_agent": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "environment",
                                                                        "region_label",
                                                                        "egress_allowlist",
                                                                        "user_agent"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "direction",
                                                                "purpose",
                                                                "full_url",
                                                                "method",
                                                                "host",
                                                                "path",
                                                                "auth_mode",
                                                                "auth_hint",
                                                                "payload_format",
                                                                "origin_context"
                                                            ]
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "direction": {
                                                                    "type": "string",
                                                                    "const": "outbound"
                                                                },
                                                                "purpose": {
                                                                    "type": "string",
                                                                    "const": "source_poll"
                                                                },
                                                                "full_url": {
                                                                    "type": "string"
                                                                },
                                                                "method": {
                                                                    "type": "string",
                                                                    "const": "GET"
                                                                },
                                                                "host": {
                                                                    "type": "string",
                                                                    "const": "youtube"
                                                                },
                                                                "path": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "\/"
                                                                            ]
                                                                        }
                                                                    ]
                                                                },
                                                                "auth_mode": {
                                                                    "type": "string",
                                                                    "const": "query_param"
                                                                },
                                                                "auth_hint": {
                                                                    "type": "string",
                                                                    "const": "Uses a YouTube Data API key passed as a query parameter."
                                                                },
                                                                "payload_format": {
                                                                    "type": "string",
                                                                    "const": "youtube\/video"
                                                                },
                                                                "origin_context": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "environment": {
                                                                            "type": "string"
                                                                        },
                                                                        "region_label": {
                                                                            "type": "string"
                                                                        },
                                                                        "egress_allowlist": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "cidrs": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "ips": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "cidrs",
                                                                                "ips"
                                                                            ]
                                                                        },
                                                                        "user_agent": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "environment",
                                                                        "region_label",
                                                                        "egress_allowlist",
                                                                        "user_agent"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "direction",
                                                                "purpose",
                                                                "full_url",
                                                                "method",
                                                                "host",
                                                                "path",
                                                                "auth_mode",
                                                                "auth_hint",
                                                                "payload_format",
                                                                "origin_context"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "direction": {
                                                                    "type": "string",
                                                                    "const": "outbound"
                                                                },
                                                                "purpose": {
                                                                    "type": "string",
                                                                    "const": "source_poll"
                                                                },
                                                                "full_url": {
                                                                    "type": "string"
                                                                },
                                                                "method": {
                                                                    "type": "string",
                                                                    "const": "LIST"
                                                                },
                                                                "host": {
                                                                    "type": "string",
                                                                    "const": "dropbox"
                                                                },
                                                                "path": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "\/"
                                                                            ]
                                                                        }
                                                                    ]
                                                                },
                                                                "auth_mode": {
                                                                    "type": "string",
                                                                    "const": "oauth"
                                                                },
                                                                "auth_hint": {
                                                                    "type": "string",
                                                                    "const": "Uses a connected Dropbox account via OAuth."
                                                                },
                                                                "payload_format": {
                                                                    "type": "string",
                                                                    "const": "dropbox\/file"
                                                                },
                                                                "origin_context": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "environment": {
                                                                            "type": "string"
                                                                        },
                                                                        "region_label": {
                                                                            "type": "string"
                                                                        },
                                                                        "egress_allowlist": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "cidrs": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "ips": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "cidrs",
                                                                                "ips"
                                                                            ]
                                                                        },
                                                                        "user_agent": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "environment",
                                                                        "region_label",
                                                                        "egress_allowlist",
                                                                        "user_agent"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "direction",
                                                                "purpose",
                                                                "full_url",
                                                                "method",
                                                                "host",
                                                                "path",
                                                                "auth_mode",
                                                                "auth_hint",
                                                                "payload_format",
                                                                "origin_context"
                                                            ]
                                                        }
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "inbound",
                                                "outbound"
                                            ]
                                        },
                                        "created_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "updated_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "public_token",
                                        "name",
                                        "type",
                                        "mode",
                                        "enabled",
                                        "auth_mode",
                                        "auth_config",
                                        "connection",
                                        "poll_config",
                                        "content_mapping",
                                        "config",
                                        "content_count",
                                        "latest_content",
                                        "ingest_token",
                                        "request_reference",
                                        "created_at",
                                        "updated_at"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "source.destroy",
                "tags": [
                    "Source"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/sources\/{uuid}\/health": {
            "get": {
                "operationId": "source.health",
                "tags": [
                    "Source"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "last_polled_at": {},
                                        "last_poll_status": {},
                                        "items_last_24h": {
                                            "type": "integer",
                                            "minimum": 0
                                        },
                                        "items_last_7d": {
                                            "type": "integer",
                                            "minimum": 0
                                        },
                                        "last_error": {},
                                        "error_count_24h": {
                                            "type": "integer",
                                            "minimum": 0
                                        },
                                        "recent_activity": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "polled_at": {
                                                        "type": "string"
                                                    },
                                                    "status": {
                                                        "type": "string"
                                                    },
                                                    "item_count": {
                                                        "type": "integer"
                                                    },
                                                    "created_runs": {
                                                        "type": "integer"
                                                    },
                                                    "error": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    }
                                                },
                                                "required": [
                                                    "polled_at",
                                                    "status",
                                                    "item_count",
                                                    "created_runs",
                                                    "error"
                                                ]
                                            }
                                        }
                                    },
                                    "required": [
                                        "last_polled_at",
                                        "last_poll_status",
                                        "items_last_24h",
                                        "items_last_7d",
                                        "last_error",
                                        "error_count_24h",
                                        "recent_activity"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/sources\/{uuid}\/ingest-token\/regenerate": {
            "post": {
                "operationId": "source.regenerateIngestToken",
                "tags": [
                    "Source"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "public_token": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        },
                                        "mode": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "auth_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "none"
                                                    ]
                                                }
                                            ]
                                        },
                                        "auth_config": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "connection": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "poll_config": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "content_mapping": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "config": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "content_count": {
                                            "description": "legacy",
                                            "anyOf": [
                                                {
                                                    "type": "integer"
                                                },
                                                {
                                                    "type": "integer",
                                                    "minimum": 0
                                                }
                                            ]
                                        },
                                        "latest_content": {
                                            "type": [
                                                "object",
                                                "null"
                                            ],
                                            "properties": {
                                                "uuid": {
                                                    "type": "string"
                                                },
                                                "title": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "title",
                                                "status"
                                            ]
                                        },
                                        "ingest_token": {
                                            "type": "string"
                                        },
                                        "request_reference": {
                                            "type": "object",
                                            "properties": {
                                                "inbound": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ],
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "inbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "source_ingest"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string"
                                                        },
                                                        "path": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "\/api\/ingest\/sqs"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_mode": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "websub",
                                                                        "sns_signature_or_query_secret",
                                                                        "sns_signature",
                                                                        "dropbox_signature"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_hint": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "GET echoes hub.challenge for verification; POST accepts RSS\/Atom item fragments from the WebSub hub.",
                                                                        "Accepts SNS-wrapped notifications with AWS SNS signature verification or raw S3 event payloads when the shared ingest secret is provided.",
                                                                        "AWS SNS signature verification required for forwarded S3 event notifications.",
                                                                        "Dropbox webhook signature verification required. Initial GET challenge must be echoed back as plain text."
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "enum": [
                                                                "xml",
                                                                "sqs\/json",
                                                                "sns\/json",
                                                                "dropbox\/json",
                                                                "json"
                                                            ]
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label"
                                                            ]
                                                        },
                                                        "ingest_behavior": {
                                                            "type": "object",
                                                            "properties": {
                                                                "pipeline_fanout": {
                                                                    "type": "string",
                                                                    "const": "all enabled pipelines attached to this source"
                                                                },
                                                                "dedupe_scope": {
                                                                    "type": "string",
                                                                    "const": "source_uuid + pipeline_uuid + external_content_id"
                                                                }
                                                            },
                                                            "required": [
                                                                "pipeline_fanout",
                                                                "dedupe_scope"
                                                            ]
                                                        },
                                                        "response_fields": {
                                                            "type": "array",
                                                            "prefixItems": [
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "accepted"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "boolean"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Whether ingest was accepted."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "source_id"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "string"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Source UUID that matched the endpoint token."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "links"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "object"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Canonical API URLs for the first created run."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "pipeline_ids"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "string[]"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Pipelines that created runs for this ingest."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "run_ids"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "string[]"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Run UUIDs created for each matched pipeline."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "runs"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "array"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Per-pipeline run mapping with status."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                }
                                                            ],
                                                            "minItems": 6,
                                                            "maxItems": 6,
                                                            "additionalItems": false
                                                        },
                                                        "sample_response": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "object"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context",
                                                        "ingest_behavior",
                                                        "response_fields",
                                                        "sample_response"
                                                    ]
                                                },
                                                "outbound": {
                                                    "anyOf": [
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "direction": {
                                                                    "type": "string",
                                                                    "const": "outbound"
                                                                },
                                                                "purpose": {
                                                                    "type": "string",
                                                                    "const": "source_poll"
                                                                },
                                                                "full_url": {
                                                                    "type": "string"
                                                                },
                                                                "method": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "LIST",
                                                                        "GET"
                                                                    ]
                                                                },
                                                                "host": {
                                                                    "type": "string"
                                                                },
                                                                "path": {
                                                                    "type": "string"
                                                                },
                                                                "auth_mode": {
                                                                    "type": "string"
                                                                },
                                                                "auth_hint": {
                                                                    "type": "string"
                                                                },
                                                                "payload_format": {
                                                                    "type": "string",
                                                                    "const": "s3\/object"
                                                                },
                                                                "origin_context": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "environment": {
                                                                            "type": "string"
                                                                        },
                                                                        "region_label": {
                                                                            "type": "string"
                                                                        },
                                                                        "egress_allowlist": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "cidrs": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "ips": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "cidrs",
                                                                                "ips"
                                                                            ]
                                                                        },
                                                                        "user_agent": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "environment",
                                                                        "region_label",
                                                                        "egress_allowlist",
                                                                        "user_agent"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "direction",
                                                                "purpose",
                                                                "full_url",
                                                                "method",
                                                                "host",
                                                                "path",
                                                                "auth_mode",
                                                                "auth_hint",
                                                                "payload_format",
                                                                "origin_context"
                                                            ]
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "direction": {
                                                                    "type": "string",
                                                                    "const": "outbound"
                                                                },
                                                                "purpose": {
                                                                    "type": "string",
                                                                    "const": "source_poll"
                                                                },
                                                                "full_url": {
                                                                    "type": "string"
                                                                },
                                                                "method": {
                                                                    "type": "string",
                                                                    "const": "GET"
                                                                },
                                                                "host": {
                                                                    "type": "string",
                                                                    "const": "youtube"
                                                                },
                                                                "path": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "\/"
                                                                            ]
                                                                        }
                                                                    ]
                                                                },
                                                                "auth_mode": {
                                                                    "type": "string",
                                                                    "const": "query_param"
                                                                },
                                                                "auth_hint": {
                                                                    "type": "string",
                                                                    "const": "Uses a YouTube Data API key passed as a query parameter."
                                                                },
                                                                "payload_format": {
                                                                    "type": "string",
                                                                    "const": "youtube\/video"
                                                                },
                                                                "origin_context": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "environment": {
                                                                            "type": "string"
                                                                        },
                                                                        "region_label": {
                                                                            "type": "string"
                                                                        },
                                                                        "egress_allowlist": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "cidrs": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "ips": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "cidrs",
                                                                                "ips"
                                                                            ]
                                                                        },
                                                                        "user_agent": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "environment",
                                                                        "region_label",
                                                                        "egress_allowlist",
                                                                        "user_agent"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "direction",
                                                                "purpose",
                                                                "full_url",
                                                                "method",
                                                                "host",
                                                                "path",
                                                                "auth_mode",
                                                                "auth_hint",
                                                                "payload_format",
                                                                "origin_context"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "direction": {
                                                                    "type": "string",
                                                                    "const": "outbound"
                                                                },
                                                                "purpose": {
                                                                    "type": "string",
                                                                    "const": "source_poll"
                                                                },
                                                                "full_url": {
                                                                    "type": "string"
                                                                },
                                                                "method": {
                                                                    "type": "string",
                                                                    "const": "LIST"
                                                                },
                                                                "host": {
                                                                    "type": "string",
                                                                    "const": "dropbox"
                                                                },
                                                                "path": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "\/"
                                                                            ]
                                                                        }
                                                                    ]
                                                                },
                                                                "auth_mode": {
                                                                    "type": "string",
                                                                    "const": "oauth"
                                                                },
                                                                "auth_hint": {
                                                                    "type": "string",
                                                                    "const": "Uses a connected Dropbox account via OAuth."
                                                                },
                                                                "payload_format": {
                                                                    "type": "string",
                                                                    "const": "dropbox\/file"
                                                                },
                                                                "origin_context": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "environment": {
                                                                            "type": "string"
                                                                        },
                                                                        "region_label": {
                                                                            "type": "string"
                                                                        },
                                                                        "egress_allowlist": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "cidrs": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "ips": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "cidrs",
                                                                                "ips"
                                                                            ]
                                                                        },
                                                                        "user_agent": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "environment",
                                                                        "region_label",
                                                                        "egress_allowlist",
                                                                        "user_agent"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "direction",
                                                                "purpose",
                                                                "full_url",
                                                                "method",
                                                                "host",
                                                                "path",
                                                                "auth_mode",
                                                                "auth_hint",
                                                                "payload_format",
                                                                "origin_context"
                                                            ]
                                                        }
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "inbound",
                                                "outbound"
                                            ]
                                        },
                                        "created_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "updated_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "public_token",
                                        "name",
                                        "type",
                                        "mode",
                                        "enabled",
                                        "auth_mode",
                                        "auth_config",
                                        "connection",
                                        "poll_config",
                                        "content_mapping",
                                        "config",
                                        "content_count",
                                        "latest_content",
                                        "ingest_token",
                                        "request_reference",
                                        "created_at",
                                        "updated_at"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error": {
                                            "type": "string",
                                            "const": "This source does not expose an inbound endpoint."
                                        }
                                    },
                                    "required": [
                                        "error"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/sources\/{uuid}\/enable": {
            "post": {
                "operationId": "source.enable",
                "tags": [
                    "Source"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "public_token": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        },
                                        "mode": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "auth_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "none"
                                                    ]
                                                }
                                            ]
                                        },
                                        "auth_config": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "connection": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "poll_config": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "content_mapping": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "config": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "content_count": {
                                            "description": "legacy",
                                            "anyOf": [
                                                {
                                                    "type": "integer"
                                                },
                                                {
                                                    "type": "integer",
                                                    "minimum": 0
                                                }
                                            ]
                                        },
                                        "latest_content": {
                                            "type": [
                                                "object",
                                                "null"
                                            ],
                                            "properties": {
                                                "uuid": {
                                                    "type": "string"
                                                },
                                                "title": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "title",
                                                "status"
                                            ]
                                        },
                                        "ingest_token": {
                                            "type": "string"
                                        },
                                        "request_reference": {
                                            "type": "object",
                                            "properties": {
                                                "inbound": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ],
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "inbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "source_ingest"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string"
                                                        },
                                                        "path": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "\/api\/ingest\/sqs"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_mode": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "websub",
                                                                        "sns_signature_or_query_secret",
                                                                        "sns_signature",
                                                                        "dropbox_signature"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_hint": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "GET echoes hub.challenge for verification; POST accepts RSS\/Atom item fragments from the WebSub hub.",
                                                                        "Accepts SNS-wrapped notifications with AWS SNS signature verification or raw S3 event payloads when the shared ingest secret is provided.",
                                                                        "AWS SNS signature verification required for forwarded S3 event notifications.",
                                                                        "Dropbox webhook signature verification required. Initial GET challenge must be echoed back as plain text."
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "enum": [
                                                                "xml",
                                                                "sqs\/json",
                                                                "sns\/json",
                                                                "dropbox\/json",
                                                                "json"
                                                            ]
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label"
                                                            ]
                                                        },
                                                        "ingest_behavior": {
                                                            "type": "object",
                                                            "properties": {
                                                                "pipeline_fanout": {
                                                                    "type": "string",
                                                                    "const": "all enabled pipelines attached to this source"
                                                                },
                                                                "dedupe_scope": {
                                                                    "type": "string",
                                                                    "const": "source_uuid + pipeline_uuid + external_content_id"
                                                                }
                                                            },
                                                            "required": [
                                                                "pipeline_fanout",
                                                                "dedupe_scope"
                                                            ]
                                                        },
                                                        "response_fields": {
                                                            "type": "array",
                                                            "prefixItems": [
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "accepted"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "boolean"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Whether ingest was accepted."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "source_id"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "string"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Source UUID that matched the endpoint token."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "links"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "object"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Canonical API URLs for the first created run."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "pipeline_ids"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "string[]"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Pipelines that created runs for this ingest."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "run_ids"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "string[]"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Run UUIDs created for each matched pipeline."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "runs"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "array"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Per-pipeline run mapping with status."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                }
                                                            ],
                                                            "minItems": 6,
                                                            "maxItems": 6,
                                                            "additionalItems": false
                                                        },
                                                        "sample_response": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "object"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context",
                                                        "ingest_behavior",
                                                        "response_fields",
                                                        "sample_response"
                                                    ]
                                                },
                                                "outbound": {
                                                    "anyOf": [
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "direction": {
                                                                    "type": "string",
                                                                    "const": "outbound"
                                                                },
                                                                "purpose": {
                                                                    "type": "string",
                                                                    "const": "source_poll"
                                                                },
                                                                "full_url": {
                                                                    "type": "string"
                                                                },
                                                                "method": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "LIST",
                                                                        "GET"
                                                                    ]
                                                                },
                                                                "host": {
                                                                    "type": "string"
                                                                },
                                                                "path": {
                                                                    "type": "string"
                                                                },
                                                                "auth_mode": {
                                                                    "type": "string"
                                                                },
                                                                "auth_hint": {
                                                                    "type": "string"
                                                                },
                                                                "payload_format": {
                                                                    "type": "string",
                                                                    "const": "s3\/object"
                                                                },
                                                                "origin_context": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "environment": {
                                                                            "type": "string"
                                                                        },
                                                                        "region_label": {
                                                                            "type": "string"
                                                                        },
                                                                        "egress_allowlist": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "cidrs": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "ips": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "cidrs",
                                                                                "ips"
                                                                            ]
                                                                        },
                                                                        "user_agent": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "environment",
                                                                        "region_label",
                                                                        "egress_allowlist",
                                                                        "user_agent"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "direction",
                                                                "purpose",
                                                                "full_url",
                                                                "method",
                                                                "host",
                                                                "path",
                                                                "auth_mode",
                                                                "auth_hint",
                                                                "payload_format",
                                                                "origin_context"
                                                            ]
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "direction": {
                                                                    "type": "string",
                                                                    "const": "outbound"
                                                                },
                                                                "purpose": {
                                                                    "type": "string",
                                                                    "const": "source_poll"
                                                                },
                                                                "full_url": {
                                                                    "type": "string"
                                                                },
                                                                "method": {
                                                                    "type": "string",
                                                                    "const": "GET"
                                                                },
                                                                "host": {
                                                                    "type": "string",
                                                                    "const": "youtube"
                                                                },
                                                                "path": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "\/"
                                                                            ]
                                                                        }
                                                                    ]
                                                                },
                                                                "auth_mode": {
                                                                    "type": "string",
                                                                    "const": "query_param"
                                                                },
                                                                "auth_hint": {
                                                                    "type": "string",
                                                                    "const": "Uses a YouTube Data API key passed as a query parameter."
                                                                },
                                                                "payload_format": {
                                                                    "type": "string",
                                                                    "const": "youtube\/video"
                                                                },
                                                                "origin_context": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "environment": {
                                                                            "type": "string"
                                                                        },
                                                                        "region_label": {
                                                                            "type": "string"
                                                                        },
                                                                        "egress_allowlist": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "cidrs": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "ips": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "cidrs",
                                                                                "ips"
                                                                            ]
                                                                        },
                                                                        "user_agent": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "environment",
                                                                        "region_label",
                                                                        "egress_allowlist",
                                                                        "user_agent"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "direction",
                                                                "purpose",
                                                                "full_url",
                                                                "method",
                                                                "host",
                                                                "path",
                                                                "auth_mode",
                                                                "auth_hint",
                                                                "payload_format",
                                                                "origin_context"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "direction": {
                                                                    "type": "string",
                                                                    "const": "outbound"
                                                                },
                                                                "purpose": {
                                                                    "type": "string",
                                                                    "const": "source_poll"
                                                                },
                                                                "full_url": {
                                                                    "type": "string"
                                                                },
                                                                "method": {
                                                                    "type": "string",
                                                                    "const": "LIST"
                                                                },
                                                                "host": {
                                                                    "type": "string",
                                                                    "const": "dropbox"
                                                                },
                                                                "path": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "\/"
                                                                            ]
                                                                        }
                                                                    ]
                                                                },
                                                                "auth_mode": {
                                                                    "type": "string",
                                                                    "const": "oauth"
                                                                },
                                                                "auth_hint": {
                                                                    "type": "string",
                                                                    "const": "Uses a connected Dropbox account via OAuth."
                                                                },
                                                                "payload_format": {
                                                                    "type": "string",
                                                                    "const": "dropbox\/file"
                                                                },
                                                                "origin_context": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "environment": {
                                                                            "type": "string"
                                                                        },
                                                                        "region_label": {
                                                                            "type": "string"
                                                                        },
                                                                        "egress_allowlist": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "cidrs": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "ips": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "cidrs",
                                                                                "ips"
                                                                            ]
                                                                        },
                                                                        "user_agent": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "environment",
                                                                        "region_label",
                                                                        "egress_allowlist",
                                                                        "user_agent"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "direction",
                                                                "purpose",
                                                                "full_url",
                                                                "method",
                                                                "host",
                                                                "path",
                                                                "auth_mode",
                                                                "auth_hint",
                                                                "payload_format",
                                                                "origin_context"
                                                            ]
                                                        }
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "inbound",
                                                "outbound"
                                            ]
                                        },
                                        "created_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "updated_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "public_token",
                                        "name",
                                        "type",
                                        "mode",
                                        "enabled",
                                        "auth_mode",
                                        "auth_config",
                                        "connection",
                                        "poll_config",
                                        "content_mapping",
                                        "config",
                                        "content_count",
                                        "latest_content",
                                        "ingest_token",
                                        "request_reference",
                                        "created_at",
                                        "updated_at"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/sources\/{uuid}\/disable": {
            "post": {
                "operationId": "source.disable",
                "tags": [
                    "Source"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "uuid": {
                                            "type": "string"
                                        },
                                        "public_token": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        },
                                        "mode": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "auth_mode": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "none"
                                                    ]
                                                }
                                            ]
                                        },
                                        "auth_config": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "connection": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "poll_config": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "content_mapping": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "config": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "minItems": 0,
                                                    "maxItems": 0,
                                                    "additionalItems": false
                                                }
                                            ]
                                        },
                                        "content_count": {
                                            "description": "legacy",
                                            "anyOf": [
                                                {
                                                    "type": "integer"
                                                },
                                                {
                                                    "type": "integer",
                                                    "minimum": 0
                                                }
                                            ]
                                        },
                                        "latest_content": {
                                            "type": [
                                                "object",
                                                "null"
                                            ],
                                            "properties": {
                                                "uuid": {
                                                    "type": "string"
                                                },
                                                "title": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "title",
                                                "status"
                                            ]
                                        },
                                        "ingest_token": {
                                            "type": "string"
                                        },
                                        "request_reference": {
                                            "type": "object",
                                            "properties": {
                                                "inbound": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ],
                                                    "properties": {
                                                        "direction": {
                                                            "type": "string",
                                                            "const": "inbound"
                                                        },
                                                        "purpose": {
                                                            "type": "string",
                                                            "const": "source_ingest"
                                                        },
                                                        "full_url": {
                                                            "type": "string"
                                                        },
                                                        "method": {
                                                            "type": "string",
                                                            "const": "POST"
                                                        },
                                                        "host": {
                                                            "type": "string"
                                                        },
                                                        "path": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "\/api\/ingest\/sqs"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_mode": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "websub",
                                                                        "sns_signature_or_query_secret",
                                                                        "sns_signature",
                                                                        "dropbox_signature"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "auth_hint": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "GET echoes hub.challenge for verification; POST accepts RSS\/Atom item fragments from the WebSub hub.",
                                                                        "Accepts SNS-wrapped notifications with AWS SNS signature verification or raw S3 event payloads when the shared ingest secret is provided.",
                                                                        "AWS SNS signature verification required for forwarded S3 event notifications.",
                                                                        "Dropbox webhook signature verification required. Initial GET challenge must be echoed back as plain text."
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "payload_format": {
                                                            "type": "string",
                                                            "enum": [
                                                                "xml",
                                                                "sqs\/json",
                                                                "sns\/json",
                                                                "dropbox\/json",
                                                                "json"
                                                            ]
                                                        },
                                                        "origin_context": {
                                                            "type": "object",
                                                            "properties": {
                                                                "environment": {
                                                                    "type": "string"
                                                                },
                                                                "region_label": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "environment",
                                                                "region_label"
                                                            ]
                                                        },
                                                        "ingest_behavior": {
                                                            "type": "object",
                                                            "properties": {
                                                                "pipeline_fanout": {
                                                                    "type": "string",
                                                                    "const": "all enabled pipelines attached to this source"
                                                                },
                                                                "dedupe_scope": {
                                                                    "type": "string",
                                                                    "const": "source_uuid + pipeline_uuid + external_content_id"
                                                                }
                                                            },
                                                            "required": [
                                                                "pipeline_fanout",
                                                                "dedupe_scope"
                                                            ]
                                                        },
                                                        "response_fields": {
                                                            "type": "array",
                                                            "prefixItems": [
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "accepted"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "boolean"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Whether ingest was accepted."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "source_id"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "string"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Source UUID that matched the endpoint token."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "links"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "object"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Canonical API URLs for the first created run."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "pipeline_ids"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "string[]"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Pipelines that created runs for this ingest."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "run_ids"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "string[]"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Run UUIDs created for each matched pipeline."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                },
                                                                {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "name": {
                                                                            "type": "string",
                                                                            "const": "runs"
                                                                        },
                                                                        "type": {
                                                                            "type": "string",
                                                                            "const": "array"
                                                                        },
                                                                        "description": {
                                                                            "type": "string",
                                                                            "const": "Per-pipeline run mapping with status."
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "name",
                                                                        "type",
                                                                        "description"
                                                                    ]
                                                                }
                                                            ],
                                                            "minItems": 6,
                                                            "maxItems": 6,
                                                            "additionalItems": false
                                                        },
                                                        "sample_response": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "object"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    "required": [
                                                        "direction",
                                                        "purpose",
                                                        "full_url",
                                                        "method",
                                                        "host",
                                                        "path",
                                                        "auth_mode",
                                                        "auth_hint",
                                                        "payload_format",
                                                        "origin_context",
                                                        "ingest_behavior",
                                                        "response_fields",
                                                        "sample_response"
                                                    ]
                                                },
                                                "outbound": {
                                                    "anyOf": [
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "direction": {
                                                                    "type": "string",
                                                                    "const": "outbound"
                                                                },
                                                                "purpose": {
                                                                    "type": "string",
                                                                    "const": "source_poll"
                                                                },
                                                                "full_url": {
                                                                    "type": "string"
                                                                },
                                                                "method": {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "LIST",
                                                                        "GET"
                                                                    ]
                                                                },
                                                                "host": {
                                                                    "type": "string"
                                                                },
                                                                "path": {
                                                                    "type": "string"
                                                                },
                                                                "auth_mode": {
                                                                    "type": "string"
                                                                },
                                                                "auth_hint": {
                                                                    "type": "string"
                                                                },
                                                                "payload_format": {
                                                                    "type": "string",
                                                                    "const": "s3\/object"
                                                                },
                                                                "origin_context": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "environment": {
                                                                            "type": "string"
                                                                        },
                                                                        "region_label": {
                                                                            "type": "string"
                                                                        },
                                                                        "egress_allowlist": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "cidrs": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "ips": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "cidrs",
                                                                                "ips"
                                                                            ]
                                                                        },
                                                                        "user_agent": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "environment",
                                                                        "region_label",
                                                                        "egress_allowlist",
                                                                        "user_agent"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "direction",
                                                                "purpose",
                                                                "full_url",
                                                                "method",
                                                                "host",
                                                                "path",
                                                                "auth_mode",
                                                                "auth_hint",
                                                                "payload_format",
                                                                "origin_context"
                                                            ]
                                                        },
                                                        {
                                                            "type": "null"
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "direction": {
                                                                    "type": "string",
                                                                    "const": "outbound"
                                                                },
                                                                "purpose": {
                                                                    "type": "string",
                                                                    "const": "source_poll"
                                                                },
                                                                "full_url": {
                                                                    "type": "string"
                                                                },
                                                                "method": {
                                                                    "type": "string",
                                                                    "const": "GET"
                                                                },
                                                                "host": {
                                                                    "type": "string",
                                                                    "const": "youtube"
                                                                },
                                                                "path": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "\/"
                                                                            ]
                                                                        }
                                                                    ]
                                                                },
                                                                "auth_mode": {
                                                                    "type": "string",
                                                                    "const": "query_param"
                                                                },
                                                                "auth_hint": {
                                                                    "type": "string",
                                                                    "const": "Uses a YouTube Data API key passed as a query parameter."
                                                                },
                                                                "payload_format": {
                                                                    "type": "string",
                                                                    "const": "youtube\/video"
                                                                },
                                                                "origin_context": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "environment": {
                                                                            "type": "string"
                                                                        },
                                                                        "region_label": {
                                                                            "type": "string"
                                                                        },
                                                                        "egress_allowlist": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "cidrs": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "ips": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "cidrs",
                                                                                "ips"
                                                                            ]
                                                                        },
                                                                        "user_agent": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "environment",
                                                                        "region_label",
                                                                        "egress_allowlist",
                                                                        "user_agent"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "direction",
                                                                "purpose",
                                                                "full_url",
                                                                "method",
                                                                "host",
                                                                "path",
                                                                "auth_mode",
                                                                "auth_hint",
                                                                "payload_format",
                                                                "origin_context"
                                                            ]
                                                        },
                                                        {
                                                            "type": "object",
                                                            "properties": {
                                                                "direction": {
                                                                    "type": "string",
                                                                    "const": "outbound"
                                                                },
                                                                "purpose": {
                                                                    "type": "string",
                                                                    "const": "source_poll"
                                                                },
                                                                "full_url": {
                                                                    "type": "string"
                                                                },
                                                                "method": {
                                                                    "type": "string",
                                                                    "const": "LIST"
                                                                },
                                                                "host": {
                                                                    "type": "string",
                                                                    "const": "dropbox"
                                                                },
                                                                "path": {
                                                                    "anyOf": [
                                                                        {
                                                                            "type": "string"
                                                                        },
                                                                        {
                                                                            "type": "string",
                                                                            "enum": [
                                                                                "\/"
                                                                            ]
                                                                        }
                                                                    ]
                                                                },
                                                                "auth_mode": {
                                                                    "type": "string",
                                                                    "const": "oauth"
                                                                },
                                                                "auth_hint": {
                                                                    "type": "string",
                                                                    "const": "Uses a connected Dropbox account via OAuth."
                                                                },
                                                                "payload_format": {
                                                                    "type": "string",
                                                                    "const": "dropbox\/file"
                                                                },
                                                                "origin_context": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                        "environment": {
                                                                            "type": "string"
                                                                        },
                                                                        "region_label": {
                                                                            "type": "string"
                                                                        },
                                                                        "egress_allowlist": {
                                                                            "type": "object",
                                                                            "properties": {
                                                                                "cidrs": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                },
                                                                                "ips": {
                                                                                    "anyOf": [
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {}
                                                                                        },
                                                                                        {
                                                                                            "type": "array",
                                                                                            "items": {
                                                                                                "type": "string"
                                                                                            },
                                                                                            "minItems": 0,
                                                                                            "maxItems": 0,
                                                                                            "additionalItems": false
                                                                                        }
                                                                                    ]
                                                                                }
                                                                            },
                                                                            "required": [
                                                                                "cidrs",
                                                                                "ips"
                                                                            ]
                                                                        },
                                                                        "user_agent": {
                                                                            "type": "string"
                                                                        }
                                                                    },
                                                                    "required": [
                                                                        "environment",
                                                                        "region_label",
                                                                        "egress_allowlist",
                                                                        "user_agent"
                                                                    ]
                                                                }
                                                            },
                                                            "required": [
                                                                "direction",
                                                                "purpose",
                                                                "full_url",
                                                                "method",
                                                                "host",
                                                                "path",
                                                                "auth_mode",
                                                                "auth_hint",
                                                                "payload_format",
                                                                "origin_context"
                                                            ]
                                                        }
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "inbound",
                                                "outbound"
                                            ]
                                        },
                                        "created_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        },
                                        "updated_at": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "format": "date-time"
                                        }
                                    },
                                    "required": [
                                        "uuid",
                                        "public_token",
                                        "name",
                                        "type",
                                        "mode",
                                        "enabled",
                                        "auth_mode",
                                        "auth_config",
                                        "connection",
                                        "poll_config",
                                        "content_mapping",
                                        "config",
                                        "content_count",
                                        "latest_content",
                                        "ingest_token",
                                        "request_reference",
                                        "created_at",
                                        "updated_at"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/speech\/quote": {
            "post": {
                "operationId": "speech.quote",
                "tags": [
                    "Speech"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "quote": {
                                            "type": "object",
                                            "properties": {
                                                "available": {
                                                    "type": "boolean"
                                                },
                                                "reason": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "enum": [
                                                        "disabled",
                                                        "no_text",
                                                        "too_long",
                                                        "language_unsupported",
                                                        "long_form_busy",
                                                        null
                                                    ]
                                                },
                                                "chars": {
                                                    "type": "integer"
                                                },
                                                "estimated_seconds": {
                                                    "type": "integer"
                                                },
                                                "credits": {
                                                    "type": "integer"
                                                },
                                                "language": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "max_chars": {
                                                    "type": "integer"
                                                },
                                                "max_total_chars": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ]
                                                },
                                                "long_form": {
                                                    "type": "string"
                                                },
                                                "parts": {
                                                    "anyOf": [
                                                        {
                                                            "type": "integer"
                                                        },
                                                        {
                                                            "type": "integer",
                                                            "enum": [
                                                                1
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "fits_credits": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "Short of credits but good for at least a minute: what the\nbalance reads now (Continue reads the rest into the same file)."
                                                }
                                            },
                                            "required": [
                                                "available",
                                                "reason",
                                                "chars",
                                                "estimated_seconds",
                                                "credits",
                                                "language",
                                                "max_chars",
                                                "max_total_chars",
                                                "long_form",
                                                "parts",
                                                "fits_credits"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "quote"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/speech": {
            "get": {
                "operationId": "speech.index",
                "summary": "The account's recent text read aloud, newest first",
                "tags": [
                    "Speech"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "anyOf": [
                                                    {
                                                        "type": "array",
                                                        "items": {}
                                                    },
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "uuid": {
                                                                "type": "string"
                                                            },
                                                            "status": {
                                                                "description": "An agent's read aloud waiting for its translation is queued to the page.",
                                                                "anyOf": [
                                                                    {
                                                                        "type": "string"
                                                                    },
                                                                    {
                                                                        "type": "string",
                                                                        "enum": [
                                                                            "queued"
                                                                        ]
                                                                    }
                                                                ]
                                                            },
                                                            "source_kind": {
                                                                "type": "string"
                                                            },
                                                            "language": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "voice": {
                                                                "type": "string"
                                                            },
                                                            "voice_name": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "chars": {
                                                                "type": [
                                                                    "integer",
                                                                    "null"
                                                                ]
                                                            },
                                                            "credits": {
                                                                "type": "integer"
                                                            },
                                                            "duration_seconds": {
                                                                "type": [
                                                                    "integer",
                                                                    "null"
                                                                ]
                                                            },
                                                            "error_code": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "audio_url": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "created_at": {
                                                                "type": "string"
                                                            },
                                                            "completed_at": {
                                                                "type": "string"
                                                            },
                                                            "long_form": {
                                                                "type": "boolean"
                                                            }
                                                        },
                                                        "required": [
                                                            "uuid",
                                                            "status",
                                                            "source_kind",
                                                            "language",
                                                            "voice",
                                                            "voice_name",
                                                            "chars",
                                                            "credits",
                                                            "duration_seconds",
                                                            "error_code",
                                                            "audio_url",
                                                            "created_at",
                                                            "completed_at",
                                                            "long_form"
                                                        ]
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "speech.store",
                "tags": [
                    "Speech"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "voice": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "fit_to_credits": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ],
                                        "description": "Read the part the credits cover; the rest waits for Continue."
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "speech": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "uuid": {
                                                            "type": "string"
                                                        },
                                                        "status": {
                                                            "description": "An agent's read aloud waiting for its translation is queued to the page.",
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "queued"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "source_kind": {
                                                            "type": "string"
                                                        },
                                                        "language": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "voice": {
                                                            "type": "string"
                                                        },
                                                        "voice_name": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "chars": {
                                                            "type": [
                                                                "integer",
                                                                "null"
                                                            ]
                                                        },
                                                        "credits": {
                                                            "type": "integer"
                                                        },
                                                        "duration_seconds": {
                                                            "type": [
                                                                "integer",
                                                                "null"
                                                            ]
                                                        },
                                                        "error_code": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "audio_url": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "created_at": {
                                                            "type": "string"
                                                        },
                                                        "completed_at": {
                                                            "type": "string"
                                                        },
                                                        "long_form": {
                                                            "type": "boolean"
                                                        }
                                                    },
                                                    "required": [
                                                        "uuid",
                                                        "status",
                                                        "source_kind",
                                                        "language",
                                                        "voice",
                                                        "voice_name",
                                                        "chars",
                                                        "credits",
                                                        "duration_seconds",
                                                        "error_code",
                                                        "audio_url",
                                                        "created_at",
                                                        "completed_at",
                                                        "long_form"
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    "required": [
                                        "speech"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/speech\/{uuid}": {
            "get": {
                "operationId": "speech.show",
                "tags": [
                    "Speech"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "speech": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "uuid": {
                                                            "type": "string"
                                                        },
                                                        "status": {
                                                            "description": "An agent's read aloud waiting for its translation is queued to the page.",
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "queued"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "source_kind": {
                                                            "type": "string"
                                                        },
                                                        "language": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "voice": {
                                                            "type": "string"
                                                        },
                                                        "voice_name": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "chars": {
                                                            "type": [
                                                                "integer",
                                                                "null"
                                                            ]
                                                        },
                                                        "credits": {
                                                            "type": "integer"
                                                        },
                                                        "duration_seconds": {
                                                            "type": [
                                                                "integer",
                                                                "null"
                                                            ]
                                                        },
                                                        "error_code": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "audio_url": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "created_at": {
                                                            "type": "string"
                                                        },
                                                        "completed_at": {
                                                            "type": "string"
                                                        },
                                                        "long_form": {
                                                            "type": "boolean"
                                                        }
                                                    },
                                                    "required": [
                                                        "uuid",
                                                        "status",
                                                        "source_kind",
                                                        "language",
                                                        "voice",
                                                        "voice_name",
                                                        "chars",
                                                        "credits",
                                                        "duration_seconds",
                                                        "error_code",
                                                        "audio_url",
                                                        "created_at",
                                                        "completed_at",
                                                        "long_form"
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    "required": [
                                        "speech"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/speech\/{uuid}\/continue": {
            "post": {
                "operationId": "speech.continue",
                "summary": "A long read aloud that stopped: pick it up where it stopped",
                "tags": [
                    "Speech"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "202": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "speech": {
                                            "anyOf": [
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "object",
                                                    "properties": {
                                                        "uuid": {
                                                            "type": "string"
                                                        },
                                                        "status": {
                                                            "description": "An agent's read aloud waiting for its translation is queued to the page.",
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "string",
                                                                    "enum": [
                                                                        "queued"
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        "source_kind": {
                                                            "type": "string"
                                                        },
                                                        "language": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "voice": {
                                                            "type": "string"
                                                        },
                                                        "voice_name": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "chars": {
                                                            "type": [
                                                                "integer",
                                                                "null"
                                                            ]
                                                        },
                                                        "credits": {
                                                            "type": "integer"
                                                        },
                                                        "duration_seconds": {
                                                            "type": [
                                                                "integer",
                                                                "null"
                                                            ]
                                                        },
                                                        "error_code": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "audio_url": {
                                                            "type": [
                                                                "string",
                                                                "null"
                                                            ]
                                                        },
                                                        "created_at": {
                                                            "type": "string"
                                                        },
                                                        "completed_at": {
                                                            "type": "string"
                                                        },
                                                        "long_form": {
                                                            "type": "boolean"
                                                        }
                                                    },
                                                    "required": [
                                                        "uuid",
                                                        "status",
                                                        "source_kind",
                                                        "language",
                                                        "voice",
                                                        "voice_name",
                                                        "chars",
                                                        "credits",
                                                        "duration_seconds",
                                                        "error_code",
                                                        "audio_url",
                                                        "created_at",
                                                        "completed_at",
                                                        "long_form"
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    "required": [
                                        "speech"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "enum": [
                                                "You already have a long text being read. Wait for it to finish first.",
                                                "This read-aloud was started by an agent and can't be continued. Start a new one with the remaining text.",
                                                "This read-aloud has expired and its text was deleted. Start a new one with the remaining text.",
                                                "This one isn't stopped, so there's nothing to continue."
                                            ]
                                        },
                                        "reason": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "message",
                                        "reason"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/team-invites\/accept": {
            "post": {
                "operationId": "teamInvite.accept",
                "tags": [
                    "TeamInvite"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "token": {
                                        "type": "string",
                                        "minLength": 64,
                                        "maxLength": 64
                                    }
                                },
                                "required": [
                                    "token"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        },
                                        "role": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "ok",
                                        "role"
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "Invalid or expired invitation."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    },
                    "401": {
                        "$ref": "#\/components\/responses\/AuthenticationException"
                    }
                }
            }
        },
        "\/team-invites": {
            "get": {
                "operationId": "teamInvite.index",
                "tags": [
                    "TeamInvite"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "id": {
                                                "type": "string"
                                            },
                                            "email": {
                                                "type": "string"
                                            },
                                            "role": {
                                                "type": "string"
                                            },
                                            "status": {
                                                "type": "string"
                                            },
                                            "name": {
                                                "type": [
                                                    "string",
                                                    "null"
                                                ]
                                            },
                                            "accepted_at": {
                                                "type": "string"
                                            },
                                            "created_at": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "id",
                                            "email",
                                            "role",
                                            "status",
                                            "name",
                                            "accepted_at",
                                            "created_at"
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "teamInvite.store",
                "tags": [
                    "TeamInvite"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "email": {
                                        "type": "string",
                                        "format": "email",
                                        "maxLength": 255
                                    },
                                    "role": {
                                        "type": "string",
                                        "enum": [
                                            "admin",
                                            "editor",
                                            "viewer"
                                        ]
                                    }
                                },
                                "required": [
                                    "email",
                                    "role"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string"
                                        },
                                        "email": {
                                            "type": "string"
                                        },
                                        "role": {
                                            "type": "string"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "accepted_at": {
                                            "type": "string"
                                        },
                                        "created_at": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "email",
                                        "role",
                                        "status",
                                        "name",
                                        "accepted_at",
                                        "created_at"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/team-invites\/{uuid}": {
            "delete": {
                "operationId": "teamInvite.destroy",
                "tags": [
                    "TeamInvite"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/translations\/quote": {
            "post": {
                "operationId": "textTranslation.quote",
                "tags": [
                    "TextTranslation"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "quote": {
                                            "type": "object",
                                            "properties": {
                                                "available": {
                                                    "type": "boolean"
                                                },
                                                "reason": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "enum": [
                                                        "disabled",
                                                        "no_text",
                                                        "too_long",
                                                        "language_unsupported",
                                                        "same_language",
                                                        "busy",
                                                        null
                                                    ]
                                                },
                                                "chars": {
                                                    "type": "integer"
                                                },
                                                "estimated_seconds": {
                                                    "type": "integer"
                                                },
                                                "credits": {
                                                    "type": "integer"
                                                },
                                                "reading_credits": {
                                                    "type": "integer",
                                                    "description": "What reading the result will cost afterwards, for the page's note."
                                                },
                                                "source_language": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "target_language": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "max_chars": {
                                                    "type": "integer"
                                                }
                                            },
                                            "required": [
                                                "available",
                                                "reason",
                                                "chars",
                                                "estimated_seconds",
                                                "credits",
                                                "reading_credits",
                                                "source_language",
                                                "target_language",
                                                "max_chars"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "quote"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/translations": {
            "get": {
                "operationId": "textTranslation.index",
                "tags": [
                    "TextTranslation"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "textTranslation.store",
                "tags": [
                    "TextTranslation"
                ],
                "responses": {
                    "201": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "translation": {
                                            "type": "object",
                                            "properties": {
                                                "uuid": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "type": "string"
                                                },
                                                "progress": {
                                                    "type": "integer"
                                                },
                                                "source_language": {
                                                    "type": "string"
                                                },
                                                "target_language": {
                                                    "type": "string"
                                                },
                                                "chars": {
                                                    "type": "integer"
                                                },
                                                "translated_chars": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ]
                                                },
                                                "credits": {
                                                    "type": "integer"
                                                },
                                                "error_code": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "created_at": {
                                                    "type": "string"
                                                },
                                                "completed_at": {
                                                    "type": "string"
                                                },
                                                "text": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "status",
                                                "progress",
                                                "source_language",
                                                "target_language",
                                                "chars",
                                                "translated_chars",
                                                "credits",
                                                "error_code",
                                                "created_at",
                                                "completed_at",
                                                "text"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "translation"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "string",
                                                    "enum": [
                                                        "You already have a translation on the go. Wait for it to finish, then start this one.",
                                                        "The text is already in that language.",
                                                        "We can't translate into that language for reading aloud yet.",
                                                        "Translating text isn't available.",
                                                        "Paste the text to translate.",
                                                        "That text can't be translated."
                                                    ]
                                                }
                                            ]
                                        },
                                        "reason": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "message",
                                        "reason"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/translations\/{uuid}": {
            "get": {
                "operationId": "textTranslation.show",
                "tags": [
                    "TextTranslation"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "translation": {
                                            "type": "object",
                                            "properties": {
                                                "uuid": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "type": "string"
                                                },
                                                "progress": {
                                                    "type": "integer"
                                                },
                                                "source_language": {
                                                    "type": "string"
                                                },
                                                "target_language": {
                                                    "type": "string"
                                                },
                                                "chars": {
                                                    "type": "integer"
                                                },
                                                "translated_chars": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ]
                                                },
                                                "credits": {
                                                    "type": "integer"
                                                },
                                                "error_code": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "created_at": {
                                                    "type": "string"
                                                },
                                                "completed_at": {
                                                    "type": "string"
                                                },
                                                "text": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "status",
                                                "progress",
                                                "source_language",
                                                "target_language",
                                                "chars",
                                                "translated_chars",
                                                "credits",
                                                "error_code",
                                                "created_at",
                                                "completed_at",
                                                "text"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "translation"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/languages\/translation": {
            "get": {
                "operationId": "translationLanguages.index",
                "summary": "The translation targets a run or preset may ask for, with English names,\nsorted by name. Public reference data; the same list RunCreationService\nand preset validation enforce. Beta targets carry \"beta\": true",
                "tags": [
                    "TranslationLanguages"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/languages\/dubbing": {
            "get": {
                "operationId": "translationLanguages.dubbing",
                "summary": "Languages AI dubbing can speak, whether dubbing is switched on, and\nits price, for the dubbing page and the quick flow's Dub task",
                "tags": [
                    "TranslationLanguages"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "credits_per_minute": {
                                            "type": "number"
                                        },
                                        "max_minutes": {
                                            "type": "integer"
                                        },
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "code": {
                                                        "type": "string"
                                                    },
                                                    "label": {
                                                        "type": "string"
                                                    }
                                                },
                                                "required": [
                                                    "code",
                                                    "label"
                                                ]
                                            }
                                        }
                                    },
                                    "required": [
                                        "enabled",
                                        "credits_per_minute",
                                        "max_minutes",
                                        "data"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/v1\/usage": {
            "get": {
                "operationId": "usage.show",
                "tags": [
                    "Usage"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "period": {
                                            "type": "object",
                                            "properties": {
                                                "start": {
                                                    "type": "string"
                                                },
                                                "end": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "start",
                                                "end"
                                            ]
                                        },
                                        "credits": {
                                            "type": "object",
                                            "properties": {
                                                "included": {
                                                    "type": "integer"
                                                },
                                                "used": {
                                                    "type": "integer"
                                                },
                                                "remaining": {
                                                    "type": "integer"
                                                }
                                            },
                                            "required": [
                                                "included",
                                                "used",
                                                "remaining"
                                            ]
                                        },
                                        "jobs": {
                                            "type": "object",
                                            "properties": {
                                                "submitted": {
                                                    "type": "string"
                                                },
                                                "completed": {
                                                    "type": "string"
                                                },
                                                "failed": {
                                                    "type": "string"
                                                },
                                                "processing": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "submitted",
                                                "completed",
                                                "failed",
                                                "processing"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "period",
                                        "credits",
                                        "jobs"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/usage\/summary": {
            "get": {
                "operationId": "usage.summary",
                "summary": "GET \/api\/usage\/summary?period=30d",
                "tags": [
                    "Usage"
                ],
                "parameters": [
                    {
                        "name": "period",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "default": "30d"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "period": {
                                            "anyOf": [
                                                {
                                                    "type": "string"
                                                },
                                                {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                {
                                                    "type": "null"
                                                }
                                            ]
                                        },
                                        "since": {
                                            "type": "string"
                                        },
                                        "date_range": {
                                            "type": "object",
                                            "properties": {
                                                "from": {
                                                    "type": "string"
                                                },
                                                "to": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "from",
                                                "to"
                                            ]
                                        },
                                        "overview": {
                                            "type": "object",
                                            "properties": {
                                                "total_runs": {
                                                    "type": "string"
                                                },
                                                "period_runs": {
                                                    "type": "string"
                                                },
                                                "success_rate": {
                                                    "type": [
                                                        "number",
                                                        "null"
                                                    ]
                                                },
                                                "minutes_processed": {
                                                    "type": "number"
                                                },
                                                "pages_processed": {
                                                    "type": "integer"
                                                },
                                                "images_processed": {
                                                    "type": "integer"
                                                },
                                                "total_deliveries": {
                                                    "type": "string"
                                                },
                                                "delivery_success_rate": {
                                                    "type": [
                                                        "number",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "total_runs",
                                                "period_runs",
                                                "success_rate",
                                                "minutes_processed",
                                                "pages_processed",
                                                "images_processed",
                                                "total_deliveries",
                                                "delivery_success_rate"
                                            ]
                                        },
                                        "by_status": {
                                            "type": "string"
                                        },
                                        "by_source": {
                                            "type": "string"
                                        },
                                        "by_delivery_mode": {
                                            "type": "string"
                                        },
                                        "features": {
                                            "type": "string"
                                        },
                                        "trend": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "date": {
                                                        "type": "string"
                                                    },
                                                    "count": {
                                                        "anyOf": [
                                                            {
                                                                "type": "integer"
                                                            },
                                                            {
                                                                "type": "integer",
                                                                "enum": [
                                                                    0
                                                                ]
                                                            }
                                                        ]
                                                    },
                                                    "completed": {
                                                        "anyOf": [
                                                            {
                                                                "type": "integer"
                                                            },
                                                            {
                                                                "type": "integer",
                                                                "enum": [
                                                                    0
                                                                ]
                                                            }
                                                        ]
                                                    },
                                                    "failed": {
                                                        "anyOf": [
                                                            {
                                                                "type": "integer"
                                                            },
                                                            {
                                                                "type": "integer",
                                                                "enum": [
                                                                    0
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                },
                                                "required": [
                                                    "date",
                                                    "count",
                                                    "completed",
                                                    "failed"
                                                ]
                                            }
                                        },
                                        "api_keys": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "period",
                                        "since",
                                        "date_range",
                                        "overview",
                                        "by_status",
                                        "by_source",
                                        "by_delivery_mode",
                                        "features",
                                        "trend",
                                        "api_keys"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/usage\/export": {
            "get": {
                "operationId": "usage.export",
                "summary": "GET \/api\/usage\/export?period=30d&format=csv",
                "tags": [
                    "Usage"
                ],
                "parameters": [
                    {
                        "name": "period",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "default": "30d"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "text\/csv; charset=utf-8": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "headers": {
                            "Transfer-Encoding": {
                                "required": true,
                                "schema": {
                                    "type": "string",
                                    "enum": [
                                        "chunked"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/usage\/schedule": {
            "get": {
                "operationId": "usageReportSchedule.show",
                "summary": "GET \/api\/usage\/schedule \u2014 return the single schedule (or null)",
                "tags": [
                    "UsageReportSchedule"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "$ref": "#\/components\/schemas\/UsageReportSchedule"
                                        },
                                        {
                                            "type": "null"
                                        }
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "usageReportSchedule.store",
                "summary": "POST \/api\/usage\/schedule \u2014 create or replace the schedule",
                "tags": [
                    "UsageReportSchedule"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "report_period": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "7d",
                                            "30d",
                                            "90d"
                                        ]
                                    },
                                    "include_attachment": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "enabled": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "recipients": {
                                        "type": "array",
                                        "items": {
                                            "type": "string",
                                            "format": "email",
                                            "maxLength": 255
                                        },
                                        "minItems": 1,
                                        "maxItems": 10
                                    },
                                    "schedule": {
                                        "type": "object",
                                        "properties": {
                                            "frequency": {
                                                "type": "string",
                                                "enum": [
                                                    "daily",
                                                    "weekly",
                                                    "monthly"
                                                ]
                                            },
                                            "day_of_week": {
                                                "type": [
                                                    "integer",
                                                    "null"
                                                ],
                                                "minimum": 1,
                                                "maximum": 7
                                            },
                                            "day_of_month": {
                                                "type": [
                                                    "integer",
                                                    "null"
                                                ],
                                                "minimum": 1,
                                                "maximum": 28
                                            },
                                            "hour": {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 23
                                            },
                                            "minute": {
                                                "type": "integer",
                                                "enum": [
                                                    "0",
                                                    "30"
                                                ]
                                            },
                                            "timezone": {
                                                "type": "string",
                                                "maxLength": 64
                                            }
                                        },
                                        "required": [
                                            "frequency",
                                            "hour",
                                            "minute",
                                            "timezone"
                                        ]
                                    }
                                },
                                "required": [
                                    "recipients",
                                    "schedule"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/UsageReportSchedule"
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            },
            "patch": {
                "operationId": "usageReportSchedule.update",
                "summary": "PATCH \/api\/usage\/schedule \u2014 update existing schedule",
                "tags": [
                    "UsageReportSchedule"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "report_period": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "enum": [
                                            "7d",
                                            "30d",
                                            "90d"
                                        ]
                                    },
                                    "include_attachment": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "enabled": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "recipients": {
                                        "type": "array",
                                        "items": {
                                            "type": "string",
                                            "format": "email",
                                            "maxLength": 255
                                        },
                                        "minItems": 1,
                                        "maxItems": 10
                                    },
                                    "schedule": {
                                        "type": "object",
                                        "properties": {
                                            "frequency": {
                                                "type": "string",
                                                "enum": [
                                                    "daily",
                                                    "weekly",
                                                    "monthly"
                                                ]
                                            },
                                            "day_of_week": {
                                                "type": [
                                                    "integer",
                                                    "null"
                                                ],
                                                "minimum": 1,
                                                "maximum": 7
                                            },
                                            "day_of_month": {
                                                "type": [
                                                    "integer",
                                                    "null"
                                                ],
                                                "minimum": 1,
                                                "maximum": 28
                                            },
                                            "hour": {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 23
                                            },
                                            "minute": {
                                                "type": "integer",
                                                "enum": [
                                                    "0",
                                                    "30"
                                                ]
                                            },
                                            "timezone": {
                                                "type": "string",
                                                "maxLength": 64
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "$ref": "#\/components\/schemas\/UsageReportSchedule"
                                        },
                                        {
                                            "type": "null"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            },
            "delete": {
                "operationId": "usageReportSchedule.destroy",
                "summary": "DELETE \/api\/usage\/schedule \u2014 remove the schedule",
                "tags": [
                    "UsageReportSchedule"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/_pulse": {
            "post": {
                "operationId": "userEvent.ingest_0",
                "tags": [
                    "UserEvent"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "events": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "event_name": {
                                                    "type": "string",
                                                    "maxLength": 64
                                                },
                                                "route": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "maxLength": 255
                                                },
                                                "run_uuid": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "minLength": 36,
                                                    "maxLength": 36
                                                },
                                                "anonymous_session_id": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "maxLength": 64
                                                },
                                                "properties": {
                                                    "type": [
                                                        "array",
                                                        "null"
                                                    ],
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "client_timestamp": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "format": "date-time"
                                                }
                                            },
                                            "required": [
                                                "event_name"
                                            ]
                                        },
                                        "minItems": 1,
                                        "maxItems": 20
                                    }
                                },
                                "required": [
                                    "events"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    },
                    "429": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error_code": {
                                            "type": "string",
                                            "const": "rate_limited"
                                        }
                                    },
                                    "required": [
                                        "error_code"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/events": {
            "post": {
                "operationId": "userEvent.ingest_0",
                "tags": [
                    "UserEvent"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "events": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "event_name": {
                                                    "type": "string",
                                                    "maxLength": 64
                                                },
                                                "route": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "maxLength": 255
                                                },
                                                "run_uuid": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "minLength": 36,
                                                    "maxLength": 36
                                                },
                                                "anonymous_session_id": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "maxLength": 64
                                                },
                                                "properties": {
                                                    "type": [
                                                        "array",
                                                        "null"
                                                    ],
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "client_timestamp": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "format": "date-time"
                                                }
                                            },
                                            "required": [
                                                "event_name"
                                            ]
                                        },
                                        "minItems": 1,
                                        "maxItems": 20
                                    }
                                },
                                "required": [
                                    "events"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "204": {
                        "description": "No content"
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    },
                    "429": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "error_code": {
                                            "type": "string",
                                            "const": "rate_limited"
                                        }
                                    },
                                    "required": [
                                        "error_code"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/voices\/default": {
            "put": {
                "operationId": "voice.setDefault",
                "tags": [
                    "Voice"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "voice": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 80
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "default_voice": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "default_voice"
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "default_voice": {
                                                    "type": "null"
                                                }
                                            },
                                            "required": [
                                                "default_voice"
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/voices\/preview": {
            "get": {
                "operationId": "voice.preview",
                "tags": [
                    "Voice"
                ],
                "parameters": [
                    {
                        "name": "voice",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "maxLength": 80
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "maxLength": 10
                        }
                    }
                ],
                "responses": {
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    },
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "url": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "url"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "You've played a lot of new voice samples today. Try again tomorrow."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/voices": {
            "get": {
                "operationId": "voice.index",
                "tags": [
                    "Voice"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "enabled": {
                                            "type": "boolean"
                                        },
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "uuid": {
                                                        "type": "string"
                                                    },
                                                    "id": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "language": {
                                                        "type": "string"
                                                    },
                                                    "status": {
                                                        "anyOf": [
                                                            {
                                                                "type": "string"
                                                            },
                                                            {
                                                                "type": "string",
                                                                "enum": [
                                                                    "ready",
                                                                    "expired"
                                                                ]
                                                            }
                                                        ]
                                                    },
                                                    "languages": {
                                                        "type": "array",
                                                        "items": {}
                                                    },
                                                    "expires_at": {
                                                        "type": "string"
                                                    },
                                                    "created_at": {
                                                        "type": "string"
                                                    }
                                                },
                                                "required": [
                                                    "uuid",
                                                    "id",
                                                    "name",
                                                    "language",
                                                    "status",
                                                    "languages",
                                                    "expires_at",
                                                    "created_at"
                                                ]
                                            }
                                        },
                                        "consent_text": {
                                            "type": "string",
                                            "const": "This recording is of my own voice, or I have the speaker's permission to clone it. I agree that Presentr Analyze and its speech provider (AssemblyAI) may use it to create a synthetic copy of the voice for my dubs and read-aloud audio, kept while I use it and deleted 60 days after its last use, as described in the Terms and Privacy Policy."
                                        },
                                        "languages": {
                                            "type": "array",
                                            "items": {}
                                        },
                                        "min_seconds": {
                                            "type": "number"
                                        },
                                        "max_seconds": {
                                            "type": "number"
                                        },
                                        "max_voices": {
                                            "type": "integer"
                                        },
                                        "default_voice": {
                                            "type": [
                                                "string",
                                                "null"
                                            ],
                                            "description": "What every voice picker starts on: the last voice used, or one chosen with \"Make default\"."
                                        }
                                    },
                                    "required": [
                                        "enabled",
                                        "data",
                                        "consent_text",
                                        "languages",
                                        "min_seconds",
                                        "max_seconds",
                                        "max_voices",
                                        "default_voice"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "voice.store",
                "tags": [
                    "Voice"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart\/form-data": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "sample": {
                                        "type": "string",
                                        "format": "binary",
                                        "contentMediaType": "application\/octet-stream",
                                        "maxLength": 15360
                                    },
                                    "name": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 80
                                    },
                                    "language": {
                                        "type": "string",
                                        "enum": [
                                            "en",
                                            "es",
                                            "fr",
                                            "de",
                                            "it",
                                            "pt"
                                        ]
                                    },
                                    "consent": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "sample",
                                    "language",
                                    "consent"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "202": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "voice": {
                                            "type": "object",
                                            "properties": {
                                                "uuid": {
                                                    "type": "string"
                                                },
                                                "id": {
                                                    "type": "string"
                                                },
                                                "name": {
                                                    "type": "string"
                                                },
                                                "language": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "anyOf": [
                                                        {
                                                            "type": "string"
                                                        },
                                                        {
                                                            "type": "string",
                                                            "enum": [
                                                                "ready",
                                                                "expired"
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "languages": {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                "expires_at": {
                                                    "type": "string"
                                                },
                                                "created_at": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "id",
                                                "name",
                                                "language",
                                                "status",
                                                "languages",
                                                "expires_at",
                                                "created_at"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "voice"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/voices\/{uuid}": {
            "get": {
                "operationId": "voice.show",
                "tags": [
                    "Voice"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "voice": {
                                            "type": "object",
                                            "properties": {
                                                "uuid": {
                                                    "type": "string"
                                                },
                                                "id": {
                                                    "type": "string"
                                                },
                                                "name": {
                                                    "type": "string"
                                                },
                                                "language": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "anyOf": [
                                                        {
                                                            "type": "string"
                                                        },
                                                        {
                                                            "type": "string",
                                                            "enum": [
                                                                "ready",
                                                                "expired"
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "languages": {
                                                    "type": "array",
                                                    "items": {}
                                                },
                                                "expires_at": {
                                                    "type": "string"
                                                },
                                                "created_at": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "uuid",
                                                "id",
                                                "name",
                                                "language",
                                                "status",
                                                "languages",
                                                "expires_at",
                                                "created_at"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "voice"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "operationId": "voice.destroy",
                "tags": [
                    "Voice"
                ],
                "parameters": [
                    {
                        "name": "uuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "This voice is being used by a dub that hasn't finished. Delete it once the dub is done."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/voices\/library": {
            "get": {
                "operationId": "voiceLibrary.index",
                "tags": [
                    "VoiceLibrary"
                ],
                "parameters": [
                    {
                        "name": "tab",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "enum": [
                                "recommended",
                                "all",
                                "saved"
                            ]
                        }
                    },
                    {
                        "name": "q",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 120
                        }
                    },
                    {
                        "name": "language",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 10
                        }
                    },
                    {
                        "name": "gender",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 20
                        }
                    },
                    {
                        "name": "age",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 20
                        }
                    },
                    {
                        "name": "accent",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 40
                        }
                    },
                    {
                        "name": "tag",
                        "in": "query",
                        "schema": {
                            "type": [
                                "string",
                                "null"
                            ],
                            "maxLength": 40
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": [
                                "integer",
                                "null"
                            ],
                            "minimum": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": [
                                "integer",
                                "null"
                            ],
                            "minimum": 1,
                            "maximum": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    }
                }
            }
        },
        "\/voices\/saved": {
            "get": {
                "operationId": "voiceLibrary.saved",
                "tags": [
                    "VoiceLibrary"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "operationId": "voiceLibrary.save",
                "tags": [
                    "VoiceLibrary"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "id": {
                                        "type": "string",
                                        "maxLength": 64
                                    }
                                },
                                "required": [
                                    "id"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    },
                    "422": {
                        "$ref": "#\/components\/responses\/ValidationException"
                    },
                    "404": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "Voice not found."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/voices\/saved\/{id}": {
            "delete": {
                "operationId": "voiceLibrary.unsave",
                "tags": [
                    "VoiceLibrary"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "ok": {
                                            "type": "boolean"
                                        }
                                    },
                                    "required": [
                                        "ok"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/voices\/library\/{id}\/preview": {
            "get": {
                "operationId": "voiceLibrary.preview",
                "tags": [
                    "VoiceLibrary"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "url": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "url"
                                    ]
                                }
                            }
                        }
                    },
                    "503": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "The preview could not be made. Try again in a moment."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "You've played a lot of new voices today. Try again tomorrow, or use one you've already heard."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "message": {
                                            "type": "string",
                                            "const": "Voice not found."
                                        }
                                    },
                                    "required": [
                                        "message"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "http": {
                "type": "http",
                "scheme": "bearer"
            }
        },
        "schemas": {
            "AssistantRespondRequest": {
                "type": "object",
                "properties": {
                    "message": {
                        "type": "string",
                        "maxLength": 1000
                    },
                    "context": {
                        "type": "object",
                        "properties": {
                            "product": {
                                "type": "string",
                                "enum": [
                                    "analyze"
                                ]
                            },
                            "route_name": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 120
                            },
                            "path": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 255
                            },
                            "page_title": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 255
                            },
                            "section": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "maxLength": 120
                            },
                            "entity": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "properties": {
                                    "type": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 50
                                    },
                                    "id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    }
                                }
                            }
                        },
                        "required": [
                            "product"
                        ]
                    },
                    "conversation": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {
                            "type": "object",
                            "properties": {
                                "role": {
                                    "type": "string",
                                    "enum": [
                                        "user",
                                        "assistant"
                                    ]
                                },
                                "text": {
                                    "type": "string",
                                    "maxLength": 2000
                                }
                            }
                        },
                        "maxItems": 6
                    }
                },
                "required": [
                    "message",
                    "context"
                ],
                "title": "AssistantRespondRequest"
            },
            "LengthAwarePaginator": {
                "type": "array",
                "items": {},
                "title": "LengthAwarePaginator"
            },
            "UsageReportSchedule": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "owner_user_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "uuid": {
                        "type": "string"
                    },
                    "enabled": {
                        "type": "boolean"
                    },
                    "recipients": {
                        "type": "array",
                        "items": {}
                    },
                    "schedule": {
                        "type": "array",
                        "items": {}
                    },
                    "cron_expression": {
                        "type": "string"
                    },
                    "report_period": {
                        "type": "string"
                    },
                    "include_attachment": {
                        "type": "boolean"
                    },
                    "last_sent_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "next_run_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "last_error": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "send_count": {
                        "type": "integer"
                    },
                    "created_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "updated_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    }
                },
                "required": [
                    "id",
                    "owner_user_id",
                    "uuid",
                    "enabled",
                    "recipients",
                    "schedule",
                    "cron_expression",
                    "report_period",
                    "include_attachment",
                    "last_sent_at",
                    "next_run_at",
                    "last_error",
                    "send_count",
                    "created_at",
                    "updated_at"
                ],
                "title": "UsageReportSchedule"
            }
        },
        "responses": {
            "ValidationException": {
                "description": "Validation error",
                "content": {
                    "application\/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "message": {
                                    "type": "string",
                                    "description": "Errors overview."
                                },
                                "errors": {
                                    "type": "object",
                                    "description": "A detailed description of each field that failed validation.",
                                    "additionalProperties": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        }
                                    }
                                }
                            },
                            "required": [
                                "message",
                                "errors"
                            ]
                        }
                    }
                }
            },
            "ModelNotFoundException": {
                "description": "Not found",
                "content": {
                    "application\/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "message": {
                                    "type": "string",
                                    "description": "Error overview."
                                }
                            },
                            "required": [
                                "message"
                            ]
                        }
                    }
                }
            },
            "AuthenticationException": {
                "description": "Unauthenticated",
                "content": {
                    "application\/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "message": {
                                    "type": "string",
                                    "description": "Error overview."
                                }
                            },
                            "required": [
                                "message"
                            ]
                        }
                    }
                }
            }
        }
    }
}