{"components":{"securitySchemes":{"ApiKey":{"in":"header","name":"X-API-Key","type":"apiKey"},"ApiKeyQuery":{"in":"query","name":"api_key","type":"apiKey"},"Bearer":{"description":"BizCrush OAuth access token for meeting REST operations and text translation.","scheme":"bearer","type":"http"},"FirebaseBearer":{"bearerFormat":"JWT","description":"Firebase ID token for speech APIs.","scheme":"bearer","type":"http"},"FirebaseIDQuery":{"description":"Firebase ID token for speech APIs, including browser WebSockets.","in":"query","name":"authorization","type":"apiKey"}}},"externalDocs":{"description":"Full agent reference and protocol examples","url":"https://extapi.bizcrush.ai/llms-full.txt"},"info":{"title":"BizCrush External API","version":"2.0.0-go"},"openapi":"3.1.0","paths":{"/v1/add-context-source":{"post":{"description":"Register context notes and/or keywords so transcription and AI recognize names, products, and jargon. Primary (canonical) keywords can be assigned a language even without synonyms: in keyword_groups, set translations[].text to variants[0] and translations[].language to its language code. Synonyms and preferred translations can have their own language labels too. Pass meeting_id to add to one meeting (host or co-host only); omit it to add to the personal library, which applies to new meetings by default. Provide text, keywords, keyword_groups, or a combination.","operationId":"add_context_source","requestBody":{"content":{"application/json":{"schema":{"properties":{"keyword_groups":{"description":"Terms as legacy string arrays or objects with variants and translations. Primary (canonical) keywords support language labels, even without synonyms: [{\"variants\":[\"수원컨벤션센터\"],\"translations\":[{\"text\":\"수원컨벤션센터\",\"language\":\"ko\",\"manual\":true}]}]. Set translations[].text to variants[0] for the primary keyword, or to another spelling for a synonym/translation. Updates replace the whole keyword list; preserve the other groups, omit this field to leave it unchanged, or send [] to clear it.","items":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"additionalProperties":false,"properties":{"translations":{"items":{"additionalProperties":false,"properties":{"language":{"description":"Language of this spelling, including the primary (canonical) keyword, as a BCP-47 code such as ko, en or zh-Hant. An empty string removes the language label while keeping the spelling.","maxLength":32,"pattern":"^(?:[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*)?$","type":"string"},"manual":{"default":true,"description":"Defaults to true for an explicit user-provided language label, including on the primary keyword. Preserve false when round-tripping an existing generated label; generated labels are read-only.","type":"boolean"},"text":{"description":"Spelling whose language is being set. To label the primary (canonical) keyword itself, use exactly variants[0]; no synonym is required. A different spelling is added to variants only if not already present.","minLength":1,"type":"string"}},"required":["text","language"],"type":"object"},"type":"array"},"variants":{"description":"Spellings and synonyms for one term. variants[0] is the primary (canonical) keyword and can have its own language label in translations, even when it is the only variant.","items":{"type":"string"},"minItems":1,"type":"array"}},"required":["variants"],"type":"object"}]},"type":"array"},"keywords":{"items":{"type":"string"},"type":"array"},"meeting_id":{"type":"string"},"text":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Add context source"}},"/v1/add-meeting-participants":{"post":{"description":"Add participants using user IDs or em:email@example.com values.","operationId":"add_meeting_participants","requestBody":{"content":{"application/json":{"schema":{"properties":{"meeting_id":{"type":"string"},"participant_ids":{"items":{"type":"string"},"type":"array"}},"required":["meeting_id","participant_ids"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Add meeting participants"}},"/v1/assign-co-host":{"post":{"description":"Assign co-host role to users in a meeting.","operationId":"assign_co_host","requestBody":{"content":{"application/json":{"schema":{"properties":{"meeting_id":{"type":"string"},"user_ids":{"items":{"type":"string"},"type":"array"}},"required":["meeting_id","user_ids"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Assign co-host"}},"/v1/create-meeting":{"post":{"description":"Create a meeting and optionally invite participants.","operationId":"create_meeting","requestBody":{"content":{"application/json":{"schema":{"properties":{"participant_ids":{"items":{"type":"string"},"type":"array"},"title":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Create meeting"}},"/v1/delete-context-source":{"post":{"description":"Delete a context source. Omit meeting_id for a personal library source.","operationId":"delete_context_source","requestBody":{"content":{"application/json":{"schema":{"properties":{"meeting_id":{"type":"string"},"source_id":{"type":"string"}},"required":["source_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Delete context source"}},"/v1/delete-meeting":{"post":{"description":"Delete a meeting by ID.","operationId":"delete_meeting","requestBody":{"content":{"application/json":{"schema":{"properties":{"meeting_id":{"type":"string"}},"required":["meeting_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Delete meeting"}},"/v1/delete-meeting-message":{"post":{"description":"Delete a message from a meeting.","operationId":"delete_meeting_message","requestBody":{"content":{"application/json":{"schema":{"properties":{"meeting_id":{"type":"string"},"message_id":{"type":"string"}},"required":["meeting_id","message_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Delete meeting message"}},"/v1/events":{"get":{"operationId":"get_events","parameters":[{"in":"query","name":"cursor","schema":{"maxLength":150,"type":"string"}},{"in":"query","name":"limit","schema":{"default":100,"maximum":200,"minimum":1,"type":"integer"}}],"responses":{"200":{"description":"Success"},"400":{"description":"Invalid input"},"401":{"description":"Authentication required"},"403":{"description":"Additional OAuth scopes required; see WWW-Authenticate"},"429":{"description":"Quota exceeded; see Retry-After"},"503":{"description":"Service temporarily unavailable"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Read your completion events with a durable cursor","x-required-oauth-scopes":["meetings:read"]}},"/v1/get-meeting-messages":{"post":{"description":"Read a meeting's messages, saved summary content and processing statuses, newest update first. Use the message ID returned by summarize_meeting to inspect its summary_status and result; failed or too-short jobs may have no summary text. If has_more is true, continue with the last message's updated_at as last_updated_at.","operationId":"get_meeting_messages","requestBody":{"content":{"application/json":{"schema":{"properties":{"last_updated_at":{"format":"date-time","type":"string"},"limit":{"type":"integer"},"meeting_id":{"type":"string"}},"required":["meeting_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Get meeting messages"}},"/v1/get-meeting-summary":{"post":{"description":"Read the meeting's saved AI summary, including markdown and structured action items. Does not generate or regenerate a summary; force_refresh only refreshes cached data. If generation was requested, first verify that the corresponding message completed using get_meeting_messages. Use summarize_meeting only when new generation is needed.","operationId":"get_meeting_summary","requestBody":{"content":{"application/json":{"schema":{"properties":{"force_refresh":{"type":"boolean"},"meeting_id":{"type":"string"}},"required":["meeting_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Get meeting summary"}},"/v1/get-meeting-transcripts":{"post":{"description":"Read existing finalized transcript utterances, falling back to live chunks when finalized utterances are absent. Does not start recording or transcription. Set message_id for one recording; omit it for the meeting. Continue with next_offset while has_more is true.","operationId":"get_meeting_transcripts","requestBody":{"content":{"application/json":{"schema":{"properties":{"force_refresh":{"type":"boolean"},"limit":{"type":"integer"},"meeting_id":{"type":"string"},"message_id":{"type":"string"},"offset":{"type":"integer"}},"required":["meeting_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Get meeting transcripts"}},"/v1/get-meetings":{"post":{"description":"Find the authenticated user's meetings and IDs, newest first. Match title/date when the meeting ID is unknown. If has_more is true, continue with the last returned meeting's updated_at as last_updated_at.","operationId":"get_meetings","requestBody":{"content":{"application/json":{"schema":{"properties":{"last_updated_at":{"format":"date-time","type":"string"},"limit":{"type":"integer"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"List meetings"}},"/v1/get-my-people":{"post":{"description":"List the user's contacts.","operationId":"get_my_people","requestBody":{"content":{"application/json":{"schema":{"properties":{"cursor":{"type":"string"},"limit":{"type":"integer"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"List my people"}},"/v1/get-user-default-meeting-setting":{"post":{"description":"Get the user's default meeting language and keyword settings.","operationId":"get_user_default_meeting_setting","requestBody":{"content":{"application/json":{"schema":{"properties":{"device_language_code":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Get default meeting settings"}},"/v1/list-context-sources":{"post":{"description":"List the context sources (notes and keywords) that steer transcription and AI for a meeting, including language labels on primary (canonical) keywords, synonyms and translations. A translations entry whose text equals variants[0] labels the primary keyword itself. Omit meeting_id to list the personal context library; enabled personal sources are applied to new meetings by default. IDs starting with \"keywords:\" are keyword lists applied from the personal library, and \"category:selection\" is the meeting category (read-only here).","operationId":"list_context_sources","requestBody":{"content":{"application/json":{"schema":{"properties":{"meeting_id":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"List context sources"}},"/v1/remove-co-host":{"post":{"description":"Remove co-host role from users in a meeting.","operationId":"remove_co_host","requestBody":{"content":{"application/json":{"schema":{"properties":{"meeting_id":{"type":"string"},"user_ids":{"items":{"type":"string"},"type":"array"}},"required":["meeting_id","user_ids"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Remove co-host"}},"/v1/remove-meeting-participants":{"post":{"description":"Remove participants from a meeting.","operationId":"remove_meeting_participants","requestBody":{"content":{"application/json":{"schema":{"properties":{"meeting_id":{"type":"string"},"participant_ids":{"items":{"type":"string"},"type":"array"}},"required":["meeting_id","participant_ids"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Remove meeting participants"}},"/v1/search-meetings":{"post":{"description":"Find accessible meetings by literal case-insensitive words in their titles, your personal titles, and descriptions. Use this when a meeting name or keywords are known instead of paging through get_meetings. This does not search transcript bodies. Follow next_page_token while has_more is true, including an empty page after current access checks.","operationId":"search_meetings","requestBody":{"content":{"application/json":{"schema":{"properties":{"limit":{"type":"integer"},"page_token":{"type":"string"},"query":{"type":"string"}},"required":["query"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Search meetings"}},"/v1/send-meeting-message":{"post":{"description":"Send a text message to a meeting.","operationId":"send_meeting_message","requestBody":{"content":{"application/json":{"schema":{"properties":{"meeting_message":{"type":"object"}},"required":["meeting_message"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Send meeting message"}},"/v1/send-meeting-summary-to-slack":{"post":{"description":"Send a saved meeting summary to the user's connected Slack channel. Call this only when the user explicitly asks to send, post, upload, or share the summary.","operationId":"send_meeting_summary_to_slack","requestBody":{"content":{"application/json":{"schema":{"properties":{"language":{"type":"string"},"meeting_id":{"type":"string"}},"required":["meeting_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Send meeting summary to Slack"}},"/v1/stt":{"post":{"parameters":[{"description":"API key; provide one supported header or query authentication method.","in":"query","name":"api_key","required":false,"schema":{"type":"string"}},{"description":"Firebase ID token; provide one supported header or query authentication method.","in":"query","name":"authorization","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"audio_url":{"description":"Downloadable complete audio file, including WebM/Opus, Ogg, WAV or MP3. MediaRecorder continuation Blobs must be assembled before file transcription.","type":"string"},"context_keywords":{"oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"enable_diarization":{"type":"boolean"},"language_hints":{"oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"session_id":{"type":"string"}},"required":["audio_url"],"type":"object"}},"application/x-protobuf":{"schema":{"format":"binary","type":"string"}}},"required":true},"responses":{"200":{"description":"Transcription result"},"401":{"description":"Authentication required"},"402":{"description":"Insufficient tokens"}},"security":[{"ApiKey":[]},{"ApiKeyQuery":[]},{"FirebaseBearer":[]},{"FirebaseIDQuery":[]}],"summary":"Transcribe an audio file"}},"/v1/stt/stream":{"get":{"description":"Authenticate with an API key or Firebase ID token using a header or query parameter. Use format=json for JSON text config/results and raw binary audio. Omit format for protobuf SessionStreamTranscribeRequest/SessionStreamTranscribeResponse: config, every audio chunk and the empty end marker must be protobuf messages. Wait for connected=true before sending audio. PCM16 is 16 kHz mono little-endian; Opus supports raw packets and Ogg/Opus or WebM/Opus container streams. Set container=raw for one raw packet per message; container=ogg or webm keeps the original headers and continuous byte stream. The container query parameter also works in protobuf mode. Forward MediaRecorder Blobs in order and send the final Blob before the end marker. Stream at realtime speed. JSON results contain cumulative interim and final chunk text keyed by id. Send an empty binary frame in JSON mode, or a protobuf request with empty chunk_data in protobuf mode, and keep receiving until finished=true or disconnect_reason=SESSION_ENDED and normal server closure. Omitting session_id avoids transcript persistence.","parameters":[{"description":"API key; provide one supported header or query authentication method.","in":"query","name":"api_key","required":false,"schema":{"type":"string"}},{"description":"Firebase ID token; provide one supported header or query authentication method.","in":"query","name":"authorization","required":false,"schema":{"type":"string"}},{"description":"JSON config/results when json; omitted or protobuf uses protobuf messages for config, audio and results.","in":"query","name":"format","schema":{"default":"protobuf","enum":["json","protobuf"],"type":"string"}},{"description":"For Opus: auto, raw, ogg or webm. Also available in the first JSON config; required as a query parameter when selecting raw packets with protobuf.","in":"query","name":"container","schema":{"default":"auto","enum":["auto","raw","ogg","webm"],"type":"string"}}],"responses":{"101":{"description":"Switching Protocols"}},"security":[{"ApiKey":[]},{"ApiKeyQuery":[]},{"FirebaseBearer":[]},{"FirebaseIDQuery":[]}],"summary":"Live STT WebSocket upgrade","x-websocket":true,"x-websocket-config":{"description":"First JSON text frame when format=json. With format omitted, encode SessionStreamTranscribeRequest instead.","properties":{"container":{"description":"Opus only. Use webm for ordered MediaRecorder Blobs, raw for one packet per message, or auto for container detection.","enum":["auto","raw","ogg","webm"],"type":"string"},"context_keywords":{"description":"Recognition hints, up to 2000 characters total.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"enable_diarization":{"default":true,"type":"boolean"},"encoding":{"default":"pcm16","enum":["pcm16","opus"],"type":"string"},"language_hints":{"description":"Up to 3 source languages; extras are dropped.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"session_id":{"description":"Optional; omitting it avoids transcript persistence.","type":"string"}},"type":"object"}}},"/v1/summarize-meeting":{"post":{"description":"Start background AI summary generation from existing transcripts. Consumes account tokens; use get_meeting_summary to read an existing result without regeneration. success=true acknowledges the request and does not mean a nonempty summary is ready. Save meeting_message.id and inspect that message with get_meeting_messages for completion, failure or too-short status. Do not resubmit while pending. Email is off unless explicitly requested.","operationId":"summarize_meeting","requestBody":{"content":{"application/json":{"schema":{"properties":{"meeting_id":{"type":"string"},"send_email_to_participants":{"type":"boolean"},"user_prompt":{"type":"string"}},"required":["meeting_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Summarize meeting"}},"/v1/translate-text":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"source_language":{"default":"auto","type":"string"},"target_languages":{"items":{"type":"string"},"type":"array"},"text":{"type":"string"}},"required":["text","target_languages"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Successful response"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Translate text"}},"/v1/translate/stream":{"get":{"description":"Authenticates with X-API-Key and is available on every plan without an Enterprise subscription or membership. The first text frame is JSON config; subsequent binary frames contain PCM16 (default) or Opus audio, paced in realtime. PCM16 is 16 kHz mono little-endian, maximum 32000 bytes per frame. Opus supports mono or stereo raw packets (one packet per message) or a continuous Ogg/Opus or audio-only WebM/Opus stream (headers first; pages and blocks may span messages), normalized to 16 kHz mono internally. Set container to raw, ogg or webm, or omit it for auto detection. WebM must have one Opus audio track and no video; CodecDelay and DiscardPadding are applied. Keep MediaRecorder Blobs ordered, including the last Blob before finish. Restarted/chained recordings are unsupported. Opus messages are at most 64 KiB and one second of decoded audio; 20-100 ms chunks are recommended. Container headers alone do not start billing or extend the first-audio deadline. Send an empty binary frame or {\"type\":\"finish\"} and wait for finished=true. chunk and translation_update share a caption id; merge translation_update.translations by language, including after a final source chunk. No meeting or transcript is stored. Send {\"type\":\"ping\"} during silence at least every 30 seconds. Reconnect within 55 minutes. The first audio must arrive within 30 seconds even when pinging; audio may lead elapsed session time by at most one second. The first valid audio prepays a minimum one minute: 100+60*N tokens for N normalized targets, then 50+30*N tokens per started 30-second period after the first 60 seconds. Custom translation_terms entries contain source, target, and target_language; target_language must match a selected output and may be omitted only for one output. Up to 100 entries, with keywords and normalized term text plus separators limited to 5900 characters combined. Duplicate identical mappings are deduplicated; conflicting mappings for the same source/output are rejected. Terms use Soniox native terminology guidance scoped to each output; exact wording can vary. Config is immutable for the connection. For each output, the UTF-8 length of trimmed nonempty context_keywords joined with comma-space plus its compact JSON translation_terms property (source and target only) includes 100 bytes; each started 20 bytes above that adds one token once at startup. Language metadata and other outputs are excluded; keyword-only quotes are unchanged. The complete initial charge must be confirmed before any Soniox session starts. Payment failures terminate the stream. No audio means no charge and no provider session. The backend manages Soniox native sessions and alignment for multiple targets.","operationId":"realtime_translation","parameters":[{"description":"API key; provide one supported header or query authentication method.","in":"query","name":"api_key","required":false,"schema":{"type":"string"}},{"description":"Firebase ID token; provide one supported header or query authentication method.","in":"query","name":"authorization","required":false,"schema":{"type":"string"}}],"responses":{"101":{"description":"Switching Protocols; JSON events: connected, chunk, translation_update, pong, finished, or error"},"401":{"description":"Authentication required"},"503":{"description":"Backend unavailable or instance at capacity. Capacity responses include Retry-After; retry with exponential backoff and jitter."}},"security":[{"ApiKey":[]},{"ApiKeyQuery":[]},{"FirebaseBearer":[]},{"FirebaseIDQuery":[]}],"summary":"Realtime speech translation WebSocket","x-websocket":true,"x-websocket-config":{"additionalProperties":false,"allOf":[{"else":{"properties":{"channels":{"const":1},"container":false,"sample_rate":{"const":16000}}},"if":{"properties":{"encoding":{"const":"opus"}},"required":["encoding"]}}],"examples":[{"context_keywords":["customer support","customer service"],"enable_diarization":true,"language_hints":["en"],"target_languages":["es","fr"],"translation_terms":[{"source":"customer support","target":"atención al cliente","target_language":"es"},{"source":"customer service","target":"atención al cliente","target_language":"es"},{"source":"customer support","target":"service client","target_language":"fr"},{"source":"customer service","target":"service client","target_language":"fr"}]},{"container":"ogg","encoding":"opus","language_hints":["en"],"target_languages":["es"]}],"properties":{"channels":{"description":"PCM16 must use 1 (default). Opus can be mono or stereo and is downmixed to mono.","enum":[1,2],"type":"integer"},"container":{"description":"Opus only. Defaults to auto detection of OggS or WebM EBML headers; raw requires one complete Opus packet per binary message. WebM requires one Opus audio track and the initial header.","enum":["auto","raw","ogg","webm"],"type":"string"},"context_keywords":{"description":"Recognition hints for names and domain terms. Use translation_terms to specify preferred translations or map source synonyms.","items":{"type":"string"},"maxItems":100,"type":"array"},"enable_diarization":{"default":true,"type":"boolean"},"encoding":{"default":"pcm16","enum":["pcm16","opus"],"type":"string"},"language_hints":{"items":{"type":"string"},"maxItems":3,"type":"array"},"sample_rate":{"description":"PCM16 must use 16000 (default). For Opus this is optional source metadata; decoded output is always 16 kHz.","enum":[8000,12000,16000,24000,48000],"type":"integer"},"target_languages":{"examples":[["es","fr"]],"items":{"type":"string"},"maxItems":10,"minItems":1,"type":"array"},"translation_terms":{"description":"Per-output glossary and synonym mappings. Add one source entry per synonym or spelling variant with the same target and target_language. Source captions retain recognized text; mappings guide translated wording and exact model output can vary. target_language is required for multiple outputs and defaults to the sole output otherwise. Keywords and normalized term text plus separators share a 5900-character limit.","items":{"additionalProperties":false,"properties":{"source":{"description":"Source term, synonym or spelling variant.","minLength":1,"type":"string"},"target":{"description":"Preferred wording in the selected output language.","minLength":1,"type":"string"},"target_language":{"type":"string"}},"required":["source","target"],"type":"object"},"maxItems":100,"type":"array"},"type":{"enum":["config"],"type":"string"}},"required":["target_languages"],"type":"object"}}},"/v1/tts":{"post":{"parameters":[{"description":"API key; provide one supported header or query authentication method.","in":"query","name":"api_key","required":false,"schema":{"type":"string"}},{"description":"Firebase ID token; provide one supported header or query authentication method.","in":"query","name":"authorization","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-protobuf":{"schema":{"format":"binary","type":"string"}}},"required":true},"responses":{"200":{"description":"Protobuf response containing a signed audio URL"}},"security":[{"ApiKey":[]},{"ApiKeyQuery":[]},{"FirebaseBearer":[]},{"FirebaseIDQuery":[]}],"summary":"Generate speech audio"}},"/v1/update-context-source":{"post":{"description":"Update a context source from list_context_sources. Set or clear the language of a primary (canonical) keyword by matching translations[].text to variants[0]; synonyms are not required. Set language to its BCP-47 code, or to \"\" to clear the label while keeping the spelling. Synonyms and translations can be labeled the same way. Only supplied fields change, but keywords/keyword_groups replace the source's whole keyword list: read and preserve the other groups first. enabled toggles whether the source is applied (for personal sources: whether it is a default for new meetings).","operationId":"update_context_source","requestBody":{"content":{"application/json":{"schema":{"properties":{"enabled":{"type":"boolean"},"keyword_groups":{"description":"Terms as legacy string arrays or objects with variants and translations. Primary (canonical) keywords support language labels, even without synonyms: [{\"variants\":[\"수원컨벤션센터\"],\"translations\":[{\"text\":\"수원컨벤션센터\",\"language\":\"ko\",\"manual\":true}]}]. Set translations[].text to variants[0] for the primary keyword, or to another spelling for a synonym/translation. Updates replace the whole keyword list; preserve the other groups, omit this field to leave it unchanged, or send [] to clear it.","items":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"additionalProperties":false,"properties":{"translations":{"items":{"additionalProperties":false,"properties":{"language":{"description":"Language of this spelling, including the primary (canonical) keyword, as a BCP-47 code such as ko, en or zh-Hant. An empty string removes the language label while keeping the spelling.","maxLength":32,"pattern":"^(?:[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*)?$","type":"string"},"manual":{"default":true,"description":"Defaults to true for an explicit user-provided language label, including on the primary keyword. Preserve false when round-tripping an existing generated label; generated labels are read-only.","type":"boolean"},"text":{"description":"Spelling whose language is being set. To label the primary (canonical) keyword itself, use exactly variants[0]; no synonym is required. A different spelling is added to variants only if not already present.","minLength":1,"type":"string"}},"required":["text","language"],"type":"object"},"type":"array"},"variants":{"description":"Spellings and synonyms for one term. variants[0] is the primary (canonical) keyword and can have its own language label in translations, even when it is the only variant.","items":{"type":"string"},"minItems":1,"type":"array"}},"required":["variants"],"type":"object"}]},"type":"array"},"keywords":{"items":{"type":"string"},"type":"array"},"meeting_id":{"type":"string"},"source_id":{"type":"string"},"summary":{"type":"string"},"text":{"type":"string"}},"required":["source_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Update context source"}},"/v1/update-transcript-utterance":{"post":{"description":"Correct a transcribed utterance's text.","operationId":"update_transcript_utterance","requestBody":{"content":{"application/json":{"schema":{"properties":{"id":{"type":"string"},"meeting_id":{"type":"string"},"transcript":{"type":"string"}},"required":["id","meeting_id","transcript"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Update transcript utterance"}},"/v1/update-user-default-meeting-setting":{"post":{"description":"Update only the supplied default language and keyword settings. Omitted fields stay unchanged; contextual_keywords: [] clears all common keywords.","operationId":"update_user_default_meeting_setting","requestBody":{"content":{"application/json":{"schema":{"properties":{"contextual_keywords":{"items":{"type":"string"},"type":"array"},"original_languages":{"items":{"type":"string"},"type":"array"},"translation_languages":{"items":{"type":"string"},"type":"array"},"view_language":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Update default meeting settings"}},"/v1/upload-meeting-to-notion":{"post":{"description":"Upload a meeting summary to the user's connected Notion workspace. Initial Notion authorization must first be completed in the BizCrush app from a meeting's Save to Notion menu.","operationId":"upload_meeting_to_notion","requestBody":{"content":{"application/json":{"schema":{"properties":{"meeting_id":{"type":"string"},"user_id":{"type":"string"}},"required":["user_id","meeting_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Successful response"},"401":{"description":"Authentication required"},"422":{"description":"Invalid request"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Upload meeting to Notion"}},"/v1/webhooks":{"get":{"operationId":"list_webhooks","responses":{"200":{"description":"Success"},"400":{"description":"Invalid input"},"401":{"description":"Authentication required"},"403":{"description":"Additional OAuth scopes required; see WWW-Authenticate"},"429":{"description":"Quota exceeded; see Retry-After"},"503":{"description":"Service temporarily unavailable"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"List your active webhook endpoints without signing secrets","x-required-oauth-scopes":["webhooks:write"]},"post":{"operationId":"register_webhook","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"events":{"items":{"enum":["meeting.completed","transcription.completed","summary.ready"],"type":"string"},"maxItems":3,"type":"array","uniqueItems":true},"meeting_ids":{"items":{"type":"string"},"maxItems":100,"type":"array"},"url":{"format":"uri","maxLength":2048,"type":"string"}},"required":["url"],"type":"object"}}},"required":true},"responses":{"201":{"description":"Webhook created; store signing_secret securely"},"400":{"description":"Invalid input"},"401":{"description":"Authentication required"},"403":{"description":"Additional OAuth scopes required; see WWW-Authenticate"},"429":{"description":"Quota exceeded; see Retry-After"},"503":{"description":"Service temporarily unavailable"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Register a signed completion webhook; signing_secret is returned once","x-required-oauth-scopes":["meetings:read","webhooks:write"]}},"/v1/webhooks/{id}":{"delete":{"operationId":"unregister_webhook","parameters":[{"in":"path","name":"id","required":true,"schema":{"maxLength":43,"minLength":43,"type":"string"}}],"responses":{"200":{"description":"Success"},"400":{"description":"Invalid input"},"401":{"description":"Authentication required"},"403":{"description":"Additional OAuth scopes required; see WWW-Authenticate"},"429":{"description":"Quota exceeded; see Retry-After"},"503":{"description":"Service temporarily unavailable"}},"security":[{"ApiKey":[]},{"Bearer":[]}],"summary":"Disable your webhook and suppress pending deliveries","x-required-oauth-scopes":["webhooks:write"]}}},"servers":[{"url":"https://extapi.bizcrush.ai"}]}
