{"openapi":"3.0.2","info":{"title":"Palabra API","description":"Palabra API","version":"0.1.0","x-logo":{}},"servers":[{"url":"https://api.palabra.ai"}],"paths":{"/saas/upload":{"post":{"tags":["Blob"],"summary":"File upload endpoint","description":"### Description\nEndpoint provides a functionality to upload multiple client files direct to Palabra cloud.\n\nFiles submission occurs in several requests:\n1. Client sends a POST request to the endpoint with a list of files to upload. Server verify the request\nand generates a pre-signed URL for each submitted file.\n2. Client sends a POST request to each pre-signed URL with the file to upload.\n\n### Limitations\nA client is allowed to upload up to `10` files at a time.\nEach file must be greater than `0.1 MB` and less than `10 MB` in size. Reach out to the support team\nif you need to upload larger files.\n\nFollowing MIME types are granted:\n - `audio/mpeg`\n - `audio/aac`\n - `audio/wav`\n - `audio/webm`\n - `audio/mp3`\n - `video/webm`\n - `video/mp4`\n - `video/mpeg`\n\n### Examples\n#### cURL\n\n**1. Submitting a list of files to receive pre-signed URLs for each file.**\n\n```shell\ncurl -X 'POST' \\\n  'https://api.palabra.ai/saas/upload' \\\n  -H 'accept: application/json' \\\n  -H 'Authorization: Bearer <JWT_TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"data\": [\n    {\n      \"filename\": \"A7 E.bf7FPG_6bvIa9cDodiL41RtSZ_\",\n      \"mime_type\": \"audio/x-wav\",\n      \"display_name\": \"string\",\n      \"description\": \"string\",\n      \"item_id\": \"string\"\n    }\n  ]\n}'\n```\n\n**2. Submitting files**\n\nEndpoint respond with a JSON array object containing `url` and `form_data` keys for each submitted file.\nIn the following example, we're use cURL command making a POST FormData request to upload a file:\n```shell\ncurl -X POST \\\n-F 'key=bl...0f' \\\n-F 'x-amz-algorithm=AWS4-HMAC-SHA256' \\\n... Other form data fields from the response...\n-F 'policy=eyJleHBpc...zA3WiJ9XX0=' \\\n-F 'x-amz-signature=463f78071...847af0c' \\\n-F file=@<file path at your file system> \\\nhttps://url.from.the/response/\n```\n\n### References\n- [Basics: Browser-Based Uploads Using POST](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-UsingHTTPPOST.html)\n- [Example: Browser-Based Upload using HTTP POST](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-post-example.html)\n- [AWSJavaScriptSDK](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-s3-presigned-post/)","operationId":"upload_blob_saas_upload_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_list_UploadBlobResponseData__"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}},"security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}]}},"/saas/voice/clone":{"post":{"tags":["Voice"],"summary":"Create new voice from audio/video file sample","description":"### Description\nEndpoint allows users to clone voices from audio or video samples. Uploading process is similar to the\n[Blob API](https://api.palabra.ai/docs#/Blob).\n\nNotice, for now samples count for voice cloning is limited to `1` sample.\n\nFiles submission occurs in several requests:\n1. Client sends a POST request to the endpoint with a list of files to upload. Server verify the request\nand generates a pre-signed URL for each submitted file.\n2. Client sends a POST request to each pre-signed URL with the file to upload.\n3. *Optional:* Client might request 'GET /saas/voice/m/voice_id' to receive processing status.\n\n### Examples\n#### cURL\n\n**1. Submitting a list of voice data to create voice records.**\n\n```shell\ncurl -X 'POST' \\\n  'https://api.palabra.ai/saas/voice/clone' \\\n  -H 'accept: application/json' \\\n  -H 'Authorization: Bearer <JWT_TOKEN>' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"data\": {\n    \"name\": \"Awesome voice name\",\n    \"samples\": [\n      {\n        \"filename\": \"mysample.pm3\",\n        \"mime_type\": \"audio/x-wav\",\n        \"display_name\": \"mysample\",\n        \"description\": \"My voice sample\",\n        \"denoise\": false,\n        \"speech_normalization\": false,\n        \"lang_code\": \"en\"\n      }\n    ],\n    \"description\": \"My awesome voice\",\n    \"labels\": {\n      \"gender\": \"Male\",\n      \"age_group\": \"Young\",\n      \"mood\": \"Neutral\"\n    }\n  }\n}'\n```\n\n**2. Submitting files**\n\nEndpoint respond with a JSON array object containing `url` and `form_data` keys for each submitted file.\nIn the following example, we're use cURL command making a POST FormData request to upload a file:\n```shell\ncurl -X POST \\\n-F 'key=bl...0f' \\\n-F 'x-amz-algorithm=AWS4-HMAC-SHA256' \\\n... Other form data fields from the response...\n-F 'policy=eyJleHBpc...zA3WiJ9XX0=' \\\n-F 'x-amz-signature=463f78071...847af0c' \\\n-F file=@<file path at your file system> \\\nhttps://url.from.the/response/\n```\n\n### References\n- [Blob API](https://api.palabra.ai/docs#/Blob)","operationId":"create_voice_saas_voice_clone_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericRequestPayload_VoiceCloneRequest_"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_VoiceCloneResponseData_"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}},"security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}]}},"/saas/voice/m/{voice_id}":{"post":{"tags":["Voice"],"summary":"Update specific voice","operationId":"update_voice_saas_voice_m__voice_id__post","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","title":"Voice Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericRequestPayload_UpdateVoiceRequestPayload_"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_UpdateVoiceResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}},"delete":{"tags":["Voice"],"summary":"Delete specific voice by id","operationId":"del_voice_by_id_saas_voice_m__voice_id__delete","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","title":"Voice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_DelVoiceByIDResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}},"get":{"tags":["Voice"],"summary":"Get specific voice","operationId":"get_voice_by_id_saas_voice_m__voice_id__get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","title":"Voice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_GetVoiceByIDResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/voice/m/{voice_id}/tts-sample":{"post":{"tags":["Voice"],"summary":"Regenerate TTS sample for an existing voice in a given language","description":"Regenerate the TTS sample for an existing user's voice in the specified language.\n\nReplaces all previous TTS samples for the voice with a single freshly synthesized sample.\nConcurrent regeneration attempts on the same voice yield 403 (resource locked).","operationId":"regenerate_voice_tts_sample_saas_voice_m__voice_id__tts_sample_post","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","title":"Voice Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericRequestPayload_RegenerateTTSSampleRequestPayload_"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_TTSSamplePageItem_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/voice/m/{voice_id}/favorite":{"post":{"tags":["Voice"],"summary":"Add voice to favorites for the current user","operationId":"add_voice_to_favorite_saas_voice_m__voice_id__favorite_post","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","title":"Voice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_FavoriteVoiceResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}},"delete":{"tags":["Voice"],"summary":"Remove voice from favorites for the current user","operationId":"remove_voice_from_favorite_saas_voice_m__voice_id__favorite_delete","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"voice_id","in":"path","required":true,"schema":{"type":"string","title":"Voice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_FavoriteVoiceResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/voice":{"delete":{"tags":["Voice"],"summary":"Delete all user's voices","description":"Delete all user voices","operationId":"del_all_user_voices_saas_voice_delete","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_DelAllUserVoicesResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}},"get":{"tags":["Voice"],"summary":"Get list of user voices","description":"Retrieve a list of voices created by the user, ordered by creation date.","operationId":"get_user_voices_saas_voice_get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OrderDirection"},{"type":"null"}],"description":"Sort order:`asc` | `desc`","examples":["desc"],"title":"Sort"},"description":"Sort order:`asc` | `desc`"},{"name":"page_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"description":"Number of items per page `[1;100]`","examples":[10],"title":"Page Size"},"description":"Number of items per page `[1;100]`"},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pagination token. Note:`sort` and `page_size` parameters are not allowed with the pagination `token` parameter","title":"Token"},"description":"Pagination token. Note:`sort` and `page_size` parameters are not allowed with the pagination `token` parameter"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":100},{"type":"null"}],"description":"Search by name and description (min 2 characters, case-insensitive)","title":"Search"},"description":"Search by name and description (min 2 characters, case-insensitive)"},{"name":"gender","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/Gender"}},{"type":"null"}],"description":"Filter by gender label","title":"Gender"},"description":"Filter by gender label"},{"name":"age_group","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/AgeGroup"}},{"type":"null"}],"description":"Filter by age group label","title":"Age Group"},"description":"Filter by age group label"},{"name":"mood","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/Mood"}},{"type":"null"}],"description":"Filter by mood label","title":"Mood"},"description":"Filter by mood label"},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"description":"Filter by TTS sample language code","title":"Lang"},"description":"Filter by TTS sample language code"},{"name":"is_favorite","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by favorite flag for the current user","title":"Is Favorite"},"description":"Filter by favorite flag for the current user"},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VoiceProvider"}},{"type":"null"}],"description":"Filter by TTS sample provider: `palabra` | `elevenlabs`. Only voices with a sample from the requested provider are returned, and `tts_sample` points to that provider's latest sample.","title":"Provider"},"description":"Filter by TTS sample provider: `palabra` | `elevenlabs`. Only voices with a sample from the requested provider are returned, and `tts_sample` points to that provider's latest sample."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_Page_UserVoicePageItem__"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/voice/hidden":{"get":{"tags":["Voice"],"summary":"Get list of hidden user voices (skip_external_voice=true)","description":"Retrieve a list of hidden voices (created with skip_external_voice=true) for the user.","operationId":"get_hidden_user_voices_saas_voice_hidden_get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OrderDirection"},{"type":"null"}],"description":"Sort order:`asc` | `desc`","examples":["desc"],"title":"Sort"},"description":"Sort order:`asc` | `desc`"},{"name":"page_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"description":"Number of items per page `[1;100]`","examples":[10],"title":"Page Size"},"description":"Number of items per page `[1;100]`"},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pagination token. Note:`sort` and `page_size` parameters are not allowed with the pagination `token` parameter","title":"Token"},"description":"Pagination token. Note:`sort` and `page_size` parameters are not allowed with the pagination `token` parameter"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_Page_UserVoicePageItem__"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/voice/sample/tts":{"get":{"tags":["Voice"],"summary":"Get list of user's TTS samples","description":"Retrieve a list of cloned voice tts samples created by the user, ordered by creation date.","operationId":"get_tts_samples_by_user_id_saas_voice_sample_tts_get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OrderDirection"},{"type":"null"}],"description":"Sort order:`asc` | `desc`","examples":["desc"],"title":"Sort"},"description":"Sort order:`asc` | `desc`"},{"name":"page_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"description":"Number of items per page `[1;100]`","examples":[10],"title":"Page Size"},"description":"Number of items per page `[1;100]`"},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pagination token. Note:`sort` and `page_size` parameters are not allowed with the pagination `token` parameter","title":"Token"},"description":"Pagination token. Note:`sort` and `page_size` parameters are not allowed with the pagination `token` parameter"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_Page_TTSSamplePageItem__"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/voice/limits":{"get":{"tags":["Voice"],"summary":"Get user voice limits","description":"Get user voice limits","operationId":"get_voice_limits_saas_voice_limits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_GetUserVoiceLimitsResponseData_"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}},"security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}]}},"/saas/voice/builtin":{"get":{"tags":["Voice"],"summary":"Get list of built in voices","operationId":"get_built_in_voices_saas_voice_builtin_get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OrderDirection"},{"type":"null"}],"description":"Sort order:`asc` | `desc`","examples":["desc"],"title":"Sort"},"description":"Sort order:`asc` | `desc`"},{"name":"page_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"description":"Number of items per page `[1;100]`","examples":[10],"title":"Page Size"},"description":"Number of items per page `[1;100]`"},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pagination token. Note:`sort` and `page_size` parameters are not allowed with the pagination `token` parameter","title":"Token"},"description":"Pagination token. Note:`sort` and `page_size` parameters are not allowed with the pagination `token` parameter"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":100},{"type":"null"}],"description":"Search by name and description (min 2 characters, case-insensitive)","title":"Search"},"description":"Search by name and description (min 2 characters, case-insensitive)"},{"name":"gender","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/Gender"}},{"type":"null"}],"description":"Filter by gender label","title":"Gender"},"description":"Filter by gender label"},{"name":"age_group","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/AgeGroup"}},{"type":"null"}],"description":"Filter by age group label","title":"Age Group"},"description":"Filter by age group label"},{"name":"mood","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/Mood"}},{"type":"null"}],"description":"Filter by mood label","title":"Mood"},"description":"Filter by mood label"},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"description":"Filter by TTS sample language code","title":"Lang"},"description":"Filter by TTS sample language code"},{"name":"is_favorite","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by favorite flag for the current user","title":"Is Favorite"},"description":"Filter by favorite flag for the current user"},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VoiceProvider"}},{"type":"null"}],"description":"Filter by TTS sample provider: `palabra` | `elevenlabs`. Only voices with a sample from the requested provider are returned, and `tts_sample` points to that provider's latest sample.","title":"Provider"},"description":"Filter by TTS sample provider: `palabra` | `elevenlabs`. Only voices with a sample from the requested provider are returned, and `tts_sample` points to that provider's latest sample."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_Page_BuiltInVoice__"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/glossary":{"post":{"tags":["Glossary"],"summary":"Create a new glossary","description":"### Create a new glossary.\nGlossary type value can be either `translation`, `asr` or `asr_hot`.\n\n***Notes***:\n- In case of 'translation' source and target languages must be different.\n- In case of 'asr' they must be the same.\n- In case of 'asr-hot' only source language value matters.","operationId":"create_glossary_saas_glossary_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericRequestPayload_CreateGlossaryRequest_"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_CreateGlossaryResponseData_"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}},"security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}]}},"/saas/glossary/{glossary_id}/upload":{"post":{"tags":["Glossary"],"summary":"Upload glossary file","description":"### Upload glossary content by its ID.\n\nGlossary with provided ID must exist and not have its CSV entries uploaded.\n\nGlossary file must be in CSV format.\n\nCSV file must not contain headers and contain either one (for `asr-hot` type) or two (for both `asr` and `translation`)\ncolumns separated by comma","operationId":"upload_glossary_by_id_saas_glossary__glossary_id__upload_post","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"glossary_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Glossary Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_glossary_by_id_saas_glossary__glossary_id__upload_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_UploadGlossaryByIDResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}},"get":{"tags":["Glossary"],"summary":"Retrieve a single glossary file by ID","description":"### Retrieve a single glossary CSV file by its ID.","operationId":"get_glossary_upload_by_id_saas_glossary__glossary_id__upload_get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"glossary_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Glossary Id"}}],"responses":{"200":{"description":"Return glossary upload file","content":{"text/csv":{}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/glossary/{glossary_id}":{"post":{"tags":["Glossary"],"summary":"Update specific glossary","description":"### Update glossary information.","operationId":"update_glossary_saas_glossary__glossary_id__post","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"glossary_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Glossary Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericRequestPayload_UpdateGlossaryRequestPayload_"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_UpdateGlossaryResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}},"get":{"tags":["Glossary"],"summary":"Retrieve a single glossary by ID","description":"### Retrieve a single glossary by its ID.","operationId":"get_glossary_by_id_saas_glossary__glossary_id__get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"glossary_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Glossary Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_GetGlossaryByIDResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}},"delete":{"tags":["Glossary"],"summary":"Delete a glossary by ID","description":"### Delete a glossary by its ID.\n\n**Note:**\n- This action is irreversible.\n- All associated data will be removed.","operationId":"del_glossary_by_id_saas_glossary__glossary_id__delete","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"glossary_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Glossary Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_DelGlossaryByIDResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/glossaries":{"get":{"tags":["Glossary"],"summary":"Retrieve user-created glossaries","description":"### Retrieve a list of user-created glossaries, optionally paginated and sorted by creation date.\n\n**Details:**\n- Supports pagination with a `token` for subsequent requests.\n- If `token` is provided, `sort` and `page_size` are not allowed.\n- If `sort` and/or `page_size` are specified, a fresh pagination page will be started without using `token`.","operationId":"get_user_glossaries_saas_glossaries_get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/OrderDirection"},{"type":"null"}],"description":"Sort order: `asc` | `desc`","examples":["desc"],"title":"Sort"},"description":"Sort order: `asc` | `desc`"},{"name":"page_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"description":"Number of items per page `[1;100]`","examples":[10],"title":"Page Size"},"description":"Number of items per page `[1;100]`"},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pagination token. Note: `sort` and `page_size` parameters are not allowed with the pagination `token` parameter.","title":"Token"},"description":"Pagination token. Note: `sort` and `page_size` parameters are not allowed with the pagination `token` parameter."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_Page_UserGlossaryPageItem__"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/v2/event":{"post":{"tags":["Event v2"],"summary":"Create a new event","operationId":"create_event_v2_saas_v2_event_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericRequestPayload_CreateEventV2Request_"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_EventV2DTO_"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}},"security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}]}},"/saas/v2/events":{"get":{"tags":["Event v2"],"summary":"Retrieve user-created events","operationId":"list_events_v2_saas_v2_events_get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"pagination_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pagination token","title":"Pagination Token"},"description":"Pagination token"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/EventLifecycleStatusV2"},{"type":"null"}],"description":"Filter by event lifecycle status","title":"Status"},"description":"Filter by event lifecycle status"},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Full-text search over title and description","title":"Q"},"description":"Full-text search over title and description"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_ListEventsV2ResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/v2/event/{event_id}":{"get":{"tags":["Event v2"],"summary":"Retrieve a single event by ID","operationId":"get_event_v2_by_id_saas_v2_event__event_id__get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_GetEventV2ByIdResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}},"patch":{"tags":["Event v2"],"summary":"Update a specific event","operationId":"update_event_v2_saas_v2_event__event_id__patch","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericRequestPayload_UpdateEventV2Request_"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_EventV2DTO_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}},"delete":{"tags":["Event v2"],"summary":"Delete an event by ID","operationId":"delete_event_v2_saas_v2_event__event_id__delete","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_NoneType_"}}},"description":"Accepted"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/v2/event/{event_id}/stats":{"get":{"tags":["Event v2"],"summary":"Retrieve event aggregate metrics","operationId":"get_event_stats_saas_v2_event__event_id__stats_get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_EventStatsData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/v2/event/{event_id}/stats/export":{"get":{"tags":["Event v2"],"summary":"Download stats language breakdown as CSV","description":"Download bar-chart breakdown (language → participants) as CSV.","operationId":"export_event_stats_saas_v2_event__event_id__stats_export_get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Event Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","description":"Export format — only 'csv' supported","default":"csv","title":"Format"},"description":"Export format — only 'csv' supported"}],"responses":{"200":{"description":"text/csv body","content":{"application/json":{"schema":{}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/v2/event/public/{event_id}":{"get":{"tags":["Event v2"],"summary":"Retrieve public event data","operationId":"get_public_event_v2_saas_v2_event_public__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Event Id"}},{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Event access code","title":"Code"},"description":"Event access code"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_PublicEventBundleData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/v2/event/{event_id}/requests":{"get":{"tags":["Event v2"],"summary":"List pending listener requests for an event (organizer)","description":"Organizer poll — pending listener requests for the event + language budget.","operationId":"list_event_requests_saas_v2_event__event_id__requests_get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Event Id"}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by request type.","title":"Type"},"description":"Filter by request type."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_ListEventRequestsResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/v2/event/{event_id}/requests/{request_id}/approve":{"post":{"tags":["Event v2"],"summary":"Approve a pending listener request (organizer)","description":"Organizer approves a pending request (records the decision only).\n\nThe language is applied by the frontend's own ``PATCH /saas/channel/{cid}``;\nthis endpoint just transitions the request to ``approved`` (idempotent).","operationId":"approve_event_request_saas_v2_event__event_id__requests__request_id__approve_post","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Event Id"}},{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_ApproveEventRequestResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/v2/event/{event_id}/requests/{request_id}/reject":{"post":{"tags":["Event v2"],"summary":"Reject a pending listener request (organizer)","description":"Organizer declines a pending request.","operationId":"reject_event_request_saas_v2_event__event_id__requests__request_id__reject_post","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Event Id"}},{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericRequestPayload_RejectEventRequestRequest_"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_RejectEventRequestResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/channel":{"post":{"tags":["Channel"],"summary":"Create a new channel","description":"Create an event-bound or standalone channel.\n\nBroadcaster-first saga:\n1. INSERT row with lifecycle_status='creating', broadcast_id=NULL.\n2. POST /broadcasts on broadcaster.\n3. On success: UPDATE row → broadcast_id, lifecycle_status='ready'.\n4. Invalidate Redis bundle cache for the parent event.","operationId":"create_channel_saas_channel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericRequestPayload_Annotated_Union_CreateEventChannelRequest__CreateStandaloneChannelRequest___FieldInfo_annotation_NoneType__required_True__discriminator__type____"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_CreateChannelResponseData_"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}},"security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}]}},"/saas/channels":{"get":{"tags":["Channel"],"summary":"Retrieve channels","description":"List the caller's channels, optionally filtered by event and/or stage.","operationId":"list_channels_saas_channels_get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"event_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid4"},{"type":"null"}],"title":"Event Id"}},{"name":"stage_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid4"},{"type":"null"}],"title":"Stage Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_ListChannelsResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/channel/{channel_id}":{"get":{"tags":["Channel"],"summary":"Retrieve a single channel by ID","operationId":"get_channel_saas_channel__channel_id__get","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"channel_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Channel Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_CreateChannelResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}},"patch":{"tags":["Channel"],"summary":"Update a channel","description":"PATCH /saas/channel/{cid} — broadcaster-first saga (broadcaster + cache).\n\nEnforces the event-wide plan language cap on language changes; otherwise a\nthin proxy to the broadcaster. Does not touch the listener-request queue.","operationId":"update_channel_saas_channel__channel_id__patch","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"channel_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Channel Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericRequestPayload_UpdateChannelRequest_"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_CreateChannelResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}},"delete":{"tags":["Channel"],"summary":"Delete a channel by ID","operationId":"delete_channel_saas_channel__channel_id__delete","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"channel_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Channel Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_NoneType_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/saas/channel/{channel_id}/retry":{"post":{"tags":["Channel"],"summary":"Retry channel creation","operationId":"retry_failed_channel_saas_channel__channel_id__retry_post","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"channel_id","in":"path","required":true,"schema":{"type":"string","format":"uuid4","title":"Channel Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_CreateChannelResponseData_"}}}},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}},"description":"Default Response"}}}},"/session-storage/sessions":{"get":{"tags":["Sessions API"],"summary":"Get User Sessions","description":"Retrieves a list of sessions for the authenticated user.","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"page_size","in":"query","description":"Number of items to return.","required":false,"schema":{"type":"integer","default":10}},{"name":"page_token","in":"query","description":"Token for pagination.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A list of user sessions.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","example":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/Session"}}},"required":["ok","data"]}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}}},"post":{"tags":["Sessions API"],"summary":"Create streaming session (deprecated)","description":"[DEPRECATED] Use /session-storage/session instead.\n\nEndpoint provides functionality to initiate streaming sessions. It creates a unique `Room` at the WebRTC server for upcoming audio publishing and registers connection at the WebSocket translation management API. JWT access token received in response should be used for both connecting to the WebRTC server and WebSocket translation management API.\n\nNotice, the JWT access token contains permissions, which may lead to restriction of several API functionalities.\n\nStreaming session allows publishing RTC stream to the server, receiving translated audio stream, and managing translation options through WebSocket API.\n\n### References\n- [Translation management WebSocket API](https://docs.palabra.ai/docs/streaming_api/management)\n- [Streaming session](https://docs.palabra.ai/docs/streaming_api/session)","deprecated":true,"security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"responses":{"200":{"description":"Session created successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/CreateSessionResponseData"}},"required":["ok","data"]}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateSessionRequestData"}},"required":["data"]}}}}}},"/session-storage/session":{"post":{"tags":["Sessions API"],"summary":"Create streaming session","description":"Creates a streaming session and returns a JWT access token together with the connection URLs.\n\nA session runs over one of two fully independent channels — choose one; you publish audio, receive translated audio, and manage translation entirely over it:\n- webrtc_url — the WebRTC Speech-to-Speech Translation API\n- ws_url — the WS Speech-to-Speech Translation API\n\nThe returned token carries scoped permissions that define what the session can do.\n\n### References\n- [Translation management WebSocket API](https://docs.palabra.ai/docs/streaming_api/management)\n- [Streaming session](https://docs.palabra.ai/docs/streaming_api/session)","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreateSessionRequestV2"}}}}}},"responses":{"201":{"description":"Session created successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/sdk.SuccessResponse-CreateSessionResponseDataV2/properties/data"}},"required":["ok","data"]}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}}}},"/session-storage/sessions/{session_id}":{"get":{"tags":["Sessions API"],"summary":"Get User Session by ID","description":"Retrieves a specific session for the authenticated user.","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"session_id","in":"path","description":"The ID of the session.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Session details.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/Session"}},"required":["ok","data"]}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}}},"delete":{"tags":["Sessions API"],"summary":"Delete User Session by ID","description":"Deletes a specific session for the authenticated user.","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"session_id","in":"path","description":"The ID of the session.","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Session deleted successfully."},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}}},"post":{"tags":["Sessions API"],"summary":"Update Session Expiration","description":"Updates the expiration time of a session.","security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}],"parameters":[{"name":"session_id","in":"path","description":"The ID of the session.","required":true,"schema":{"type":"string"}},{"name":"ttl_seconds","in":"query","description":"New TTL (in seconds) for the session.","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"ttl_seconds":{"type":"integer"}},"required":["ttl_seconds"]}},"required":["data"]}}}},"responses":{"204":{"description":"Session expiration updated successfully."},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}}}},"/billing/balance":{"get":{"deprecated":true,"summary":"Retrieve user balance","description":"Fetches the balance of a user based on the user ID.","parameters":[],"responses":{"200":{"description":"Successful response with user balance.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"minutes_left":{"type":"string","format":"float","example":"25.5","description":"Remaining balance in minutes."}}},"ok":{"type":"boolean","description":"Status of the response.","example":true}}}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sdk.FailureResponse"}}}}},"security":[{"APIKey":[],"ClientID":[],"ClientSecret":[]}],"tags":["Billing API"]}},"/payments/v2/balance":{"get":{"tags":["Payments V2"],"summary":"Get credit balance","description":"Returns current credit balance and USD equivalent.","operationId":"get_balance_payments_v2_balance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericResponsePayload_BalanceResponseData_"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponsePayload"}}}}},"security":[{"APIKey":[]},{"ClientID":[],"ClientSecret":[]}]}}},"tags":[{"name":"Voice","description":"\nVoice API enables users to clone voices from audio or video samples instantly. \nOnce created, these voices can be utilized in [Real Time Speech-to-Speech Translation Streaming \nAPI](https://docs.palabra.ai/docs/streaming_api/management#request-message-schema)\nor into Text-to-Speech (TTS) endpoints. \nAdditionally, the API provides a variety of built-in voices available for immediate use.\n"},{"name":"Blob","description":"\nBlob API exposes functionality to upload large (up to 5GB) UGC files to the cloud. Uploaded files could be used for \nthe Voice cloning, Dubbing, and other platform capabilities.\n"},{"name":"Event v2","description":"Event API enables users to manage multi-stage translation events with stages, channels, sessions, and aggregate metrics."},{"name":"Channel","description":"Channel API enables users to create and manage real-time translation channels within events and standalone broadcasts."}],"components":{"schemas":{"casdoorsdk.ManagedAccount":{"type":"object","properties":{"application":{"type":"string"},"password":{"type":"string"},"signinUrl":{"type":"string"},"username":{"type":"string"}}},"casdoorsdk.Permission":{"type":"object","properties":{"actions":{"type":"array","items":{"type":"string"}},"adapter":{"type":"string"},"approveTime":{"type":"string"},"approver":{"type":"string"},"createdTime":{"type":"string"},"description":{"type":"string"},"displayName":{"type":"string"},"domains":{"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"groups":{"type":"array","items":{"type":"string"}},"isEnabled":{"type":"boolean"},"model":{"type":"string"},"name":{"type":"string"},"owner":{"type":"string"},"resourceType":{"type":"string"},"resources":{"type":"array","items":{"type":"string"}},"roles":{"type":"array","items":{"type":"string"}},"state":{"type":"string"},"submitter":{"type":"string"},"users":{"type":"array","items":{"type":"string"}}}},"casdoorsdk.Role":{"type":"object","properties":{"createdTime":{"type":"string"},"description":{"type":"string"},"displayName":{"type":"string"},"domains":{"type":"array","items":{"type":"string"}},"isEnabled":{"type":"boolean"},"name":{"type":"string"},"owner":{"type":"string"},"roles":{"type":"array","items":{"type":"string"}},"users":{"type":"array","items":{"type":"string"}}}},"casdoorsdk.User":{"type":"object","properties":{"accessKey":{"type":"string"},"accessSecret":{"type":"string"},"address":{"type":"array","items":{"type":"string"}},"adfs":{"type":"string"},"affiliation":{"type":"string"},"alipay":{"type":"string"},"amazon":{"type":"string"},"apple":{"type":"string"},"auth0":{"type":"string"},"avatar":{"type":"string"},"avatarType":{"type":"string"},"azuread":{"type":"string"},"baidu":{"type":"string"},"battlenet":{"type":"string"},"bilibili":{"type":"string"},"bio":{"type":"string"},"birthday":{"type":"string"},"bitbucket":{"type":"string"},"box":{"type":"string"},"casdoor":{"type":"string"},"cloudfoundry":{"type":"string"},"countryCode":{"type":"string"},"createdIp":{"type":"string"},"createdTime":{"type":"string"},"custom":{"type":"string"},"dailymotion":{"type":"string"},"deezer":{"type":"string"},"digitalocean":{"type":"string"},"dingtalk":{"type":"string"},"discord":{"type":"string"},"displayName":{"type":"string"},"douyin":{"type":"string"},"dropbox":{"type":"string"},"education":{"type":"string"},"email":{"type":"string"},"emailVerified":{"type":"boolean"},"eveonline":{"type":"string"},"facebook":{"type":"string"},"firstName":{"type":"string"},"fitbit":{"type":"string"},"gender":{"type":"string"},"gitea":{"type":"string"},"gitee":{"type":"string"},"github":{"type":"string"},"gitlab":{"type":"string"},"google":{"type":"string"},"groups":{"type":"array","items":{"type":"string"}},"hash":{"type":"string"},"heroku":{"type":"string"},"homepage":{"type":"string"},"id":{"type":"string"},"idCard":{"type":"string"},"idCardType":{"type":"string"},"influxcloud":{"type":"string"},"infoflow":{"type":"string"},"instagram":{"type":"string"},"intercom":{"type":"string"},"isAdmin":{"type":"boolean"},"isDefaultAvatar":{"type":"boolean"},"isDeleted":{"type":"boolean"},"isForbidden":{"type":"boolean"},"isOnline":{"type":"boolean"},"kakao":{"type":"string"},"karma":{"type":"integer"},"language":{"type":"string"},"lark":{"type":"string"},"lastName":{"type":"string"},"lastSigninIp":{"type":"string"},"lastSigninTime":{"type":"string"},"lastSigninWrongTime":{"type":"string"},"lastfm":{"type":"string"},"ldap":{"type":"string"},"line":{"type":"string"},"linkedin":{"type":"string"},"location":{"type":"string"},"mailru":{"type":"string"},"managedAccounts":{"type":"array","items":{"$ref":"#/components/schemas/casdoorsdk.ManagedAccount"}},"meetup":{"type":"string"},"metamask":{"type":"string"},"mfaEmailEnabled":{"type":"boolean"},"mfaPhoneEnabled":{"type":"boolean"},"microsoftonline":{"type":"string"},"name":{"type":"string"},"naver":{"type":"string"},"nextcloud":{"type":"string"},"okta":{"type":"string"},"onedrive":{"type":"string"},"oura":{"type":"string"},"owner":{"type":"string"},"password":{"type":"string"},"passwordSalt":{"type":"string"},"passwordType":{"type":"string"},"patreon":{"type":"string"},"paypal":{"type":"string"},"permanentAvatar":{"type":"string"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/casdoorsdk.Permission"}},"phone":{"type":"string"},"preHash":{"type":"string"},"preferredMfaType":{"type":"string","description":"WebauthnCredentials []webauthn.Credential `xorm:\"webauthnCredentials blob\" json:\"webauthnCredentials\"`"},"properties":{"type":"object","additionalProperties":{"type":"string"}},"qq":{"type":"string"},"ranking":{"type":"integer"},"recoveryCodes":{"type":"array","items":{"type":"string"}},"region":{"type":"string"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/casdoorsdk.Role"}},"salesforce":{"type":"string"},"score":{"type":"integer"},"shopify":{"type":"string"},"signinWrongTimes":{"type":"integer"},"signupApplication":{"type":"string"},"slack":{"type":"string"},"soundcloud":{"type":"string"},"spotify":{"type":"string"},"steam":{"type":"string"},"strava":{"type":"string"},"stripe":{"type":"string"},"tag":{"type":"string"},"tiktok":{"type":"string"},"title":{"type":"string"},"totpSecret":{"type":"string"},"tumblr":{"type":"string"},"twitch":{"type":"string"},"twitter":{"type":"string"},"type":{"type":"string"},"typetalk":{"type":"string"},"uber":{"type":"string"},"updatedTime":{"type":"string"},"vk":{"type":"string"},"web3onboard":{"type":"string"},"wechat":{"type":"string"},"wecom":{"type":"string"},"weibo":{"type":"string"},"wepay":{"type":"string"},"xero":{"type":"string"},"yahoo":{"type":"string"},"yammer":{"type":"string"},"yandex":{"type":"string"},"zoom":{"type":"string"}}},"erwrp.ErrWrapper":{"type":"object","properties":{"detail":{"type":"string"},"error_code":{"type":"integer"},"instance":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string"}},"description":"JSON Problem Details (See rfc7807)"},"iam.GetOAuthTokenRequest":{"required":["code","state"],"type":"object","properties":{"code":{"maxLength":200,"minLength":3,"type":"string"},"state":{"maxLength":200,"minLength":3,"type":"string"},"ga_client_id":{"type":"string","description":"Google Analytics client ID from browser _ga cookie. Optional.","maxLength":64},"ga_session_id":{"type":"string","description":"Google Analytics session ID from browser _ga_<container> cookie. Optional.","maxLength":32},"utm":{"type":"object","additionalProperties":{"type":"string"},"description":"UTM marketing marks (utm_source, utm_medium, etc.) captured from the landing. Optional.","maxProperties":20}}},"iam.GetOAuthTokenResponse":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/oauth2.Token"}}},"MeResponse":{"type":"object","required":["user","workspace"],"properties":{"user":{"$ref":"#/components/schemas/casdoorsdk.User"},"workspace":{"description":"The caller's team workspace context. Null when the user does not belong to any team — UI should treat this as the sole signal for hiding team-related screens.","oneOf":[{"$ref":"#/components/schemas/Workspace"},{"type":"null"}]}}},"Workspace":{"type":"object","required":["role","org_id","org_name"],"properties":{"role":{"type":"string","enum":["owner","member"],"description":"The caller's role within this workspace. Owners can manage members; members are read-only."},"org_id":{"type":"string","description":"Stable workspace identifier."},"org_name":{"type":"string","description":"Human-readable workspace name suitable for display."}}},"iam.RefreshTokenRequest":{"required":["token"],"type":"object","properties":{"token":{"type":"string","description":"Refresh JWT token"}}},"iam.RefreshTokenResponse":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/oauth2.Token"}}},"iam.SendSignupLinkRequest":{"required":["email"],"type":"object","properties":{"email":{"type":"string","format":"email"},"utm":{"type":"object","additionalProperties":{"type":"string"},"description":"Optional UTM attribution labels"}}},"iam.SendSignupLinkResponse":{"type":"object","properties":{"ok":{"type":"boolean"}}},"iam.CompleteSignupRequest":{"required":["token","password"],"type":"object","properties":{"token":{"type":"string"},"password":{"type":"string","minLength":8},"ga_client_id":{"type":"string","description":"Google Analytics client ID from browser _ga cookie. Optional.","maxLength":64},"ga_session_id":{"type":"string","description":"Google Analytics session ID from browser _ga_<container> cookie. Optional.","maxLength":32},"utm":{"type":"object","additionalProperties":{"type":"string"},"description":"UTM marketing marks (utm_source, utm_medium, etc.) captured from the landing. Optional.","maxProperties":20}}},"iam.CompleteSignupResponse":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/oauth2.Token"},"user_id":{"type":"string"}}},"iam.LoginRequest":{"required":["email","password"],"type":"object","properties":{"email":{"type":"string","format":"email"},"password":{"type":"string"},"ga_client_id":{"type":"string","description":"Google Analytics client ID from browser _ga cookie. Optional.","maxLength":64},"ga_session_id":{"type":"string","description":"Google Analytics session ID from browser _ga_<container> cookie. Optional.","maxLength":32},"utm":{"type":"object","additionalProperties":{"type":"string"},"description":"UTM marketing marks (utm_source, utm_medium, etc.) captured from the landing. Optional.","maxProperties":20}}},"iam.CompleteLoginTokenRequest":{"required":["token"],"type":"object","properties":{"token":{"type":"string"},"ga_client_id":{"type":"string","description":"Google Analytics client ID from browser _ga cookie. Optional.","maxLength":64},"ga_session_id":{"type":"string","description":"Google Analytics session ID from browser _ga_<container> cookie. Optional.","maxLength":32},"utm":{"type":"object","additionalProperties":{"type":"string"},"description":"UTM marketing marks (utm_source, utm_medium, etc.) captured from the landing. Optional.","maxProperties":20}}},"iam.CompleteLoginTokenResponse":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/oauth2.Token"},"user_id":{"type":"string"}}},"iam.LoginResponse":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/oauth2.Token"},"user_id":{"type":"string"}}},"iam.SendResetPasswordLinkRequest":{"required":["email"],"type":"object","properties":{"email":{"type":"string","format":"email"}}},"iam.SendResetPasswordLinkResponse":{"type":"object","properties":{"ok":{"type":"boolean"}}},"iam.CompleteResetPasswordRequest":{"required":["token","new_password"],"type":"object","properties":{"token":{"type":"string"},"new_password":{"type":"string","minLength":8}}},"iam.CompleteResetPasswordResponse":{"type":"object","properties":{"ok":{"type":"boolean"}}},"oauth2.Token":{"type":"object","properties":{"access_token":{"type":"string","description":"AccessToken is the token that authorizes and authenticates\nthe requests."},"expiry":{"type":"string","description":"Expiry is the optional expiration time of the access token.\n\nIf zero, TokenSource implementations will reuse the same\ntoken forever and RefreshToken or equivalent\nmechanisms for that TokenSource will not be used."},"refresh_token":{"type":"string","description":"RefreshToken is a token that's used by the application\n(as opposed to the user) to refresh the access token\nif it expires."},"token_type":{"type":"string","description":"TokenType is the type of token.\nThe Type method returns either this or \"Bearer\", the default."}}},"sdk.FailureResponse":{"type":"object","properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/erwrp.ErrWrapper"}},"ok":{"type":"boolean","example":false}}},"sdk.RequestPayload-iam_GetOAuthTokenRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.GetOAuthTokenRequest"}}},"sdk.RequestPayload-iam_RefreshTokenRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.RefreshTokenRequest"}}},"sdk.RequestPayload-iam_SendSignupLinkRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.SendSignupLinkRequest"}}},"sdk.RequestPayload-iam_CompleteSignupRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.CompleteSignupRequest"}}},"sdk.RequestPayload-iam_CompleteLoginTokenRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.CompleteLoginTokenRequest"}}},"sdk.RequestPayload-iam_LoginRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.LoginRequest"}}},"sdk.RequestPayload-iam_SendResetPasswordLinkRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.SendResetPasswordLinkRequest"}}},"sdk.RequestPayload-iam_CompleteResetPasswordRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.CompleteResetPasswordRequest"}}},"sdk.SuccessResponse-iam_GetOAuthTokenResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.GetOAuthTokenResponse"},"ok":{"type":"boolean"}}},"sdk.SuccessResponse-apikey_APIKeyListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"client_id":{"type":"string","example":"040d322ec8aee8f1fb6f3c5ba971569f"},"utc_created_at":{"type":"string","example":"2023-07-23T12:40:45.20868Z"},"title":{"type":"string","example":"Production"},"key_prefix":{"type":"string","description":"First characters of a single-format key, for display. Absent for legacy credential pairs.","example":"plbr_4dXk9tQ"},"last4":{"type":"string","description":"Last four characters of a single-format key. Absent for legacy credential pairs.","example":"12Cd"},"key_version":{"type":"integer","description":"Credential format: 1 = client_id/client_secret pair, 2 = single-format api_key.","example":2},"last_used_at":{"type":"string","description":"Time of the most recent successful authentication with this credential; absent if never used.","example":"2023-07-23T12:40:45.20868Z"}}}},"ok":{"type":"boolean"}}},"sdk.SuccessResponse-apikey_CreateAPICredentialsResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/apikey.CreateAPICredentialsResponse"},"ok":{"type":"boolean"}}},"apikey.CreateAPICredentialsResponse":{"type":"object","properties":{"client_id":{"type":"string","description":"Stable identifier of the credential; use it to list, rename, or delete the key.","example":"040d322ec8aee8f1fb6f3c5ba971569f"},"api_key":{"type":"string","description":"Single-format API key, sent as `Authorization: Bearer <api_key>`. Shown only once at creation and cannot be retrieved again. Mutually exclusive with client_secret.","example":"plbr_4dXk9tQzR2mVbN8cLwPy1gHs5jFa0eUoI7nD3qWxAb12Cd"},"client_secret":{"type":"string","description":"Secret of a legacy credential pair. Returned only when a pair is issued; mutually exclusive with api_key.","example":"877c6bd0f442405bff7fa9e69db4a265316152dacfbeaf7c7cf03332df491502"},"utc_created_at":{"type":"string","example":"2023-07-23T12:40:45.20868Z"},"title":{"type":"string","example":"Production"}}},"sdk.RequestPayload-apikey_CreateAPIKeyRequest":{"type":"object","properties":{"data":{"type":"object","properties":{"title":{"type":"string","maxLength":100,"example":"Production"}}}}},"sdk.RequestPayload-apikey_UpdateAPIKeyRequest":{"type":"object","properties":{"data":{"type":"object","required":["title"],"properties":{"title":{"type":"string","minLength":1,"maxLength":100,"example":"Production"}}}}},"sdk.SuccessResponse-apikey_APIKeyUpdateResponse":{"type":"object","properties":{"data":{"type":"object","properties":{"client_id":{"type":"string","example":"040d322ec8aee8f1fb6f3c5ba971569f"},"title":{"type":"string","example":"Production"}}},"ok":{"type":"boolean"}}},"sdk.SuccessResponse-apikey_APIKeyDeleteResponse":{"type":"object","properties":{"data":{"type":"object","properties":{"client_id":{"type":"string","example":"040d322ec8aee8f1fb6f3c5ba971569f"}}},"ok":{"type":"boolean"}}},"sdk.SuccessResponse-MeResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MeResponse"},"ok":{"type":"boolean"}}},"sdk.SuccessResponse-iam_RefreshTokenResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.RefreshTokenResponse"},"ok":{"type":"boolean"}}},"sdk.SuccessResponse-method_LogoutResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/method.LogoutResponse"},"ok":{"type":"boolean"}}},"method.LogoutResponse":{"type":"object","properties":{"revoked":{"type":"boolean","description":"True when a server-side session was revoked; false for tokens that have no server-side session."}}},"sdk.SuccessResponse-iam_SendSignupLinkResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.SendSignupLinkResponse"},"ok":{"type":"boolean"}}},"sdk.SuccessResponse-iam_CompleteSignupResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.CompleteSignupResponse"},"ok":{"type":"boolean"}}},"sdk.SuccessResponse-iam_CompleteLoginTokenResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.CompleteLoginTokenResponse"},"ok":{"type":"boolean"}}},"sdk.SuccessResponse-iam_LoginResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.LoginResponse"},"ok":{"type":"boolean"}}},"sdk.SuccessResponse-iam_SendResetPasswordLinkResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.SendResetPasswordLinkResponse"},"ok":{"type":"boolean"}}},"sdk.SuccessResponse-iam_CompleteResetPasswordResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.CompleteResetPasswordResponse"},"ok":{"type":"boolean"}}},"method.ChangePasswordBodyRequest":{"required":["old_password","new_password"],"type":"object","properties":{"old_password":{"type":"string"},"new_password":{"type":"string","minLength":8}}},"sdk.RequestPayload-method_ChangePasswordBodyRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/method.ChangePasswordBodyRequest"}}},"iam.ChangePasswordResponse":{"type":"object","properties":{"ok":{"type":"boolean"}}},"sdk.SuccessResponse-iam_ChangePasswordResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.ChangePasswordResponse"},"ok":{"type":"boolean"}}},"method.PylonSignResponse":{"type":"object","properties":{"email":{"type":"string"},"signature":{"type":"string"}}},"method.FormSubmitContact":{"required":["email"],"type":"object","properties":{"email":{"type":"string","format":"email","maxLength":254,"description":"Required. Work email of the contact."},"full_name":{"type":"string","maxLength":200,"description":"Optional. Full name of the contact."},"company":{"type":"string","maxLength":200,"description":"Optional. Company name."}}},"method.FormSubmitRequest":{"required":["contact"],"type":"object","properties":{"contact":{"$ref":"#/components/schemas/method.FormSubmitContact","description":"Required. Contact information (email is mandatory)."},"fields":{"type":"object","additionalProperties":{},"description":"Optional. Questionnaire answers from the form (e.g. organization_type, usage_intent, monthly_hours, timeline, score). Stored as-is, forwarded to CRM and analytics.","maxProperties":50},"source":{"type":"object","additionalProperties":{},"description":"Optional. Traffic attribution metadata (e.g. page_url, utm_source, utm_medium, utm_campaign). Stored for analytics.","maxProperties":20},"utm":{"type":"object","additionalProperties":{"type":"string"},"description":"UTM marketing marks (utm_source, utm_medium, etc.) captured from the landing. Forwarded to the Pipedrive deal channel_id. Optional.","maxProperties":20},"captcha_token":{"type":"string","description":"Optional. Cloudflare Turnstile CAPTCHA token. Required when CAPTCHA is enabled on the server."}}},"sdk.RequestPayload-method_FormSubmitRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/method.FormSubmitRequest"}}},"sdk.SuccessResponse-method_PylonSignResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/method.PylonSignResponse"},"ok":{"type":"boolean"}}},"iam.UpdateUserProfileRequest":{"required":["display_name"],"type":"object","properties":{"display_name":{"type":"string","minLength":1,"maxLength":100}}},"iam.UpdateUserProfileResponse":{"type":"object","properties":{"user_id":{"type":"string"},"display_name":{"type":"string"}}},"sdk.RequestPayload-iam_UpdateUserProfileRequest":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.UpdateUserProfileRequest"}}},"iam.GetSocialLoginURLResponse":{"type":"object","properties":{"url":{"type":"string","description":"OAuth URL to redirect the user for authentication"}}},"sdk.SuccessResponse-iam_GetSocialLoginURLResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.GetSocialLoginURLResponse"},"ok":{"type":"boolean"}}},"sdk.SuccessResponse-iam_UpdateUserProfileResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/iam.UpdateUserProfileResponse"},"ok":{"type":"boolean"}}},"AgeGroup":{"type":"string","enum":["Young","Middle Age","Senior"],"title":"AgeGroup"},"AllowedMIMEType":{"type":"string","enum":["audio/x-wav","audio/wav","audio/mp3","audio/x-m4a","audio/mpeg","audio/flac","video/webm","video/mp4","video/mpeg","image/png","image/jpeg","image/webp"],"title":"AllowedMIMEType","description":"Allowed MIME types"},"ApproveEventRequestResponseData":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id","description":"Request ID"},"type":{"type":"string","title":"Type","description":"Request type."},"status":{"type":"string","title":"Status","description":"Resulting status (approved)."}},"type":"object","required":["request_id","type","status"],"title":"ApproveEventRequestResponseData"},"AudioMetadata":{"properties":{"format":{"type":"string","title":"Format","description":"Audio format"},"codec":{"type":"string","title":"Codec","description":"Audio codec"},"duration":{"type":"number","title":"Duration","description":"Audio duration in seconds"},"mime_type":{"$ref":"#/components/schemas/MIMEType","description":"Audio MIME type"}},"type":"object","required":["format","codec","duration","mime_type"],"title":"AudioMetadata"},"BlobMetadata":{"properties":{"filename":{"type":"string","maxLength":255,"minLength":3,"pattern":"^[\\w\\-. '\\\"`()]+$","title":"Filename","description":"File name. Ex: 'awesome_file.mp4'"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"File MIME type."},"display_name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Display Name","description":"File display name."},"description":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Description","description":"File description."},"item_id":{"anyOf":[{"type":"string","maxLength":36,"minLength":1},{"type":"null"}],"title":"Item Id","description":"Identifier of the item. It represents the file ID in the request when uploading multiple files. Use it to identify the upload URL in the response related to the target file."}},"type":"object","required":["filename","mime_type"],"title":"BlobMetadata","description":"Blob metadata"},"Body_upload_glossary_by_id_saas_glossary__glossary_id__upload_post":{"properties":{"glossary":{"type":"string","format":"binary","title":"Glossary"}},"type":"object","required":["glossary"],"title":"Body_upload_glossary_by_id_saas_glossary__glossary_id__upload_post"},"BuiltInVoice-Input":{"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"Voice ID"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"UTC updated at"},"voice_type":{"$ref":"#/components/schemas/VoiceType","description":"Voice type"},"model":{"type":"string","title":"Model","description":"Model","default":""},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}],"description":"Labels"},"name":{"type":"string","title":"Name","description":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"has_external_voice":{"type":"boolean","title":"Has External Voice","description":"Whether an external voice provider voice exists","default":false},"attributes":{"items":{"type":"string"},"type":"array","title":"Attributes","description":"Custom voice attributes/tags"},"tts_sample":{"anyOf":[{"$ref":"#/components/schemas/BuiltInVoiceTTSSample-Input"},{"type":"null"}],"description":"TTS sample"},"tts_samples":{"items":{"$ref":"#/components/schemas/BuiltInVoiceTTSSample-Input"},"type":"array","title":"Tts Samples","description":"Latest TTS sample per provider"},"is_favorite":{"type":"boolean","title":"Is Favorite","description":"Is favorite for the current user","default":false}},"type":"object","required":["voice_id","utc_created_at","utc_updated_at","voice_type","name"],"title":"BuiltInVoice"},"BuiltInVoice-Output":{"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"Voice ID"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"UTC updated at"},"voice_type":{"$ref":"#/components/schemas/VoiceType","description":"Voice type"},"model":{"type":"string","title":"Model","description":"Model","default":""},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}],"description":"Labels"},"name":{"type":"string","title":"Name","description":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"has_external_voice":{"type":"boolean","title":"Has External Voice","description":"Whether an external voice provider voice exists","default":false},"attributes":{"items":{"type":"string"},"type":"array","title":"Attributes","description":"Custom voice attributes/tags"},"tts_sample":{"anyOf":[{"$ref":"#/components/schemas/BuiltInVoiceTTSSample-Output"},{"type":"null"}],"description":"TTS sample"},"tts_samples":{"items":{"$ref":"#/components/schemas/BuiltInVoiceTTSSample-Output"},"type":"array","title":"Tts Samples","description":"Latest TTS sample per provider"},"is_favorite":{"type":"boolean","title":"Is Favorite","description":"Is favorite for the current user","default":false}},"type":"object","required":["voice_id","utc_created_at","utc_updated_at","voice_type","name"],"title":"BuiltInVoice"},"BuiltInVoiceTTSSample-Input":{"properties":{"user_id":{"type":"string","title":"User Id","description":"User ID"},"blob_id":{"type":"string","format":"uuid","title":"Blob Id","description":"TTS sample blob ID"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"TTS sample URL"},"audio_metadata":{"$ref":"#/components/schemas/AudioMetadata","description":"Audio metadata"},"text":{"$ref":"#/components/schemas/SingleLangTextSample","description":"Text"},"model":{"type":"string","title":"Model","description":"Model"},"provider":{"$ref":"#/components/schemas/VoiceProvider","description":"Vendor that generated this sample: `palabra` | `elevenlabs`"},"filename":{"type":"string","title":"Filename","description":"Filename"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"MIME type"},"display_name":{"type":"string","title":"Display Name","description":"Display name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"}},"type":"object","required":["user_id","blob_id","url","audio_metadata","text","model","provider","filename","mime_type","display_name","utc_created_at"],"title":"BuiltInVoiceTTSSample"},"BuiltInVoiceTTSSample-Output":{"properties":{"user_id":{"type":"string","title":"User Id","description":"User ID"},"blob_id":{"type":"string","format":"uuid","title":"Blob Id","description":"TTS sample blob ID"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"TTS sample URL"},"audio_metadata":{"$ref":"#/components/schemas/AudioMetadata","description":"Audio metadata"},"text":{"$ref":"#/components/schemas/SingleLangTextSample","description":"Text"},"model":{"type":"string","title":"Model","description":"Model"},"provider":{"$ref":"#/components/schemas/VoiceProvider","description":"Vendor that generated this sample: `palabra` | `elevenlabs`"},"filename":{"type":"string","title":"Filename","description":"Filename"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"MIME type"},"display_name":{"type":"string","title":"Display Name","description":"Display name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"}},"type":"object","required":["user_id","blob_id","url","audio_metadata","text","model","provider","filename","mime_type","display_name","utc_created_at"],"title":"BuiltInVoiceTTSSample"},"ChannelInBundleDTO":{"properties":{"channel_id":{"type":"string","format":"uuid","title":"Channel Id","description":"Channel ID"},"stage_id":{"type":"string","format":"uuid","title":"Stage Id","description":"Parent stage ID"},"broadcast_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Broadcast Id","description":"Underlying broadcast ID for direct streaming access"},"name":{"type":"string","title":"Name","description":"Channel name"},"input_type":{"$ref":"#/components/schemas/ChannelInputType","description":"Channel input streaming protocol"},"runtime_status":{"anyOf":[{"$ref":"#/components/schemas/ChannelRuntimeStatus"},{"type":"null"}],"description":"Channel runtime status"},"source_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Language","description":"Channel input language"},"target_languages":{"items":{"type":"string"},"type":"array","title":"Target Languages","description":"Channel target translation languages"}},"type":"object","required":["channel_id","stage_id","name","input_type"],"title":"ChannelInBundleDTO"},"ChannelInputType":{"type":"string","enum":["webrtc_push","rtmp_push","srt_push","hls_pull"],"title":"ChannelInputType"},"ChannelRefDTO":{"properties":{"channel_id":{"type":"string","format":"uuid","title":"Channel Id","description":"Channel ID"},"broadcast_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Broadcast Id","description":"Underlying broadcast ID for direct streaming access"},"runtime_status":{"anyOf":[{"$ref":"#/components/schemas/ChannelRuntimeStatus"},{"type":"null"}],"description":"Live runtime state of the channel's stream. null = stream not started or status not yet known (not an error). Eventually-consistent: can lag a few seconds behind the actual stream; 'errored' can be transient while a stream (re)starts, so debounce before surfacing an alert."}},"type":"object","required":["channel_id"],"title":"ChannelRefDTO","description":"Lean channel reference for stage/event listings — id, broadcast link, live status."},"ChannelRuntimeStatus":{"type":"string","enum":["pending","running","errored"],"title":"ChannelRuntimeStatus"},"ChannelType":{"type":"string","enum":["event","standalone"],"title":"ChannelType"},"CreateChannelResponseData":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"Broadcast ID"},"user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User","description":"Owner user ID"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Broadcast title"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region","description":"Deployment/ingest region"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","description":"Runtime status (pending/active/failed/stopped)"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error description, if any"},"input_bitrate":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Input Bitrate","description":"Measured input bitrate"},"ignore_video":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ignore Video"},"original_delay_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Original Delay Seconds"},"original_ducked_volume":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Original Ducked Volume"},"input":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Input","description":"Resolved input endpoint/credentials"},"outputs":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Outputs","description":"Configured egress outputs"},"translation_pipeline":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Translation Pipeline","description":"Translation pipeline settings"},"channel_id":{"type":"string","format":"uuid","title":"Channel Id","description":"Channel ID (public_api addressing key)"},"type":{"$ref":"#/components/schemas/ChannelType","description":"Channel type"},"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id","description":"Parent event ID"},"stage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Stage Id","description":"Parent stage ID"},"broadcast_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Broadcast Id","description":"Underlying broadcast ID; null when broadcaster create failed"},"input_type":{"$ref":"#/components/schemas/ChannelInputType","description":"Channel input streaming protocol"},"room_name_suffix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Name Suffix","description":"LiveKit room name suffix"},"runtime_status":{"anyOf":[{"$ref":"#/components/schemas/ChannelRuntimeStatus"},{"type":"null"}],"description":"Cached channel runtime status"},"audio_settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Audio Settings","description":"Channel audio settings"},"cache_synced_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cache Synced At","description":"Last broadcaster sync time in UTC"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Channel creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Channel last update time in UTC"}},"additionalProperties":true,"type":"object","required":["channel_id","type","input_type","utc_created_at","utc_updated_at"],"title":"CreateChannelResponseData","description":"Broadcaster ``Broadcast`` passthrough + public_api channel keys.\n\nBroadcaster fields (``id``, ``title``, ``status``, ``input``, ``outputs``,\n``translation_pipeline``, …) are inherited from ``BroadcastDTO`` and served\nlive from broadcaster; they are ``null`` when broadcaster is unreachable.\nThe channel-core fields below are always served from the PG row so the UI\n(name=``title``, status) renders even on a broadcaster outage; languages are\nread from ``translation_pipeline`` (backfilled from cache on an outage)."},"CreateDubbingRequest":{"properties":{"name":{"type":"string","maxLength":64,"minLength":3,"pattern":"^[\\w\\-. ]+$","title":"Name","description":"Dubbing name"},"sample":{"$ref":"#/components/schemas/DubbingSample","description":"Dubbing sample to upload"}},"type":"object","required":["name","sample"],"title":"CreateDubbingRequest"},"CreateDubbingResponseData":{"properties":{"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At"},"dubbing_id":{"type":"string","format":"uuid4","title":"Dubbing Id"},"user_id":{"type":"string","title":"User Id"},"name":{"type":"string","title":"Name"},"source_language":{"$ref":"#/components/schemas/DubbingLangCode"},"target_language":{"$ref":"#/components/schemas/LangCodeExperimental"},"processing_status":{"$ref":"#/components/schemas/DubbingProcessingStatus"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"number_of_speakers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Number Of Speakers"},"sample":{"$ref":"#/components/schemas/UploadBlobResponseData","description":"Pre-signed link to upload dubbing sample"}},"type":"object","required":["utc_created_at","dubbing_id","user_id","name","source_language","target_language","processing_status","sample"],"title":"CreateDubbingResponseData"},"CreateEventChannelRequest":{"properties":{"input_type":{"$ref":"#/components/schemas/ChannelInputType","description":"Channel input streaming protocol"},"type":{"type":"string","const":"event","title":"Type","description":"Channel type"},"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Parent event ID"},"stage_id":{"type":"string","format":"uuid","title":"Stage Id","description":"Parent stage ID"}},"additionalProperties":true,"type":"object","required":["input_type","type","event_id","stage_id"],"title":"CreateEventChannelRequest"},"CreateEventRequest":{"properties":{"title":{"type":"string","maxLength":100,"minLength":3,"title":"Title","description":"Event title","examples":["Weekly Team Meeting"]},"event_type":{"$ref":"#/components/schemas/EventType","description":"Type of the event: 'in-person' or 'online'"},"event_status":{"$ref":"#/components/schemas/EventStatus","description":"Status of the event: 'upcoming', 'ready', 'live', or 'completed'"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event start date and time in UTC"},"duration":{"type":"string","format":"duration","title":"Duration","description":"Event duration"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description","description":"Optional event description"},"access_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Access Code","description":"Optional access code"}},"type":"object","required":["title","event_type","event_status","utc_start_dt","duration"],"title":"CreateEventRequest"},"CreateEventResponseData":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Event ID"},"title":{"type":"string","title":"Title","description":"Event title"},"event_type":{"$ref":"#/components/schemas/EventType","description":"Event type"},"event_status":{"$ref":"#/components/schemas/EventStatus","description":"Event status"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Event QR code URL"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event start date and time in UTC"},"duration":{"type":"string","format":"duration","title":"Duration","description":"Event duration"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Event description"},"access_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Code","description":"Event access code"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Event creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Event last update time in UTC"}},"type":"object","required":["event_id","title","event_type","event_status","qr_code_url","utc_start_dt","duration","utc_created_at","utc_updated_at"],"title":"CreateEventResponseData"},"CreateEventSessionRequest":{"properties":{"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id","description":"Parent event ID"},"stage_id":{"type":"string","format":"uuid","title":"Stage Id","description":"Parent stage ID"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title","description":"Session title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"Session description"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Session start date and time in UTC"},"utc_end_dt":{"type":"string","format":"date-time","title":"Utc End Dt","description":"Session end date and time in UTC"},"speakers":{"items":{"$ref":"#/components/schemas/SpeakerDTO"},"type":"array","title":"Speakers","description":"Session speakers"}},"type":"object","required":["stage_id","title","utc_start_dt","utc_end_dt"],"title":"CreateEventSessionRequest"},"CreateEventV2Request":{"properties":{"title":{"type":"string","maxLength":100,"minLength":3,"title":"Title","description":"Event title"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description","description":"Event description"},"event_type":{"$ref":"#/components/schemas/EventType","description":"Event type"},"location":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Location","description":"Event location"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone","description":"Event IANA timezone"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event start date and time in UTC"},"utc_end_dt":{"type":"string","format":"date-time","title":"Utc End Dt","description":"Event end date and time in UTC"},"is_recurring":{"type":"boolean","title":"Is Recurring","description":"Indicates if the event is recurring","default":false},"cover_image_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Image Key","description":"Event cover image S3 key"},"access_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Access Code","description":"Optional access code gating public bundle visibility"},"target_languages":{"items":{"type":"string"},"type":"array","title":"Target Languages","description":"Default translation languages for the event; pre-fills new channels"},"listener_language_mode":{"$ref":"#/components/schemas/ListenerLanguageMode","description":"How anonymous listeners may request extra languages: off | approval | auto.","default":"approval"}},"additionalProperties":true,"type":"object","required":["title","event_type","utc_start_dt","utc_end_dt"],"title":"CreateEventV2Request"},"CreateGlossaryRequest":{"properties":{"name":{"type":"string","maxLength":64,"minLength":3,"pattern":"^[\\w\\-. ]+$","title":"Name","description":"Name of the glossary","examples":["My Glossary"]},"is_enabled":{"type":"boolean","title":"Is Enabled","description":"Status of the glossary"},"glossary_type":{"$ref":"#/components/schemas/GlossaryType","description":"Type of the glossary. Either 'translation', 'asr' or 'asr_hot'"},"source_lang":{"$ref":"#/components/schemas/SourceLang","description":"Source language code of the glossary"},"target_lang":{"type":"string","title":"Target Lang","description":"Target language code of the glossary"}},"type":"object","required":["name","is_enabled","glossary_type","source_lang","target_lang"],"title":"CreateGlossaryRequest"},"CreateGlossaryResponseData":{"properties":{"glossary_id":{"type":"string","format":"uuid4","title":"Glossary Id","description":"Glossary ID"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"name":{"type":"string","title":"Name","description":"Glossary name"},"is_enabled":{"type":"boolean","title":"Is Enabled","description":"Glossary status"},"glossary_type":{"$ref":"#/components/schemas/GlossaryType","description":"Glossary type"},"source_lang":{"$ref":"#/components/schemas/SourceLang","description":"Source language of glossary"},"target_lang":{"type":"string","title":"Target Lang","description":"Target language of glossary"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Glossary created time in UTC"}},"type":"object","required":["glossary_id","user_id","name","is_enabled","glossary_type","source_lang","target_lang","utc_created_at"],"title":"CreateGlossaryResponseData"},"CreateMeetRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meet name","description":"Name of the meet room. If not provided, a random name will be generated.","examples":["Mundolingo weekly meeting","Meet with John Doe"]},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password","description":"Password for the meet room. If not provided, the room will be public.","examples":["password123"]}},"type":"object","title":"CreateMeetRequest"},"CreateMeetResponseData-Input":{"properties":{"join_link":{"type":"string","title":"Join link","description":"Link to join the meet room.","examples":["https://app.palabra.ai/join/vytxeTZskVKR7C7WgdSP3d"]},"name":{"type":"string","title":"Meet name","description":"Name of the meet room.","examples":["Mundolingo weekly meeting"]},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password","description":"Password for the meet room. If not provided, the room will be public.","examples":["password123"]},"owner_metadata":{"anyOf":[{"$ref":"#/components/schemas/MeetLkMetadata"},{"type":"null"}],"title":"Owner metadata","description":"Metadata of the meet room owner.","examples":[{"meet":{"jwt":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...","server":"wss://meet.palabra.ai","session":{"...":"...","room_id":"xyz123","room_name":"Mundolingo weekly meeting"}},"translation":{"jwt":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...","server":"wss://translation.palabra.ai","session":{"...":"...","room_id":"xyz123","room_name":"Mundolingo weekly meeting"}}}]}},"type":"object","required":["join_link","name","password","owner_metadata"],"title":"CreateMeetResponseData"},"CreateMeetResponseData-Output":{"properties":{"join_link":{"type":"string","title":"Join link","description":"Link to join the meet room.","examples":["https://app.palabra.ai/join/vytxeTZskVKR7C7WgdSP3d"]},"name":{"type":"string","title":"Meet name","description":"Name of the meet room.","examples":["Mundolingo weekly meeting"]},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password","description":"Password for the meet room. If not provided, the room will be public.","examples":["password123"]},"owner_metadata":{"anyOf":[{"$ref":"#/components/schemas/MeetLkMetadata"},{"type":"null"}],"title":"Owner metadata","description":"Metadata of the meet room owner.","examples":[{"meet":{"jwt":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...","server":"wss://meet.palabra.ai","session":{"...":"...","room_id":"xyz123","room_name":"Mundolingo weekly meeting"}},"translation":{"jwt":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...","server":"wss://translation.palabra.ai","session":{"...":"...","room_id":"xyz123","room_name":"Mundolingo weekly meeting"}}}]}},"type":"object","required":["join_link","name","password","owner_metadata"],"title":"CreateMeetResponseData"},"CreateStageRequest":{"properties":{"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id","description":"Parent event ID"},"name":{"type":"string","maxLength":64,"minLength":1,"title":"Name","description":"Stage name","examples":["Main Hall"]},"greenscreen_settings":{"anyOf":[{"$ref":"#/components/schemas/GreenscreenSettings"},{"type":"null"}],"description":"Stage caption rendering settings"}},"type":"object","required":["name"],"title":"CreateStageRequest"},"CreateStandaloneChannelRequest":{"properties":{"input_type":{"$ref":"#/components/schemas/ChannelInputType","description":"Channel input streaming protocol"},"type":{"type":"string","const":"standalone","title":"Type","description":"Channel type"}},"additionalProperties":true,"type":"object","required":["input_type","type"],"title":"CreateStandaloneChannelRequest"},"DelAllUserVoicesResponseData":{"properties":{"affected":{"type":"integer","title":"Affected"}},"type":"object","required":["affected"],"title":"DelAllUserVoicesResponseData"},"DelDubbingByIDResponseData":{"properties":{"dubbing_id":{"type":"string","format":"uuid4","title":"Dubbing Id","description":"Dubbing ID"}},"type":"object","required":["dubbing_id"],"title":"DelDubbingByIDResponseData"},"DelGlossaryByIDResponseData":{"properties":{"glossary_id":{"type":"string","format":"uuid4","title":"Glossary Id","description":"Glossary ID"}},"type":"object","required":["glossary_id"],"title":"DelGlossaryByIDResponseData"},"DelVoiceByIDResponseData":{"properties":{"deleted_voice_id":{"type":"string","format":"uuid","title":"Deleted Voice Id","description":"Voice ID that was deleted"}},"type":"object","required":["deleted_voice_id"],"title":"DelVoiceByIDResponseData"},"DeleteEventResponseData":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Deleted event ID"}},"type":"object","required":["event_id"],"title":"DeleteEventResponseData"},"DeleteUserDataResponseData":{"properties":{"success":{"type":"boolean","title":"Success"},"user_id":{"type":"string","title":"User Id"},"deleted_subscriptions_count":{"type":"integer","title":"Deleted Subscriptions Count"},"canceled_stripe_subscriptions_count":{"type":"integer","title":"Canceled Stripe Subscriptions Count"},"had_stripe_customer":{"type":"boolean","title":"Had Stripe Customer"},"had_payment_methods":{"type":"boolean","title":"Had Payment Methods"}},"type":"object","required":["success","user_id","deleted_subscriptions_count","canceled_stripe_subscriptions_count","had_stripe_customer","had_payment_methods"],"title":"DeleteUserDataResponseData"},"DeleteValueResponseData":{"properties":{"entity":{"$ref":"#/components/schemas/KVEntity"},"key":{"type":"string","title":"Key"},"deleted":{"type":"boolean","title":"Deleted"}},"type":"object","required":["entity","key","deleted"],"title":"DeleteValueResponseData","description":"Response data for delete operation"},"DubbingLangCode":{"type":"string","enum":["az","en","en-gb","en-us","uk","it","es","es-mx","de","pt","pt-br","tr","ar","ru","fr","zh","ja","ko","sv","pl","id","nl","fi","hu","el","cs","sk","da","bg","ro","he","hi","auto"],"title":"DubbingLangCode"},"DubbingProcessingResult":{"properties":{"warnings":{"items":{"$ref":"#/components/schemas/ProblemDetails"},"type":"array","title":"Warnings","default":[]},"errors":{"items":{"$ref":"#/components/schemas/ProblemDetails"},"type":"array","title":"Errors","default":[]}},"type":"object","title":"DubbingProcessingResult"},"DubbingProcessingStatus":{"type":"string","enum":["created","file_processing","file_processed","dubbing_processing","completed","failed"],"title":"DubbingProcessingStatus"},"DubbingSample":{"properties":{"filename":{"type":"string","maxLength":255,"minLength":3,"pattern":"^[\\w\\-. '\\\"`()]+$","title":"Filename","description":"File name. Ex: 'awesome_file.mp4'"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"File MIME type."},"display_name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Display Name","description":"File display name."},"description":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Description","description":"Description of the file."},"item_id":{"anyOf":[{"type":"string","maxLength":36,"minLength":1},{"type":"null"}],"title":"Item Id","description":"Identifier of the item. It represents the file ID in the request when uploading multiple files. Use it to identify the upload URL in the response related to the target file."},"source_language":{"$ref":"#/components/schemas/DubbingLangCode"},"target_language":{"$ref":"#/components/schemas/LangCodeExperimental"},"number_of_speakers":{"anyOf":[{"type":"integer","maximum":8.0,"minimum":1.0},{"type":"null"}],"title":"Number Of Speakers"}},"type":"object","required":["filename","mime_type","source_language","target_language"],"title":"DubbingSample"},"EditableSegment":{"properties":{"original_segment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Original Segment Id"},"ts_start":{"type":"number","title":"Ts Start"},"ts_end":{"type":"number","title":"Ts End"},"voice_id":{"type":"string","title":"Voice Id"},"text":{"type":"string","maxLength":512,"title":"Text"}},"type":"object","required":["ts_start","ts_end","voice_id","text"],"title":"EditableSegment"},"EditableSegments":{"additionalProperties":{"$ref":"#/components/schemas/EditableSegment"},"propertyNames":{"format":"uuid4"},"type":"object","maxProperties":20,"minProperties":1,"title":"EditableSegments"},"ErrorResponsePayload":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":false},"errors":{"items":{"$ref":"#/components/schemas/ProblemDetails"},"type":"array","minItems":1,"title":"Errors","description":"List of errors"}},"type":"object","required":["errors"],"title":"ErrorResponsePayload","description":"Error JSON Object"},"EventLifecycleStatusV2":{"type":"string","enum":["setup_required","upcoming","ready","live","finished"],"title":"EventLifecycleStatusV2"},"EventRequestDTO":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id","description":"Request ID"},"type":{"type":"string","title":"Type","description":"Request type."},"status":{"type":"string","title":"Status","description":"pending | approved | rejected"},"channel_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Channel Id","description":"Target channel, if channel-scoped."},"payload":{"additionalProperties":true,"type":"object","title":"Payload","description":"Type-specific data."},"request_count":{"type":"integer","title":"Request Count","description":"How many listeners asked for it."},"first_requested_at":{"type":"string","format":"date-time","title":"First Requested At","description":"When it was first requested (UTC)."}},"type":"object","required":["request_id","type","status","request_count","first_requested_at"],"title":"EventRequestDTO"},"EventRequestType":{"type":"string","enum":["add_language"],"title":"EventRequestType"},"EventSessionDTO":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id","description":"Session ID"},"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Parent event ID"},"stage_id":{"type":"string","format":"uuid","title":"Stage Id","description":"Parent stage ID"},"title":{"type":"string","title":"Title","description":"Session title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Session description"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Session start date and time in UTC"},"utc_end_dt":{"type":"string","format":"date-time","title":"Utc End Dt","description":"Session end date and time in UTC"},"speakers":{"items":{"$ref":"#/components/schemas/SpeakerDTO"},"type":"array","title":"Speakers","description":"Session speakers"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Session creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Session last update time in UTC"}},"type":"object","required":["session_id","event_id","stage_id","title","utc_start_dt","utc_end_dt","utc_created_at","utc_updated_at"],"title":"EventSessionDTO"},"EventSessionInBundleDTO":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id","description":"Session ID"},"stage_id":{"type":"string","format":"uuid","title":"Stage Id","description":"Parent stage ID"},"title":{"type":"string","title":"Title","description":"Session title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Session description"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Session start date and time in UTC"},"utc_end_dt":{"type":"string","format":"date-time","title":"Utc End Dt","description":"Session end date and time in UTC"},"speakers":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Speakers","description":"Session speakers"}},"type":"object","required":["session_id","stage_id","title","utc_start_dt","utc_end_dt"],"title":"EventSessionInBundleDTO"},"EventStatsData":{"properties":{"stages_count":{"type":"integer","minimum":0.0,"title":"Stages Count","description":"Number of stages in the event"},"channels_count":{"type":"integer","minimum":0.0,"title":"Channels Count","description":"Total number of channels"},"channels_live_count":{"type":"integer","minimum":0.0,"title":"Channels Live Count","description":"Number of channels currently broadcasting"},"input_languages":{"items":{"type":"string"},"type":"array","title":"Input Languages","description":"Event input languages"},"output_languages":{"items":{"type":"string"},"type":"array","title":"Output Languages","description":"Event output languages"},"translations_count":{"type":"integer","minimum":0.0,"title":"Translations Count","description":"Number of distinct target languages"},"event_time_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Event Time Minutes","description":"Sum of streaming minutes across all channel runs. UI 'EVENT TIME' card."},"participants_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Participants Count","description":"Unique listener count (FE dedups tabs per device)."},"consumed_languages_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Consumed Languages Count","description":"Number of languages with at least one active listener. UI 'LANGUAGES' card."},"credits_used":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credits Used","description":"Aggregated from billing usage over the event's streaming window."},"language_distribution":{"items":{"$ref":"#/components/schemas/LanguageStat"},"type":"array","title":"Language Distribution","description":"Bar chart payload. Overlap-allowed: a listener that switched languages appears in each bar where they were active."},"stats_freshness":{"type":"string","format":"date-time","title":"Stats Freshness","description":"Snapshot updated_at — or now() if no snapshot exists yet"},"is_finalized":{"type":"boolean","title":"Is Finalized","description":"True once the event has finished and the final snapshot was written","default":false}},"type":"object","required":["stages_count","channels_count","channels_live_count","translations_count","stats_freshness"],"title":"EventStatsData"},"EventStatus":{"type":"string","enum":["upcoming","ready","live","paused","completed"],"title":"EventStatus"},"EventType":{"type":"string","enum":["in-person","online"],"title":"EventType"},"EventV2DTO":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Event ID"},"title":{"type":"string","title":"Title","description":"Event title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Event description"},"event_type":{"$ref":"#/components/schemas/EventType","description":"Event type"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","description":"Event location"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone","description":"Event IANA timezone"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event start date and time in UTC"},"utc_end_dt":{"type":"string","format":"date-time","title":"Utc End Dt","description":"Event end date and time in UTC"},"is_recurring":{"type":"boolean","title":"Is Recurring","description":"Indicates if the event is recurring","default":false},"cover_image_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Image Key","description":"Event cover image S3 key"},"cover_image_url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Cover Image Url","description":"Event cover image URL"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Event QR code URL"},"lifecycle_status":{"$ref":"#/components/schemas/EventLifecycleStatusV2","description":"Event lifecycle status"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"Event completion time in UTC"},"access_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Code","description":"Event access code"},"input_languages":{"items":{"type":"string"},"type":"array","title":"Input Languages","description":"Event input languages (aggregated from channels)"},"output_languages":{"items":{"type":"string"},"type":"array","title":"Output Languages","description":"Event output languages (aggregated from channels)"},"target_languages":{"items":{"type":"string"},"type":"array","title":"Target Languages","description":"Organizer-configured default translation languages; pre-fills the language list when creating channels"},"listener_language_mode":{"$ref":"#/components/schemas/ListenerLanguageMode","description":"How anonymous listeners may request extra languages: off | approval | auto.","default":"approval"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Event creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Event last update time in UTC"}},"type":"object","required":["event_id","title","event_type","utc_start_dt","utc_end_dt","qr_code_url","lifecycle_status","utc_created_at","utc_updated_at"],"title":"EventV2DTO"},"FavoriteVoiceResponseData":{"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"Voice ID"},"is_favorite":{"type":"boolean","title":"Is Favorite","description":"Whether voice is favorite for the current user"}},"type":"object","required":["voice_id","is_favorite"],"title":"FavoriteVoiceResponseData"},"Gender":{"type":"string","enum":["Female","Male","Neutral"],"title":"Gender"},"GenericRequestPayload_Annotated_Union_CreateEventChannelRequest__CreateStandaloneChannelRequest___FieldInfo_annotation_NoneType__required_True__discriminator__type____":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/CreateEventChannelRequest"},{"$ref":"#/components/schemas/CreateStandaloneChannelRequest"}],"title":"Data","discriminator":{"propertyName":"type","mapping":{"event":"#/components/schemas/CreateEventChannelRequest","standalone":"#/components/schemas/CreateStandaloneChannelRequest"}}}},"type":"object","required":["data"],"title":"GenericRequestPayload[Annotated[Union[CreateEventChannelRequest, CreateStandaloneChannelRequest], FieldInfo(annotation=NoneType, required=True, discriminator='type')]]"},"GenericRequestPayload_CreateDubbingRequest_":{"properties":{"data":{"$ref":"#/components/schemas/CreateDubbingRequest"}},"type":"object","required":["data"],"title":"GenericRequestPayload[CreateDubbingRequest]"},"GenericRequestPayload_CreateEventRequest_":{"properties":{"data":{"$ref":"#/components/schemas/CreateEventRequest"}},"type":"object","required":["data"],"title":"GenericRequestPayload[CreateEventRequest]"},"GenericRequestPayload_CreateEventSessionRequest_":{"properties":{"data":{"$ref":"#/components/schemas/CreateEventSessionRequest"}},"type":"object","required":["data"],"title":"GenericRequestPayload[CreateEventSessionRequest]"},"GenericRequestPayload_CreateEventV2Request_":{"properties":{"data":{"$ref":"#/components/schemas/CreateEventV2Request"}},"type":"object","required":["data"],"title":"GenericRequestPayload[CreateEventV2Request]"},"GenericRequestPayload_CreateGlossaryRequest_":{"properties":{"data":{"$ref":"#/components/schemas/CreateGlossaryRequest"}},"type":"object","required":["data"],"title":"GenericRequestPayload[CreateGlossaryRequest]"},"GenericRequestPayload_CreateMeetRequest_":{"properties":{"data":{"$ref":"#/components/schemas/CreateMeetRequest"}},"type":"object","required":["data"],"title":"GenericRequestPayload[CreateMeetRequest]"},"GenericRequestPayload_CreateStageRequest_":{"properties":{"data":{"$ref":"#/components/schemas/CreateStageRequest"}},"type":"object","required":["data"],"title":"GenericRequestPayload[CreateStageRequest]"},"GenericRequestPayload_JoinMeetRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/JoinMeetRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[JoinMeetRequestPayload]"},"GenericRequestPayload_RegenerateTTSSampleRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/RegenerateTTSSampleRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[RegenerateTTSSampleRequestPayload]"},"GenericRequestPayload_RejectEventRequestRequest_":{"properties":{"data":{"$ref":"#/components/schemas/RejectEventRequestRequest"}},"type":"object","required":["data"],"title":"GenericRequestPayload[RejectEventRequestRequest]"},"GenericRequestPayload_StoreValuePayload_":{"properties":{"data":{"$ref":"#/components/schemas/StoreValuePayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[StoreValuePayload]"},"GenericRequestPayload_SynthesizeSpeechRequest_":{"properties":{"data":{"$ref":"#/components/schemas/SynthesizeSpeechRequest"}},"type":"object","required":["data"],"title":"GenericRequestPayload[SynthesizeSpeechRequest]"},"GenericRequestPayload_UpdateChannelRequest_":{"properties":{"data":{"$ref":"#/components/schemas/UpdateChannelRequest"}},"type":"object","required":["data"],"title":"GenericRequestPayload[UpdateChannelRequest]"},"GenericRequestPayload_UpdateEventRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/UpdateEventRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[UpdateEventRequestPayload]"},"GenericRequestPayload_UpdateEventSessionRequest_":{"properties":{"data":{"$ref":"#/components/schemas/UpdateEventSessionRequest"}},"type":"object","required":["data"],"title":"GenericRequestPayload[UpdateEventSessionRequest]"},"GenericRequestPayload_UpdateEventV2Request_":{"properties":{"data":{"$ref":"#/components/schemas/UpdateEventV2Request"}},"type":"object","required":["data"],"title":"GenericRequestPayload[UpdateEventV2Request]"},"GenericRequestPayload_UpdateExternalVoiceRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/UpdateExternalVoiceRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[UpdateExternalVoiceRequestPayload]"},"GenericRequestPayload_UpdateGlossaryRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/UpdateGlossaryRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[UpdateGlossaryRequestPayload]"},"GenericRequestPayload_UpdateStageRequest_":{"properties":{"data":{"$ref":"#/components/schemas/UpdateStageRequest"}},"type":"object","required":["data"],"title":"GenericRequestPayload[UpdateStageRequest]"},"GenericRequestPayload_UpdateTranscriptionSegmentsRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/UpdateTranscriptionSegmentsRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[UpdateTranscriptionSegmentsRequestPayload]"},"GenericRequestPayload_UpdateTranslationSegmentsRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/UpdateTranslationSegmentsRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[UpdateTranslationSegmentsRequestPayload]"},"GenericRequestPayload_UpdateVoiceRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/UpdateVoiceRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[UpdateVoiceRequestPayload]"},"GenericRequestPayload_VoiceCloneRequest_":{"properties":{"data":{"$ref":"#/components/schemas/VoiceCloneRequest"}},"type":"object","required":["data"],"title":"GenericRequestPayload[VoiceCloneRequest]"},"GenericResponsePayload_ApproveEventRequestResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ApproveEventRequestResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ApproveEventRequestResponseData]"},"GenericResponsePayload_CreateChannelResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CreateChannelResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CreateChannelResponseData]"},"GenericResponsePayload_CreateDubbingResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CreateDubbingResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CreateDubbingResponseData]"},"GenericResponsePayload_CreateEventResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CreateEventResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CreateEventResponseData]"},"GenericResponsePayload_CreateGlossaryResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CreateGlossaryResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CreateGlossaryResponseData]"},"GenericResponsePayload_CreateMeetResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CreateMeetResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CreateMeetResponseData]"},"GenericResponsePayload_DelAllUserVoicesResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/DelAllUserVoicesResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[DelAllUserVoicesResponseData]"},"GenericResponsePayload_DelDubbingByIDResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/DelDubbingByIDResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[DelDubbingByIDResponseData]"},"GenericResponsePayload_DelGlossaryByIDResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/DelGlossaryByIDResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[DelGlossaryByIDResponseData]"},"GenericResponsePayload_DelVoiceByIDResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/DelVoiceByIDResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[DelVoiceByIDResponseData]"},"GenericResponsePayload_DeleteEventResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/DeleteEventResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[DeleteEventResponseData]"},"GenericResponsePayload_DeleteUserDataResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/DeleteUserDataResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[DeleteUserDataResponseData]"},"GenericResponsePayload_DeleteValueResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/DeleteValueResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[DeleteValueResponseData]"},"GenericResponsePayload_Dict_LangCodeExperimental__List_SingleLangTextSample___":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"additionalProperties":{"items":{"$ref":"#/components/schemas/SingleLangTextSample"},"type":"array"},"propertyNames":{"$ref":"#/components/schemas/LangCodeExperimental"},"type":"object","title":"Data"}},"type":"object","required":["data"],"title":"GenericResponsePayload[Dict[LangCodeExperimental, List[SingleLangTextSample]]]"},"GenericResponsePayload_EventSessionDTO_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/EventSessionDTO"}},"type":"object","required":["data"],"title":"GenericResponsePayload[EventSessionDTO]"},"GenericResponsePayload_EventStatsData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/EventStatsData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[EventStatsData]"},"GenericResponsePayload_EventV2DTO_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/EventV2DTO"}},"type":"object","required":["data"],"title":"GenericResponsePayload[EventV2DTO]"},"GenericResponsePayload_FavoriteVoiceResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/FavoriteVoiceResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[FavoriteVoiceResponseData]"},"GenericResponsePayload_GetDubbingByIDResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetDubbingByIDResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetDubbingByIDResponseData]"},"GenericResponsePayload_GetDubbingStatusByIDResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetDubbingStatusByIDResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetDubbingStatusByIDResponseData]"},"GenericResponsePayload_GetEventByIdResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetEventByIdResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetEventByIdResponseData]"},"GenericResponsePayload_GetEventV2ByIdResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetEventV2ByIdResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetEventV2ByIdResponseData]"},"GenericResponsePayload_GetGlossaryByIDResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetGlossaryByIDResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetGlossaryByIDResponseData]"},"GenericResponsePayload_GetPublicEventByIdResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetPublicEventByIdResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetPublicEventByIdResponseData]"},"GenericResponsePayload_GetPublicValueResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetPublicValueResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetPublicValueResponseData]"},"GenericResponsePayload_GetUserVoiceLimitsResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetUserVoiceLimitsResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetUserVoiceLimitsResponseData]"},"GenericResponsePayload_GetValueResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetValueResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetValueResponseData]"},"GenericResponsePayload_GetVoiceByIDResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetVoiceByIDResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetVoiceByIDResponseData]"},"GenericResponsePayload_JoinMeetResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/JoinMeetResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[JoinMeetResponseData]"},"GenericResponsePayload_ListChannelsResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ListChannelsResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ListChannelsResponseData]"},"GenericResponsePayload_ListEventRequestsResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ListEventRequestsResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ListEventRequestsResponseData]"},"GenericResponsePayload_ListEventSessionsResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ListEventSessionsResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ListEventSessionsResponseData]"},"GenericResponsePayload_ListEventsV2ResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ListEventsV2ResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ListEventsV2ResponseData]"},"GenericResponsePayload_ListKeysResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ListKeysResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ListKeysResponseData]"},"GenericResponsePayload_ListStagesByEventResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ListStagesByEventResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ListStagesByEventResponseData]"},"GenericResponsePayload_NoneType_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"type":"null","title":"Data"}},"type":"object","required":["data"],"title":"GenericResponsePayload[NoneType]"},"GenericResponsePayload_Page_BuiltInVoice__":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/Page_BuiltInVoice_-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[Page[BuiltInVoice]]"},"GenericResponsePayload_Page_ListEventsResponseData__":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/Page_ListEventsResponseData_-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[Page[ListEventsResponseData]]"},"GenericResponsePayload_Page_TTSSamplePageItem__":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/Page_TTSSamplePageItem_-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[Page[TTSSamplePageItem]]"},"GenericResponsePayload_Page_UserDubbingPageItem__":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/Page_UserDubbingPageItem_-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[Page[UserDubbingPageItem]]"},"GenericResponsePayload_Page_UserGlossaryPageItem__":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/Page_UserGlossaryPageItem_-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[Page[UserGlossaryPageItem]]"},"GenericResponsePayload_Page_UserVoicePageItem__":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/Page_UserVoicePageItem_-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[Page[UserVoicePageItem]]"},"GenericResponsePayload_PublicEventBundleData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/PublicEventBundleData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[PublicEventBundleData]"},"GenericResponsePayload_RejectEventRequestResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/RejectEventRequestResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[RejectEventRequestResponseData]"},"GenericResponsePayload_StageDTO_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/StageDTO-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[StageDTO]"},"GenericResponsePayload_StartDubbingResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/StartDubbingResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[StartDubbingResponseData]"},"GenericResponsePayload_StoreValueResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/StoreValueResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[StoreValueResponseData]"},"GenericResponsePayload_SubmitRequestResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/SubmitRequestResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[SubmitRequestResponseData]"},"GenericResponsePayload_SynthesizeSpeechResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/SynthesizeSpeechResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[SynthesizeSpeechResponseData]"},"GenericResponsePayload_TTSSamplePageItem_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/TTSSamplePageItem-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[TTSSamplePageItem]"},"GenericResponsePayload_UpdateEventResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/UpdateEventResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[UpdateEventResponseData]"},"GenericResponsePayload_UpdateExternalVoiceResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/UpdateExternalVoiceResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[UpdateExternalVoiceResponseData]"},"GenericResponsePayload_UpdateGlossaryResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/UpdateGlossaryResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[UpdateGlossaryResponseData]"},"GenericResponsePayload_UpdateTranscriptionSegmentsResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/UpdateTranscriptionSegmentsResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[UpdateTranscriptionSegmentsResponseData]"},"GenericResponsePayload_UpdateTranslationSegmentsResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/UpdateTranslationSegmentsResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[UpdateTranslationSegmentsResponseData]"},"GenericResponsePayload_UpdateVoiceResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/UpdateVoiceResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[UpdateVoiceResponseData]"},"GenericResponsePayload_UploadGlossaryByIDResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/UploadGlossaryByIDResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[UploadGlossaryByIDResponseData]"},"GenericResponsePayload_VerifyListenerCaptchaResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/VerifyListenerCaptchaResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[VerifyListenerCaptchaResponseData]"},"GenericResponsePayload_VoiceCloneResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/VoiceCloneResponseData-Output"}},"type":"object","required":["data"],"title":"GenericResponsePayload[VoiceCloneResponseData]"},"GenericResponsePayload_list_UploadBlobResponseData__":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"items":{"$ref":"#/components/schemas/UploadBlobResponseData"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"GenericResponsePayload[list[UploadBlobResponseData]]"},"GetDubbingByIDResponseData-Input":{"properties":{"dubbing_id":{"type":"string","format":"uuid4","title":"Dubbing Id","description":"Dubbing ID"},"status":{"$ref":"#/components/schemas/DubbingProcessingStatus","description":"Dubbing status"},"name":{"type":"string","title":"Name","description":"Dubbing name"},"source_language":{"$ref":"#/components/schemas/DubbingLangCode","description":"Dubbing source language"},"target_language":{"$ref":"#/components/schemas/LangCodeExperimental","description":"Dubbing target language"},"transcription_segments":{"items":{"$ref":"#/components/schemas/GetDubbingSegment"},"type":"array","title":"Transcription Segments","description":"Dubbing transcription segments"},"translation_segments":{"items":{"$ref":"#/components/schemas/GetDubbingSegment"},"type":"array","title":"Translation Segments","description":"Dubbing translation segments"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Dubbing creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Dubbing last update time in UTC"},"sample":{"anyOf":[{"$ref":"#/components/schemas/GetDubbingSample"},{"type":"null"}],"description":"Dubbing input sample data"},"processing_result":{"anyOf":[{"$ref":"#/components/schemas/DubbingProcessingResult"},{"type":"null"}],"description":"Dubbing processing warnings and errors"},"dubbing_result":{"anyOf":[{"$ref":"#/components/schemas/GetDubbingResult"},{"type":"null"}],"description":"Dubbing result"}},"type":"object","required":["dubbing_id","status","name","source_language","target_language","transcription_segments","translation_segments","utc_created_at","utc_updated_at","sample","processing_result","dubbing_result"],"title":"GetDubbingByIDResponseData"},"GetDubbingByIDResponseData-Output":{"properties":{"dubbing_id":{"type":"string","format":"uuid4","title":"Dubbing Id","description":"Dubbing ID"},"status":{"$ref":"#/components/schemas/DubbingProcessingStatus","description":"Dubbing status"},"name":{"type":"string","title":"Name","description":"Dubbing name"},"source_language":{"$ref":"#/components/schemas/DubbingLangCode","description":"Dubbing source language"},"target_language":{"$ref":"#/components/schemas/LangCodeExperimental","description":"Dubbing target language"},"transcription_segments":{"items":{"$ref":"#/components/schemas/GetDubbingSegment"},"type":"array","title":"Transcription Segments","description":"Dubbing transcription segments"},"translation_segments":{"items":{"$ref":"#/components/schemas/GetDubbingSegment"},"type":"array","title":"Translation Segments","description":"Dubbing translation segments"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Dubbing creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Dubbing last update time in UTC"},"sample":{"anyOf":[{"$ref":"#/components/schemas/GetDubbingSample"},{"type":"null"}],"description":"Dubbing input sample data"},"processing_result":{"anyOf":[{"$ref":"#/components/schemas/DubbingProcessingResult"},{"type":"null"}],"description":"Dubbing processing warnings and errors"},"dubbing_result":{"anyOf":[{"$ref":"#/components/schemas/GetDubbingResult"},{"type":"null"}],"description":"Dubbing result"}},"type":"object","required":["dubbing_id","status","name","source_language","target_language","transcription_segments","translation_segments","utc_created_at","utc_updated_at","sample","processing_result","dubbing_result"],"title":"GetDubbingByIDResponseData"},"GetDubbingResult":{"properties":{"blob_id":{"type":"string","format":"uuid4","title":"Blob Id"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"filename":{"type":"string","title":"Filename"},"mimetype":{"$ref":"#/components/schemas/AllowedMIMEType"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At"}},"type":"object","required":["blob_id","url","filename","mimetype","utc_created_at"],"title":"GetDubbingResult"},"GetDubbingSample":{"properties":{"blob_id":{"type":"string","format":"uuid4","title":"Blob Id"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"filename":{"type":"string","title":"Filename"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At"}},"type":"object","required":["blob_id","url","filename","mime_type","utc_created_at"],"title":"GetDubbingSample"},"GetDubbingSegment":{"properties":{"segment_id":{"type":"string","format":"uuid4","title":"Segment Id"},"original_segment_id":{"anyOf":[{"type":"string","format":"uuid4"},{"type":"null"}],"title":"Original Segment Id"},"lang":{"$ref":"#/components/schemas/LangCodeExperimental"},"ts_start":{"type":"number","title":"Ts Start"},"ts_end":{"type":"number","title":"Ts End"},"voice_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice Id"},"text":{"type":"string","title":"Text"}},"type":"object","required":["segment_id","original_segment_id","lang","ts_start","ts_end","voice_id","text"],"title":"GetDubbingSegment"},"GetDubbingStatusByIDResponseData":{"properties":{"dubbing_id":{"type":"string","format":"uuid4","title":"Dubbing Id","description":"Dubbing ID"},"status":{"$ref":"#/components/schemas/DubbingProcessingStatus","description":"Dubbing status"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Dubbing creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Dubbing last update time in UTC"}},"type":"object","required":["dubbing_id","status","utc_created_at","utc_updated_at"],"title":"GetDubbingStatusByIDResponseData"},"GetEventByIdResponseData":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Event ID"},"title":{"type":"string","title":"Title","description":"Event title"},"event_type":{"$ref":"#/components/schemas/EventType","description":"Event type"},"event_status":{"$ref":"#/components/schemas/EventStatus","description":"Event status"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Event QR code URL"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event start date and time in UTC"},"duration":{"type":"string","format":"duration","title":"Duration","description":"Event duration"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Event description"},"access_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Code","description":"Event access code"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Event creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Event last update time in UTC"}},"type":"object","required":["event_id","title","event_type","event_status","qr_code_url","utc_start_dt","duration","utc_created_at","utc_updated_at"],"title":"GetEventByIdResponseData"},"GetEventV2ByIdResponseData-Input":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Event ID"},"title":{"type":"string","title":"Title","description":"Event title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Event description"},"event_type":{"$ref":"#/components/schemas/EventType","description":"Event type"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","description":"Event location"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone","description":"Event IANA timezone"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event start date and time in UTC"},"utc_end_dt":{"type":"string","format":"date-time","title":"Utc End Dt","description":"Event end date and time in UTC"},"is_recurring":{"type":"boolean","title":"Is Recurring","description":"Indicates if the event is recurring","default":false},"cover_image_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Image Key","description":"Event cover image S3 key"},"cover_image_url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Cover Image Url","description":"Event cover image URL"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Event QR code URL"},"lifecycle_status":{"$ref":"#/components/schemas/EventLifecycleStatusV2","description":"Event lifecycle status"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"Event completion time in UTC"},"access_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Code","description":"Event access code"},"input_languages":{"items":{"type":"string"},"type":"array","title":"Input Languages","description":"Event input languages (aggregated from channels)"},"output_languages":{"items":{"type":"string"},"type":"array","title":"Output Languages","description":"Event output languages (aggregated from channels)"},"target_languages":{"items":{"type":"string"},"type":"array","title":"Target Languages","description":"Organizer-configured default translation languages; pre-fills the language list when creating channels"},"listener_language_mode":{"$ref":"#/components/schemas/ListenerLanguageMode","description":"How anonymous listeners may request extra languages: off | approval | auto.","default":"approval"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Event creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Event last update time in UTC"},"stages":{"items":{"$ref":"#/components/schemas/StageWithChannelRefsDTO-Input"},"type":"array","title":"Stages","description":"Event stages with derived status and their channel refs (id + live runtime status)"}},"type":"object","required":["event_id","title","event_type","utc_start_dt","utc_end_dt","qr_code_url","lifecycle_status","utc_created_at","utc_updated_at"],"title":"GetEventV2ByIdResponseData"},"GetEventV2ByIdResponseData-Output":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Event ID"},"title":{"type":"string","title":"Title","description":"Event title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Event description"},"event_type":{"$ref":"#/components/schemas/EventType","description":"Event type"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","description":"Event location"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone","description":"Event IANA timezone"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event start date and time in UTC"},"utc_end_dt":{"type":"string","format":"date-time","title":"Utc End Dt","description":"Event end date and time in UTC"},"is_recurring":{"type":"boolean","title":"Is Recurring","description":"Indicates if the event is recurring","default":false},"cover_image_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Image Key","description":"Event cover image S3 key"},"cover_image_url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Cover Image Url","description":"Event cover image URL"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Event QR code URL"},"lifecycle_status":{"$ref":"#/components/schemas/EventLifecycleStatusV2","description":"Event lifecycle status"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"Event completion time in UTC"},"access_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Code","description":"Event access code"},"input_languages":{"items":{"type":"string"},"type":"array","title":"Input Languages","description":"Event input languages (aggregated from channels)"},"output_languages":{"items":{"type":"string"},"type":"array","title":"Output Languages","description":"Event output languages (aggregated from channels)"},"target_languages":{"items":{"type":"string"},"type":"array","title":"Target Languages","description":"Organizer-configured default translation languages; pre-fills the language list when creating channels"},"listener_language_mode":{"$ref":"#/components/schemas/ListenerLanguageMode","description":"How anonymous listeners may request extra languages: off | approval | auto.","default":"approval"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Event creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Event last update time in UTC"},"stages":{"items":{"$ref":"#/components/schemas/StageWithChannelRefsDTO-Output"},"type":"array","title":"Stages","description":"Event stages with derived status and their channel refs (id + live runtime status)"}},"type":"object","required":["event_id","title","event_type","utc_start_dt","utc_end_dt","qr_code_url","lifecycle_status","utc_created_at","utc_updated_at"],"title":"GetEventV2ByIdResponseData"},"GetGlossaryByIDResponseData":{"properties":{"glossary_id":{"type":"string","format":"uuid4","title":"Glossary Id","description":"Glossary ID"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"name":{"type":"string","title":"Name","description":"Glossary name"},"is_enabled":{"type":"boolean","title":"Is Enabled","description":"Glossary status"},"glossary_type":{"$ref":"#/components/schemas/GlossaryType","description":"Glossary type"},"source_lang":{"$ref":"#/components/schemas/SourceLang","description":"Source language of glossary"},"target_lang":{"type":"string","title":"Target Lang","description":"Target language of glossary"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Glossary created time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Glossary last update time in UTC"}},"type":"object","required":["glossary_id","user_id","name","is_enabled","glossary_type","source_lang","target_lang","utc_created_at","utc_updated_at"],"title":"GetGlossaryByIDResponseData"},"GetPublicEventByIdResponseData":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Event ID"},"title":{"type":"string","title":"Title","description":"Event title"},"event_status":{"$ref":"#/components/schemas/EventStatus","description":"Event status"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Event QR code URL"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event start date and time in UTC"},"duration":{"type":"string","format":"duration","title":"Duration","description":"Event duration"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Event description"}},"type":"object","required":["event_id","title","event_status","qr_code_url","utc_start_dt","duration"],"title":"GetPublicEventByIdResponseData"},"GetPublicValueResponseData":{"properties":{"user_id":{"type":"string","title":"User Id"},"key":{"type":"string","title":"Key"},"value":{"title":"Value"},"content_type":{"type":"string","title":"Content Type"},"metadata":{"anyOf":[{"$ref":"#/components/schemas/KVMetadata"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"size_bytes":{"type":"integer","title":"Size Bytes"}},"type":"object","required":["user_id","key","value","content_type","metadata","created_at","updated_at","expires_at","size_bytes"],"title":"GetPublicValueResponseData","description":"Response data for public get operation"},"GetUserVoiceLimitsResponseData":{"properties":{"created":{"type":"integer","title":"Created","description":"Number of voices in created state","default":0},"pending":{"type":"integer","title":"Pending","description":"Number of voices in pending state","default":0},"ready":{"type":"integer","title":"Ready","description":"Number of voices in ready state","default":0},"failed":{"type":"integer","title":"Failed","description":"Number of voices in failed state","default":0},"total":{"type":"integer","title":"Total","description":"Total number of voices created by the user","default":0},"limit":{"type":"integer","title":"Limit","description":"Number of voices allowed by the plan"},"remaining":{"type":"integer","title":"Remaining","description":"Number of voices (quota) remaining for the user","default":0}},"type":"object","required":["limit"],"title":"GetUserVoiceLimitsResponseData"},"GetUserVoicesVoiceTTSSample-Input":{"properties":{"user_id":{"type":"string","title":"User Id","description":"User ID"},"blob_id":{"type":"string","format":"uuid","title":"Blob Id","description":"TTS sample blob ID"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"TTS sample URL"},"audio_metadata":{"$ref":"#/components/schemas/AudioMetadata","description":"Audio metadata"},"text":{"$ref":"#/components/schemas/SingleLangTextSample","description":"Text"},"model":{"type":"string","title":"Model","description":"Model"},"provider":{"$ref":"#/components/schemas/VoiceProvider","description":"Vendor that generated this sample: `palabra` | `elevenlabs`"},"filename":{"type":"string","title":"Filename","description":"Filename"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"MIME type"},"display_name":{"type":"string","title":"Display Name","description":"Display name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"}},"type":"object","required":["user_id","blob_id","url","audio_metadata","text","model","provider","filename","mime_type","display_name","utc_created_at"],"title":"GetUserVoicesVoiceTTSSample"},"GetUserVoicesVoiceTTSSample-Output":{"properties":{"user_id":{"type":"string","title":"User Id","description":"User ID"},"blob_id":{"type":"string","format":"uuid","title":"Blob Id","description":"TTS sample blob ID"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"TTS sample URL"},"audio_metadata":{"$ref":"#/components/schemas/AudioMetadata","description":"Audio metadata"},"text":{"$ref":"#/components/schemas/SingleLangTextSample","description":"Text"},"model":{"type":"string","title":"Model","description":"Model"},"provider":{"$ref":"#/components/schemas/VoiceProvider","description":"Vendor that generated this sample: `palabra` | `elevenlabs`"},"filename":{"type":"string","title":"Filename","description":"Filename"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"MIME type"},"display_name":{"type":"string","title":"Display Name","description":"Display name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"}},"type":"object","required":["user_id","blob_id","url","audio_metadata","text","model","provider","filename","mime_type","display_name","utc_created_at"],"title":"GetUserVoicesVoiceTTSSample"},"GetValueResponseData":{"properties":{"entity":{"$ref":"#/components/schemas/KVEntity"},"key":{"type":"string","title":"Key"},"value":{"title":"Value"},"content_type":{"type":"string","title":"Content Type"},"metadata":{"anyOf":[{"$ref":"#/components/schemas/KVMetadata"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"size_bytes":{"type":"integer","title":"Size Bytes"}},"type":"object","required":["entity","key","value","content_type","metadata","created_at","updated_at","expires_at","size_bytes"],"title":"GetValueResponseData","description":"Response data for get operation"},"GetVoiceByIDResponseData-Input":{"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"Voice ID"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"UTC updated at"},"voice_type":{"$ref":"#/components/schemas/VoiceType","description":"Voice type"},"processing_status":{"$ref":"#/components/schemas/VoiceProcessingStatus","description":"Processing status"},"processing_result":{"$ref":"#/components/schemas/VoiceProcessingResult","description":"Processing result"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","description":"Model"},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}],"description":"Labels"},"name":{"type":"string","title":"Name","description":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"has_external_voice":{"type":"boolean","title":"Has External Voice","description":"Whether an external voice provider voice exists","default":false},"attributes":{"items":{"type":"string"},"type":"array","title":"Attributes","description":"Custom voice attributes/tags"},"is_favorite":{"type":"boolean","title":"Is Favorite","description":"Whether this voice is marked as favorite by the caller","default":false},"tts_sample":{"anyOf":[{"$ref":"#/components/schemas/GetVoiceByIDVoiceTTSSample-Input"},{"type":"null"}],"description":"TTS sample"},"tts_samples":{"items":{"$ref":"#/components/schemas/GetVoiceByIDVoiceTTSSample-Input"},"type":"array","title":"Tts Samples","description":"Latest TTS sample per provider"}},"type":"object","required":["voice_id","user_id","utc_created_at","utc_updated_at","voice_type","processing_status","processing_result","name"],"title":"GetVoiceByIDResponseData"},"GetVoiceByIDResponseData-Output":{"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"Voice ID"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"UTC updated at"},"voice_type":{"$ref":"#/components/schemas/VoiceType","description":"Voice type"},"processing_status":{"$ref":"#/components/schemas/VoiceProcessingStatus","description":"Processing status"},"processing_result":{"$ref":"#/components/schemas/VoiceProcessingResult","description":"Processing result"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","description":"Model"},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}],"description":"Labels"},"name":{"type":"string","title":"Name","description":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"has_external_voice":{"type":"boolean","title":"Has External Voice","description":"Whether an external voice provider voice exists","default":false},"attributes":{"items":{"type":"string"},"type":"array","title":"Attributes","description":"Custom voice attributes/tags"},"is_favorite":{"type":"boolean","title":"Is Favorite","description":"Whether this voice is marked as favorite by the caller","default":false},"tts_sample":{"anyOf":[{"$ref":"#/components/schemas/GetVoiceByIDVoiceTTSSample-Output"},{"type":"null"}],"description":"TTS sample"},"tts_samples":{"items":{"$ref":"#/components/schemas/GetVoiceByIDVoiceTTSSample-Output"},"type":"array","title":"Tts Samples","description":"Latest TTS sample per provider"}},"type":"object","required":["voice_id","user_id","utc_created_at","utc_updated_at","voice_type","processing_status","processing_result","name"],"title":"GetVoiceByIDResponseData"},"GetVoiceByIDVoiceTTSSample-Input":{"properties":{"user_id":{"type":"string","title":"User Id","description":"User ID"},"blob_id":{"type":"string","format":"uuid","title":"Blob Id","description":"TTS sample blob ID"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"TTS sample URL"},"audio_metadata":{"$ref":"#/components/schemas/AudioMetadata","description":"Audio metadata"},"text":{"$ref":"#/components/schemas/SingleLangTextSample","description":"Text"},"model":{"type":"string","title":"Model","description":"Model"},"provider":{"$ref":"#/components/schemas/VoiceProvider","description":"Vendor that generated this sample: `palabra` | `elevenlabs`"},"filename":{"type":"string","title":"Filename","description":"Filename"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"MIME type"},"display_name":{"type":"string","title":"Display Name","description":"Display name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"}},"type":"object","required":["user_id","blob_id","url","audio_metadata","text","model","provider","filename","mime_type","display_name","utc_created_at"],"title":"GetVoiceByIDVoiceTTSSample"},"GetVoiceByIDVoiceTTSSample-Output":{"properties":{"user_id":{"type":"string","title":"User Id","description":"User ID"},"blob_id":{"type":"string","format":"uuid","title":"Blob Id","description":"TTS sample blob ID"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"TTS sample URL"},"audio_metadata":{"$ref":"#/components/schemas/AudioMetadata","description":"Audio metadata"},"text":{"$ref":"#/components/schemas/SingleLangTextSample","description":"Text"},"model":{"type":"string","title":"Model","description":"Model"},"provider":{"$ref":"#/components/schemas/VoiceProvider","description":"Vendor that generated this sample: `palabra` | `elevenlabs`"},"filename":{"type":"string","title":"Filename","description":"Filename"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"MIME type"},"display_name":{"type":"string","title":"Display Name","description":"Display name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"}},"type":"object","required":["user_id","blob_id","url","audio_metadata","text","model","provider","filename","mime_type","display_name","utc_created_at"],"title":"GetVoiceByIDVoiceTTSSample"},"GlossaryType":{"type":"string","enum":["asr_hot","asr","translation"],"title":"GlossaryType"},"GreenscreenSettings":{"properties":{"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"font_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Font Size"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color"},"background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Color"}},"additionalProperties":true,"type":"object","title":"GreenscreenSettings","description":"Listener caption rendering config.\n\nKnown fields are typed (font_size = int, colors = strings). Additional\nfields are accepted via ``extra='allow'`` so the frontend can ship new UI\noptions without backend changes; the backend persists the payload as JSONB."},"JoinMeetRequestPayload":{"properties":{"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password","description":"Password for the meet room. If not provided, the room will be public.","examples":["OPTIONAL:password123"]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Name of the user joining the meet room.","examples":["John Doe"]}},"type":"object","title":"JoinMeetRequestPayload"},"JoinMeetResponseData":{"properties":{"chat_jwt":{"type":"string","title":"Meet token","description":"Token to join the meet room.","examples":["eyJhb..."]},"chat_server":{"type":"string","title":"Meet server URL","description":"URL of the meet server.","examples":["wss://meet.palabra.ai"]},"translation_jwt":{"type":"string","title":"Translation token","description":"Token to join the translation room.","examples":["eyJhb..."]},"translation_server":{"type":"string","title":"Translation server URL","description":"URL of the translation server.","examples":["wss://translation.palabra.ai"]},"translation_control_server":{"type":"string","title":"Translation control server URL","description":"URL of the translation control server.","examples":["wss://translation.palabra.ai/streaming/v1/speech-to-speech/stream"]}},"type":"object","required":["chat_jwt","chat_server","translation_jwt","translation_server","translation_control_server"],"title":"JoinMeetResponseData"},"KVEntity":{"type":"string","enum":["user","event","public"],"title":"KVEntity","description":"Entity namespace types for KV storage"},"KVMetadata":{"properties":{"schema_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Version"},"schema_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schema Url"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"custom":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Custom"}},"type":"object","title":"KVMetadata","description":"Optional metadata for stored values"},"KeyListItem":{"properties":{"key":{"type":"string","title":"Key"},"content_type":{"type":"string","title":"Content Type"},"size_bytes":{"type":"integer","title":"Size Bytes"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["key","content_type","size_bytes","created_at","updated_at","expires_at"],"title":"KeyListItem","description":"Single key item in list response"},"Labels":{"properties":{"gender":{"anyOf":[{"$ref":"#/components/schemas/Gender"},{"type":"null"}]},"age_group":{"anyOf":[{"$ref":"#/components/schemas/AgeGroup"},{"type":"null"}]},"mood":{"anyOf":[{"$ref":"#/components/schemas/Mood"},{"type":"null"}]}},"type":"object","title":"Labels"},"LangCodeExperimental":{"type":"string","enum":["ar","ar-ae","ar-sa","az","hy","be","bg","bs","ca","cs","cy","da","de","el","en","en-au","en-ca","en-gb","en-us","es","es-mx","es-co","es-ar","es-ch","es-la","et","fi","fil","fr","fr-ca","gl","he","hi","hr","hu","id","is","it","ja","kk","ko","lt","lv","mk","ms","nl","no","pl","pt","pt-br","ro","ru","sk","sl","sr","sv","sw","ta","th","tr","uk","ur","vi","zh","zh-hans","zh-hant","auto","bn","eu","fa","ga","mn","mr","mt","ug","yue"],"title":"LangCodeExperimental"},"LanguageCapacity":{"properties":{"limit":{"type":"integer","title":"Limit","description":"Maximum languages allowed by the owner's plan."},"used":{"type":"integer","title":"Used","description":"Distinct translation languages already active across the event."},"remaining":{"type":"integer","title":"Remaining","description":"Free slots left (max(0, limit - used))."}},"type":"object","required":["limit","used","remaining"],"title":"LanguageCapacity","description":"Event-wide translation-language budget (owner's plan cap).\n\nLets the owner UI show free slots and disable Add/Approve when full. ``null``\nwhen billing is temporarily unavailable — do NOT treat null as unlimited."},"LanguageStat":{"properties":{"language":{"type":"string","title":"Language","description":"ISO code or 'original'"},"participants":{"type":"integer","minimum":0.0,"title":"Participants","description":"Unique listeners on this language"}},"type":"object","required":["language","participants"],"title":"LanguageStat"},"ListChannelsResponseData-Input":{"properties":{"channels":{"items":{"$ref":"#/components/schemas/CreateChannelResponseData"},"type":"array","title":"Channels"}},"type":"object","title":"ListChannelsResponseData"},"ListChannelsResponseData-Output":{"properties":{"channels":{"items":{"$ref":"#/components/schemas/CreateChannelResponseData"},"type":"array","title":"Channels"}},"type":"object","title":"ListChannelsResponseData"},"ListEventRequestsResponseData":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/EventRequestDTO"},"type":"array","title":"Requests"},"language_capacity":{"anyOf":[{"$ref":"#/components/schemas/LanguageCapacity"},{"type":"null"}],"description":"Event language budget (for add_language requests); null if billing unavailable."}},"type":"object","title":"ListEventRequestsResponseData"},"ListEventSessionsResponseData-Input":{"properties":{"sessions":{"items":{"$ref":"#/components/schemas/EventSessionDTO"},"type":"array","title":"Sessions"}},"type":"object","title":"ListEventSessionsResponseData"},"ListEventSessionsResponseData-Output":{"properties":{"sessions":{"items":{"$ref":"#/components/schemas/EventSessionDTO"},"type":"array","title":"Sessions"}},"type":"object","title":"ListEventSessionsResponseData"},"ListEventsResponseData":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Event ID"},"title":{"type":"string","title":"Title","description":"Event title"},"event_type":{"$ref":"#/components/schemas/EventType","description":"Event type"},"event_status":{"$ref":"#/components/schemas/EventStatus","description":"Event status"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Event QR code URL"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event start date and time in UTC"},"duration":{"type":"string","format":"duration","title":"Duration","description":"Event duration"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Event description"},"access_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Code","description":"Event access code"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Event creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Event last update time in UTC"}},"type":"object","required":["event_id","title","event_type","event_status","qr_code_url","utc_start_dt","duration","utc_created_at","utc_updated_at"],"title":"ListEventsResponseData"},"ListEventsV2ResponseData-Input":{"properties":{"events":{"items":{"$ref":"#/components/schemas/EventV2DTO"},"type":"array","title":"Events","description":"User-created events"},"pagination_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pagination Token","description":"Pagination token for the next page"}},"type":"object","title":"ListEventsV2ResponseData"},"ListEventsV2ResponseData-Output":{"properties":{"events":{"items":{"$ref":"#/components/schemas/EventV2DTO"},"type":"array","title":"Events","description":"User-created events"},"pagination_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pagination Token","description":"Pagination token for the next page"}},"type":"object","title":"ListEventsV2ResponseData"},"ListKeysResponseData":{"properties":{"entity":{"$ref":"#/components/schemas/KVEntity"},"keys":{"items":{"$ref":"#/components/schemas/KeyListItem"},"type":"array","title":"Keys"},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"has_more":{"type":"boolean","title":"Has More"},"total_count":{"type":"integer","title":"Total Count"}},"type":"object","required":["entity","keys","cursor","has_more","total_count"],"title":"ListKeysResponseData","description":"Response data for list operation"},"ListStagesByEventResponseData-Input":{"properties":{"stages":{"items":{"$ref":"#/components/schemas/StageDTO-Input"},"type":"array","title":"Stages"}},"type":"object","title":"ListStagesByEventResponseData"},"ListStagesByEventResponseData-Output":{"properties":{"stages":{"items":{"$ref":"#/components/schemas/StageDTO-Output"},"type":"array","title":"Stages"}},"type":"object","title":"ListStagesByEventResponseData"},"ListenerLanguageMode":{"type":"string","enum":["off","approval","auto"],"title":"ListenerLanguageMode"},"LkData":{"properties":{"server":{"type":"string","title":"Server"},"jwt":{"type":"string","title":"Jwt"},"session":{"additionalProperties":true,"type":"object","title":"Session"}},"type":"object","required":["server","jwt","session"],"title":"LkData"},"MIMEType":{"type":"string","enum":["audio/x-wav","audio/wav","audio/mp3","audio/x-m4a","audio/mpeg","audio/flac","audio/ogg","video/webm","video/mp4","video/mpeg","image/png","image/jpeg","image/webp"],"title":"MIMEType","description":"Core MIME types"},"MeetLkMetadata":{"properties":{"chat":{"$ref":"#/components/schemas/LkData"},"translation":{"$ref":"#/components/schemas/LkData"}},"type":"object","required":["chat","translation"],"title":"MeetLkMetadata"},"Mood":{"type":"string","enum":["Neutral","Happy","Sad","Angry"],"title":"Mood"},"OrderDirection":{"type":"string","enum":["asc","desc"],"title":"OrderDirection"},"Page_BuiltInVoice_-Input":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BuiltInVoice-Input"},"type":"array","title":"Items","description":"The list of items in the page"},"page_size":{"type":"integer","title":"Page Size","description":"The number of max items count in the page"},"count":{"type":"integer","title":"Count","description":"The number of items in the page"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"The next page token"}},"type":"object","required":["items","page_size","count"],"title":"Page[BuiltInVoice]"},"Page_BuiltInVoice_-Output":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BuiltInVoice-Output"},"type":"array","title":"Items","description":"The list of items in the page"},"page_size":{"type":"integer","title":"Page Size","description":"The number of max items count in the page"},"count":{"type":"integer","title":"Count","description":"The number of items in the page"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"The next page token"}},"type":"object","required":["items","page_size","count"],"title":"Page[BuiltInVoice]"},"Page_ListEventsResponseData_-Input":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListEventsResponseData"},"type":"array","title":"Items","description":"The list of items in the page"},"page_size":{"type":"integer","title":"Page Size","description":"The number of max items count in the page"},"count":{"type":"integer","title":"Count","description":"The number of items in the page"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"The next page token"}},"type":"object","required":["items","page_size","count"],"title":"Page[ListEventsResponseData]"},"Page_ListEventsResponseData_-Output":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ListEventsResponseData"},"type":"array","title":"Items","description":"The list of items in the page"},"page_size":{"type":"integer","title":"Page Size","description":"The number of max items count in the page"},"count":{"type":"integer","title":"Count","description":"The number of items in the page"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"The next page token"}},"type":"object","required":["items","page_size","count"],"title":"Page[ListEventsResponseData]"},"Page_TTSSamplePageItem_-Input":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TTSSamplePageItem-Input"},"type":"array","title":"Items","description":"The list of items in the page"},"page_size":{"type":"integer","title":"Page Size","description":"The number of max items count in the page"},"count":{"type":"integer","title":"Count","description":"The number of items in the page"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"The next page token"}},"type":"object","required":["items","page_size","count"],"title":"Page[TTSSamplePageItem]"},"Page_TTSSamplePageItem_-Output":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TTSSamplePageItem-Output"},"type":"array","title":"Items","description":"The list of items in the page"},"page_size":{"type":"integer","title":"Page Size","description":"The number of max items count in the page"},"count":{"type":"integer","title":"Count","description":"The number of items in the page"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"The next page token"}},"type":"object","required":["items","page_size","count"],"title":"Page[TTSSamplePageItem]"},"Page_UserDubbingPageItem_-Input":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserDubbingPageItem-Input"},"type":"array","title":"Items","description":"The list of items in the page"},"page_size":{"type":"integer","title":"Page Size","description":"The number of max items count in the page"},"count":{"type":"integer","title":"Count","description":"The number of items in the page"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"The next page token"}},"type":"object","required":["items","page_size","count"],"title":"Page[UserDubbingPageItem]"},"Page_UserDubbingPageItem_-Output":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserDubbingPageItem-Output"},"type":"array","title":"Items","description":"The list of items in the page"},"page_size":{"type":"integer","title":"Page Size","description":"The number of max items count in the page"},"count":{"type":"integer","title":"Count","description":"The number of items in the page"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"The next page token"}},"type":"object","required":["items","page_size","count"],"title":"Page[UserDubbingPageItem]"},"Page_UserGlossaryPageItem_-Input":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserGlossaryPageItem"},"type":"array","title":"Items","description":"The list of items in the page"},"page_size":{"type":"integer","title":"Page Size","description":"The number of max items count in the page"},"count":{"type":"integer","title":"Count","description":"The number of items in the page"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"The next page token"}},"type":"object","required":["items","page_size","count"],"title":"Page[UserGlossaryPageItem]"},"Page_UserGlossaryPageItem_-Output":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserGlossaryPageItem"},"type":"array","title":"Items","description":"The list of items in the page"},"page_size":{"type":"integer","title":"Page Size","description":"The number of max items count in the page"},"count":{"type":"integer","title":"Count","description":"The number of items in the page"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"The next page token"}},"type":"object","required":["items","page_size","count"],"title":"Page[UserGlossaryPageItem]"},"Page_UserVoicePageItem_-Input":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserVoicePageItem-Input"},"type":"array","title":"Items","description":"The list of items in the page"},"page_size":{"type":"integer","title":"Page Size","description":"The number of max items count in the page"},"count":{"type":"integer","title":"Count","description":"The number of items in the page"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"The next page token"}},"type":"object","required":["items","page_size","count"],"title":"Page[UserVoicePageItem]"},"Page_UserVoicePageItem_-Output":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserVoicePageItem-Output"},"type":"array","title":"Items","description":"The list of items in the page"},"page_size":{"type":"integer","title":"Page Size","description":"The number of max items count in the page"},"count":{"type":"integer","title":"Count","description":"The number of items in the page"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next","description":"The next page token"}},"type":"object","required":["items","page_size","count"],"title":"Page[UserVoicePageItem]"},"ProblemDetails":{"properties":{"type":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Type","description":"A string containing a URI reference that identifies the problem type.","examples":["https://docs.palabra.ai/docs/error_codes#operationtimeouterror"]},"status":{"type":"integer","exclusiveMaximum":600.0,"exclusiveMinimum":399.0,"title":"Status","description":"A number indicating the HTTP status code.","examples":[403]},"title":{"type":"string","minLength":5,"title":"Title","description":"A string containing a short, human-readable summary of the problem type.","examples":["Forbidden resource."]},"detail":{"type":"string","minLength":5,"title":"Detail","description":"A string containing a human-readable explanation specific to this occurrence of the problem.","examples":["Resource is forbidden for provided credentials."]},"instance":{"type":"string","minLength":1,"title":"Instance","description":"A string containing a URI reference that identifies the specific occurrence of the problem.","examples":["/called/endpoint/path"]},"error_code":{"type":"integer","title":"Error Code","description":"A Number that indicates the error type that occurred.","examples":[100050]}},"type":"object","required":["type","status","title","detail","instance","error_code"],"title":"ProblemDetails","description":"Problem details JSON Object\n\nSee https://www.rfc-editor.org/rfc/rfc9457.html"},"PublicEventBundleData-Input":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Event ID"},"title":{"type":"string","title":"Title","description":"Event title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Event description"},"event_type":{"$ref":"#/components/schemas/EventType","description":"Event type"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","description":"Event location"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone","description":"Event IANA timezone"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event start date and time in UTC"},"utc_end_dt":{"type":"string","format":"date-time","title":"Utc End Dt","description":"Event end date and time in UTC"},"cover_image_url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Cover Image Url","description":"Event cover image URL"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Event QR code URL"},"lifecycle_status":{"$ref":"#/components/schemas/EventLifecycleStatusV2","description":"Event lifecycle status"},"room_name_suffix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Name Suffix","description":"LiveKit room name suffix shared by all channels in the event"},"stages":{"items":{"$ref":"#/components/schemas/StageWithChannelsDTO-Input"},"type":"array","title":"Stages","description":"Stages with their channels"},"sessions":{"items":{"$ref":"#/components/schemas/EventSessionInBundleDTO"},"type":"array","title":"Sessions","description":"Event sessions"},"captcha_required":{"type":"boolean","title":"Captcha Required","description":"True when the listener page must render Cloudflare Turnstile and POST /listener/verify before sending analytics. Mirrors the TURNSTILE_ENABLED config flag.","default":false},"turnstile_site_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Site Key","description":"Public Cloudflare Turnstile site key. Present iff captcha_required."}},"type":"object","required":["event_id","title","event_type","utc_start_dt","utc_end_dt","qr_code_url","lifecycle_status"],"title":"PublicEventBundleData"},"PublicEventBundleData-Output":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Event ID"},"title":{"type":"string","title":"Title","description":"Event title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Event description"},"event_type":{"$ref":"#/components/schemas/EventType","description":"Event type"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","description":"Event location"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone","description":"Event IANA timezone"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event start date and time in UTC"},"utc_end_dt":{"type":"string","format":"date-time","title":"Utc End Dt","description":"Event end date and time in UTC"},"cover_image_url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Cover Image Url","description":"Event cover image URL"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Event QR code URL"},"lifecycle_status":{"$ref":"#/components/schemas/EventLifecycleStatusV2","description":"Event lifecycle status"},"room_name_suffix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Name Suffix","description":"LiveKit room name suffix shared by all channels in the event"},"stages":{"items":{"$ref":"#/components/schemas/StageWithChannelsDTO-Output"},"type":"array","title":"Stages","description":"Stages with their channels"},"sessions":{"items":{"$ref":"#/components/schemas/EventSessionInBundleDTO"},"type":"array","title":"Sessions","description":"Event sessions"},"captcha_required":{"type":"boolean","title":"Captcha Required","description":"True when the listener page must render Cloudflare Turnstile and POST /listener/verify before sending analytics. Mirrors the TURNSTILE_ENABLED config flag.","default":false},"turnstile_site_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Site Key","description":"Public Cloudflare Turnstile site key. Present iff captcha_required."}},"type":"object","required":["event_id","title","event_type","utc_start_dt","utc_end_dt","qr_code_url","lifecycle_status"],"title":"PublicEventBundleData"},"RecordListenerEventBody":{"properties":{"idempotency_key":{"type":"string","maxLength":128,"minLength":8,"title":"Idempotency Key","description":"Stable across all tabs of one device per visit. Used both for PARTICIPANTS counting and idempotency dedup."},"access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token","description":"Optional JWT from POST /listener/verify. Required only when REQUIRE_SUBSCRIBER_EVENT_ACCESS_TOKEN=true. When present and valid, gives forensic-delete capability via jti."},"event_type":{"type":"string","enum":["join","lang_change","leave"],"title":"Event Type"},"language":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Language"},"audio_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Audio Enabled"},"client_ts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Client Ts","description":"Client wall-clock at send time, in ms epoch. For drift diagnostics only."}},"additionalProperties":false,"type":"object","required":["idempotency_key","event_type"],"title":"RecordListenerEventBody","description":"Request body of POST /saas/event/public/{eid}/listener/event.\n\nAll fields are FE-supplied. Server-side enrichment (event_id from path,\nip_hash, ua_hash) is applied later in the endpoint."},"RegenerateTTSSampleRequestPayload":{"properties":{"lang_code":{"$ref":"#/components/schemas/LangCodeExperimental","description":"Target language code for the new TTS sample"}},"type":"object","required":["lang_code"],"title":"RegenerateTTSSampleRequestPayload"},"RejectEventRequestRequest":{"properties":{"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id","description":"Event ID"},"request_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Request Id","description":"Request ID"},"reason":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Reason","description":"Optional reason stored on the row."}},"additionalProperties":false,"type":"object","title":"RejectEventRequestRequest"},"RejectEventRequestResponseData":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id","description":"Request ID"},"type":{"type":"string","title":"Type","description":"Request type."},"status":{"type":"string","title":"Status","description":"Resulting status (rejected)."}},"type":"object","required":["request_id","type","status"],"title":"RejectEventRequestResponseData"},"ServiceDeletionResult":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether deletion succeeded"},"message":{"type":"string","title":"Message","description":"Status message or error details","default":""},"details":{"additionalProperties":true,"type":"object","title":"Details","description":"Service-specific deletion details"}},"type":"object","required":["success"],"title":"ServiceDeletionResult","description":"Result of deletion from a single service"},"SingleLangTextSample":{"properties":{"content":{"type":"string","maxLength":10000,"title":"Content"},"lang":{"$ref":"#/components/schemas/LangCodeExperimental"}},"type":"object","required":["content","lang"],"title":"SingleLangTextSample"},"SingleVoiceInstantCloneLangCode":{"type":"string","enum":["ar","ar-ae","ar-sa","az","bg","cs","cy","da","de","el","en","en-au","en-ca","en-gb","en-us","es","es-mx","es-co","es-ar","es-ch","es-la","fi","fil","fr","fr-ca","he","hi","hr","hu","id","it","ja","ko","ms","nl","no","pl","pt","pt-br","ro","ru","sk","sv","ta","tr","uk","vi","zh","zh-hans","zh-hant"],"title":"SingleVoiceInstantCloneLangCode"},"SourceLang":{"type":"string","enum":["ar","hy","auto","be","bg","bn","ca","cs","cy","da","de","el","en","es","et","eu","fil","kk","mk","sr","fa","fi","fr","ga","gl","he","hi","hr","hu","id","it","ja","ko","lt","lv","mn","mr","ms","mt","no","nl","pl","pt","ro","ru","sk","sl","sv","sw","ta","th","tr","ug","uk","ur","vi","yue","zh"],"title":"SourceLang"},"SpeakerDTO":{"properties":{"name":{"type":"string","maxLength":128,"minLength":1,"title":"Name","description":"Speaker name"},"role":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Role","description":"Speaker role"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url","description":"Speaker photo URL"},"photo_s3_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo S3 Key","description":"Speaker photo S3 key"}},"type":"object","required":["name"],"title":"SpeakerDTO"},"StageDTO-Input":{"properties":{"stage_id":{"type":"string","format":"uuid","title":"Stage Id","description":"Stage ID"},"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Parent event ID"},"name":{"type":"string","title":"Name","description":"Stage name"},"status":{"$ref":"#/components/schemas/StageStatus","description":"Derived stage status (live if any channel streaming, ready if a channel is configured, else setup_required)"},"channels":{"items":{"$ref":"#/components/schemas/ChannelRefDTO"},"type":"array","title":"Channels","description":"Channels in the stage (id, broadcast link, live runtime status)"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Stage QR code URL"},"greenscreen_settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Greenscreen Settings","description":"Stage caption rendering settings"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Stage creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Stage last update time in UTC"}},"type":"object","required":["stage_id","event_id","name","status","qr_code_url","utc_created_at","utc_updated_at"],"title":"StageDTO"},"StageDTO-Output":{"properties":{"stage_id":{"type":"string","format":"uuid","title":"Stage Id","description":"Stage ID"},"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Parent event ID"},"name":{"type":"string","title":"Name","description":"Stage name"},"status":{"$ref":"#/components/schemas/StageStatus","description":"Derived stage status (live if any channel streaming, ready if a channel is configured, else setup_required)"},"channels":{"items":{"$ref":"#/components/schemas/ChannelRefDTO"},"type":"array","title":"Channels","description":"Channels in the stage (id, broadcast link, live runtime status)"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Stage QR code URL"},"greenscreen_settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Greenscreen Settings","description":"Stage caption rendering settings"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Stage creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Stage last update time in UTC"}},"type":"object","required":["stage_id","event_id","name","status","qr_code_url","utc_created_at","utc_updated_at"],"title":"StageDTO"},"StageStatus":{"type":"string","enum":["setup_required","ready","live"],"title":"StageStatus"},"StageWithChannelRefsDTO-Input":{"properties":{"stage_id":{"type":"string","format":"uuid","title":"Stage Id","description":"Stage ID"},"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Parent event ID"},"name":{"type":"string","title":"Name","description":"Stage name"},"status":{"$ref":"#/components/schemas/StageStatus","description":"Derived stage status (live if any channel streaming, ready if a channel is configured, else setup_required)"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Stage QR code URL"},"greenscreen_settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Greenscreen Settings","description":"Stage caption rendering settings"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Stage creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Stage last update time in UTC"},"channels":{"items":{"$ref":"#/components/schemas/ChannelRefDTO"},"type":"array","title":"Channels","description":"Channels in the stage (lean ref: id, broadcast link, live runtime status)"}},"type":"object","required":["stage_id","event_id","name","status","qr_code_url","utc_created_at","utc_updated_at"],"title":"StageWithChannelRefsDTO"},"StageWithChannelRefsDTO-Output":{"properties":{"stage_id":{"type":"string","format":"uuid","title":"Stage Id","description":"Stage ID"},"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Parent event ID"},"name":{"type":"string","title":"Name","description":"Stage name"},"status":{"$ref":"#/components/schemas/StageStatus","description":"Derived stage status (live if any channel streaming, ready if a channel is configured, else setup_required)"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Stage QR code URL"},"greenscreen_settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Greenscreen Settings","description":"Stage caption rendering settings"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Stage creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Stage last update time in UTC"},"channels":{"items":{"$ref":"#/components/schemas/ChannelRefDTO"},"type":"array","title":"Channels","description":"Channels in the stage (lean ref: id, broadcast link, live runtime status)"}},"type":"object","required":["stage_id","event_id","name","status","qr_code_url","utc_created_at","utc_updated_at"],"title":"StageWithChannelRefsDTO"},"StageWithChannelsDTO-Input":{"properties":{"stage_id":{"type":"string","format":"uuid","title":"Stage Id","description":"Stage ID"},"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Parent event ID"},"name":{"type":"string","title":"Name","description":"Stage name"},"status":{"$ref":"#/components/schemas/StageStatus","description":"Derived stage status (live if any channel streaming, ready if a channel is configured, else setup_required)"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Stage QR code URL"},"greenscreen_settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Greenscreen Settings","description":"Stage caption rendering settings"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Stage creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Stage last update time in UTC"},"channels":{"items":{"$ref":"#/components/schemas/ChannelInBundleDTO"},"type":"array","title":"Channels","description":"Channels in the stage"}},"type":"object","required":["stage_id","event_id","name","status","qr_code_url","utc_created_at","utc_updated_at"],"title":"StageWithChannelsDTO"},"StageWithChannelsDTO-Output":{"properties":{"stage_id":{"type":"string","format":"uuid","title":"Stage Id","description":"Stage ID"},"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Parent event ID"},"name":{"type":"string","title":"Name","description":"Stage name"},"status":{"$ref":"#/components/schemas/StageStatus","description":"Derived stage status (live if any channel streaming, ready if a channel is configured, else setup_required)"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Stage QR code URL"},"greenscreen_settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Greenscreen Settings","description":"Stage caption rendering settings"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Stage creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Stage last update time in UTC"},"channels":{"items":{"$ref":"#/components/schemas/ChannelInBundleDTO"},"type":"array","title":"Channels","description":"Channels in the stage"}},"type":"object","required":["stage_id","event_id","name","status","qr_code_url","utc_created_at","utc_updated_at"],"title":"StageWithChannelsDTO"},"StartDubbingResponseData":{"properties":{"dubbing_id":{"type":"string","format":"uuid4","title":"Dubbing Id","description":"Dubbing ID"},"status":{"$ref":"#/components/schemas/DubbingProcessingStatus","description":"Dubbing status"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Dubbing creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Dubbing last update time in UTC"}},"type":"object","required":["dubbing_id","status","utc_created_at","utc_updated_at"],"title":"StartDubbingResponseData"},"StoreValuePayload":{"properties":{"value":{"anyOf":[{"type":"string"},{"additionalProperties":true,"type":"object"},{"items":{},"type":"array"},{"type":"string","format":"binary"}],"title":"Value"},"ttl":{"anyOf":[{"type":"integer","maximum":31536000.0,"minimum":60.0},{"type":"null"}],"title":"Ttl"},"metadata":{"anyOf":[{"$ref":"#/components/schemas/KVMetadata"},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Content Type"}},"type":"object","required":["value"],"title":"StoreValuePayload","description":"Payload for store value request (from request body)"},"StoreValueResponseData":{"properties":{"entity":{"$ref":"#/components/schemas/KVEntity"},"key":{"type":"string","title":"Key"},"created":{"type":"boolean","title":"Created"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"content_type":{"type":"string","title":"Content Type"},"size_bytes":{"type":"integer","title":"Size Bytes"}},"type":"object","required":["entity","key","created","expires_at","content_type","size_bytes"],"title":"StoreValueResponseData","description":"Response data for store operation"},"SubmitRequestBody":{"properties":{"type":{"$ref":"#/components/schemas/EventRequestType","description":"Request type."},"channel_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Channel Id","description":"Target channel (for channel-scoped types like add_language)."},"payload":{"additionalProperties":true,"type":"object","title":"Payload","description":"Type-specific data, e.g. {\"language\": \"de\"}."},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128,"minLength":8},{"type":"null"}],"title":"Idempotency Key","description":"Optional client key so retries don't enqueue duplicates."},"access_token":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Access Token","description":"Subscriber Event Access Token (required only when the event requires it)."}},"additionalProperties":false,"type":"object","required":["type"],"title":"SubmitRequestBody","description":"Body of POST /saas/event/public/{eid}/requests.\n\nGeneric, extensible: ``type`` selects the handler, ``payload`` carries the\ntype-specific data (add_language → ``{\"language\": \"de\"}``). ``channel_id``\nis set for channel-scoped types."},"SubmitRequestResponseData":{"properties":{"request_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Request Id","description":"Created/updated request id; null when already satisfied."},"type":{"type":"string","title":"Type","description":"Request type."},"status":{"type":"string","title":"Status","description":"queued | already_pending | already_satisfied"}},"type":"object","required":["type","status"],"title":"SubmitRequestResponseData"},"SynthesizeSpeechRequest":{"properties":{"text":{"type":"string","title":"Text","description":"Text to synthesize"},"lang":{"$ref":"#/components/schemas/LangCodeExperimental","description":"Language code"},"voice_id":{"type":"string","title":"Voice Id","description":"Voice ID"}},"type":"object","required":["text","lang","voice_id"],"title":"SynthesizeSpeechRequest"},"SynthesizeSpeechResponseData-Input":{"properties":{"blob_id":{"type":"string","format":"uuid","title":"Blob Id","description":"TTS sample blob ID"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"TTS sample URL"},"audio_metadata":{"$ref":"#/components/schemas/AudioMetadata","description":"Audio metadata"},"text":{"$ref":"#/components/schemas/SingleLangTextSample","description":"Text"},"model":{"type":"string","title":"Model","description":"Model"},"filename":{"type":"string","title":"Filename","description":"Filename"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"MIME type"},"display_name":{"type":"string","title":"Display Name","description":"Display name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"}},"type":"object","required":["blob_id","url","audio_metadata","text","model","filename","mime_type","display_name"],"title":"SynthesizeSpeechResponseData"},"SynthesizeSpeechResponseData-Output":{"properties":{"blob_id":{"type":"string","format":"uuid","title":"Blob Id","description":"TTS sample blob ID"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"TTS sample URL"},"audio_metadata":{"$ref":"#/components/schemas/AudioMetadata","description":"Audio metadata"},"text":{"$ref":"#/components/schemas/SingleLangTextSample","description":"Text"},"model":{"type":"string","title":"Model","description":"Model"},"filename":{"type":"string","title":"Filename","description":"Filename"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"MIME type"},"display_name":{"type":"string","title":"Display Name","description":"Display name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"}},"type":"object","required":["blob_id","url","audio_metadata","text","model","filename","mime_type","display_name"],"title":"SynthesizeSpeechResponseData"},"TTSSamplePageItem-Input":{"properties":{"user_id":{"type":"string","title":"User Id","description":"User ID"},"blob_id":{"type":"string","format":"uuid","title":"Blob Id","description":"TTS sample blob ID"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"TTS sample URL"},"audio_metadata":{"$ref":"#/components/schemas/AudioMetadata","description":"Audio metadata"},"text":{"$ref":"#/components/schemas/SingleLangTextSample","description":"Text"},"model":{"type":"string","title":"Model","description":"Model"},"filename":{"type":"string","title":"Filename","description":"Filename"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"MIME type"},"display_name":{"type":"string","title":"Display Name","description":"Display name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"}},"type":"object","required":["user_id","blob_id","url","audio_metadata","text","model","filename","mime_type","display_name","utc_created_at"],"title":"TTSSamplePageItem"},"TTSSamplePageItem-Output":{"properties":{"user_id":{"type":"string","title":"User Id","description":"User ID"},"blob_id":{"type":"string","format":"uuid","title":"Blob Id","description":"TTS sample blob ID"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"TTS sample URL"},"audio_metadata":{"$ref":"#/components/schemas/AudioMetadata","description":"Audio metadata"},"text":{"$ref":"#/components/schemas/SingleLangTextSample","description":"Text"},"model":{"type":"string","title":"Model","description":"Model"},"filename":{"type":"string","title":"Filename","description":"Filename"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"MIME type"},"display_name":{"type":"string","title":"Display Name","description":"Display name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"}},"type":"object","required":["user_id","blob_id","url","audio_metadata","text","model","filename","mime_type","display_name","utc_created_at"],"title":"TTSSamplePageItem"},"UpdateChannelRequest":{"properties":{"channel_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Channel Id","description":"Channel ID"},"name":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Name","description":"Channel name"}},"additionalProperties":true,"type":"object","title":"UpdateChannelRequest"},"UpdateEventRequestPayload":{"properties":{"title":{"type":"string","maxLength":100,"minLength":3,"title":"Title","description":"Event updated title"},"event_status":{"$ref":"#/components/schemas/EventStatus","description":"Event updated status"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event updated start date and time in UTC"},"duration":{"type":"string","format":"duration","title":"Duration","description":"Event updated duration"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description","description":"Event updated description"},"access_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Access Code","description":"Event updated access code"}},"type":"object","required":["title","event_status","utc_start_dt","duration"],"title":"UpdateEventRequestPayload"},"UpdateEventResponseData":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Event ID"},"title":{"type":"string","title":"Title","description":"Event title"},"event_type":{"$ref":"#/components/schemas/EventType","description":"Event type"},"event_status":{"$ref":"#/components/schemas/EventStatus","description":"Event status"},"qr_code_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Qr Code Url","description":"Event QR code URL"},"utc_start_dt":{"type":"string","format":"date-time","title":"Utc Start Dt","description":"Event start date and time in UTC"},"duration":{"type":"string","format":"duration","title":"Duration","description":"Event duration"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Event description"},"access_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Code","description":"Event access code"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Event creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Event last update time in UTC"}},"type":"object","required":["event_id","title","event_type","event_status","qr_code_url","utc_start_dt","duration","utc_created_at","utc_updated_at"],"title":"UpdateEventResponseData"},"UpdateEventSessionRequest":{"properties":{"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id","description":"Parent event ID"},"session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Session Id","description":"Session ID"},"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title","description":"Session title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"Session description"},"utc_start_dt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Utc Start Dt","description":"Session start date and time in UTC"},"utc_end_dt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Utc End Dt","description":"Session end date and time in UTC"},"speakers":{"anyOf":[{"items":{"$ref":"#/components/schemas/SpeakerDTO"},"type":"array"},{"type":"null"}],"title":"Speakers","description":"Session speakers"},"stage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Stage Id","description":"Parent stage ID"}},"type":"object","title":"UpdateEventSessionRequest"},"UpdateEventV2Request":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Event ID"},"title":{"anyOf":[{"type":"string","maxLength":100,"minLength":3},{"type":"null"}],"title":"Title","description":"Event title"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description","description":"Event description"},"event_type":{"anyOf":[{"$ref":"#/components/schemas/EventType"},{"type":"null"}],"description":"Event type"},"location":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Location","description":"Event location"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone","description":"Event IANA timezone"},"utc_start_dt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Utc Start Dt","description":"Event start date and time in UTC"},"utc_end_dt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Utc End Dt","description":"Event end date and time in UTC"},"is_recurring":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Recurring","description":"Indicates if the event is recurring"},"cover_image_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Image Key","description":"Event cover image S3 key"},"access_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Access Code","description":"Event access code"},"target_languages":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Target Languages","description":"Default translation languages for the event; pre-fills new channels"},"listener_language_mode":{"anyOf":[{"$ref":"#/components/schemas/ListenerLanguageMode"},{"type":"null"}],"description":"How anonymous listeners may request extra languages: off | approval | auto."}},"additionalProperties":true,"type":"object","required":["event_id"],"title":"UpdateEventV2Request"},"UpdateExternalVoiceRequestPayload":{"properties":{"external_voice_id":{"type":"string","title":"External Voice Id","description":"New external voice ID (e.g. ElevenLabs voice ID)"},"delete_external_voice":{"type":"boolean","title":"Delete External Voice","description":"Delete old external voice from provider if IDs differ","default":false}},"type":"object","required":["external_voice_id"],"title":"UpdateExternalVoiceRequestPayload"},"UpdateExternalVoiceResponseData":{"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"Voice ID"},"external_voice_id":{"type":"string","title":"External Voice Id","description":"Updated external voice ID"}},"type":"object","required":["voice_id","external_voice_id"],"title":"UpdateExternalVoiceResponseData"},"UpdateGlossaryRequestPayload":{"properties":{"name":{"type":"string","title":"Name","description":"Glossary updated name"},"is_enabled":{"type":"boolean","title":"Is Enabled","description":"Glossary updated status"}},"type":"object","required":["name","is_enabled"],"title":"UpdateGlossaryRequestPayload"},"UpdateGlossaryResponseData":{"properties":{"glossary_id":{"type":"string","format":"uuid4","title":"Glossary Id","description":"Glossary ID"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"name":{"type":"string","title":"Name","description":"Glossary name"},"is_enabled":{"type":"boolean","title":"Is Enabled","description":"Glossary status"},"glossary_type":{"$ref":"#/components/schemas/GlossaryType","description":"Glossary type"},"source_lang":{"$ref":"#/components/schemas/SourceLang","description":"Source language of glossary"},"target_lang":{"type":"string","title":"Target Lang","description":"Target language of glossary"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Glossary created time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Glossary last update time in UTC"}},"type":"object","required":["glossary_id","user_id","name","is_enabled","glossary_type","source_lang","target_lang","utc_created_at","utc_updated_at"],"title":"UpdateGlossaryResponseData"},"UpdateStageRequest":{"properties":{"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id","description":"Parent event ID"},"stage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Stage Id","description":"Stage ID"},"name":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Name","description":"Stage name"},"greenscreen_settings":{"anyOf":[{"$ref":"#/components/schemas/GreenscreenSettings"},{"type":"null"}],"description":"Stage caption rendering settings"}},"type":"object","title":"UpdateStageRequest"},"UpdateTranscriptionSegmentsRequestPayload":{"properties":{"transcription_segments":{"$ref":"#/components/schemas/EditableSegments"}},"type":"object","required":["transcription_segments"],"title":"UpdateTranscriptionSegmentsRequestPayload"},"UpdateTranscriptionSegmentsResponseData-Input":{"properties":{"transcription_segments":{"$ref":"#/components/schemas/EditableSegments"},"translation_segments":{"$ref":"#/components/schemas/EditableSegments"}},"type":"object","required":["transcription_segments","translation_segments"],"title":"UpdateTranscriptionSegmentsResponseData"},"UpdateTranscriptionSegmentsResponseData-Output":{"properties":{"transcription_segments":{"$ref":"#/components/schemas/EditableSegments"},"translation_segments":{"$ref":"#/components/schemas/EditableSegments"}},"type":"object","required":["transcription_segments","translation_segments"],"title":"UpdateTranscriptionSegmentsResponseData"},"UpdateTranslationSegmentsRequestPayload":{"properties":{"translation_segments":{"$ref":"#/components/schemas/EditableSegments"}},"type":"object","required":["translation_segments"],"title":"UpdateTranslationSegmentsRequestPayload"},"UpdateTranslationSegmentsResponseData-Input":{"properties":{"translation_segments":{"$ref":"#/components/schemas/EditableSegments"}},"type":"object","required":["translation_segments"],"title":"UpdateTranslationSegmentsResponseData"},"UpdateTranslationSegmentsResponseData-Output":{"properties":{"translation_segments":{"$ref":"#/components/schemas/EditableSegments"}},"type":"object","required":["translation_segments"],"title":"UpdateTranslationSegmentsResponseData"},"UpdateVoiceRequestPayload":{"properties":{"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}],"description":"Labels"},"name":{"anyOf":[{"type":"string","pattern":"^[\\w\\-. ()]+$"},{"type":"null"}],"title":"Name","description":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"attributes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Attributes","description":"Custom voice attributes/tags"}},"type":"object","title":"UpdateVoiceRequestPayload"},"UpdateVoiceResponseData-Input":{"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"Voice ID"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"UTC updated at"},"voice_type":{"$ref":"#/components/schemas/VoiceType","description":"Voice type"},"processing_status":{"$ref":"#/components/schemas/VoiceProcessingStatus","description":"Processing status"},"processing_result":{"$ref":"#/components/schemas/VoiceProcessingResult","description":"Processing result"},"model":{"type":"string","title":"Model","description":"Model","default":""},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}],"description":"Labels"},"name":{"type":"string","title":"Name","description":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"has_external_voice":{"type":"boolean","title":"Has External Voice","description":"Whether an external voice provider voice exists","default":false},"attributes":{"items":{"type":"string"},"type":"array","title":"Attributes","description":"Custom voice attributes/tags"},"is_favorite":{"type":"boolean","title":"Is Favorite","description":"Whether this voice is marked as favorite by the caller","default":false}},"type":"object","required":["voice_id","user_id","utc_created_at","utc_updated_at","voice_type","processing_status","processing_result","name"],"title":"UpdateVoiceResponseData"},"UpdateVoiceResponseData-Output":{"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"Voice ID"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"UTC updated at"},"voice_type":{"$ref":"#/components/schemas/VoiceType","description":"Voice type"},"processing_status":{"$ref":"#/components/schemas/VoiceProcessingStatus","description":"Processing status"},"processing_result":{"$ref":"#/components/schemas/VoiceProcessingResult","description":"Processing result"},"model":{"type":"string","title":"Model","description":"Model","default":""},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}],"description":"Labels"},"name":{"type":"string","title":"Name","description":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"has_external_voice":{"type":"boolean","title":"Has External Voice","description":"Whether an external voice provider voice exists","default":false},"attributes":{"items":{"type":"string"},"type":"array","title":"Attributes","description":"Custom voice attributes/tags"},"is_favorite":{"type":"boolean","title":"Is Favorite","description":"Whether this voice is marked as favorite by the caller","default":false}},"type":"object","required":["voice_id","user_id","utc_created_at","utc_updated_at","voice_type","processing_status","processing_result","name"],"title":"UpdateVoiceResponseData"},"UploadBlobResponseData":{"properties":{"item_id":{"type":"string","maxLength":36,"minLength":1,"title":"Item Id","description":"Identifier of the item from upload request."},"blob_id":{"type":"string","title":"Blob Id","description":"Blob ID"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"Upload URL"},"form_data":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Form Data","description":"Form data for uploading the file"}},"type":"object","required":["item_id","blob_id","url","form_data"],"title":"UploadBlobResponseData"},"UploadGlossaryByIDResponseData":{"properties":{"glossary_id":{"type":"string","format":"uuid4","title":"Glossary Id","description":"Glossary ID"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"name":{"type":"string","title":"Name","description":"Glossary name"},"is_enabled":{"type":"boolean","title":"Is Enabled","description":"Glossary status"},"glossary_type":{"$ref":"#/components/schemas/GlossaryType","description":"Glossary type"},"source_lang":{"$ref":"#/components/schemas/SourceLang","description":"Source language of glossary"},"target_lang":{"type":"string","title":"Target Lang","description":"Target language of glossary"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Glossary created time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Glossary last update time in UTC"}},"type":"object","required":["glossary_id","user_id","name","is_enabled","glossary_type","source_lang","target_lang","utc_created_at","utc_updated_at"],"title":"UploadGlossaryByIDResponseData"},"UploadRequest":{"properties":{"data":{"items":{"$ref":"#/components/schemas/BlobMetadata"},"type":"array","maxItems":10,"minItems":1,"title":"Data","description":"List of blobs to upload"}},"type":"object","required":["data"],"title":"UploadRequest"},"UserDubbingPageItem-Input":{"properties":{"dubbing_id":{"type":"string","format":"uuid4","title":"Dubbing Id","description":"Dubbing ID"},"status":{"$ref":"#/components/schemas/DubbingProcessingStatus","description":"Dubbing status"},"name":{"type":"string","title":"Name","description":"Dubbing name"},"source_language":{"$ref":"#/components/schemas/DubbingLangCode","description":"Dubbing source language"},"target_language":{"$ref":"#/components/schemas/LangCodeExperimental","description":"Dubbing target language"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Dubbing creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Dubbing last update time in UTC"},"sample":{"anyOf":[{"$ref":"#/components/schemas/GetDubbingSample"},{"type":"null"}],"description":"Dubbing input sample data"},"processing_result":{"anyOf":[{"$ref":"#/components/schemas/DubbingProcessingResult"},{"type":"null"}],"description":"Dubbing processing warnings and errors"},"dubbing_result":{"anyOf":[{"$ref":"#/components/schemas/GetDubbingResult"},{"type":"null"}],"description":"Dubbing result"}},"type":"object","required":["dubbing_id","status","name","source_language","target_language","utc_created_at","utc_updated_at","sample","processing_result","dubbing_result"],"title":"UserDubbingPageItem"},"UserDubbingPageItem-Output":{"properties":{"dubbing_id":{"type":"string","format":"uuid4","title":"Dubbing Id","description":"Dubbing ID"},"status":{"$ref":"#/components/schemas/DubbingProcessingStatus","description":"Dubbing status"},"name":{"type":"string","title":"Name","description":"Dubbing name"},"source_language":{"$ref":"#/components/schemas/DubbingLangCode","description":"Dubbing source language"},"target_language":{"$ref":"#/components/schemas/LangCodeExperimental","description":"Dubbing target language"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Dubbing creation time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Dubbing last update time in UTC"},"sample":{"anyOf":[{"$ref":"#/components/schemas/GetDubbingSample"},{"type":"null"}],"description":"Dubbing input sample data"},"processing_result":{"anyOf":[{"$ref":"#/components/schemas/DubbingProcessingResult"},{"type":"null"}],"description":"Dubbing processing warnings and errors"},"dubbing_result":{"anyOf":[{"$ref":"#/components/schemas/GetDubbingResult"},{"type":"null"}],"description":"Dubbing result"}},"type":"object","required":["dubbing_id","status","name","source_language","target_language","utc_created_at","utc_updated_at","sample","processing_result","dubbing_result"],"title":"UserDubbingPageItem"},"UserGlossaryPageItem":{"properties":{"glossary_id":{"type":"string","format":"uuid4","title":"Glossary Id","description":"Glossary ID"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"name":{"type":"string","title":"Name","description":"Glossary name"},"is_enabled":{"type":"boolean","title":"Is Enabled","description":"Glossary status"},"glossary_type":{"$ref":"#/components/schemas/GlossaryType","description":"Glossary type"},"source_lang":{"$ref":"#/components/schemas/SourceLang","description":"Source language of glossary"},"target_lang":{"type":"string","title":"Target Lang","description":"Target language of glossary"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"Glossary created time in UTC"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"Glossary created time in UTC"}},"type":"object","required":["glossary_id","user_id","name","is_enabled","glossary_type","source_lang","target_lang","utc_created_at","utc_updated_at"],"title":"UserGlossaryPageItem"},"UserVoicePageItem-Input":{"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"Voice ID"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"UTC updated at"},"voice_type":{"$ref":"#/components/schemas/VoiceType","description":"Voice type"},"processing_status":{"$ref":"#/components/schemas/VoiceProcessingStatus","description":"Processing status"},"processing_result":{"$ref":"#/components/schemas/VoiceProcessingResult","description":"Processing result"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","description":"Model"},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}],"description":"Labels"},"name":{"type":"string","title":"Name","description":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"has_external_voice":{"type":"boolean","title":"Has External Voice","description":"Whether an external voice provider voice exists","default":false},"attributes":{"items":{"type":"string"},"type":"array","title":"Attributes","description":"Custom voice attributes/tags"},"tts_sample":{"anyOf":[{"$ref":"#/components/schemas/GetUserVoicesVoiceTTSSample-Input"},{"type":"null"}],"description":"TTS sample"},"tts_samples":{"items":{"$ref":"#/components/schemas/GetUserVoicesVoiceTTSSample-Input"},"type":"array","title":"Tts Samples","description":"Latest TTS sample per provider"},"is_favorite":{"type":"boolean","title":"Is Favorite","description":"Is favorite for the current user","default":false}},"type":"object","required":["voice_id","user_id","utc_created_at","utc_updated_at","voice_type","processing_status","processing_result","name"],"title":"UserVoicePageItem"},"UserVoicePageItem-Output":{"properties":{"voice_id":{"type":"string","title":"Voice Id","description":"Voice ID"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At","description":"UTC created at"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At","description":"UTC updated at"},"voice_type":{"$ref":"#/components/schemas/VoiceType","description":"Voice type"},"processing_status":{"$ref":"#/components/schemas/VoiceProcessingStatus","description":"Processing status"},"processing_result":{"$ref":"#/components/schemas/VoiceProcessingResult","description":"Processing result"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","description":"Model"},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}],"description":"Labels"},"name":{"type":"string","title":"Name","description":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description"},"has_external_voice":{"type":"boolean","title":"Has External Voice","description":"Whether an external voice provider voice exists","default":false},"attributes":{"items":{"type":"string"},"type":"array","title":"Attributes","description":"Custom voice attributes/tags"},"tts_sample":{"anyOf":[{"$ref":"#/components/schemas/GetUserVoicesVoiceTTSSample-Output"},{"type":"null"}],"description":"TTS sample"},"tts_samples":{"items":{"$ref":"#/components/schemas/GetUserVoicesVoiceTTSSample-Output"},"type":"array","title":"Tts Samples","description":"Latest TTS sample per provider"},"is_favorite":{"type":"boolean","title":"Is Favorite","description":"Is favorite for the current user","default":false}},"type":"object","required":["voice_id","user_id","utc_created_at","utc_updated_at","voice_type","processing_status","processing_result","name"],"title":"UserVoicePageItem"},"VerifyListenerCaptchaBody":{"properties":{"turnstile_token":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Turnstile Token","description":"Cloudflare Turnstile challenge token from the FE widget callback. Optional when TURNSTILE_ENABLED=false (verifier is a no-op)."}},"additionalProperties":false,"type":"object","title":"VerifyListenerCaptchaBody","description":"Body of POST /saas/event/public/{eid}/listener/verify."},"VerifyListenerCaptchaResponseData":{"properties":{"access_token":{"type":"string","title":"Access Token","description":"Signed Subscriber Event Access Token (HS256 JWT)"},"expires_in_seconds":{"type":"integer","title":"Expires In Seconds","description":"Seconds until the token expires"}},"type":"object","required":["access_token","expires_in_seconds"],"title":"VerifyListenerCaptchaResponseData"},"VoiceCloneRequest":{"properties":{"name":{"type":"string","maxLength":64,"minLength":3,"pattern":"^[\\w\\-. ()]+$","title":"Name","description":"Name of the of the voice"},"samples":{"items":{"$ref":"#/components/schemas/VoiceSample"},"type":"array","maxItems":1,"minItems":1,"title":"Samples","description":"List of voice samples to upload"},"description":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Description","description":"Description of the file."},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}],"description":"Voice labels."},"skip_external_voice":{"type":"boolean","title":"Skip External Voice","description":"Skip external voice provider creation during cloning","default":false},"attributes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Attributes","description":"Custom voice attributes/tags"}},"type":"object","required":["name","samples"],"title":"VoiceCloneRequest"},"VoiceCloneResponseData-Input":{"properties":{"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At"},"voice_id":{"type":"string","format":"uuid","title":"Voice Id"},"user_id":{"type":"string","title":"User Id"},"name":{"type":"string","title":"Name"},"voice_type":{"$ref":"#/components/schemas/VoiceType"},"processing_status":{"$ref":"#/components/schemas/VoiceProcessingStatus"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}]},"lang_code":{"anyOf":[{"$ref":"#/components/schemas/SingleVoiceInstantCloneLangCode"},{"type":"null"}]},"has_external_voice":{"type":"boolean","title":"Has External Voice","description":"Whether an external voice provider voice exists","default":false},"attributes":{"items":{"type":"string"},"type":"array","title":"Attributes","description":"Custom voice attributes/tags"},"samples":{"items":{"$ref":"#/components/schemas/UploadBlobResponseData"},"type":"array","title":"Samples","description":"Pre-signed links to upload voice samples"}},"type":"object","required":["utc_created_at","voice_id","user_id","name","voice_type","processing_status","samples"],"title":"VoiceCloneResponseData"},"VoiceCloneResponseData-Output":{"properties":{"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At"},"voice_id":{"type":"string","format":"uuid","title":"Voice Id"},"user_id":{"type":"string","title":"User Id"},"name":{"type":"string","title":"Name"},"voice_type":{"$ref":"#/components/schemas/VoiceType"},"processing_status":{"$ref":"#/components/schemas/VoiceProcessingStatus"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}]},"lang_code":{"anyOf":[{"$ref":"#/components/schemas/SingleVoiceInstantCloneLangCode"},{"type":"null"}]},"has_external_voice":{"type":"boolean","title":"Has External Voice","description":"Whether an external voice provider voice exists","default":false},"attributes":{"items":{"type":"string"},"type":"array","title":"Attributes","description":"Custom voice attributes/tags"},"samples":{"items":{"$ref":"#/components/schemas/UploadBlobResponseData"},"type":"array","title":"Samples","description":"Pre-signed links to upload voice samples"}},"type":"object","required":["utc_created_at","voice_id","user_id","name","voice_type","processing_status","samples"],"title":"VoiceCloneResponseData"},"VoiceProcessingResult":{"properties":{"warnings":{"items":{"$ref":"#/components/schemas/ProblemDetails"},"type":"array","title":"Warnings","default":[]},"errors":{"items":{"$ref":"#/components/schemas/ProblemDetails"},"type":"array","title":"Errors","default":[]}},"type":"object","title":"VoiceProcessingResult"},"VoiceProcessingStatus":{"type":"string","enum":["created","pending","ready","failed"],"title":"VoiceProcessingStatus"},"VoiceProvider":{"type":"string","enum":["palabra","elevenlabs"],"title":"VoiceProvider"},"VoiceSample":{"properties":{"filename":{"type":"string","maxLength":255,"minLength":3,"pattern":"^[\\w\\-. '\\\"`()]+$","title":"Filename","description":"File name. Ex: 'awesome_file.mp4'"},"mime_type":{"$ref":"#/components/schemas/AllowedMIMEType","description":"File MIME type."},"display_name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Display Name","description":"File display name."},"description":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Description","description":"File description."},"item_id":{"anyOf":[{"type":"string","maxLength":36,"minLength":1},{"type":"null"}],"title":"Item Id","description":"Identifier of the item. It represents the file ID in the request when uploading multiple files. Use it to identify the upload URL in the response related to the target file."},"denoise":{"type":"boolean","title":"Denoise","description":"Set `denoise` to `true` denoise if a sample contains background noise","default":false},"speech_normalization":{"type":"boolean","title":"Speech Normalization","description":"Set `speech_normalization` to `true` if a sample needs to be normalized","default":false},"lang_code":{"$ref":"#/components/schemas/LangCodeExperimental"}},"type":"object","required":["filename","mime_type","lang_code"],"title":"VoiceSample"},"VoiceType":{"type":"string","enum":["instantly_cloned","instantly_cloned_builtin"],"title":"VoiceType"},"Session":{"type":"object","properties":{"id":{"type":"string","description":"Session identifier."},"created_at":{"type":"string","format":"date-time","description":"Session creation timestamp."},"updated_at":{"type":"string","format":"date-time","description":"Session last update timestamp."},"expires_at":{"type":"string","format":"date-time","description":"Session expiration timestamp."},"intent":{"type":"string","description":"Intent of the session. Used for analytics and debugging purposes.","enum":["api","broadcaster","desktop","event","agora","captions","bot_conversational","bot_presentation"]},"aggregation_id":{"type":"string","description":"Aggregation ID for grouping sessions in billing display."},"organization":{"type":"string","description":"Casdoor organization that owns the session."}}},"GetUserSessionsOut":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Session"}},"next_page_token":{"type":"string","description":"Token for fetching the next page of results."}}},"SessionResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Session"}}},"HTTPError":{"type":"object","properties":{"error":{"type":"string","description":"Error message."}}},"CreateSessionRequest":{"properties":{"data":{"$ref":"#/components/schemas/CreateSessionRequestData"}}},"CreateSessionRequestData":{"properties":{"publisher_count":{"type":"integer","maximum":1,"minimum":1,"title":"Publisher token count","description":"Number of publisher tokens to generate","default":1},"subscriber_count":{"type":"integer","maximum":10,"minimum":0,"title":"Subscriber token count","description":"**Deprecated.** Subscriber tokens will be removed in the next release. Set to 0 or omit.","deprecated":true,"default":0},"publisher_can_subscribe":{"type":"boolean","title":"Publisher can subscribe","description":"Indicates if publisher can also subscribe to the stream. Disabling this option may help with gstreamer livekitwebrtcsink issues. https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/443","default":true},"intent":{"type":"string","title":"Intent","description":"Intent of the session. Used for analytics and debugging purposes.","enum":["api","broadcaster","desktop","event","agora","captions","bot_conversational","bot_presentation"],"default":"api"}},"type":"object","title":"CreateSessionV2HTTPRequestData"},"CreateSessionResponse":{"properties":{"data":{"$ref":"#/components/schemas/CreateSessionResponseData"}}},"CreateSessionResponseData":{"properties":{"publisher":{"items":{"type":"string"},"type":"array","title":"List of access token for publishers with RW permissions","description":"JWT used to connect to the WebRTS server and Translation management WebSocket API","example":["eyJhbGciOiJIUzI1NiI...wNzUwMzcsImV4cCI6MTYzMjA3NTAzN30.eyJpZCI6MX0"]},"subscriber":{"items":{"type":"string"},"type":"array","title":"List of access token for subscribers with RO permissions","description":"**Deprecated.** The `subscriber` field will be removed in the next release.","deprecated":true,"example":["eyJhbGciOiJIUzI1NiI...wNzUwMzcsImV4cCI6MTYzMjA3NTAzN30.eyJpZCI6MX0"]},"room_name":{"type":"string","title":"Room name","description":"Room name to join WebRTC server","example":"e0a14Cb7"},"stream_url":{"type":"string","title":"Stream URL","description":"Streaming API URL to publish a stream","example":"https://api.palabra.ai/stream/"},"control_url":{"type":"string","title":"Control URL","description":"WebSocket API URL to manage translation options","example":"wss://api.palabra.ai/stream/control/"},"intent":{"type":"string","title":"Intent","description":"Intent of the session. Used for analytics and debugging purposes.","enum":["api","broadcaster","desktop","event","agora","captions","bot_conversational","bot_presentation"],"default":"api"},"id":{"type":"string","title":"Session ID","description":"Publisher session identifier."},"aggregation_id":{"type":"string","title":"Aggregation ID","description":"Unique id per group of sessions to display aggregated billing details"},"organization":{"type":"string","title":"Organization","description":"Casdoor organization that owns the session."}},"type":"object","required":["publisher","subscriber","room_name","stream_url","control_url","intent","id","organization"],"title":"CreateSessionResponseData","description":"Streaming session response data. **Notice**, address provided in the response example\nare **placeholders** and will differ in real response."},"sdk.SuccessResponse-CreateSessionResponseDataV2":{"type":"object","properties":{"data":{"properties":{"publisher":{"type":"string","title":"List of access token for publishers with RW permissions","description":"JWT used to connect to the WebRTC server and Translation management WebSocket API.","example":"eyJhbGciOiJIUzI1NiI...wNzUwMzcsImV4cCI6MTYzMjA3NTAzN30.eyJpZCI6MX0"},"subscriber":{"items":{"type":"string"},"type":"array","title":"List of access token for subscribers with RO permissions","description":"**Deprecated.** The `subscriber` field will be removed in the next release.","deprecated":true,"example":"eyJhbGciOiJIUzI1NiI...wNzUwMzcsImV4cCI6MTYzMjA3NTAzN30.eyJpZCI6MX0"},"webrtc_room_name":{"type":"string","title":"Room name","description":"Room name to join WebRTC server.","example":"e0a14Cb7"},"webrtc_url":{"type":"string","title":"Stream URL","description":"Streaming API URL to publish a stream.","example":"https://api.palabra.ai/stream/"},"ws_url":{"type":"string","title":"Control URL","description":"WebSocket API URL to manage translation options.","example":"wss://api.palabra.ai/stream/control/"},"intent":{"type":"string","title":"Intent","description":"Intent of the session. Used for analytics and debugging purposes.","enum":["api","broadcaster","desktop","event","agora","captions","bot_conversational","bot_presentation"],"default":"api"},"id":{"type":"string","title":"Session ID","description":"Publisher session identifier."},"aggregation_id":{"type":"string","title":"Aggregation ID","description":"Unique id per group of sessions to display aggregated billing details"},"organization":{"type":"string","title":"Organization","description":"Casdoor organization that owns the session."}},"type":"object","required":["publisher","subscriber","webrtc_room_name","webrtc_url","ws_url","intent","id","organization"],"title":"CreateSessionResponseData","description":"Streaming session response data. **Notice**, address provided in the response example are **placeholders** and will differ in real response."},"ok":{"type":"boolean"}}},"CreateSessionRequestV2":{"properties":{"intent":{"type":"string","title":"Intent","description":"Intent of the session. Used for analytics and debugging purposes.","enum":["api","broadcaster","desktop","event","agora","captions","bot_conversational","bot_presentation"],"default":"api"},"aggregation_id":{"type":"string","title":"Aggregation id","description":"A client-chosen identifier shared across multiple sessions that should appear as one group in the billing usage view. Leave unset for ungrouped sessions.","example":"group-event-2026-q1"}},"type":"object","title":"CreateSessionHTTPRequestData"},"UsageResponse":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"duration_minutes":{"type":"integer","description":"Duration of the usage session in minutes."},"lang_count":{"type":"integer","description":"Count of languages used in the session."},"usd_amount":{"type":"string","description":"Amount in USD for the session."},"utc_ended_at":{"type":"string","format":"date-time","description":"End time of the session in UTC."},"utc_started_at":{"type":"string","format":"date-time","description":"Start time of the session in UTC."}}}},"next":{"type":"string","description":"Token for fetching the next page of results."}}},"ok":{"type":"boolean","description":"Status of the response.","example":true}}},"IncrementBalanceHandlerRequest":{"type":"object","properties":{"minutes_amount":{"type":"integer","description":"Amount of minutes to add to the user's balance."},"user_id":{"type":"string","description":"ID of the user whose balance will be incremented."}},"required":["minutes_amount","user_id"]},"BaseResponse":{"type":"object","properties":{"ok":{"type":"boolean","description":"Indicates if the operation was successful.","example":true}}},"ErrorResponse":{"type":"object","properties":{"ok":{"type":"boolean","description":"Indicates the operation failed.","example":false},"error":{"type":"string","description":"Error message describing the issue."}}},"ActivateTrialRequestPayload":{"properties":{"setup_intent_id":{"type":"string","title":"Setup Intent Id","description":"ID of the setup intent"},"tolt_referral":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Tolt Referral","description":"Tolt referral identifier to attach to customer metadata"},"promocode":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Promocode","description":"Optional promotion code to apply to the trial subscription"},"skip":{"type":"boolean","title":"Skip","description":"If true, skip trial and create a paid subscription immediately. Requires a confirmed SetupIntent (card pre-authorized). Only allowed for users who have not used their trial yet.","default":false}},"type":"object","required":["setup_intent_id"],"title":"ActivateTrialRequestPayload"},"ActivateTrialResponseData":{"properties":{"subscription_id":{"type":"string","title":"Subscription Id","description":"Stripe Subscription ID"},"operation_id":{"type":"string","title":"Operation Id","description":"Stripe operation ID"},"client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Secret","description":"PaymentIntent client_secret for 3DS confirmation. Populated for skip=true when first invoice requires 3DS."}},"type":"object","required":["subscription_id","operation_id"],"title":"ActivateTrialResponseData"},"ActivationCodeCreator":{"type":"string","enum":["admin"],"title":"ActivationCodeCreator"},"ActivationCodeListItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"code":{"type":"string","title":"Code"},"credits_granted":{"type":"integer","title":"Credits Granted"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"$ref":"#/components/schemas/ActivationCodeStatus"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization"},"claimed_by_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claimed By User Id"},"used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Used At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At"}},"type":"object","required":["id","code","credits_granted","status","utc_created_at"],"title":"ActivationCodeListItem"},"ActivationCodeStatus":{"type":"string","enum":["created","claimed","revoked","expired"],"title":"ActivationCodeStatus"},"BalanceResponseData":{"properties":{"credits":{"type":"integer","title":"Credits","description":"Current credit balance","examples":[120,0,-5]},"credits_usd_equivalent":{"type":"number","title":"Credits Usd Equivalent","description":"Approximate USD value of credits","examples":[120.0]}},"type":"object","required":["credits","credits_usd_equivalent"],"title":"BalanceResponseData","description":"User credit balance details."},"CancelDowngradeResponseData":{"properties":{"cancelled":{"type":"boolean","title":"Cancelled","description":"Whether downgrade was cancelled"}},"type":"object","required":["cancelled"],"title":"CancelDowngradeResponseData"},"CancelPending3dsRequestPayload":{"properties":{"subscription_id":{"type":"string","title":"Subscription Id"}},"type":"object","required":["subscription_id"],"title":"CancelPending3dsRequestPayload"},"CancelPending3dsResponseData":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether the pending 3DS was cancelled"}},"type":"object","required":["success"],"title":"CancelPending3dsResponseData"},"CheckoutSubscriptionPayload":{"properties":{"plan_id":{"$ref":"#/components/schemas/PlanV2","description":"ID of the plan to subscribe to","examples":["pro_monthly","scale_monthly","business_monthly"]},"tolt_referral":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Tolt Referral","description":"Tolt referral identifier to attach to customer metadata"}},"type":"object","required":["plan_id"],"title":"CheckoutSubscriptionPayload"},"CheckoutSubscriptionResponseData":{"properties":{"operation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Id","description":"Stripe operation ID"},"client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Secret","description":"PaymentIntent client secret for 3DS confirmation"},"subscription_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subscription Id","description":"Stripe Subscription ID. Populated when a Subscription is created (direct checkout, upgrade); None for downgrade schedules."}},"type":"object","required":["operation_id"],"title":"CheckoutSubscriptionResponseData"},"CompleteTrialRequestPayload":{"properties":{"subscription_id":{"type":"string","title":"Subscription Id"},"plan_id":{"$ref":"#/components/schemas/PlanV2"},"tolt_referral":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Tolt Referral","description":"Tolt referral identifier to attach to customer metadata"}},"type":"object","required":["subscription_id","plan_id"],"title":"CompleteTrialRequestPayload"},"CompleteTrialResponseData":{"properties":{"operation_id":{"type":"string","title":"Operation Id","description":"Stripe operation ID"},"client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Secret","description":"PaymentIntent client secret for 3DS confirmation"}},"type":"object","required":["operation_id"],"title":"CompleteTrialResponseData"},"CreateActivationCodeRequest":{"properties":{"credits_granted":{"type":"integer","maximum":10000000.0,"minimum":0.0,"title":"Credits Granted","default":0},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization"},"created_by":{"$ref":"#/components/schemas/ActivationCodeCreator","default":"admin"}},"type":"object","title":"CreateActivationCodeRequest"},"CreateActivationCodeResponseData":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"code":{"type":"string","title":"Code"},"credits_granted":{"type":"integer","title":"Credits Granted"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At"}},"type":"object","required":["id","code","credits_granted","utc_created_at"],"title":"CreateActivationCodeResponseData"},"CreateCheckoutLinkResponseData":{"properties":{"checkout_link":{"type":"string","title":"Checkout Link"}},"type":"object","required":["checkout_link"],"title":"CreateCheckoutLinkResponseData"},"CreatePortalLinkResponseData":{"properties":{"portal_link":{"type":"string","title":"Portal Link"}},"type":"object","required":["portal_link"],"title":"CreatePortalLinkResponseData"},"CreateSetupIntentRequestPayload":{"properties":{"plan_id":{"$ref":"#/components/schemas/PlanV2","description":"ID of the plan the user will transition to after the Trial ends"},"tolt_referral":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Tolt Referral","description":"Tolt referral identifier to attach to customer metadata"}},"type":"object","required":["plan_id"],"title":"CreateSetupIntentRequestPayload"},"CreateSetupIntentResponseData":{"properties":{"client_secret":{"type":"string","title":"Client Secret","description":"Client secret for Stripe.js to confirm SetupIntent","examples":["seti_xxx_secret_xxx"]},"setup_intent_id":{"type":"string","title":"Setup Intent Id","description":"SetupIntent ID for reference","examples":["seti_xxx"]}},"type":"object","required":["client_secret","setup_intent_id"],"title":"CreateSetupIntentResponseData"},"DeleteUserDataRequest":{"properties":{"user_id":{"type":"string","title":"User Id"}},"type":"object","required":["user_id"],"title":"DeleteUserDataRequest"},"ForceSetPlanRequest":{"properties":{"user_id":{"type":"string","title":"User Id"},"plan_id":{"type":"string","title":"Plan Id"},"duration_seconds":{"type":"integer","title":"Duration Seconds","default":2592000}},"type":"object","required":["user_id","plan_id"],"title":"ForceSetPlanRequest"},"ForceSetPlanResponseData":{"properties":{"success":{"type":"boolean","title":"Success"},"user_id":{"type":"string","title":"User Id"},"plan_id":{"type":"string","title":"Plan Id"},"subscription_id":{"type":"string","title":"Subscription Id"}},"type":"object","required":["success","user_id","plan_id","subscription_id"],"title":"ForceSetPlanResponseData"},"GenericRequestPayload_ActivateTrialRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/ActivateTrialRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[ActivateTrialRequestPayload]"},"GenericRequestPayload_CancelPending3dsRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/CancelPending3dsRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[CancelPending3dsRequestPayload]"},"GenericRequestPayload_CheckoutSubscriptionPayload_":{"properties":{"data":{"$ref":"#/components/schemas/CheckoutSubscriptionPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[CheckoutSubscriptionPayload]"},"GenericRequestPayload_CompleteTrialRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/CompleteTrialRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[CompleteTrialRequestPayload]"},"GenericRequestPayload_CreateSetupIntentRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/CreateSetupIntentRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[CreateSetupIntentRequestPayload]"},"GenericRequestPayload_PaygSetAutorechargeRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/PaygSetAutorechargeRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[PaygSetAutorechargeRequestPayload]"},"GenericRequestPayload_PaygTopupRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/PaygTopupRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[PaygTopupRequestPayload]"},"GenericRequestPayload_ValidatePromoRequestPayload_":{"properties":{"data":{"$ref":"#/components/schemas/ValidatePromoRequestPayload"}},"type":"object","required":["data"],"title":"GenericRequestPayload[ValidatePromoRequestPayload]"},"GenericResponsePayload_ActivateTrialResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ActivateTrialResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ActivateTrialResponseData]"},"GenericResponsePayload_BalanceResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/BalanceResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[BalanceResponseData]"},"GenericResponsePayload_CancelDowngradeResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CancelDowngradeResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CancelDowngradeResponseData]"},"GenericResponsePayload_CancelPending3dsResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CancelPending3dsResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CancelPending3dsResponseData]"},"GenericResponsePayload_CheckoutSubscriptionResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CheckoutSubscriptionResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CheckoutSubscriptionResponseData]"},"GenericResponsePayload_CompleteTrialResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CompleteTrialResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CompleteTrialResponseData]"},"GenericResponsePayload_CreateActivationCodeResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CreateActivationCodeResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CreateActivationCodeResponseData]"},"GenericResponsePayload_CreateCheckoutLinkResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CreateCheckoutLinkResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CreateCheckoutLinkResponseData]"},"GenericResponsePayload_CreatePortalLinkResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CreatePortalLinkResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CreatePortalLinkResponseData]"},"GenericResponsePayload_CreateSetupIntentResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/CreateSetupIntentResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[CreateSetupIntentResponseData]"},"GenericResponsePayload_ForceSetPlanResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ForceSetPlanResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ForceSetPlanResponseData]"},"GenericResponsePayload_GetActivationCodeResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetActivationCodeResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetActivationCodeResponseData]"},"GenericResponsePayload_GetMySubscriptionResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetMySubscriptionResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetMySubscriptionResponseData]"},"GenericResponsePayload_GetOperationResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetOperationResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetOperationResponseData]"},"GenericResponsePayload_GetSubscriptionV2ResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/GetSubscriptionV2ResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[GetSubscriptionV2ResponseData]"},"GenericResponsePayload_ListActivationCodesResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ListActivationCodesResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ListActivationCodesResponseData]"},"GenericResponsePayload_ListOrganizationsResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ListOrganizationsResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ListOrganizationsResponseData]"},"GenericResponsePayload_ListUsageResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ListUsageResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ListUsageResponseData]"},"GenericResponsePayload_PaygBalanceResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/PaygBalanceResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[PaygBalanceResponseData]"},"GenericResponsePayload_PaygBindCardResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/PaygBindCardResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[PaygBindCardResponseData]"},"GenericResponsePayload_PaygDashboardUrlResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/PaygDashboardUrlResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[PaygDashboardUrlResponseData]"},"GenericResponsePayload_PaygRatesResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/PaygRatesResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[PaygRatesResponseData]"},"GenericResponsePayload_PaygSetAutorechargeResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/PaygSetAutorechargeResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[PaygSetAutorechargeResponseData]"},"GenericResponsePayload_PaygTopupResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/PaygTopupResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[PaygTopupResponseData]"},"GenericResponsePayload_RedeemCodeResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/RedeemCodeResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[RedeemCodeResponseData]"},"GenericResponsePayload_RevokeActivationCodeResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/RevokeActivationCodeResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[RevokeActivationCodeResponseData]"},"GenericResponsePayload_SignChurnkeyResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/SignChurnkeyResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[SignChurnkeyResponseData]"},"GenericResponsePayload_ValidatePromoResponseData_":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"$ref":"#/components/schemas/ValidatePromoResponseData"}},"type":"object","required":["data"],"title":"GenericResponsePayload[ValidatePromoResponseData]"},"GenericResponsePayload_list_GetPlansV2ResponseData__":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"items":{"$ref":"#/components/schemas/GetPlansV2ResponseData"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"GenericResponsePayload[list[GetPlansV2ResponseData]]"},"GenericResponsePayload_list_GetPublicPlansResponseItem__":{"properties":{"ok":{"type":"boolean","title":"Ok","description":"Indicates if the request was successful or not.","default":true},"data":{"items":{"$ref":"#/components/schemas/GetPublicPlansResponseItem"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"GenericResponsePayload[list[GetPublicPlansResponseItem]]"},"GetActivationCodeResponseData":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"code":{"type":"string","title":"Code"},"credits_granted":{"type":"integer","title":"Credits Granted"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"status":{"$ref":"#/components/schemas/ActivationCodeStatus"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization"},"claimed_by_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claimed By User Id"},"used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Used At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At"}},"type":"object","required":["id","code","credits_granted","status","utc_created_at","utc_updated_at"],"title":"GetActivationCodeResponseData"},"GetMySubscriptionResponseData":{"properties":{"id":{"type":"string","title":"Id","default":""},"user_id":{"type":"string","title":"User Id"},"plan_id":{"type":"string","title":"Plan Id"},"utc_end_at":{"type":"string","format":"date-time","title":"Utc End At"},"utc_credited_at":{"type":"string","format":"date-time","title":"Utc Credited At"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"stripe_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Price Id"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"monthly_price_usd_before_discount":{"type":"number","title":"Monthly Price Usd Before Discount"},"monthly_price_usd_after_discount":{"type":"number","title":"Monthly Price Usd After Discount"},"first_lang_usd_per_minute":{"type":"number","title":"First Lang Usd Per Minute"},"additional_lang_usd_per_minute":{"type":"number","title":"Additional Lang Usd Per Minute"},"allow_overage":{"type":"boolean","title":"Allow Overage"},"monthly_minutes":{"type":"integer","title":"Monthly Minutes"},"max_rooms":{"type":"integer","title":"Max Rooms"},"max_out_languages":{"type":"integer","title":"Max Out Languages"},"utc_updated_at":{"type":"string","format":"date-time","title":"Utc Updated At"},"utc_created_at":{"type":"string","format":"date-time","title":"Utc Created At"}},"type":"object","required":["user_id","plan_id","utc_end_at","utc_credited_at","name","description","stripe_price_id","tags","monthly_price_usd_before_discount","monthly_price_usd_after_discount","first_lang_usd_per_minute","additional_lang_usd_per_minute","allow_overage","monthly_minutes","max_rooms","max_out_languages","utc_updated_at","utc_created_at"],"title":"GetMySubscriptionResponseData"},"GetOperationResponseData":{"properties":{"id":{"type":"string","title":"Id","description":"Operation ID"},"status":{"$ref":"#/components/schemas/OperationStatus","description":"Operation status: pending, completed, failed"},"type":{"$ref":"#/components/schemas/OperationType","description":"Operation type: checkout, complete_trial"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Id","description":"Plan ID"},"utc_created_at":{"type":"string","title":"Utc Created At","description":"Operation creation time in ISO format"},"client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Secret","description":"Stripe PaymentIntent client_secret, set while a pending top-up charge waits for 3DS confirmation"}},"type":"object","required":["id","status","type","utc_created_at"],"title":"GetOperationResponseData"},"GetPlansV2ResponseData":{"properties":{"id":{"type":"string","title":"Id","description":"Unique plan identifier"},"name":{"type":"string","title":"Name","description":"Display name of the plan"},"price":{"type":"string","title":"Price","description":"Price of the plan in cents"},"credits_granted":{"type":"integer","title":"Credits Granted","description":"Credits granted on plan activation"},"credit_debt_limit":{"type":"integer","title":"Credit Debt Limit","description":"Maximum negative balance (overdraft)"},"concurrent_sessions":{"type":"integer","title":"Concurrent Sessions","description":"Max concurrent sessions"},"languages_per_session":{"type":"integer","title":"Languages Per Session","description":"Max languages per session"},"instant_voice_clone_limit":{"type":"integer","title":"Instant Voice Clone Limit","description":"Instant voice clone limit"},"is_recurring":{"type":"boolean","title":"Is Recurring","description":"Whether subscription is recurring"},"desktop_credit_per_min":{"type":"integer","title":"Desktop Credit Per Min","description":"Credits per minute for desktop"},"event_credit_per_min":{"type":"integer","title":"Event Credit Per Min","description":"Credits per minute for events"},"broadcast_credit_per_min":{"type":"integer","title":"Broadcast Credit Per Min","description":"Credits per minute for broadcast"},"api_credit_per_min":{"type":"integer","title":"Api Credit Per Min","description":"Credits per minute for API"},"captions_credit_per_min":{"type":"integer","title":"Captions Credit Per Min","description":"Credits per minute for captions"},"promo_percent_off":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Promo Percent Off","description":"Active promo discount percent, null when no promo applies"},"promo_price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Promo Price","description":"Discounted price in cents, null when no promo applies"},"is_legacy":{"type":"boolean","title":"Is Legacy","description":"True for legacy plans","default":false}},"type":"object","required":["id","name","price","credits_granted","credit_debt_limit","concurrent_sessions","languages_per_session","instant_voice_clone_limit","is_recurring","desktop_credit_per_min","event_credit_per_min","broadcast_credit_per_min","api_credit_per_min","captions_credit_per_min"],"title":"GetPlansV2ResponseData"},"GetPublicPlansResponseItem":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"monthly_minutes":{"type":"integer","title":"Monthly Minutes"},"max_rooms":{"type":"integer","title":"Max Rooms"},"max_out_languages":{"type":"integer","title":"Max Out Languages"},"monthly_price_usd_before_discount":{"type":"number","title":"Monthly Price Usd Before Discount"},"monthly_price_usd_after_discount":{"type":"number","title":"Monthly Price Usd After Discount"},"first_lang_usd_per_minute":{"type":"number","title":"First Lang Usd Per Minute"},"additional_lang_usd_per_minute":{"type":"number","title":"Additional Lang Usd Per Minute"},"allow_overage":{"type":"boolean","title":"Allow Overage"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"}},"type":"object","required":["id","name","description","monthly_minutes","max_rooms","max_out_languages","monthly_price_usd_before_discount","monthly_price_usd_after_discount","first_lang_usd_per_minute","additional_lang_usd_per_minute","allow_overage","tags"],"title":"GetPublicPlansResponseItem"},"GetSubscriptionV2ResponseData":{"properties":{"credit_balance":{"type":"integer","title":"Credit Balance","description":"Current credit balance"},"is_service_blocked":{"type":"boolean","title":"Is Service Blocked","description":"Whether service is blocked"},"trial_used":{"type":"boolean","title":"Trial Used","description":"Whether user has already used trial period"},"has_attached_card":{"type":"boolean","title":"Has Attached Card","description":"Whether user has attached credit card"},"user_subscription_status":{"$ref":"#/components/schemas/UserSubscriptionStatusV2","description":"User subscription status"},"customer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Id","description":"Stripe Customer ID"},"subscription":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionPlanInfo"},{"type":"null"}],"description":"Current subscription plan details"},"is_enterprise":{"type":"boolean","title":"Is Enterprise","description":"Whether user has the enterprise plan","default":false}},"type":"object","required":["credit_balance","is_service_blocked","trial_used","has_attached_card","user_subscription_status"],"title":"GetSubscriptionV2ResponseData","description":"User subscription state from Billing V2 UserState message."},"ListActivationCodesResponseData":{"properties":{"codes":{"items":{"$ref":"#/components/schemas/ActivationCodeListItem"},"type":"array","title":"Codes"},"next_page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Page Token"}},"type":"object","required":["codes"],"title":"ListActivationCodesResponseData"},"ListOrganizationsResponseData":{"properties":{"organizations":{"items":{"type":"string"},"type":"array","title":"Organizations"}},"type":"object","required":["organizations"],"title":"ListOrganizationsResponseData"},"ListUsageResponseData":{"properties":{"utc_from":{"type":"string","title":"Utc From","description":"Period start (ISO format)"},"utc_to":{"type":"string","title":"Utc To","description":"Period end (ISO format)"},"items":{"items":{"$ref":"#/components/schemas/UsageItemResponse"},"type":"array","title":"Items","description":"Usage items"},"next_page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Page Token","description":"Token for next page, null if last page"},"totals":{"$ref":"#/components/schemas/UsageTotalsResponse","description":"Totals for the entire period"}},"type":"object","required":["utc_from","utc_to","items","totals"],"title":"ListUsageResponseData","description":"Response data for ListUsage endpoint."},"OperationStatus":{"type":"string","enum":["pending","completed","failed"],"title":"OperationStatus"},"OperationType":{"type":"string","enum":["checkout","activate_trial","complete_trial","upgrade","downgrade","payg_topup"],"title":"OperationType"},"PaygBalanceResponseData":{"properties":{"payg_enabled":{"type":"boolean","title":"Payg Enabled","description":"True when PAYG is active — a card is linked and top-up / auto-recharge can charge it. Read this instead of re-calling bind-card.","examples":[true]},"has_payment_method":{"type":"boolean","title":"Has Payment Method","description":"True when a default payment method is on file. The signal that card binding finished; gates top-up and auto-recharge UI. Card details are managed in the billing portal.","default":false,"examples":[true]},"blocked":{"type":"boolean","title":"Blocked","description":"True when the account is gated (out of funds / blocked).","examples":[false]},"net_balance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Balance","description":"Net balance in cents; null when temporarily unavailable.","examples":[1234]},"prepaid_remaining":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Prepaid Remaining","description":"Remaining prepaid deposit in cents; null when unavailable.","examples":[500]},"autorecharge_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Autorecharge Enabled","description":"Auto-recharge on/off; null when never configured.","examples":[true]},"autorecharge_threshold_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Autorecharge Threshold Cents","description":"Balance in cents that triggers auto-recharge.","examples":[5000]},"autorecharge_recharge_to_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Autorecharge Recharge To Cents","description":"Balance in cents auto-recharge restores to.","examples":[30000]},"monthly_limit_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Limit Cents","description":"Monthly recharge limit in cents; null when no limit is set.","examples":[50000]},"autorecharge_paused_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Autorecharge Paused Reason","description":"Why auto-recharge is paused: 'monthly_cap' when the monthly recharge limit was reached (resumes on the 1st, UTC); null when active.","examples":["monthly_cap"]}},"type":"object","required":["payg_enabled","blocked"],"title":"PaygBalanceResponseData"},"PaygBindCardResponseData":{"properties":{"needs_card":{"type":"boolean","title":"Needs Card","description":"True when the frontend must collect a card via the returned client_secret; False when an existing card was reused. Read the resulting PAYG state from GET /payg/balance (payg_enabled).","examples":[true,false]},"client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Secret","description":"Stripe SetupIntent client secret for card collection; null when a card was reused.","examples":["seti_1Nabc2eZvKYlo2C_secret_abc123"]},"setup_intent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Setup Intent Id","description":"Stripe SetupIntent id; null when a card was reused.","examples":["seti_1Nabc2eZvKYlo2C"]}},"type":"object","required":["needs_card"],"title":"PaygBindCardResponseData"},"PaygDashboardUrlResponseData":{"properties":{"dashboard":{"type":"string","title":"Dashboard","description":"The dashboard type the URL renders: usage | invoices | commits_and_credits.","examples":["usage"]},"url":{"type":"string","title":"Url","description":"Signed, short-lived Metronome dashboard URL, ready to embed in an iframe. Request a fresh one on every render — do not cache or persist.","examples":["https://embeddable.metronome.com/..."]}},"type":"object","required":["dashboard","url"],"title":"PaygDashboardUrlResponseData"},"PaygRateItem":{"properties":{"product_id":{"type":"string","title":"Product Id","examples":["f14e9e2e-6f4e-4b8b-9e25-ac732e8f24f2"]},"product_name":{"type":"string","title":"Product Name","examples":["Speech to speech"]},"product_tags":{"items":{"type":"string"},"type":"array","title":"Product Tags","description":"Metronome product tags; PAYG usage products carry 'usage'."},"rate_type":{"type":"string","title":"Rate Type","description":"Metronome rate type; PAYG usage products are FLAT.","examples":["FLAT"]},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price","description":"Price per unit in USD cents (PAYG products are FLAT); null when the product carries no flat price.","examples":[240.0]},"credit_type_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credit Type Name","description":"Human-readable name of the pricing unit.","examples":["USD (cents)"]}},"type":"object","required":["product_id","product_name","rate_type"],"title":"PaygRateItem"},"PaygRatesResponseData":{"properties":{"rates":{"items":{"$ref":"#/components/schemas/PaygRateItem"},"type":"array","title":"Rates","description":"Current rate schedule of the PAYG rate card."},"at":{"type":"string","format":"date-time","title":"At","description":"When the schedule was read from Metronome (it is served from a short-lived cache, so this can lag the request by a few minutes)."}},"type":"object","required":["rates","at"],"title":"PaygRatesResponseData"},"PaygSetAutorechargeRequestPayload":{"properties":{"enabled":{"type":"boolean","title":"Enabled","description":"Enable or disable auto-recharge.","default":true,"examples":[true]},"threshold_cents":{"type":"integer","exclusiveMinimum":0.0,"title":"Threshold Cents","description":"Trigger a recharge when net balance drops below this. Must be at least 500 ($5).","examples":[1000]},"recharge_to_cents":{"type":"integer","exclusiveMinimum":0.0,"title":"Recharge To Cents","description":"Target balance to recharge up to, in cents. Must exceed threshold_cents by at least 1000 ($10).","examples":[5000]},"monthly_limit_cents":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Monthly Limit Cents","description":"Monthly recharge limit in cents. Auto-recharge pauses once this month's recharges reach the limit and resumes on the 1st (UTC). Null means no limit.","examples":[50000]}},"type":"object","required":["threshold_cents","recharge_to_cents"],"title":"PaygSetAutorechargeRequestPayload"},"PaygSetAutorechargeResponseData":{"properties":{"enabled":{"type":"boolean","title":"Enabled","description":"Resulting auto-recharge state.","examples":[true]}},"type":"object","required":["enabled"],"title":"PaygSetAutorechargeResponseData"},"PaygTopupRequestPayload":{"properties":{"amount_cents":{"type":"integer","exclusiveMinimum":0.0,"title":"Amount Cents","description":"Prepaid deposit to add, in cents. Amounts below the service minimum ($10) are rejected with error code 400071.","examples":[2000]},"idempotency_key":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency Key","description":"Stable per-attempt key; reuse on retry to avoid a double charge.","examples":["a1b2c3d4e5f6"]}},"type":"object","required":["amount_cents"],"title":"PaygTopupRequestPayload"},"PaygTopupResponseData":{"properties":{"amount_cents":{"type":"integer","title":"Amount Cents","description":"Deposit amount added, in cents.","examples":[2000]},"operation_id":{"type":"string","title":"Operation Id","description":"Poll GET /payments/v2/operation/{operation_id} until the charge settles (pending -> completed | failed).","examples":["9f6a2c1e-0d5b-4a7e-9c3f-2b8d1e4f6a7c"]}},"type":"object","required":["amount_cents","operation_id"],"title":"PaygTopupResponseData"},"PlanV2":{"type":"string","enum":["empty","trial","pro_monthly","scale_monthly","business_monthly","pro_yearly","scale_yearly","business_yearly","calls_starter_monthly","calls_pro_monthly","calls_team_monthly","streaming_starter_monthly","streaming_pro_monthly","streaming_team_monthly","events_starter_monthly","events_pro_monthly","events_team_monthly","calls_starter_yearly","calls_pro_yearly","calls_team_yearly","streaming_starter_yearly","streaming_pro_yearly","streaming_team_yearly","events_starter_yearly","events_pro_yearly","events_team_yearly","calls_v2_starter_yearly","calls_v2_pro_yearly","calls_v2_team_yearly"],"title":"PlanV2"},"RedeemCodeRequest":{"properties":{"code":{"type":"string","title":"Code"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"organization_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Id"},"is_admin":{"type":"boolean","title":"Is Admin","default":false}},"type":"object","required":["code"],"title":"RedeemCodeRequest"},"RedeemCodeResponseData":{"properties":{"credits_granted":{"type":"integer","title":"Credits Granted"},"message":{"type":"string","title":"Message"}},"type":"object","required":["credits_granted","message"],"title":"RedeemCodeResponseData"},"RevokeActivationCodeResponseData":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"RevokeActivationCodeResponseData"},"SignChurnkeyResponseData":{"properties":{"customer_id":{"type":"string","title":"Customer Id","description":"Stripe customer ID"},"hash":{"type":"string","title":"Hash","description":"Churnkey authHash"}},"type":"object","required":["customer_id","hash"],"title":"SignChurnkeyResponseData"},"SubscriptionPlanInfo":{"properties":{"plan_id":{"type":"string","title":"Plan Id","description":"Plan identifier"},"next_plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Plan Id","description":"Next plan identifier after the trial plan"},"subscription_id":{"type":"string","title":"Subscription Id","description":"Stripe Subscription ID"},"name":{"type":"string","title":"Name","description":"Plan display name"},"credits_granted":{"type":"integer","title":"Credits Granted","description":"Credits granted on activation"},"credit_debt_limit":{"type":"integer","title":"Credit Debt Limit","description":"Maximum negative balance"},"concurrent_sessions":{"type":"integer","title":"Concurrent Sessions","description":"Max concurrent sessions"},"languages_per_session":{"type":"integer","title":"Languages Per Session","description":"Max languages per session"},"instant_voice_clone_limit":{"type":"integer","title":"Instant Voice Clone Limit","description":"Instant voice clone limit"},"is_recurring":{"type":"boolean","title":"Is Recurring","description":"Whether subscription is recurring"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At","description":"When current subscription expires"},"grace_period_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Grace Period Expires At","description":"When grace period ends (subscription will be cancelled)"},"next_payment_attempt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Payment Attempt","description":"When next payment attempt will be made during the grace period"},"client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Secret","description":"PaymentIntent client secret for 3DS confirmation"},"last_charge_amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Charge Amount","description":"Amount of the last successful charge in minor units (cents) as string"}},"type":"object","required":["plan_id","subscription_id","name","credits_granted","credit_debt_limit","concurrent_sessions","languages_per_session","instant_voice_clone_limit","is_recurring"],"title":"SubscriptionPlanInfo","description":"Embedded subscription plan info from Billing V2."},"UsageItemResponse":{"properties":{"session_id":{"type":"string","title":"Session Id","description":"Session identifier"},"aggregation_id":{"type":"string","title":"Aggregation Id","description":"Aggregation ID for grouped sessions"},"utc_started_at":{"type":"string","title":"Utc Started At","description":"Session start time in UTC (ISO format)"},"intent":{"type":"string","title":"Intent","description":"Service type: desktop, event, broadcast, api, captions","examples":["desktop","event"]},"duration_minutes":{"type":"integer","title":"Duration Minutes","description":"Session duration in minutes"},"in_lang":{"type":"string","title":"In Lang","description":"Input language code","examples":["en"]},"out_langs":{"items":{"type":"string"},"type":"array","title":"Out Langs","description":"Output language codes","examples":[["es","fr"]]},"credits_used":{"type":"integer","title":"Credits Used","description":"Credits consumed"},"user_id":{"type":"string","title":"User Id","description":"User who ran the session"},"name":{"type":"string","title":"Name","description":"Display name; \"Deleted User\" for removed members","examples":["Jane Doe"]},"email":{"type":"string","title":"Email","description":"User email; empty string for deleted members","examples":["user@example.com"]},"status":{"type":"string","enum":["active","deleted"],"title":"Status","description":"User status at the time of response"}},"type":"object","required":["session_id","aggregation_id","utc_started_at","intent","duration_minutes","in_lang","out_langs","credits_used","user_id","name","email","status"],"title":"UsageItemResponse","description":"Single usage item with attribution.\n\n`user_id`/`name`/`email` identify the actor who consumed credits. For\norganization callers attribution is enriched via the identity service;\nrows whose actor is invisible to the caller's organization (pool users,\ncross-tenant) are dropped from `items`, their credits remain in `totals`.\nDeleted members surface with `name=\"Deleted User\"`, `email=\"\"`, and\n`status=\"deleted\"`.\n\nFor callers without an organization the actor is the caller themself, so\n`name`/`email` come from the JWT and `status` is always `\"active\"`."},"UsageTotalsResponse":{"properties":{"total_credits":{"type":"integer","title":"Total Credits","description":"Total credits used in the period"}},"type":"object","required":["total_credits"],"title":"UsageTotalsResponse","description":"Usage totals for the period."},"UserSubscriptionStatusV2":{"type":"string","enum":["empty","trial","trial_expired","active","grace_period","user_confirmation_required"],"title":"UserSubscriptionStatusV2"},"ValidatePromoRequestPayload":{"properties":{"promocode":{"type":"string","maxLength":64,"minLength":1,"title":"Promocode","description":"User-facing promotion code"},"plan_id":{"$ref":"#/components/schemas/PlanV2","description":"Plan the promo would apply to"}},"type":"object","required":["promocode","plan_id"],"title":"ValidatePromoRequestPayload"},"ValidatePromoResponseData":{"properties":{"original_price":{"type":"string","title":"Original Price","description":"Original plan price in cents"},"discounted_price":{"type":"string","title":"Discounted Price","description":"Price after promo applied, in cents"},"percent_off":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Percent Off","description":"Percent discount (1-100), null for amount_off coupons"},"amount_off":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amount Off","description":"Flat discount in cents, null for percent_off coupons"}},"type":"object","required":["original_price","discounted_price"],"title":"ValidatePromoResponseData"}},"securitySchemes":{"APIKey":{"type":"apiKey","description":"API key created on the Palabra platform (https://platform.palabra.ai), starts with `plbr_`. Takes precedence over ClientID/ClientSecret when both are provided","in":"header","name":"Authorization"},"ClientID":{"type":"apiKey","description":"Client ID","in":"header","name":"ClientID"},"ClientSecret":{"type":"apiKey","description":"Client Secret","in":"header","name":"ClientSecret"}}}}