{ "openapi": "3.1.0", "info": { "title": "Anarlog API", "description": "Anarlog cloud services and opt-in hosted meeting access", "license": { "name": "" }, "version": "1.0.0" }, "paths": { "/calendar/google/list-calendars": { "post": { "tags": [ "calendar" ], "operationId": "google_list_calendars", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GoogleListCalendarsRequest" } } }, "required": true }, "responses": { "200": { "description": "Google calendars fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/google.ListCalendarsResponse" } } } }, "401": { "description": "Unauthorized" }, "424": { "description": "Calendar connection requires reconnect" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/calendar/google/list-events": { "post": { "tags": [ "calendar" ], "operationId": "google_list_events", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GoogleListEventsRequest" } } }, "required": true }, "responses": { "200": { "description": "Google events fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/google.ListEventsResponse" } } } }, "401": { "description": "Unauthorized" }, "424": { "description": "Calendar connection requires reconnect" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/calendar/outlook/list-calendars": { "post": { "tags": [ "calendar" ], "operationId": "outlook_list_calendars", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OutlookListCalendarsRequest" } } }, "required": true }, "responses": { "200": { "description": "Outlook calendars fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/outlook.ListCalendarsResponse" } } } }, "401": { "description": "Unauthorized" }, "424": { "description": "Calendar connection requires reconnect or mailbox is unavailable" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/calendar/outlook/list-events": { "post": { "tags": [ "calendar" ], "operationId": "outlook_list_events", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OutlookListEventsRequest" } } }, "required": true }, "responses": { "200": { "description": "Outlook events fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/outlook.ListEventsResponse" } } } }, "401": { "description": "Unauthorized" }, "424": { "description": "Calendar connection requires reconnect or mailbox is unavailable" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/crm/search-contacts": { "post": { "tags": [ "crm" ], "operationId": "crm_search_contacts", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CrmSearchContactsRequest" } } }, "required": true }, "responses": { "200": { "description": "Matching CRM contacts", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CrmSearchContactsResponse" } } } }, "400": { "description": "Unknown provider or missing query" }, "401": { "description": "Unauthorized" }, "404": { "description": "No Nango connection for the provider" }, "500": { "description": "Internal server error" } } } }, "/fathom/import-meetings": { "post": { "tags": [ "fathom" ], "operationId": "fathom_import_meetings", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ImportMeetingsRequest" } } }, "required": true }, "responses": { "200": { "description": "Fathom meetings fetched for import", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ImportMeetingsResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/google-meet/import-meetings": { "post": { "tags": [ "google-meet" ], "operationId": "google_meet_import_meetings", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ImportMeetingsRequest" } } }, "required": true }, "responses": { "200": { "description": "Google Meet meetings fetched for import", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ImportMeetingsResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/llm/chat/completions": { "post": { "tags": [ "llm" ], "operationId": "llm_chat_completions", "parameters": [ { "name": "x-char-task", "in": "header", "description": "Task type for model selection", "required": false, "schema": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CharTask" } ] } } ], "responses": { "200": { "description": "Chat completion response (streaming or non-streaming)" }, "401": { "description": "Unauthorized" }, "429": { "description": "Rate limit exceeded" }, "502": { "description": "Upstream provider failed" }, "504": { "description": "Request timeout" } } } }, "/mail/google/get-attachment": { "post": { "tags": [ "mail" ], "operationId": "google_get_attachment", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GoogleGetAttachmentRequest" } } }, "required": true }, "responses": { "200": { "description": "Google mail attachment fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Attachment" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/mail/google/get-message": { "post": { "tags": [ "mail" ], "operationId": "google_get_message", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GoogleGetMessageRequest" } } }, "required": true }, "responses": { "200": { "description": "Google mail message fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Message" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/mail/google/get-profile": { "post": { "tags": [ "mail" ], "operationId": "google_get_profile", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GoogleGetProfileRequest" } } }, "required": true }, "responses": { "200": { "description": "Google mail profile fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Profile" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/mail/google/get-thread": { "post": { "tags": [ "mail" ], "operationId": "google_get_thread", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GoogleGetThreadRequest" } } }, "required": true }, "responses": { "200": { "description": "Google mail thread fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Thread" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/mail/google/list-history": { "post": { "tags": [ "mail" ], "operationId": "google_list_history", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GoogleListHistoryRequest" } } }, "required": true }, "responses": { "200": { "description": "Google mail history fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListHistoryResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/mail/google/list-labels": { "post": { "tags": [ "mail" ], "operationId": "google_list_labels", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GoogleListLabelsRequest" } } }, "required": true }, "responses": { "200": { "description": "Google mail labels fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListLabelsResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/mail/google/list-messages": { "post": { "tags": [ "mail" ], "operationId": "google_list_messages", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GoogleListMessagesRequest" } } }, "required": true }, "responses": { "200": { "description": "Google mail messages fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListMessagesResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/mail/google/list-threads": { "post": { "tags": [ "mail" ], "operationId": "google_list_threads", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GoogleListThreadsRequest" } } }, "required": true }, "responses": { "200": { "description": "Google mail threads fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListThreadsResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/messenger/slack/channels": { "get": { "tags": [ "messenger" ], "operationId": "list_slack_channels", "responses": { "200": { "description": "Slack channels available to the connected account", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SlackChannelsResponse" } } } }, "401": { "description": "Authentication required" }, "500": { "description": "Slack connection unavailable" } } } }, "/messenger/slack/messages": { "post": { "tags": [ "messenger" ], "operationId": "send_slack_message", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SlackSendRequest" } } }, "required": true }, "responses": { "200": { "description": "Slack message sent", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SendMessageResponse" } } } }, "400": { "description": "Invalid Slack message" }, "401": { "description": "Authentication required" }, "500": { "description": "Slack delivery unavailable" } } } }, "/microsoft-teams/import-meetings": { "post": { "tags": [ "microsoft-teams" ], "operationId": "microsoft_teams_import_meetings", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ImportMeetingsRequest" } } }, "required": true }, "responses": { "200": { "description": "Microsoft Teams meetings fetched for import", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ImportMeetingsResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/nango/connections": { "get": { "tags": [ "nango" ], "operationId": "list_connections", "responses": { "200": { "description": "List of active connections", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListConnectionsResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "nango" ], "operationId": "delete_connection", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeleteConnectionRequest" } } }, "required": true }, "responses": { "200": { "description": "Connection disconnected", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeleteConnectionResponse" } } } }, "401": { "description": "Unauthorized" }, "403": { "description": "Forbidden" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/nango/google-drive/export": { "post": { "tags": [ "nango" ], "operationId": "google_drive_export_markdown", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveExportRequest" } } }, "required": true }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveExportFile" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/nango/google-drive/folder": { "post": { "tags": [ "nango" ], "operationId": "google_drive_validate_folder", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveFolderRequest" } } }, "required": true }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveFolder" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/nango/google-drive/picker-complete": { "post": { "tags": [ "nango" ], "operationId": "google_drive_picker_complete", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PickerComplete" } } }, "required": true }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveFolder" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/nango/google-drive/picker-start": { "post": { "tags": [ "nango" ], "operationId": "google_drive_picker_start", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveConnectionRequest" } } }, "required": true }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PickerStart" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/nango/google-drive/prepare-export": { "post": { "tags": [ "nango" ], "operationId": "google_drive_prepare_export", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DrivePrepareExportRequest" } } }, "required": true }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DriveExportFile" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/nango/session": { "post": { "tags": [ "nango" ], "operationId": "create_session", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateSessionRequest" } } }, "required": true }, "responses": { "200": { "description": "Session created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/nango/webhook": { "post": { "tags": [ "nango" ], "operationId": "nango_webhook", "responses": { "200": { "description": "Webhook processed", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebhookResponse" } } } }, "400": { "description": "Bad request" }, "401": { "description": "Invalid signature" } } } }, "/nango/whoami": { "get": { "tags": [ "nango" ], "operationId": "whoami", "responses": { "200": { "description": "User info for all connections", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WhoAmIResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/notion/append-update": { "post": { "tags": [ "notion" ], "operationId": "notion_append_update", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotionAppendUpdateRequest" } } }, "required": true }, "responses": { "200": { "description": "Update appended to the Notion page", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotionAppendUpdateResponse" } } } }, "400": { "description": "Invalid update payload" }, "401": { "description": "Authentication required" }, "500": { "description": "Notion connection unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/notion/import-meetings": { "post": { "tags": [ "notion" ], "operationId": "notion_import_meetings", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotionImportMeetingsRequest" } } }, "required": true }, "responses": { "200": { "description": "Notion meeting notes fetched for import", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotionImportMeetingsResponse" } } } }, "401": { "description": "Authentication required" }, "424": { "description": "Notion plan does not include AI meeting notes" }, "500": { "description": "Notion connection unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/notion/search-pages": { "post": { "tags": [ "notion" ], "operationId": "notion_search_pages", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotionSearchPagesRequest" } } }, "required": true }, "responses": { "200": { "description": "Notion pages shared with the connected integration", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotionPagesResponse" } } } }, "401": { "description": "Authentication required" }, "500": { "description": "Notion connection unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/pyannote/v1/diarize": { "post": { "tags": [ "pyannote" ], "summary": "Diarize audio", "operationId": "diarize", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DiarizeRequest" } } }, "required": true }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JobCreated" } } } }, "400": { "description": "Invalid request" }, "402": { "description": "Subscription is required" }, "429": { "description": "Too many requests" } }, "security": [ { "bearer_auth": [] } ], "x-api-key-permissions": [ "jobs:write" ] } }, "/pyannote/v1/identify": { "post": { "tags": [ "pyannote" ], "summary": "Identify speaker with diarization", "operationId": "identify", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IdentifyRequest" } } }, "required": true }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JobCreated" } } } }, "400": { "description": "Invalid request" }, "402": { "description": "Subscription is required" }, "429": { "description": "Too many requests" } }, "security": [ { "bearer_auth": [] } ], "x-api-key-permissions": [ "jobs:write" ] } }, "/pyannote/v1/jobs/{jobId}": { "get": { "tags": [ "pyannote" ], "summary": "Get job by ID", "operationId": "getJobById", "parameters": [ { "name": "jobId", "in": "path", "description": "Job ID to track the progress", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "oneOf": [ { "$ref": "#/components/schemas/DiarizationJob" }, { "$ref": "#/components/schemas/VoiceprintJob" }, { "$ref": "#/components/schemas/IdentifyJob" } ] } } } }, "400": { "description": "Invalid request" }, "402": { "description": "Subscription is required" }, "429": { "description": "Too many requests" } }, "security": [ { "bearer_auth": [] } ], "x-api-key-permissions": [ "jobs:read" ] } }, "/pyannote/v1/media/input": { "post": { "tags": [ "pyannote" ], "summary": "Get upload URL", "description": "To use the provided temporary storage is a two step process.\n You start by declaring a media:// url that you can reference in any other API calls. The response will provide a url where you can put your media. This allows you to use the media:// url as a short-cut for a temporary storage location.\n You'll be returned a pre-signed url you can use to PUT and upload your media file. The temporary storage should allow you to read and write to the media:// locations for a period of at least 24 hours before it is removed.", "operationId": "getMediaUploadURL", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GetMediaUploadUrl" } } }, "required": true }, "responses": { "201": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MediaResponse" } } } }, "400": { "description": "Invalid request" }, "402": { "description": "Subscription is required" }, "429": { "description": "Too many requests" } }, "security": [ { "bearer_auth": [] } ], "x-api-key-permissions": [ "media:write" ] } }, "/pyannote/v1/voiceprint": { "post": { "tags": [ "pyannote" ], "summary": "Extract voiceprint", "operationId": "voiceprint", "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VoiceprintRequest" } } }, "required": true }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/JobCreated" } } } }, "400": { "description": "Invalid request" }, "402": { "description": "Subscription is required" }, "429": { "description": "Too many requests" } }, "security": [ { "bearer_auth": [] } ], "x-api-key-permissions": [ "jobs:write" ] } }, "/shared-notes/access/{share_id}/attachments/{attachment_id}/download": { "post": { "tags": [ "shared-notes" ], "operationId": "download_access_shared_attachment", "parameters": [ { "name": "share_id", "in": "path", "description": "Session share ID", "required": true, "schema": { "type": "string" } }, { "name": "attachment_id", "in": "path", "description": "Published attachment ID", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Short-lived authorized attachment download", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedAttachmentDownload" } } } }, "401": { "description": "Authentication required" }, "404": { "description": "Shared attachment unavailable" }, "502": { "description": "Shared attachment service unavailable" } } } }, "/shared-notes/handoffs/attachments/{attachment_id}/download": { "post": { "tags": [ "shared-notes" ], "operationId": "download_handoff_shared_attachment", "parameters": [ { "name": "attachment_id", "in": "path", "description": "Published attachment ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteHandoffAttachmentRequest" } } }, "required": true }, "responses": { "200": { "description": "Short-lived leased attachment download", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedAttachmentDownload" } } } }, "404": { "description": "Shared attachment unavailable" }, "502": { "description": "Shared attachment service unavailable" } } } }, "/shared-notes/handoffs/claim": { "post": { "tags": [ "shared-notes" ], "operationId": "claim_shared_note_handoff", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteHandoffClaimRequest" } } }, "required": true }, "responses": { "200": { "description": "Claimed shared note with a retryable attachment lease", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteSnapshot" } } } }, "404": { "description": "Shared note unavailable" }, "502": { "description": "Shared note service unavailable" } } } }, "/shared-notes/invitations/{invitation_id}/email": { "post": { "tags": [ "shared-notes" ], "operationId": "send_shared_note_invitation_email", "parameters": [ { "name": "invitation_id", "in": "path", "description": "Session access invitation ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteInvitationEmailRequest" } } }, "required": true }, "responses": { "204": { "description": "Invitation email sent" }, "400": { "description": "Invalid invitation email request" }, "401": { "description": "Authentication required" }, "404": { "description": "Invitation unavailable" }, "502": { "description": "Invitation email service unavailable" } } } }, "/shared-notes/link/{share_id}": { "post": { "tags": [ "shared-notes" ], "operationId": "read_link_shared_note", "parameters": [ { "name": "share_id", "in": "path", "description": "Session share ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteLinkRequest" } } }, "required": true }, "responses": { "200": { "description": "Bearer-link shared note", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteSnapshot" } } } }, "404": { "description": "Shared note unavailable" }, "413": { "description": "Request too large" }, "502": { "description": "Shared note service unavailable" } } } }, "/shared-notes/link/{share_id}/attachments/{attachment_id}/download": { "post": { "tags": [ "shared-notes" ], "operationId": "download_link_shared_attachment", "parameters": [ { "name": "share_id", "in": "path", "description": "Session share ID", "required": true, "schema": { "type": "string" } }, { "name": "attachment_id", "in": "path", "description": "Published attachment ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteLinkRequest" } } }, "required": true }, "responses": { "200": { "description": "Short-lived bearer-link attachment download", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedAttachmentDownload" } } } }, "404": { "description": "Shared attachment unavailable" }, "502": { "description": "Shared attachment service unavailable" } } } }, "/shared-notes/link/{share_id}/handoff": { "post": { "tags": [ "shared-notes" ], "operationId": "create_link_shared_note_handoff", "parameters": [ { "name": "share_id", "in": "path", "description": "Session share ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteLinkRequest" } } }, "required": true }, "responses": { "200": { "description": "One-time desktop handoff", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteHandoff" } } } }, "404": { "description": "Shared note unavailable" }, "413": { "description": "Request too large" }, "502": { "description": "Shared note service unavailable" } } } }, "/shared-notes/link/{share_id}/preview": { "post": { "tags": [ "shared-notes" ], "operationId": "read_link_shared_note_preview", "parameters": [ { "name": "share_id", "in": "path", "description": "Session share ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteLinkPreviewRequest" } } }, "required": true }, "responses": { "200": { "description": "Bearer-link shared note preview", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNotePreview" } } } }, "404": { "description": "Shared note unavailable" }, "413": { "description": "Request too large" }, "502": { "description": "Shared note service unavailable" } } } }, "/shared-notes/links/{link_id}/preview": { "get": { "tags": [ "shared-notes" ], "operationId": "read_short_link_shared_note_preview", "parameters": [ { "name": "link_id", "in": "path", "description": "Session share link ID", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Short-link shared note preview", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteLinkPreview" } } } }, "404": { "description": "Shared note unavailable" }, "502": { "description": "Shared note service unavailable" } } } }, "/shared-notes/public/{slug}": { "get": { "tags": [ "shared-notes" ], "operationId": "read_public_shared_note", "parameters": [ { "name": "slug", "in": "path", "description": "Public share slug", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Public shared note", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteSnapshot" } } } }, "404": { "description": "Shared note unavailable" }, "502": { "description": "Shared note service unavailable" } } } }, "/shared-notes/public/{slug}/attachments/{attachment_id}/download": { "post": { "tags": [ "shared-notes" ], "operationId": "download_public_shared_attachment", "parameters": [ { "name": "slug", "in": "path", "description": "Public share slug", "required": true, "schema": { "type": "string" } }, { "name": "attachment_id", "in": "path", "description": "Published attachment ID", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Short-lived public attachment download", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedAttachmentDownload" } } } }, "404": { "description": "Shared attachment unavailable" }, "502": { "description": "Shared attachment service unavailable" } } } }, "/shared-notes/public/{slug}/handoff": { "post": { "tags": [ "shared-notes" ], "operationId": "create_public_shared_note_handoff", "parameters": [ { "name": "slug", "in": "path", "description": "Public share slug", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "One-time desktop handoff", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteHandoff" } } } }, "404": { "description": "Shared note unavailable" }, "502": { "description": "Shared note service unavailable" } } } }, "/shared-notes/public/{slug}/preview": { "get": { "tags": [ "shared-notes" ], "operationId": "read_public_shared_note_preview", "parameters": [ { "name": "slug", "in": "path", "description": "Public share slug", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Public shared note preview", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNotePreview" } } } }, "404": { "description": "Shared note unavailable" }, "502": { "description": "Shared note service unavailable" } } } }, "/shared-notes/share/{share_id}": { "get": { "tags": [ "shared-notes" ], "operationId": "read_stable_shared_note", "parameters": [ { "name": "share_id", "in": "path", "description": "Stable session share ID", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Stable shared note", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StableSharedNoteSnapshot" } } } }, "404": { "description": "Shared note unavailable" }, "502": { "description": "Shared note service unavailable" } } } }, "/shared-notes/share/{share_id}/attachments/{attachment_id}/download": { "post": { "tags": [ "shared-notes" ], "operationId": "download_stable_shared_attachment", "parameters": [ { "name": "share_id", "in": "path", "description": "Stable session share ID", "required": true, "schema": { "type": "string" } }, { "name": "attachment_id", "in": "path", "description": "Published attachment ID", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Short-lived stable-link attachment download", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedAttachmentDownload" } } } }, "404": { "description": "Shared attachment unavailable" }, "502": { "description": "Shared attachment service unavailable" } } } }, "/shared-notes/share/{share_id}/handoff": { "post": { "tags": [ "shared-notes" ], "operationId": "create_stable_shared_note_handoff", "parameters": [ { "name": "share_id", "in": "path", "description": "Stable session share ID", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "One-time desktop handoff", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNoteHandoff" } } } }, "404": { "description": "Shared note unavailable" }, "502": { "description": "Shared note service unavailable" } } } }, "/shared-notes/share/{share_id}/preview": { "get": { "tags": [ "shared-notes" ], "operationId": "read_stable_shared_note_preview", "parameters": [ { "name": "share_id", "in": "path", "description": "Stable session share ID", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Stable shared note preview", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedNotePreview" } } } }, "404": { "description": "Shared note unavailable" }, "502": { "description": "Shared note service unavailable" } } } }, "/shared-notes/{share_id}/recap/email": { "post": { "tags": [ "shared-notes" ], "operationId": "send_shared_note_recap_email", "parameters": [ { "name": "share_id", "in": "path", "description": "Session share ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MeetingRecapEmailRequest" } } }, "required": true }, "responses": { "204": { "description": "Meeting recap email sent" }, "400": { "description": "Invalid recap email request" }, "401": { "description": "Authentication required" }, "404": { "description": "Shared note unavailable" }, "502": { "description": "Recap email service unavailable" } } } }, "/stt/listen": { "get": { "tags": [ "stt" ], "operationId": "stt_listen_stream", "parameters": [ { "name": "provider", "in": "query", "description": "STT provider. Use 'anarlog' for automatic routing (default), or specify:\ndeepgram, soniox, assemblyai, gladia, elevenlabs, fireworks, openai, dashscope, mistral", "required": false, "schema": { "type": "string" } }, { "name": "model", "in": "query", "description": "Model to use for transcription (provider-specific, e.g. 'nova-3')", "required": false, "schema": { "type": "string" } }, { "name": "language", "in": "query", "description": "BCP-47 language hint (e.g. 'en', 'ko', 'ja'). Multiple values or comma-separated supported", "required": false, "schema": { "type": "string" } }, { "name": "keywords", "in": "query", "description": "Keyword boosting. Comma-separated or repeated query params", "required": false, "schema": { "type": "string" } }, { "name": "num_speakers", "in": "query", "description": "Expected exact number of speakers, when supported by the selected provider", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "min_speakers", "in": "query", "description": "Minimum expected number of speakers, when supported by the selected provider", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "max_speakers", "in": "query", "description": "Maximum expected number of speakers, when supported by the selected provider", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "sample_rate", "in": "query", "description": "Audio sample rate in Hz (default: 16000)", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "channels", "in": "query", "description": "Number of audio channels (default: 1)", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "encoding", "in": "query", "description": "Audio encoding: linear16, flac, mulaw, opus, ogg-opus, etc.", "required": false, "schema": { "type": "string" } } ], "responses": { "101": { "description": "WebSocket upgrade. Server sends StreamResponse JSON messages." }, "400": { "description": "Bad request (invalid provider, missing params, etc.)" }, "502": { "description": "Upstream provider connection failed" } } }, "post": { "tags": [ "stt" ], "operationId": "stt_listen_batch", "parameters": [ { "name": "provider", "in": "query", "description": "STT provider. Use 'anarlog' for automatic routing (default), or specify:\ndeepgram, soniox, assemblyai, gladia, elevenlabs, fireworks, openai, dashscope, mistral", "required": false, "schema": { "type": "string" } }, { "name": "model", "in": "query", "description": "Model to use for transcription (provider-specific, e.g. 'nova-3')", "required": false, "schema": { "type": "string" } }, { "name": "language", "in": "query", "description": "BCP-47 language hint (e.g. 'en', 'ko', 'ja'). Multiple values or comma-separated supported", "required": false, "schema": { "type": "string" } }, { "name": "keywords", "in": "query", "description": "Keyword boosting. Comma-separated or repeated query params", "required": false, "schema": { "type": "string" } }, { "name": "num_speakers", "in": "query", "description": "Expected exact number of speakers, when supported by the selected provider", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "min_speakers", "in": "query", "description": "Minimum expected number of speakers, when supported by the selected provider", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "max_speakers", "in": "query", "description": "Maximum expected number of speakers, when supported by the selected provider", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "sample_rate", "in": "query", "description": "Audio sample rate in Hz (default: 16000)", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "channels", "in": "query", "description": "Number of audio channels (default: 1)", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "callback", "in": "query", "description": "When set, enables async callback mode. Body should be JSON with a `url` field instead of raw audio", "required": false, "schema": { "type": "string" } } ], "requestBody": { "description": "Raw audio bytes (sync mode) or JSON `{ \"url\": \"\" }` (callback mode)", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ListenCallbackRequest" } }, "application/octet-stream": { "schema": { "type": "array", "items": { "type": "integer", "format": "binary", "minimum": 0 } } } }, "required": true }, "responses": { "200": { "description": "Transcription result (sync) or ListenCallbackResponse (callback)", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BatchListenSuccessResponse" } } } }, "400": { "description": "Bad request (empty body, invalid provider, etc.)" }, "401": { "description": "Unauthorized" }, "502": { "description": "All upstream providers failed" } } } }, "/stt/status/{pipeline_id}": { "get": { "tags": [ "stt" ], "operationId": "stt_status", "parameters": [ { "name": "pipeline_id", "in": "path", "description": "Pipeline ID", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Pipeline status", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SttStatusResponse" } } } }, "404": { "description": "Job not found" }, "500": { "description": "Internal error" } } } }, "/subscription/can-start-trial": { "get": { "tags": [ "subscription" ], "operationId": "can_start_trial", "responses": { "200": { "description": "Check successful", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CanStartTrialResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/subscription/delete-account": { "delete": { "tags": [ "subscription" ], "operationId": "delete_account", "responses": { "202": { "description": "Account deletion durably accepted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeleteAccountResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" }, "503": { "description": "Durable account cleanup unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/subscription/start-trial": { "post": { "tags": [ "subscription" ], "operationId": "start_trial", "parameters": [ { "name": "interval", "in": "query", "required": false, "schema": { "$ref": "#/components/schemas/Interval" }, "example": "monthly" } ], "responses": { "200": { "description": "Trial started successfully", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StartTrialResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/attachment-backups/delete": { "post": { "tags": [ "sync" ], "operationId": "delete_attachment_backup", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeleteAttachmentBackupRequest" } } }, "required": true }, "responses": { "200": { "description": "Backup deletion scheduled behind a dependency fence", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ScheduledAttachmentBackupDeletion" } } } }, "400": { "description": "Invalid deletion identity" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription or backup access required" }, "404": { "description": "Backup unavailable" }, "409": { "description": "Backup changed, deletion was canceled, or a dependency appeared" }, "502": { "description": "Backup service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/attachment-backups/delete/cancel": { "post": { "tags": [ "sync" ], "operationId": "cancel_attachment_backup_deletion", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DeleteAttachmentBackupRequest" } } }, "required": true }, "responses": { "200": { "description": "Exact deletion request canceled or durably prevented", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CanceledAttachmentBackupDeletion" } } } }, "400": { "description": "Invalid deletion identity" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription or backup access required" }, "409": { "description": "Backup changed or deletion is already being collected" }, "502": { "description": "Backup service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/attachment-backups/download": { "post": { "tags": [ "sync" ], "operationId": "download_attachment_backup", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttachmentBackupObjectRequest" } } }, "required": true }, "responses": { "200": { "description": "Short-lived download for the server-current backup", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttachmentBackupDownload" } } } }, "400": { "description": "Invalid object key" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription or backup access required" }, "404": { "description": "Current backup unavailable" }, "409": { "description": "Backup is no longer current" }, "502": { "description": "Backup service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/attachment-backups/finalize": { "post": { "tags": [ "sync" ], "operationId": "finalize_attachment_backup", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttachmentBackupObjectRequest" } } }, "required": true }, "responses": { "200": { "description": "Uploaded backup verified and finalized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FinalizedAttachmentBackup" } } } }, "400": { "description": "Invalid object key" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription or backup access required" }, "404": { "description": "Backup unavailable" }, "409": { "description": "Uploaded object does not match its reservation" }, "502": { "description": "Backup service unavailable" }, "503": { "description": "Backup verification capacity is busy" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/attachment-backups/head": { "put": { "tags": [ "sync" ], "operationId": "promote_attachment_backup", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PromoteAttachmentBackupRequest" } } }, "required": true }, "responses": { "200": { "description": "Backup promoted with compare-and-swap semantics", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PromotedAttachmentBackup" } } } }, "400": { "description": "Invalid object key" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription or backup access required" }, "404": { "description": "Backup unavailable" }, "409": { "description": "Current backup changed" }, "502": { "description": "Backup service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/attachment-backups/head/{attachment_ref}": { "get": { "tags": [ "sync" ], "operationId": "read_current_attachment_backup", "parameters": [ { "name": "attachment_ref", "in": "path", "description": "Blind attachment reference", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Current backup head", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CurrentAttachmentBackup" } } } }, "400": { "description": "Invalid attachment reference" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription or backup access required" }, "404": { "description": "Current backup unavailable" }, "502": { "description": "Backup service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/attachment-backups/reserve": { "post": { "tags": [ "sync" ], "operationId": "reserve_attachment_backup", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReserveAttachmentBackupRequest" } } }, "required": true }, "responses": { "200": { "description": "Reserved immutable backup identity", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReservedAttachmentBackup" } } } }, "400": { "description": "Invalid backup metadata" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription or backup access required" }, "409": { "description": "Backup reservation conflict" }, "502": { "description": "Backup service unavailable" }, "507": { "description": "Backup quota exhausted" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/attachment-backups/upload-grant": { "post": { "tags": [ "sync" ], "operationId": "grant_attachment_backup_upload", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GrantAttachmentBackupUploadRequest" } } }, "required": true }, "responses": { "200": { "description": "Time-limited grant for an immutable backup upload", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttachmentBackupUploadGrant" } } } }, "400": { "description": "Invalid object key or ciphertext hash" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription or backup access required" }, "404": { "description": "Backup reservation unavailable" }, "409": { "description": "Backup state or ciphertext hash conflict" }, "502": { "description": "Backup service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/devices": { "get": { "tags": [ "sync" ], "operationId": "get_devices", "responses": { "200": { "description": "Approved and pending sync devices", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SyncDevicesResponse" } } } }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription required" }, "502": { "description": "Device service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/devices/{fingerprint}": { "delete": { "tags": [ "sync" ], "operationId": "delete_device", "parameters": [ { "name": "fingerprint", "in": "path", "description": "Device fingerprint", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Device removed" }, "400": { "description": "Invalid device fingerprint" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription required" }, "502": { "description": "Device service unavailable" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "sync" ], "operationId": "patch_device", "parameters": [ { "name": "fingerprint", "in": "path", "description": "Device fingerprint", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RenameSyncDeviceRequest" } } }, "required": true }, "responses": { "204": { "description": "Device renamed" }, "400": { "description": "Invalid device fingerprint or name" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription required" }, "502": { "description": "Device service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/e2ee/device-enrollments": { "post": { "tags": [ "sync" ], "operationId": "register_e2ee_device_enrollment", "parameters": [ { "name": "x-device-fingerprint", "in": "header", "description": "Current device fingerprint", "required": true, "schema": { "type": "string" } }, { "name": "x-anarlog-device-name", "in": "header", "description": "Current device name", "required": false, "schema": { "type": [ "string", "null" ] } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RegisterE2eeDeviceEnrollmentRequest" } } }, "required": true }, "responses": { "200": { "description": "Current enrollment request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RegisterE2eeDeviceEnrollmentResponse" } } } }, "400": { "description": "Invalid device enrollment" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro or a free device slot is required" }, "409": { "description": "An existing device must establish encrypted sync first" }, "502": { "description": "Enrollment service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/e2ee/device-enrollments/{request_id}/consume": { "post": { "tags": [ "sync" ], "operationId": "consume_e2ee_device_enrollment", "parameters": [ { "name": "request_id", "in": "path", "description": "Enrollment request ID", "required": true, "schema": { "type": "string" } }, { "name": "x-device-fingerprint", "in": "header", "description": "Requesting device fingerprint", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConsumeE2eeDeviceEnrollmentRequest" } } }, "required": true }, "responses": { "204": { "description": "Enrollment package consumed" }, "400": { "description": "Invalid enrollment acknowledgement" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription required" }, "404": { "description": "Enrollment request unavailable" }, "502": { "description": "Enrollment service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/e2ee/device-enrollments/{request_id}/seal": { "post": { "tags": [ "sync" ], "operationId": "seal_e2ee_device_enrollment", "parameters": [ { "name": "request_id", "in": "path", "description": "Enrollment request ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/E2eeDeviceEnrollmentPackage" } } }, "required": true }, "responses": { "204": { "description": "Enrollment package sealed" }, "400": { "description": "Invalid enrollment package" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription required" }, "404": { "description": "Enrollment request unavailable" }, "409": { "description": "Enrollment request already sealed" }, "502": { "description": "Enrollment service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/e2ee/identity": { "put": { "tags": [ "sync" ], "operationId": "claim_e2ee_identity", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClaimE2eeIdentityRequest" } } }, "required": true }, "responses": { "200": { "description": "E2EE recovery-key identity claimed", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/E2eeIdentity" } } } }, "400": { "description": "Invalid E2EE key identity" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription required" }, "409": { "description": "Account already uses a different recovery key" }, "502": { "description": "E2EE identity service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/e2ee/witness/{workspace_id}": { "get": { "tags": [ "sync" ], "operationId": "read_e2ee_witness", "parameters": [ { "name": "workspace_id", "in": "path", "description": "Workspace ID", "required": true, "schema": { "type": "string" } }, { "name": "afterSequence", "in": "query", "description": "Last applied witness sequence", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "throughSequence", "in": "query", "description": "Stable witness page boundary", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "Append-only E2EE witness page", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/E2eeWitnessPage" } } } }, "400": { "description": "Invalid witness cursor" }, "401": { "description": "Authentication required" }, "403": { "description": "Witness workspace access denied" }, "502": { "description": "Witness service unavailable" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "sync" ], "operationId": "publish_e2ee_witness", "parameters": [ { "name": "workspace_id", "in": "path", "description": "Workspace ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PublishE2eeWitnessRequest" } } }, "required": true }, "responses": { "200": { "description": "Ciphertext events appended", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PublishE2eeWitnessResponse" } } } }, "400": { "description": "Invalid witness event" }, "401": { "description": "Authentication required" }, "403": { "description": "Witness workspace access denied" }, "409": { "description": "Legacy witness requires an established device" }, "502": { "description": "Witness service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/e2ee/witness/{workspace_id}/wait": { "get": { "tags": [ "sync" ], "operationId": "wait_e2ee_witness", "parameters": [ { "name": "workspace_id", "in": "path", "description": "Workspace ID", "required": true, "schema": { "type": "string" } }, { "name": "afterSequence", "in": "query", "description": "Last witness sequence known to the caller", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "Witness head state, held until it advances past the cursor or the hold expires", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/E2eeWitnessWaitResponse" } } } }, "400": { "description": "Invalid witness cursor" }, "401": { "description": "Authentication required" }, "403": { "description": "Witness workspace access denied" }, "502": { "description": "Witness service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/e2ee/workspaces/{workspace_id}/key": { "put": { "tags": [ "sync" ], "operationId": "set_workspace_e2ee_key", "parameters": [ { "name": "workspace_id", "in": "path", "description": "Shared workspace ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetWorkspaceE2eeKeyRequest" } } }, "required": true }, "responses": { "200": { "description": "Wrapped workspace key published", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetWorkspaceE2eeKeyResult" } } } }, "400": { "description": "Invalid workspace key grants" }, "401": { "description": "Authentication required" }, "403": { "description": "Workspace manager access required" }, "502": { "description": "Workspace key service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/e2ee/workspaces/{workspace_id}/recipients": { "get": { "tags": [ "sync" ], "operationId": "get_workspace_e2ee_key_recipients", "parameters": [ { "name": "workspace_id", "in": "path", "description": "Shared workspace ID", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Active workspace key recipients", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WorkspaceE2eeKeyRecipient" } } } } }, "400": { "description": "Invalid workspace ID" }, "401": { "description": "Authentication required" }, "403": { "description": "Workspace manager access required" }, "502": { "description": "Workspace key service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/meetings/{meeting_key}/devices": { "post": { "tags": [ "sync" ], "operationId": "heartbeat_meeting_device", "parameters": [ { "name": "meeting_key", "in": "path", "description": "Opaque key derived from the calendar event", "required": true, "schema": { "type": "string" } }, { "name": "x-device-fingerprint", "in": "header", "description": "Fingerprint of the calling device", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MeetingDeviceHeartbeatRequest" } } }, "required": true }, "responses": { "200": { "description": "Devices present for the meeting", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MeetingDevicesResponse" } } } }, "400": { "description": "Invalid meeting key or device fingerprint" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription required" }, "404": { "description": "The calling device is not a registered sync device" }, "502": { "description": "Device service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/replica/credentials": { "post": { "tags": [ "sync" ], "operationId": "create_replica_credentials", "parameters": [ { "name": "x-anarlog-e2ee-key-id", "in": "header", "description": "Local recovery-key identity", "required": true, "schema": { "type": "string" } }, { "name": "x-anarlog-e2ee-member-public-key", "in": "header", "description": "Account-level member identity public key", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "Encrypted replica credentials", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReplicaCredentials" } } } }, "400": { "description": "Invalid E2EE key identity" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription required" }, "409": { "description": "Account already uses a different recovery key" }, "502": { "description": "Replica credential service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/shares/{share_id}/attachments/finalize": { "post": { "tags": [ "sync" ], "operationId": "finalize_shared_attachment", "parameters": [ { "name": "share_id", "in": "path", "description": "Session share ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedAttachmentObjectRequest" } } }, "required": true }, "responses": { "200": { "description": "Verified shared attachment", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FinalizedSharedAttachment" } } } }, "400": { "description": "Invalid object key" }, "401": { "description": "Authentication required" }, "403": { "description": "Pro or share-manager access required" }, "404": { "description": "Attachment unavailable" }, "409": { "description": "Uploaded object does not match the reservation" }, "502": { "description": "Shared attachment service unavailable" }, "503": { "description": "Shared attachment verification capacity is busy" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/shares/{share_id}/attachments/reserve": { "post": { "tags": [ "sync" ], "operationId": "reserve_shared_attachment", "parameters": [ { "name": "share_id", "in": "path", "description": "Session share ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReserveSharedAttachmentRequest" } } }, "required": true }, "responses": { "200": { "description": "Reserved immutable shared attachment", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReservedSharedAttachment" } } } }, "400": { "description": "Invalid attachment metadata" }, "401": { "description": "Authentication required" }, "403": { "description": "Pro or share-manager access required" }, "409": { "description": "Attachment reservation conflict" }, "502": { "description": "Shared attachment service unavailable" }, "507": { "description": "Shared attachment quota exhausted" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/shares/{share_id}/attachments/upload-grant": { "post": { "tags": [ "sync" ], "operationId": "grant_shared_attachment_upload", "parameters": [ { "name": "share_id", "in": "path", "description": "Session share ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GrantSharedAttachmentUploadRequest" } } }, "required": true }, "responses": { "200": { "description": "Time-limited immutable upload grant", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SharedAttachmentUploadGrant" } } } }, "400": { "description": "Invalid object key or checksum" }, "401": { "description": "Authentication required" }, "403": { "description": "Pro or share-manager access required" }, "404": { "description": "Attachment reservation unavailable" }, "409": { "description": "Attachment state conflict" }, "502": { "description": "Shared attachment service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/shares/{share_id}/live/ticket": { "post": { "tags": [ "sync" ], "summary": "Issues a short-lived, HMAC-signed ticket that authorizes one WebSocket\nconnection to a shared note's live document. Browsers cannot attach a bearer\nheader to a WebSocket upgrade, so the ticket carries the resolved capability\ninstead and the socket route verifies it without touching Supabase.", "operationId": "create_live_ticket", "parameters": [ { "name": "share_id", "in": "path", "description": "Shared note ID", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LiveTicketResponse" } } } }, "403": { "description": "No access to the shared note" }, "404": { "description": "Shared note not found" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/shares/{share_id}/snapshot": { "put": { "tags": [ "sync" ], "operationId": "publish_session_share_snapshot", "parameters": [ { "name": "share_id", "in": "path", "description": "Session share ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PublishSessionShareSnapshotRequest" } } }, "required": true }, "responses": { "200": { "description": "Sanitized shared-note snapshot published", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PublishedSessionShareSnapshot" } } } }, "400": { "description": "Invalid shared-note snapshot" }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro or share-manager access required" }, "409": { "description": "Shared note changed since the supplied base revision" }, "413": { "description": "Shared-note snapshot is too large" }, "502": { "description": "Shared-note service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/shares/{share_id}/web-edit": { "put": { "tags": [ "sync" ], "operationId": "edit_session_share_snapshot", "parameters": [ { "name": "share_id", "in": "path", "description": "Session share ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PublishSessionShareSnapshotRequest" } } }, "required": true }, "responses": { "200": { "description": "Shared-note edit saved", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PublishedSessionShareSnapshot" } } } }, "400": { "description": "Invalid or unsupported shared-note edit" }, "401": { "description": "Authentication required" }, "403": { "description": "Explicit Editor access required" }, "409": { "description": "Shared note changed since the supplied base revision" }, "413": { "description": "Shared-note edit is too large" }, "502": { "description": "Shared-note service unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/sync/token": { "post": { "tags": [ "sync" ], "operationId": "create_credentials", "parameters": [ { "name": "x-anarlog-e2ee-key-id", "in": "header", "description": "Local recovery-key identity", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "x-anarlog-e2ee-member-public-key", "in": "header", "description": "Account-level member identity public key", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "x-anarlog-cloudsync-transports", "in": "header", "description": "Comma-separated transports the client accepts; include `replica` to allow witness-only credentials", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "Short-lived CloudSync credentials", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CloudsyncCredentialResponse" } } } }, "401": { "description": "Authentication required" }, "403": { "description": "Anarlog Pro subscription required" }, "426": { "description": "Desktop upgrade required" }, "502": { "description": "Credential issuer unavailable" } }, "security": [ { "bearer_auth": [] } ] } }, "/ticket/github/list-repos": { "post": { "tags": [ "ticket" ], "operationId": "github_list_repos", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GitHubListReposRequest" } } }, "required": true }, "responses": { "200": { "description": "GitHub repositories fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CollectionPage" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/ticket/github/list-tickets": { "post": { "tags": [ "ticket" ], "operationId": "github_list_tickets", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GitHubListTicketsRequest" } } }, "required": true }, "responses": { "200": { "description": "GitHub tickets fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketPage" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/ticket/linear/create-issue": { "post": { "tags": [ "ticket" ], "operationId": "linear_create_issue", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LinearCreateIssueRequest" } } }, "required": true }, "responses": { "200": { "description": "Linear issue created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketSummary" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/ticket/linear/list-teams": { "post": { "tags": [ "ticket" ], "operationId": "linear_list_teams", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LinearListTeamsRequest" } } }, "required": true }, "responses": { "200": { "description": "Linear teams fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CollectionPage" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/ticket/linear/list-tickets": { "post": { "tags": [ "ticket" ], "operationId": "linear_list_tickets", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LinearListTicketsRequest" } } }, "required": true }, "responses": { "200": { "description": "Linear tickets fetched", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TicketPage" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/v1/cloud-api/keys": { "get": { "tags": [ "cloud-api" ], "operationId": "list_keys", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ApiKeyInfo" } } } } }, "403": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "cloud-api" ], "operationId": "create_key", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateApiKeyBody" } } }, "required": true }, "responses": { "201": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreatedApiKey" } } } }, "400": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "403": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/v1/cloud-api/keys/{key_id}": { "delete": { "tags": [ "cloud-api" ], "operationId": "revoke_key", "parameters": [ { "name": "key_id", "in": "path", "description": "Cloud API key id", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "" }, "404": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/v1/cloud-api/settings": { "get": { "tags": [ "cloud-api" ], "operationId": "get_settings", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CloudApiSettings" } } } }, "403": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } } }, "security": [ { "bearer_auth": [] } ] }, "put": { "tags": [ "cloud-api" ], "operationId": "update_settings", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateSettingsBody" } } }, "required": true }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CloudApiSettings" } } } }, "403": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/v1/meetings": { "get": { "tags": [ "cloud-api" ], "operationId": "list_meetings", "parameters": [ { "name": "query", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "series_id", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MeetingPage" } } } }, "401": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "403": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "429": { "description": "Cloud API rate limit exceeded", "content": { "text/plain": { "schema": { "type": "string" } } } } }, "security": [ { "cloud_api_key": [] } ] } }, "/v1/meetings/{meeting_id}": { "get": { "tags": [ "cloud-api" ], "operationId": "get_meeting", "parameters": [ { "name": "meeting_id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Meeting" } } } }, "401": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "403": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "404": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "429": { "description": "Cloud API rate limit exceeded", "content": { "text/plain": { "schema": { "type": "string" } } } } }, "security": [ { "cloud_api_key": [] } ] } }, "/v1/meetings/{meeting_id}/export": { "get": { "tags": [ "cloud-api" ], "operationId": "export_meeting", "parameters": [ { "name": "meeting_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "format", "in": "query", "description": "json or markdown", "required": false, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Meeting export" }, "400": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "401": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "403": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "404": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "429": { "description": "Cloud API rate limit exceeded", "content": { "text/plain": { "schema": { "type": "string" } } } } }, "security": [ { "cloud_api_key": [] } ] } }, "/v1/meetings/{meeting_id}/history": { "get": { "tags": [ "cloud-api" ], "operationId": "get_history", "parameters": [ { "name": "meeting_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MeetingPage" } } } }, "401": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "403": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "404": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "429": { "description": "Cloud API rate limit exceeded", "content": { "text/plain": { "schema": { "type": "string" } } } } }, "security": [ { "cloud_api_key": [] } ] } }, "/v1/meetings/{meeting_id}/transcript": { "get": { "tags": [ "cloud-api" ], "operationId": "get_transcript", "parameters": [ { "name": "meeting_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TranscriptPage" } } } }, "401": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "403": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "404": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "429": { "description": "Cloud API rate limit exceeded", "content": { "text/plain": { "schema": { "type": "string" } } } } }, "security": [ { "cloud_api_key": [] } ] } }, "/v1/sync-snapshots/{session_id}": { "put": { "tags": [ "cloud-api" ], "operationId": "publish_snapshot", "parameters": [ { "name": "session_id", "in": "path", "description": "Anarlog meeting id", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MeetingExport" } } }, "required": true }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SnapshotReceipt" } } } }, "400": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } }, "403": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorEnvelope" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "cloud-api" ], "operationId": "delete_snapshot", "parameters": [ { "name": "session_id", "in": "path", "description": "Anarlog meeting id", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "" } }, "security": [ { "bearer_auth": [] } ] } }, "/webex/import-meetings": { "post": { "tags": [ "webex" ], "operationId": "webex_import_meetings", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ImportMeetingsRequest" } } }, "required": true }, "responses": { "200": { "description": "Webex meetings fetched for import", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ImportMeetingsResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } }, "/workspaces/invitations/{invitation_id}/email": { "post": { "tags": [ "shared-notes" ], "operationId": "send_workspace_invitation_email", "parameters": [ { "name": "invitation_id", "in": "path", "description": "Workspace invitation ID", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceInvitationEmailRequest" } } }, "required": true }, "responses": { "204": { "description": "Invitation email sent" }, "400": { "description": "Invalid invitation email request" }, "401": { "description": "Authentication required" }, "404": { "description": "Invitation unavailable" }, "502": { "description": "Invitation email service unavailable" } } } }, "/zoom/import-meetings": { "post": { "tags": [ "zoom" ], "operationId": "zoom_import_meetings", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ZoomImportMeetingsRequest" } } }, "required": true }, "responses": { "200": { "description": "Zoom meetings fetched for import", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ZoomImportMeetingsResponse" } } } }, "401": { "description": "Unauthorized" }, "500": { "description": "Internal server error" } }, "security": [ { "bearer_auth": [] } ] } } }, "components": { "schemas": { "AccessRole": { "type": "string", "enum": [ "freeBusyReader", "reader", "writer", "owner", "unknown" ] }, "ActionItem": { "type": "object", "required": [ "id", "assignee_human_id", "status", "text", "due_at" ], "properties": { "assignee_human_id": { "type": "string" }, "completed_at": { "type": [ "string", "null" ] }, "due_at": { "type": "string" }, "id": { "type": "string" }, "status": { "type": "string" }, "text": { "type": "string" } } }, "ApiKeyInfo": { "type": "object", "required": [ "id", "name", "key_prefix", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string" }, "key_prefix": { "type": "string" }, "last_used_at": { "type": [ "string", "null" ] }, "name": { "type": "string" } } }, "Attachment": { "type": "object", "properties": { "data": { "type": [ "string", "null" ] }, "size": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 } } }, "AttachmentBackupDownload": { "type": "object", "required": [ "objectId", "objectKey", "ciphertextSizeBytes", "ciphertextSha256", "formatVersion", "signedUrl", "expiresAt" ], "properties": { "ciphertextSha256": { "type": "string" }, "ciphertextSizeBytes": { "type": "integer", "format": "int64", "minimum": 0 }, "expiresAt": { "type": "string" }, "formatVersion": { "type": "integer", "format": "int32" }, "objectId": { "type": "string" }, "objectKey": { "type": "string" }, "signedUrl": { "type": "string" } } }, "AttachmentBackupObjectRequest": { "type": "object", "required": [ "objectKey" ], "properties": { "objectKey": { "type": "string" } }, "additionalProperties": false }, "AttachmentBackupUploadGrant": { "type": "object", "required": [ "objectId", "objectKey", "objectState", "ciphertextSizeBytes", "ciphertextSha256", "formatVersion" ], "properties": { "ciphertextSha256": { "type": "string" }, "ciphertextSizeBytes": { "type": "integer", "format": "int64", "minimum": 0 }, "formatVersion": { "type": "integer", "format": "int32" }, "objectId": { "type": "string" }, "objectKey": { "type": "string" }, "objectState": { "type": "string" }, "uploadExpiresAt": { "type": [ "string", "null" ] }, "uploadToken": { "type": [ "string", "null" ] } } }, "AttendeeResponseStatus": { "type": "string", "enum": [ "needsAction", "declined", "tentative", "accepted", "unknown" ] }, "AttendeeType": { "type": "string", "enum": [ "required", "optional", "resource", "unknown" ] }, "AutoDeclineMode": { "type": "string", "enum": [ "declineNone", "declineAllConflictingInvitations", "declineOnlyNewConflictingInvitations", "unknown" ] }, "BatchAlternatives": { "type": "object", "required": [ "transcript", "confidence" ], "properties": { "confidence": { "type": "number", "format": "double" }, "transcript": { "type": "string" }, "words": { "type": "array", "items": { "$ref": "#/components/schemas/BatchWord" } } } }, "BatchChannel": { "type": "object", "required": [ "alternatives" ], "properties": { "alternatives": { "type": "array", "items": { "$ref": "#/components/schemas/BatchAlternatives" } } } }, "BatchListenSuccessResponse": { "oneOf": [ { "type": "object", "required": [ "Sync" ], "properties": { "Sync": { "$ref": "#/components/schemas/BatchResponse" } } }, { "type": "object", "required": [ "Callback" ], "properties": { "Callback": { "$ref": "#/components/schemas/ListenCallbackResponse" } } } ] }, "BatchResponse": { "type": "object", "required": [ "metadata", "results" ], "properties": { "metadata": { "type": "object" }, "results": { "$ref": "#/components/schemas/BatchResults" } } }, "BatchResults": { "type": "object", "required": [ "channels" ], "properties": { "channels": { "type": "array", "items": { "$ref": "#/components/schemas/BatchChannel" } } } }, "BatchStreamEvent": { "oneOf": [ { "type": "object", "required": [ "percentage", "type" ], "properties": { "partial_text": { "type": [ "string", "null" ] }, "percentage": { "type": "number", "format": "double" }, "type": { "type": "string", "enum": [ "progress" ] } } }, { "type": "object", "required": [ "response", "percentage", "type" ], "properties": { "percentage": { "type": "number", "format": "double" }, "response": { "$ref": "#/components/schemas/StreamResponse" }, "type": { "type": "string", "enum": [ "segment" ] } } }, { "type": "object", "required": [ "request_id", "created", "duration", "channels", "type" ], "properties": { "channels": { "type": "integer", "format": "int32", "minimum": 0 }, "created": { "type": "string" }, "duration": { "type": "number", "format": "double" }, "request_id": { "type": "string" }, "type": { "type": "string", "enum": [ "terminal" ] } } }, { "type": "object", "required": [ "response", "type" ], "properties": { "response": { "$ref": "#/components/schemas/BatchResponse" }, "type": { "type": "string", "enum": [ "result" ] } } }, { "type": "object", "required": [ "error_message", "provider", "type" ], "properties": { "error_code": { "type": [ "integer", "null" ], "format": "int32" }, "error_message": { "type": "string" }, "provider": { "type": "string" }, "type": { "type": "string", "enum": [ "error" ] } } } ] }, "BatchWord": { "type": "object", "required": [ "word", "start", "end", "confidence" ], "properties": { "channel": { "type": "integer", "format": "int32" }, "confidence": { "type": "number", "format": "double" }, "end": { "type": "number", "format": "double" }, "punctuated_word": { "type": [ "string", "null" ] }, "speaker": { "type": [ "integer", "null" ], "minimum": 0 }, "start": { "type": "number", "format": "double" }, "word": { "type": "string" } } }, "BirthdayProperties": { "type": "object", "properties": { "contact": { "type": [ "string", "null" ] }, "customTypeName": { "type": [ "string", "null" ] }, "type": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/BirthdayPropertyType" } ] } } }, "BirthdayPropertyType": { "type": "string", "enum": [ "birthday", "anniversary", "self", "other", "custom", "unknown" ] }, "BodyType": { "type": "string", "enum": [ "text", "html", "unknown" ] }, "Calendar": { "type": "object", "required": [ "id" ], "properties": { "allowedOnlineMeetingProviders": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/OnlineMeetingProviderType" } }, "canEdit": { "type": [ "boolean", "null" ] }, "canShare": { "type": [ "boolean", "null" ] }, "canViewPrivateItems": { "type": [ "boolean", "null" ] }, "changeKey": { "type": [ "string", "null" ] }, "color": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CalendarColor" } ] }, "defaultOnlineMeetingProvider": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/OnlineMeetingProviderType" } ] }, "hexColor": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "isDefaultCalendar": { "type": [ "boolean", "null" ] }, "isRemovable": { "type": [ "boolean", "null" ] }, "isTallyingResponses": { "type": [ "boolean", "null" ] }, "name": { "type": [ "string", "null" ] }, "owner": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EmailAddress" } ] } } }, "CalendarColor": { "type": "string", "enum": [ "auto", "lightBlue", "lightGreen", "lightOrange", "lightGray", "lightYellow", "lightTeal", "lightPink", "lightBrown", "lightRed", "maxColor", "unknown" ] }, "CalendarListEntry": { "type": "object", "required": [ "id" ], "properties": { "accessRole": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/AccessRole" } ] }, "autoAcceptInvitations": { "type": [ "boolean", "null" ] }, "backgroundColor": { "type": [ "string", "null" ] }, "colorId": { "type": [ "string", "null" ] }, "conferenceProperties": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ConferenceProperties" } ] }, "dataOwner": { "type": [ "string", "null" ] }, "defaultReminders": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/Reminder" } }, "deleted": { "type": [ "boolean", "null" ] }, "description": { "type": [ "string", "null" ] }, "etag": { "type": [ "string", "null" ] }, "foregroundColor": { "type": [ "string", "null" ] }, "hidden": { "type": [ "boolean", "null" ] }, "id": { "type": "string" }, "kind": { "type": [ "string", "null" ] }, "location": { "type": [ "string", "null" ] }, "notificationSettings": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/NotificationSettings" } ] }, "primary": { "type": [ "boolean", "null" ] }, "selected": { "type": [ "boolean", "null" ] }, "summary": { "type": [ "string", "null" ] }, "summaryOverride": { "type": [ "string", "null" ] }, "timeZone": { "type": [ "string", "null" ] } } }, "CalendarNotification": { "type": "object", "required": [ "method", "type" ], "properties": { "method": { "$ref": "#/components/schemas/NotificationMethod" }, "type": { "$ref": "#/components/schemas/NotificationType" } } }, "CanStartTrialReason": { "type": "string", "enum": [ "eligible", "not_eligible", "error" ] }, "CanStartTrialResponse": { "type": "object", "required": [ "canStartTrial" ], "properties": { "canStartTrial": { "type": "boolean", "example": true }, "reason": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CanStartTrialReason" } ] } } }, "CanceledAttachmentBackupDeletion": { "type": "object", "required": [ "objectKey", "attachmentRef", "versionRef", "deleteRequestId" ], "properties": { "attachmentRef": { "type": "string" }, "deleteRequestId": { "type": "string" }, "objectKey": { "type": "string" }, "versionRef": { "type": "string" } } }, "CasSessionShareSnapshotRequest": { "type": "object", "required": [ "baseRevision", "mutationId", "title", "body", "attachmentIds" ], "properties": { "attachmentIds": { "type": "array", "items": { "type": "string" } }, "baseRevision": { "type": "integer", "format": "int64" }, "body": {}, "meetingAt": { "type": [ "string", "null" ] }, "mutationId": { "type": "string" }, "participants": { "type": [ "array", "null" ], "items": { "type": "string" } }, "title": { "type": "string" } }, "additionalProperties": false }, "CharTask": { "type": "string", "enum": [ "chat", "enhance", "title" ] }, "ChatStatus": { "type": "string", "enum": [ "available", "doNotDisturb", "unknown" ] }, "ClaimE2eeIdentityRequest": { "type": "object", "required": [ "keyId" ], "properties": { "keyId": { "type": "string" } }, "additionalProperties": false }, "CloudApiSettings": { "type": "object", "required": [ "enabled" ], "properties": { "enabled": { "type": "boolean" }, "updated_at": { "type": [ "string", "null" ] } } }, "CloudsyncCredentialResponse": { "oneOf": [ { "$ref": "#/components/schemas/LegacyCloudsyncCredentials" }, { "$ref": "#/components/schemas/CloudsyncCredentials" }, { "$ref": "#/components/schemas/ReplicaCredentials" } ] }, "CloudsyncCredentials": { "type": "object", "required": [ "encryptionVersion", "encryptionKeyId", "databaseId", "token", "expiresAt", "workspaceId", "accountUserId", "personalWorkspaceId", "workspaces", "workspaceKeyGrants" ], "properties": { "accountUserId": { "type": "string" }, "databaseId": { "type": "string" }, "encryptionKeyId": { "type": "string" }, "encryptionVersion": { "type": "integer", "format": "int32", "minimum": 0 }, "expiresAt": { "type": "string" }, "personalWorkspaceId": { "type": "string" }, "token": { "type": "string" }, "workspaceId": { "type": "string" }, "workspaceKeyGrants": { "type": "array", "items": { "$ref": "#/components/schemas/WorkspaceE2eeKeyGrant" } }, "workspaces": { "type": "array", "items": { "$ref": "#/components/schemas/CloudsyncWorkspace" } } } }, "CloudsyncWorkspace": { "type": "object", "required": [ "id", "ownerUserId", "kind", "name", "membershipId", "role", "membershipCreatedAt", "membershipUpdatedAt", "createdAt", "updatedAt" ], "properties": { "createdAt": { "type": "string" }, "id": { "type": "string" }, "kind": { "type": "string" }, "membershipCreatedAt": { "type": "string" }, "membershipId": { "type": "string" }, "membershipUpdatedAt": { "type": "string" }, "name": { "type": "string" }, "ownerUserId": { "type": "string" }, "role": { "type": "string" }, "updatedAt": { "type": "string" } } }, "CollectionPage": { "type": "object", "required": [ "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/CollectionRef" } }, "next_cursor": { "type": [ "string", "null" ] } } }, "CollectionRef": { "type": "object", "required": [ "id", "name" ], "properties": { "id": { "type": "string" }, "key": { "type": [ "string", "null" ], "description": "Short identifier. GitHub: \"owner/repo\", Linear: team key (e.g., \"ENG\")." }, "name": { "type": "string", "description": "Display name. GitHub: \"owner/repo\", Linear: team name." }, "url": { "type": [ "string", "null" ] } } }, "ConferenceCreateRequest": { "type": "object", "properties": { "conferenceSolutionKey": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ConferenceSolutionKey" } ] }, "requestId": { "type": [ "string", "null" ] }, "status": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ConferenceCreateRequestStatus" } ] } } }, "ConferenceCreateRequestStatus": { "type": "object", "required": [ "statusCode" ], "properties": { "statusCode": { "$ref": "#/components/schemas/ConferenceCreateStatusCode" } } }, "ConferenceCreateStatusCode": { "type": "string", "enum": [ "pending", "success", "failure", "unknown" ] }, "ConferenceData": { "type": "object", "properties": { "conferenceId": { "type": [ "string", "null" ] }, "conferenceSolution": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ConferenceSolution" } ] }, "createRequest": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ConferenceCreateRequest" } ] }, "entryPoints": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/EntryPoint" } }, "notes": { "type": [ "string", "null" ] }, "signature": { "type": [ "string", "null" ] } } }, "ConferenceProperties": { "type": "object", "properties": { "allowedConferenceSolutionTypes": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/ConferenceSolutionType" } } } }, "ConferenceSolution": { "type": "object", "properties": { "iconUri": { "type": [ "string", "null" ] }, "key": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ConferenceSolutionKey" } ] }, "name": { "type": [ "string", "null" ] } } }, "ConferenceSolutionKey": { "type": "object", "required": [ "type" ], "properties": { "type": { "$ref": "#/components/schemas/ConferenceSolutionType" } } }, "ConferenceSolutionType": { "type": "string", "enum": [ "addOn", "hangoutsMeet", "eventNamedHangout", "eventHangout", "unknown" ] }, "Confidence": { "type": "object", "required": [ "score", "resolution" ], "properties": { "resolution": { "type": "number", "description": "Resolution of the confidence scores. Value is number of seconds per sample", "example": 0.02 }, "score": { "type": "array", "items": { "type": "number" }, "description": "List of confidence scores for each sample. Values are between 0 and 100", "example": [ 95, 89, 78, 67, 56, 45, 34, 23, 12, 1 ] } } }, "ConnectionItem": { "type": "object", "required": [ "integration_id", "connection_id" ], "properties": { "account_identity": { "type": [ "string", "null" ] }, "connection_id": { "type": "string" }, "integration_id": { "type": "string" }, "last_error_at": { "type": [ "string", "null" ] }, "last_error_description": { "type": [ "string", "null" ] }, "last_error_type": { "type": [ "string", "null" ] }, "status": { "type": [ "string", "null" ] }, "updated_at": { "type": [ "string", "null" ] } } }, "ConsumeE2eeDeviceEnrollmentRequest": { "type": "object", "required": [ "publicKey" ], "properties": { "publicKey": { "type": "string" } }, "additionalProperties": false }, "CreateApiKeyBody": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "CreateEventRequest": { "type": "object", "required": [ "calendar_id", "event" ], "properties": { "calendar_id": { "type": "string" }, "event": { "$ref": "#/components/schemas/google.CreateEventBody" } } }, "CreateSessionRequest": { "type": "object", "required": [ "integration_id" ], "properties": { "connection_id": { "type": [ "string", "null" ] }, "integration_id": { "type": "string" }, "mode": { "$ref": "#/components/schemas/SessionMode" } } }, "CreatedApiKey": { "allOf": [ { "$ref": "#/components/schemas/ApiKeyInfo" }, { "type": "object", "required": [ "key" ], "properties": { "key": { "type": "string" } } } ] }, "CrmContact": { "type": "object", "properties": { "companyName": { "type": [ "string", "null" ] }, "email": { "type": [ "string", "null" ] }, "id": { "type": [ "string", "null" ] }, "jobTitle": { "type": [ "string", "null" ] }, "linkedinUrl": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] }, "phone": { "type": [ "string", "null" ] }, "url": { "type": [ "string", "null" ] } } }, "CrmSearchContactsRequest": { "type": "object", "required": [ "provider", "connection_id" ], "properties": { "connection_id": { "type": "string" }, "email": { "type": [ "string", "null" ] }, "limit": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "name": { "type": [ "string", "null" ] }, "provider": { "type": "string" } } }, "CrmSearchContactsResponse": { "type": "object", "required": [ "contacts" ], "properties": { "contacts": { "type": "array", "items": { "$ref": "#/components/schemas/CrmContact" } } } }, "CurrentAttachmentBackup": { "type": "object", "required": [ "versionRef", "objectKey", "ciphertextSha256", "ciphertextSizeBytes", "formatVersion" ], "properties": { "ciphertextSha256": { "type": "string" }, "ciphertextSizeBytes": { "type": "integer", "format": "int64", "minimum": 0 }, "formatVersion": { "type": "integer", "format": "int32" }, "objectKey": { "type": "string" }, "versionRef": { "type": "string" } } }, "CustomLocation": { "type": "object", "properties": { "label": { "type": [ "string", "null" ] } } }, "DateTimeTimeZone": { "type": "object", "required": [ "dateTime" ], "properties": { "dateTime": { "type": "string" }, "timeZone": { "type": [ "string", "null" ] } } }, "DayOfWeek": { "type": "string", "enum": [ "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "unknown" ] }, "DeleteAccountResponse": { "type": "object", "required": [ "deleted", "pending" ], "properties": { "deleted": { "type": "boolean" }, "error": { "type": [ "string", "null" ] }, "pending": { "type": "boolean" } } }, "DeleteAttachmentBackupRequest": { "type": "object", "required": [ "objectKey", "attachmentRef", "versionRef", "deleteRequestId" ], "properties": { "attachmentRef": { "type": "string" }, "deleteRequestId": { "type": "string" }, "objectKey": { "type": "string" }, "versionRef": { "type": "string" } }, "additionalProperties": false }, "DeleteConnectionRequest": { "type": "object", "required": [ "connection_id", "integration_id" ], "properties": { "connection_id": { "type": "string" }, "integration_id": { "type": "string" } } }, "DeleteConnectionResponse": { "type": "object", "required": [ "status" ], "properties": { "status": { "type": "string" } } }, "DiarizationJob": { "type": "object", "properties": { "createdAt": { "type": "string", "format": "date-time", "description": "Date and time the job was created", "example": "2024-02-20T12:00:00Z" }, "jobId": { "type": "string", "description": "Job ID to track the progress or get the results", "example": "fb16c565-f3f0-4402-a08c-9d44df0ccc7b" }, "output": { "$ref": "#/components/schemas/DiarizationJobOutput" }, "status": { "$ref": "#/components/schemas/JobStatus" }, "updatedAt": { "type": "string", "format": "date-time", "description": "Date and time the job was last updated", "example": "2024-02-20T12:00:00Z" } } }, "DiarizationJobOutput": { "type": "object", "required": [ "diarization" ], "properties": { "confidence": { "$ref": "#/components/schemas/Confidence" }, "diarization": { "type": "array", "items": { "$ref": "#/components/schemas/DiarizationSegment" }, "description": "List of diarization segments" }, "error": { "type": "string", "description": "Error message if any" }, "exclusiveDiarization": { "type": "array", "items": { "$ref": "#/components/schemas/DiarizationSegment" }, "description": "Exclusive diarization segments where only one speaker is active at a time. Only returned if `exclusive` is set to true when job is created." }, "turnLevelTranscription": { "type": "array", "items": { "$ref": "#/components/schemas/TranscriptionSegment" }, "description": "Turn-level (speaker turn) transcription segments with text. Only returned if `transcription` is set to true when job is created.", "example": [ { "end": 2.3, "speaker": "SPEAKER_00", "start": 0.5, "text": "Hello, how are you?" } ] }, "warning": { "type": "string", "description": "Warning message if any" }, "wordLevelTranscription": { "type": "array", "items": { "$ref": "#/components/schemas/TranscriptionSegment" }, "description": "Word-level transcription segments with text. Only returned if `transcription` is set to true when job is created.", "example": [ { "end": 0.8, "speaker": "SPEAKER_00", "start": 0.5, "text": "Hello" } ] } } }, "DiarizationSegment": { "type": "object", "required": [ "speaker", "start", "end" ], "properties": { "confidence": { "type": "object", "description": "Confidence scores that this speech turn matches each diarization speaker. Only available if `turnLevelConfidence` is set to true when job is created.", "example": { "SPEAKER_00": 16, "SPEAKER_01": 93 } }, "end": { "type": "number", "description": "End time of the segment in seconds", "example": 30.5 }, "speaker": { "type": "string", "description": "Speaker label", "example": "SPEAKER_00" }, "start": { "type": "number", "description": "Start time of the segment in seconds", "example": 15 } } }, "DiarizeRequest": { "type": "object", "required": [ "url" ], "properties": { "confidence": { "type": "boolean" }, "exclusive": { "type": "boolean" }, "maxSpeakers": { "type": [ "number", "null" ], "format": "double" }, "minSpeakers": { "type": [ "number", "null" ], "format": "double" }, "model": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/DiarizeRequestModel" } ] }, "numSpeakers": { "type": [ "number", "null" ], "format": "double" }, "transcription": { "type": "boolean" }, "transcriptionConfig": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/TranscriptionConfiguration" } ] }, "turnLevelConfidence": { "type": [ "boolean", "null" ] }, "url": { "type": "string" } }, "additionalProperties": false }, "DiarizeRequestModel": { "type": "string", "enum": [ "precision-2", "community-1" ] }, "Document": { "type": "object", "required": [ "id", "kind", "template_id", "title", "markdown", "sort_order", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string" }, "kind": { "type": "string" }, "markdown": { "type": "string" }, "sort_order": { "type": "integer", "format": "int64" }, "template_id": { "type": "string" }, "title": { "type": "string" }, "updated_at": { "type": "string" } } }, "DriveConnectionRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" } }, "additionalProperties": false }, "DriveExportFile": { "type": "object", "required": [ "file_id", "url" ], "properties": { "file_id": { "type": "string" }, "url": { "type": "string" } } }, "DriveExportFormat": { "type": "string", "enum": [ "markdown", "google_docs" ] }, "DriveExportRequest": { "type": "object", "required": [ "connection_id", "folder_id", "meeting_id", "file_id", "filename", "markdown" ], "properties": { "connection_id": { "type": "string" }, "file_id": { "type": "string" }, "filename": { "type": "string" }, "folder_id": { "type": "string" }, "format": { "$ref": "#/components/schemas/DriveExportFormat" }, "markdown": { "type": "string" }, "meeting_id": { "type": "string" } }, "additionalProperties": false }, "DriveFolder": { "type": "object", "required": [ "id", "name" ], "properties": { "drive_id": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "name": { "type": "string" } } }, "DriveFolderRequest": { "type": "object", "required": [ "connection_id", "folder_id" ], "properties": { "connection_id": { "type": "string" }, "folder_id": { "type": "string" } }, "additionalProperties": false }, "DrivePrepareExportRequest": { "type": "object", "required": [ "connection_id", "folder_id", "meeting_id" ], "properties": { "connection_id": { "type": "string" }, "folder_id": { "type": "string" }, "format": { "$ref": "#/components/schemas/DriveExportFormat" }, "meeting_id": { "type": "string" } }, "additionalProperties": false }, "E2eeDeviceEnrollmentPackage": { "type": "object", "required": [ "ephemeralPublicKey", "nonce", "ciphertext" ], "properties": { "ciphertext": { "type": "string" }, "ephemeralPublicKey": { "type": "string" }, "nonce": { "type": "string" } }, "additionalProperties": false }, "E2eeDeviceEnrollmentStatus": { "type": "string", "enum": [ "pending", "sealed", "consumed" ] }, "E2eeDeviceEnrollmentSummary": { "type": "object", "required": [ "requestId", "deviceFingerprint", "publicKey", "createdAt", "expiresAt", "status" ], "properties": { "createdAt": { "type": "string" }, "deviceFingerprint": { "type": "string" }, "deviceName": { "type": [ "string", "null" ] }, "expiresAt": { "type": "string" }, "publicKey": { "type": "string" }, "requestId": { "type": "string" }, "status": { "$ref": "#/components/schemas/E2eeDeviceEnrollmentStatus" } } }, "E2eeIdentity": { "type": "object", "required": [ "keyId" ], "properties": { "keyId": { "type": "string" } } }, "E2eeWitnessEvent": { "type": "object", "required": [ "recordId", "payloadHash", "payload" ], "properties": { "payload": { "type": "string" }, "payloadHash": { "type": "string" }, "recordId": { "type": "string" } }, "additionalProperties": false }, "E2eeWitnessPage": { "type": "object", "required": [ "initialized", "headSequence", "throughSequence", "nextAfterSequence", "events" ], "properties": { "events": { "type": "array", "items": { "$ref": "#/components/schemas/E2eeWitnessPageEvent" } }, "headSequence": { "type": "integer", "format": "int64", "minimum": 0 }, "initialized": { "type": "boolean" }, "initializedAt": { "type": [ "string", "null" ] }, "nextAfterSequence": { "type": "integer", "format": "int64", "minimum": 0 }, "throughSequence": { "type": "integer", "format": "int64", "minimum": 0 } } }, "E2eeWitnessPageEvent": { "type": "object", "required": [ "sequence", "recordId", "payloadHash", "payload" ], "properties": { "payload": { "type": "string" }, "payloadHash": { "type": "string" }, "recordId": { "type": "string" }, "sequence": { "type": "integer", "format": "int64", "minimum": 0 } } }, "E2eeWitnessWaitResponse": { "type": "object", "required": [ "initialized", "headSequence" ], "properties": { "headSequence": { "type": "integer", "format": "int64", "minimum": 0 }, "initialized": { "type": "boolean" } } }, "EmailAddress": { "type": "object", "properties": { "address": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] } } }, "EntryPoint": { "type": "object", "required": [ "entryPointType", "uri" ], "properties": { "accessCode": { "type": [ "string", "null" ] }, "entryPointType": { "$ref": "#/components/schemas/EntryPointType" }, "label": { "type": [ "string", "null" ] }, "meetingCode": { "type": [ "string", "null" ] }, "passcode": { "type": [ "string", "null" ] }, "password": { "type": [ "string", "null" ] }, "pin": { "type": [ "string", "null" ] }, "uri": { "type": "string" } } }, "EntryPointType": { "type": "string", "enum": [ "video", "phone", "sip", "more", "unknown" ] }, "ErrorBody": { "type": "object", "required": [ "code", "message" ], "properties": { "code": { "type": "string" }, "message": { "type": "string" } } }, "ErrorEnvelope": { "type": "object", "required": [ "error" ], "properties": { "error": { "$ref": "#/components/schemas/ErrorBody" } } }, "EventAttachment": { "type": "object", "properties": { "fileId": { "type": [ "string", "null" ] }, "fileUrl": { "type": [ "string", "null" ] }, "iconLink": { "type": [ "string", "null" ] }, "mimeType": { "type": [ "string", "null" ] }, "title": { "type": [ "string", "null" ] } } }, "EventDateTime": { "type": "object", "properties": { "date": { "type": [ "string", "null" ], "format": "date" }, "dateTime": { "type": [ "string", "null" ], "format": "date-time" }, "timeZone": { "type": [ "string", "null" ] } } }, "EventOrderBy": { "type": "string", "enum": [ "startTime", "updated" ] }, "EventPerson": { "type": "object", "properties": { "displayName": { "type": [ "string", "null" ] }, "email": { "type": [ "string", "null" ] }, "id": { "type": [ "string", "null" ] }, "self": { "type": [ "boolean", "null" ] } } }, "EventShowAs": { "type": "string", "enum": [ "free", "tentative", "busy", "oof", "workingElsewhere", "unknown", "other" ] }, "EventSource": { "type": "object", "required": [ "url", "title" ], "properties": { "title": { "type": "string" }, "url": { "type": "string" } } }, "EventStatus": { "type": "string", "enum": [ "confirmed", "tentative", "cancelled", "unknown" ] }, "ExtendedProperties": { "type": "object", "properties": { "private": { "type": [ "object", "null" ], "additionalProperties": { "type": "string" }, "propertyNames": { "type": "string" } }, "shared": { "type": [ "object", "null" ], "additionalProperties": { "type": "string" }, "propertyNames": { "type": "string" } } } }, "FinalizedAttachmentBackup": { "type": "object", "required": [ "objectKey", "objectState", "wasFinalized" ], "properties": { "objectKey": { "type": "string" }, "objectState": { "type": "string" }, "wasFinalized": { "type": "boolean" } } }, "FinalizedSharedAttachment": { "type": "object", "required": [ "attachmentId", "objectKey", "objectState", "wasFinalized" ], "properties": { "attachmentId": { "type": "string" }, "objectKey": { "type": "string" }, "objectState": { "type": "string" }, "wasFinalized": { "type": "boolean" } } }, "FocusTimeProperties": { "type": "object", "properties": { "autoDeclineMode": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/AutoDeclineMode" } ] }, "chatStatus": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ChatStatus" } ] }, "declineMessage": { "type": [ "string", "null" ] } } }, "Gadget": { "type": "object", "properties": { "display": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/GadgetDisplay" } ] }, "height": { "type": [ "integer", "null" ], "format": "int32" }, "iconLink": { "type": [ "string", "null" ] }, "link": { "type": [ "string", "null" ] }, "preferences": { "type": [ "object", "null" ], "additionalProperties": { "type": "string" }, "propertyNames": { "type": "string" } }, "title": { "type": [ "string", "null" ] }, "type": { "type": [ "string", "null" ] }, "width": { "type": [ "integer", "null" ], "format": "int32" } } }, "GadgetDisplay": { "type": "string", "enum": [ "chip", "icon", "unknown" ] }, "GetJobsResponse": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/JobListItem" }, "description": "List of jobs. Sorted by creation date, descending. Does not include output data." }, "total": { "type": "number", "description": "Total number of jobs", "example": 100 } } }, "GetMediaUploadUrl": { "type": "object", "required": [ "url" ], "properties": { "url": { "type": "string", "description": "The url should be in the form media://object-key where the object-key can be any alpha-numeric string. The object-key is unique to your account API token so there is no risk of collision with other users.", "maxLength": 255, "pattern": "^media:\\/\\/[a-zA-Z0-9\\-_\\.\\/]+$" } } }, "GetMessageRequest": { "type": "object", "required": [ "id" ], "properties": { "format": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/MessageFormat" } ] }, "id": { "type": "string" }, "metadata_headers": { "type": [ "array", "null" ], "items": { "type": "string" } } } }, "GetThreadRequest": { "type": "object", "required": [ "id" ], "properties": { "format": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/MessageFormat" } ] }, "id": { "type": "string" }, "metadata_headers": { "type": [ "array", "null" ], "items": { "type": "string" } } } }, "GitHubListReposRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" }, "cursor": { "type": [ "string", "null" ] }, "limit": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 } } }, "GitHubListTicketsRequest": { "type": "object", "required": [ "connection_id", "owner", "repo" ], "properties": { "connection_id": { "type": "string" }, "cursor": { "type": [ "string", "null" ] }, "labels": { "type": [ "array", "null" ], "items": { "type": "string" } }, "limit": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "owner": { "type": "string" }, "repo": { "type": "string" }, "state": { "type": [ "string", "null" ] } } }, "GoogleGetAttachmentRequest": { "type": "object", "required": [ "connection_id", "message_id", "attachment_id" ], "properties": { "attachment_id": { "type": "string" }, "connection_id": { "type": "string" }, "message_id": { "type": "string" } } }, "GoogleGetMessageRequest": { "type": "object", "required": [ "connection_id", "id" ], "properties": { "connection_id": { "type": "string" }, "format": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "metadata_headers": { "type": [ "array", "null" ], "items": { "type": "string" } } } }, "GoogleGetProfileRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" } } }, "GoogleGetThreadRequest": { "type": "object", "required": [ "connection_id", "id" ], "properties": { "connection_id": { "type": "string" }, "format": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "metadata_headers": { "type": [ "array", "null" ], "items": { "type": "string" } } } }, "GoogleListCalendarsRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" } } }, "GoogleListEventsRequest": { "type": "object", "required": [ "connection_id", "calendar_id" ], "properties": { "calendar_id": { "type": "string" }, "connection_id": { "type": "string" }, "max_results": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "order_by": { "type": [ "string", "null" ] }, "page_token": { "type": [ "string", "null" ] }, "single_events": { "type": [ "boolean", "null" ] }, "time_max": { "type": [ "string", "null" ] }, "time_min": { "type": [ "string", "null" ] } } }, "GoogleListHistoryRequest": { "type": "object", "required": [ "connection_id", "start_history_id" ], "properties": { "connection_id": { "type": "string" }, "history_types": { "type": [ "array", "null" ], "items": { "type": "string" } }, "label_id": { "type": [ "string", "null" ] }, "max_results": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "page_token": { "type": [ "string", "null" ] }, "start_history_id": { "type": "string" } } }, "GoogleListLabelsRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" } } }, "GoogleListMessagesRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" }, "include_spam_trash": { "type": [ "boolean", "null" ] }, "label_ids": { "type": [ "array", "null" ], "items": { "type": "string" } }, "max_results": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "page_token": { "type": [ "string", "null" ] }, "q": { "type": [ "string", "null" ] } } }, "GoogleListThreadsRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" }, "include_spam_trash": { "type": [ "boolean", "null" ] }, "label_ids": { "type": [ "array", "null" ], "items": { "type": "string" } }, "max_results": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "page_token": { "type": [ "string", "null" ] }, "q": { "type": [ "string", "null" ] } } }, "GrantAttachmentBackupUploadRequest": { "type": "object", "required": [ "objectKey", "ciphertextSha256" ], "properties": { "ciphertextSha256": { "type": "string" }, "objectKey": { "type": "string" } }, "additionalProperties": false }, "GrantSharedAttachmentUploadRequest": { "type": "object", "required": [ "objectKey", "sha256" ], "properties": { "objectKey": { "type": "string" }, "sha256": { "type": "string" } }, "additionalProperties": false }, "History": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "string" }, "labelsAdded": { "type": "array", "items": { "$ref": "#/components/schemas/HistoryLabelAdded" } }, "labelsRemoved": { "type": "array", "items": { "$ref": "#/components/schemas/HistoryLabelRemoved" } }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/Message" } }, "messagesAdded": { "type": "array", "items": { "$ref": "#/components/schemas/HistoryMessageAdded" } }, "messagesDeleted": { "type": "array", "items": { "$ref": "#/components/schemas/HistoryMessageDeleted" } } } }, "HistoryLabelAdded": { "type": "object", "required": [ "message" ], "properties": { "labelIds": { "type": "array", "items": { "type": "string" } }, "message": { "$ref": "#/components/schemas/Message" } } }, "HistoryLabelRemoved": { "type": "object", "required": [ "message" ], "properties": { "labelIds": { "type": "array", "items": { "type": "string" } }, "message": { "$ref": "#/components/schemas/Message" } } }, "HistoryMessageAdded": { "type": "object", "required": [ "message" ], "properties": { "message": { "$ref": "#/components/schemas/Message" } } }, "HistoryMessageDeleted": { "type": "object", "required": [ "message" ], "properties": { "message": { "$ref": "#/components/schemas/Message" } } }, "HistoryType": { "type": "string", "enum": [ "messageAdded", "messageDeleted", "labelAdded", "labelRemoved" ] }, "IdentificationJobOutput": { "type": "object", "properties": { "confidence": { "$ref": "#/components/schemas/Confidence" }, "diarization": { "type": "array", "items": { "$ref": "#/components/schemas/DiarizationSegment" }, "description": "List of diarization segments" }, "error": { "type": "string", "description": "Error message if any" }, "exclusiveDiarization": { "type": "array", "items": { "$ref": "#/components/schemas/DiarizationSegment" }, "description": "Exclusive diarization segments where only one speaker is active at a time. Only returned if `exclusive` is set to true when job is created." }, "identification": { "type": "array", "items": { "$ref": "#/components/schemas/IdentificationSegment" }, "description": "List of identification segments" }, "voiceprints": { "type": "array", "items": { "$ref": "#/components/schemas/IdentificationVoiceprint" } }, "warning": { "type": "string", "description": "Warning message if any" } } }, "IdentificationSegment": { "type": "object", "required": [ "diarizationSpeaker", "match" ], "properties": { "confidence": { "type": "object", "description": "Confidence scores that this speech turn matches each diarization speaker. Only available if `turnLevelConfidence` is set to true when job is created.", "example": { "SPEAKER_00": 16, "SPEAKER_01": 93 } }, "diarizationSpeaker": { "type": "string", "description": "Speaker label", "example": "SPEAKER_00" }, "end": { "type": "number", "description": "End time of the segment in seconds", "example": 30.5 }, "match": { "type": "string", "description": "Label of the voiceprint that was identified following the matching settings", "example": "Sam" }, "speaker": { "type": "string", "description": "Speaker label", "example": "SPEAKER_00" }, "start": { "type": "number", "description": "Start time of the segment in seconds", "example": 15 } } }, "IdentificationVoiceprint": { "type": "object", "required": [ "speaker", "match", "confidence" ], "properties": { "confidence": { "type": "object", "description": "Confidence for each speaker label, as a dictionary of speaker label to confidence score", "example": { "Rick": 24, "Sam": 16 } }, "match": { "type": "string", "description": "Label of the voiceprint that was identified following the matching settings", "example": "Sam" }, "speaker": { "type": "string", "description": "Diarization speaker", "example": "SPEAKER_00" } } }, "IdentifyJob": { "type": "object", "properties": { "createdAt": { "type": "string", "format": "date-time", "description": "Date and time the job was created", "example": "2024-02-20T12:00:00Z" }, "jobId": { "type": "string", "description": "Job ID to track the progress or get the results", "example": "fb16c565-f3f0-4402-a08c-9d44df0ccc7b" }, "output": { "$ref": "#/components/schemas/IdentificationJobOutput" }, "status": { "$ref": "#/components/schemas/JobStatus" }, "updatedAt": { "type": "string", "format": "date-time", "description": "Date and time the job was last updated", "example": "2024-02-20T12:00:00Z" } } }, "IdentifyRequest": { "type": "object", "required": [ "url", "voiceprints" ], "properties": { "confidence": { "type": "boolean" }, "exclusive": { "type": "boolean" }, "matching": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/MatchingOptions" } ] }, "maxSpeakers": { "type": [ "number", "null" ], "format": "double" }, "minSpeakers": { "type": [ "number", "null" ], "format": "double" }, "model": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/IdentifyRequestModel" } ] }, "numSpeakers": { "type": [ "number", "null" ], "format": "double" }, "turnLevelConfidence": { "type": [ "boolean", "null" ] }, "url": { "type": "string" }, "voiceprints": { "type": "array", "items": { "$ref": "#/components/schemas/Voiceprint" } } }, "additionalProperties": false }, "IdentifyRequestModel": { "type": "string", "enum": [ "precision-2" ] }, "ImportMeetingsRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" }, "known_meeting_ids": { "type": "array", "items": { "type": "string" } } } }, "ImportMeetingsResponse": { "type": "object", "required": [ "files", "warnings" ], "properties": { "files": { "type": "array", "items": { "$ref": "#/components/schemas/ImportTextFile" } }, "warnings": { "type": "array", "items": { "type": "string" } } } }, "ImportTextFile": { "type": "object", "required": [ "path", "name", "content" ], "properties": { "content": { "type": "string" }, "name": { "type": "string" }, "path": { "type": "string" } } }, "Importance": { "type": "string", "enum": [ "low", "normal", "high", "unknown" ] }, "Interval": { "type": "string", "enum": [ "monthly", "yearly" ] }, "ItemBody": { "type": "object", "properties": { "content": { "type": [ "string", "null" ] }, "contentType": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/BodyType" } ] } } }, "JobCreated": { "type": "object", "required": [ "jobId", "status" ], "properties": { "jobId": { "type": "string", "description": "ID of the job", "example": "3c8a89a5-dcc6-4edb-a75d-ffd64739674d" }, "status": { "type": "string", "description": "Status of the job", "enum": [ "pending", "created", "succeeded", "canceled", "failed", "running" ], "example": "created" }, "warning": { "type": "string", "description": "Warning message if any" } } }, "JobListItem": { "type": "object", "required": [ "id", "status", "createdAt" ], "properties": { "createdAt": { "type": "string", "format": "date-time" }, "id": { "type": "string" }, "status": { "type": "string" } } }, "JobStatus": { "type": "string", "description": "Status of the job", "enum": [ "pending", "created", "succeeded", "canceled", "failed", "running" ] }, "Label": { "type": "object", "required": [ "id", "name" ], "properties": { "color": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/LabelColor" } ] }, "id": { "type": "string" }, "labelListVisibility": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/LabelListVisibility" } ] }, "messageListVisibility": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/MessageListVisibility" } ] }, "messagesTotal": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "messagesUnread": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "name": { "type": "string" }, "threadsTotal": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "threadsUnread": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "type": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/LabelType" } ] } } }, "LabelColor": { "type": "object", "properties": { "backgroundColor": { "type": [ "string", "null" ] }, "textColor": { "type": [ "string", "null" ] } } }, "LabelListVisibility": { "type": "string", "enum": [ "labelShow", "labelShowIfUnread", "labelHide", "unknown" ] }, "LabelRef": { "type": "object", "required": [ "id", "name" ], "properties": { "color": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "name": { "type": "string" } } }, "LabelType": { "type": "string", "enum": [ "system", "user", "unknown" ] }, "LegacyCloudsyncCredentials": { "type": "object", "required": [ "databaseId", "token", "expiresAt", "workspaceId" ], "properties": { "databaseId": { "type": "string" }, "expiresAt": { "type": "string" }, "token": { "type": "string" }, "workspaceId": { "type": "string" } } }, "LegacySessionShareSnapshotRequest": { "type": "object", "required": [ "title", "body" ], "properties": { "attachmentIds": { "type": [ "array", "null" ], "items": { "type": "string" } }, "body": {}, "title": { "type": "string" } }, "additionalProperties": false }, "LinearCreateIssueRequest": { "type": "object", "required": [ "connection_id", "team_id", "title" ], "properties": { "connection_id": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "team_id": { "type": "string" }, "title": { "type": "string" } } }, "LinearListTeamsRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" }, "cursor": { "type": [ "string", "null" ] }, "limit": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 } } }, "LinearListTicketsRequest": { "type": "object", "required": [ "connection_id", "team_id" ], "properties": { "connection_id": { "type": "string" }, "cursor": { "type": [ "string", "null" ] }, "limit": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "query": { "type": [ "string", "null" ] }, "team_id": { "type": "string" } } }, "ListConnectionsResponse": { "type": "object", "required": [ "connections" ], "properties": { "connections": { "type": "array", "items": { "$ref": "#/components/schemas/ConnectionItem" } } } }, "ListEventsRequest": { "type": "object", "required": [ "calendar_id" ], "properties": { "calendar_id": { "type": "string" }, "event_types": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/google.EventType" } }, "i_cal_uid": { "type": [ "string", "null" ] }, "max_results": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "order_by": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EventOrderBy" } ] }, "page_token": { "type": [ "string", "null" ] }, "q": { "type": [ "string", "null" ] }, "show_deleted": { "type": [ "boolean", "null" ] }, "show_hidden_invitations": { "type": [ "boolean", "null" ] }, "single_events": { "type": [ "boolean", "null" ] }, "sync_token": { "type": [ "string", "null" ] }, "time_max": { "type": [ "string", "null" ], "format": "date-time" }, "time_min": { "type": [ "string", "null" ], "format": "date-time" }, "time_zone": { "type": [ "string", "null" ] }, "updated_min": { "type": [ "string", "null" ], "format": "date-time" } } }, "ListHistoryRequest": { "type": "object", "required": [ "start_history_id" ], "properties": { "history_types": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/HistoryType" } }, "label_id": { "type": [ "string", "null" ] }, "max_results": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "page_token": { "type": [ "string", "null" ] }, "start_history_id": { "type": "string" } } }, "ListHistoryResponse": { "type": "object", "properties": { "history": { "type": "array", "items": { "$ref": "#/components/schemas/History" } }, "historyId": { "type": [ "string", "null" ] }, "nextPageToken": { "type": [ "string", "null" ] } } }, "ListLabelsResponse": { "type": "object", "properties": { "labels": { "type": "array", "items": { "$ref": "#/components/schemas/Label" } } } }, "ListMessagesRequest": { "type": "object", "properties": { "include_spam_trash": { "type": [ "boolean", "null" ] }, "label_ids": { "type": [ "array", "null" ], "items": { "type": "string" } }, "max_results": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "page_token": { "type": [ "string", "null" ] }, "q": { "type": [ "string", "null" ] } } }, "ListMessagesResponse": { "type": "object", "properties": { "messages": { "type": "array", "items": { "$ref": "#/components/schemas/MessageRef" } }, "nextPageToken": { "type": [ "string", "null" ] }, "resultSizeEstimate": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 } } }, "ListThreadsRequest": { "type": "object", "properties": { "include_spam_trash": { "type": [ "boolean", "null" ] }, "label_ids": { "type": [ "array", "null" ], "items": { "type": "string" } }, "max_results": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "page_token": { "type": [ "string", "null" ] }, "q": { "type": [ "string", "null" ] } } }, "ListThreadsResponse": { "type": "object", "properties": { "nextPageToken": { "type": [ "string", "null" ] }, "resultSizeEstimate": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "threads": { "type": "array", "items": { "$ref": "#/components/schemas/ThreadRef" } } } }, "ListenCallbackRequest": { "type": "object", "required": [ "url" ], "properties": { "url": { "type": "string" } } }, "ListenCallbackResponse": { "type": "object", "required": [ "request_id" ], "properties": { "request_id": { "type": "string" } } }, "LiveCapability": { "type": "string", "enum": [ "editor", "viewer" ] }, "LiveTicketResponse": { "type": "object", "required": [ "ticket", "capability", "contentRevision", "expiresInSeconds" ], "properties": { "capability": { "$ref": "#/components/schemas/LiveCapability" }, "contentRevision": { "type": "integer", "format": "int64" }, "expiresInSeconds": { "type": "integer", "format": "int64", "minimum": 0 }, "ticket": { "type": "string" } } }, "Location": { "type": "object", "properties": { "address": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/PhysicalAddress" } ] }, "coordinates": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/OutlookGeoCoordinates" } ] }, "displayName": { "type": [ "string", "null" ] }, "locationType": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/LocationType" } ] }, "uniqueId": { "type": [ "string", "null" ] }, "uniqueIdType": { "type": [ "string", "null" ] } } }, "LocationType": { "type": "string", "enum": [ "default", "conferenceRoom", "homeAddress", "businessAddress", "geoCoordinates", "streetAddress", "hotel", "restaurant", "localBusiness", "postalAddress", "unknown" ] }, "MatchingOptions": { "type": "object", "properties": { "exclusive": { "type": [ "boolean", "null" ] }, "threshold": { "type": [ "number", "null" ], "format": "float" } } }, "MediaResponse": { "type": "object", "required": [ "url" ], "properties": { "url": { "type": "string" } } }, "Meeting": { "type": "object", "required": [ "id", "title", "kind", "status", "created_at", "updated_at", "started_at", "ended_at", "timezone", "language", "series_id", "summaries", "participants", "action_items" ], "properties": { "action_items": { "type": "array", "items": { "$ref": "#/components/schemas/ActionItem" } }, "created_at": { "type": "string" }, "ended_at": { "type": "string" }, "folder_path": { "type": [ "string", "null" ], "description": "Folder path such as `Projects/Launch`; null when the meeting is not in a folder." }, "id": { "type": "string" }, "kind": { "type": "string" }, "language": { "type": "string" }, "note": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Document" } ] }, "participants": { "type": "array", "items": { "$ref": "#/components/schemas/Participant" } }, "series_id": { "type": "string" }, "started_at": { "type": "string" }, "status": { "type": "string" }, "summaries": { "type": "array", "items": { "$ref": "#/components/schemas/Document" } }, "timezone": { "type": "string" }, "title": { "type": "string" }, "updated_at": { "type": "string" } } }, "MeetingDevice": { "type": "object", "required": [ "deviceFingerprint", "primary" ], "properties": { "deviceFingerprint": { "type": "string" }, "deviceName": { "type": [ "string", "null" ] }, "primary": { "type": "boolean" } } }, "MeetingDeviceHeartbeatRequest": { "type": "object", "required": [ "intent" ], "properties": { "intent": { "$ref": "#/components/schemas/MeetingDeviceIntent" } }, "additionalProperties": false }, "MeetingDeviceIntent": { "type": "string", "enum": [ "present", "claim", "release" ] }, "MeetingDevicesResponse": { "type": "object", "required": [ "devices" ], "properties": { "devices": { "type": "array", "items": { "$ref": "#/components/schemas/MeetingDevice" } } } }, "MeetingExport": { "allOf": [ { "$ref": "#/components/schemas/Meeting" }, { "type": "object", "required": [ "transcripts" ], "properties": { "speaker_context": { "description": "Recorded microphone/call context intervals (`sessions.metadata_json`\n`speaker_context`) used to label speakers the same way the desktop\ntranscript view does." }, "speakers": { "type": "array", "items": { "$ref": "#/components/schemas/Speaker" }, "description": "People referenced by transcript speaker assignments (including the\nrecording user) who may not appear among the meeting participants." }, "transcripts": { "type": "array", "items": { "$ref": "#/components/schemas/Transcript" } } } } ] }, "MeetingListItem": { "type": "object", "required": [ "id", "title", "kind", "status", "created_at", "updated_at", "started_at", "ended_at", "series_id" ], "properties": { "created_at": { "type": "string" }, "ended_at": { "type": "string" }, "folder_path": { "type": [ "string", "null" ], "description": "Folder path such as `Projects/Launch`; null when the meeting is not in a folder." }, "id": { "type": "string" }, "kind": { "type": "string" }, "series_id": { "type": "string" }, "started_at": { "type": "string" }, "status": { "type": "string" }, "title": { "type": "string" }, "updated_at": { "type": "string" } } }, "MeetingPage": { "type": "object", "required": [ "meetings", "pagination" ], "properties": { "meetings": { "type": "array", "items": { "$ref": "#/components/schemas/MeetingListItem" } }, "pagination": { "$ref": "#/components/schemas/Pagination" } } }, "MeetingRecapEmailRequest": { "type": "object", "required": [ "recipients", "senderName", "noteTitle", "noteBody", "deliveryId" ], "properties": { "deliveryId": { "type": "string" }, "noteBody": { "type": "string" }, "noteTitle": { "type": "string" }, "recipients": { "type": "array", "items": { "type": "string" } }, "senderName": { "type": "string" } }, "additionalProperties": false }, "Message": { "type": "object", "required": [ "id", "threadId" ], "properties": { "historyId": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "internalDate": { "type": [ "string", "null" ] }, "labelIds": { "type": "array", "items": { "type": "string" } }, "payload": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/MessagePart" } ] }, "raw": { "type": [ "string", "null" ] }, "sizeEstimate": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "snippet": { "type": [ "string", "null" ] }, "threadId": { "type": "string" } } }, "MessageFormat": { "type": "string", "enum": [ "full", "metadata", "minimal", "raw" ] }, "MessageListVisibility": { "type": "string", "enum": [ "show", "hide", "unknown" ] }, "MessagePart": { "type": "object", "properties": { "body": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/MessagePartBody" } ] }, "filename": { "type": [ "string", "null" ] }, "headers": { "type": "array", "items": { "$ref": "#/components/schemas/MessagePartHeader" } }, "mimeType": { "type": [ "string", "null" ] }, "partId": { "type": [ "string", "null" ] }, "parts": { "type": "array", "items": { "$ref": "#/components/schemas/MessagePart" } } } }, "MessagePartBody": { "type": "object", "properties": { "attachmentId": { "type": [ "string", "null" ] }, "data": { "type": [ "string", "null" ] }, "size": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 } } }, "MessagePartHeader": { "type": "object", "required": [ "name", "value" ], "properties": { "name": { "type": "string" }, "value": { "type": "string" } } }, "MessageRef": { "type": "object", "required": [ "id", "threadId" ], "properties": { "id": { "type": "string" }, "threadId": { "type": "string" } } }, "NotificationMethod": { "type": "string", "enum": [ "email", "unknown" ] }, "NotificationSettings": { "type": "object", "properties": { "notifications": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/CalendarNotification" } } } }, "NotificationType": { "type": "string", "enum": [ "eventCreation", "eventChange", "eventCancellation", "eventResponse", "agenda", "unknown" ] }, "NotionAppendUpdateRequest": { "type": "object", "required": [ "connection_id", "page_id", "heading", "markdown" ], "properties": { "connection_id": { "type": "string" }, "heading": { "type": "string" }, "markdown": { "type": "string" }, "page_id": { "type": "string" } }, "additionalProperties": false }, "NotionAppendUpdateResponse": { "type": "object", "required": [ "block_count" ], "properties": { "block_count": { "type": "integer", "format": "int32", "minimum": 0 } } }, "NotionImportMeetingsRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" }, "known_meeting_ids": { "type": "array", "items": { "type": "string" } } } }, "NotionImportMeetingsResponse": { "type": "object", "required": [ "files", "warnings" ], "properties": { "files": { "type": "array", "items": { "$ref": "#/components/schemas/NotionImportTextFile" } }, "warnings": { "type": "array", "items": { "type": "string" } } } }, "NotionImportTextFile": { "type": "object", "required": [ "path", "name", "content" ], "properties": { "content": { "type": "string" }, "name": { "type": "string" }, "path": { "type": "string" } } }, "NotionPage": { "type": "object", "required": [ "id", "title" ], "properties": { "id": { "type": "string" }, "title": { "type": "string" }, "url": { "type": [ "string", "null" ] } } }, "NotionPagesResponse": { "type": "object", "required": [ "pages" ], "properties": { "pages": { "type": "array", "items": { "$ref": "#/components/schemas/NotionPage" } } } }, "NotionSearchPagesRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" }, "query": { "type": [ "string", "null" ] } }, "additionalProperties": false }, "OfficeLocation": { "type": "object", "properties": { "buildingId": { "type": [ "string", "null" ] }, "deskId": { "type": [ "string", "null" ] }, "floorId": { "type": [ "string", "null" ] }, "floorSectionId": { "type": [ "string", "null" ] }, "label": { "type": [ "string", "null" ] } } }, "OnlineMeetingInfo": { "type": "object", "properties": { "conferenceId": { "type": [ "string", "null" ] }, "joinUrl": { "type": [ "string", "null" ] }, "quickDial": { "type": [ "string", "null" ] }, "tollFreeNumbers": { "type": [ "array", "null" ], "items": { "type": "string" } }, "tollNumber": { "type": [ "string", "null" ] } } }, "OnlineMeetingProviderType": { "type": "string", "enum": [ "teamsForBusiness", "skypeForBusiness", "skypeForConsumer", "unknown", "other" ] }, "OutOfOfficeProperties": { "type": "object", "properties": { "autoDeclineMode": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/AutoDeclineMode" } ] }, "declineMessage": { "type": [ "string", "null" ] } } }, "OutlookGeoCoordinates": { "type": "object", "properties": { "accuracy": { "type": [ "number", "null" ], "format": "double" }, "altitude": { "type": [ "number", "null" ], "format": "double" }, "altitudeAccuracy": { "type": [ "number", "null" ], "format": "double" }, "latitude": { "type": [ "number", "null" ], "format": "double" }, "longitude": { "type": [ "number", "null" ], "format": "double" } } }, "OutlookListCalendarsRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" } } }, "OutlookListEventsRequest": { "type": "object", "required": [ "connection_id", "calendar_id" ], "properties": { "calendar_id": { "type": "string" }, "connection_id": { "type": "string" }, "max_results": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "order_by": { "type": [ "string", "null" ] }, "time_max": { "type": [ "string", "null" ] }, "time_min": { "type": [ "string", "null" ] } } }, "Pagination": { "type": "object", "required": [ "offset", "limit", "returned" ], "properties": { "limit": { "type": "integer", "format": "int32", "minimum": 0 }, "next_offset": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "offset": { "type": "integer", "format": "int32", "minimum": 0 }, "returned": { "type": "integer", "minimum": 0 }, "total": { "type": [ "integer", "null" ], "minimum": 0 } } }, "Participant": { "type": "object", "required": [ "human_id", "display_name", "email", "role", "job_title", "organization_id", "organization_name" ], "properties": { "display_name": { "type": "string" }, "email": { "type": "string" }, "human_id": { "type": "string" }, "job_title": { "type": "string" }, "organization_id": { "type": "string" }, "organization_name": { "type": "string" }, "role": { "type": "string" } } }, "PatternedRecurrence": { "type": "object", "properties": { "pattern": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/RecurrencePattern" } ] }, "range": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/RecurrenceRange" } ] } } }, "PersonRef": { "type": "object", "properties": { "avatar_url": { "type": [ "string", "null" ] }, "email": { "type": [ "string", "null" ] }, "id": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] } } }, "PhysicalAddress": { "type": "object", "properties": { "city": { "type": [ "string", "null" ] }, "countryOrRegion": { "type": [ "string", "null" ] }, "postalCode": { "type": [ "string", "null" ] }, "state": { "type": [ "string", "null" ] }, "street": { "type": [ "string", "null" ] } } }, "PickerComplete": { "type": "object", "required": [ "state", "code", "folder_id" ], "properties": { "code": { "type": "string" }, "folder_id": { "type": "string" }, "state": { "type": "string" } }, "additionalProperties": false }, "PickerStart": { "type": "object", "required": [ "authorization_url", "state" ], "properties": { "authorization_url": { "type": "string" }, "state": { "type": "string" } } }, "PipelineStatus": { "type": "string", "enum": [ "processing", "done", "error" ] }, "Profile": { "type": "object", "required": [ "emailAddress" ], "properties": { "emailAddress": { "type": "string" }, "historyId": { "type": [ "string", "null" ] }, "messagesTotal": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "threadsTotal": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 } } }, "PromoteAttachmentBackupRequest": { "type": "object", "required": [ "objectKey" ], "properties": { "expectedCurrentObjectKey": { "type": [ "string", "null" ] }, "objectKey": { "type": "string" } }, "additionalProperties": false }, "PromotedAttachmentBackup": { "type": "object", "required": [ "currentObjectKey", "currentVersionRef", "currentCiphertextSha256", "wasPromoted" ], "properties": { "currentCiphertextSha256": { "type": "string" }, "currentObjectKey": { "type": "string" }, "currentVersionRef": { "type": "string" }, "displacedObjectKey": { "type": [ "string", "null" ] }, "wasPromoted": { "type": "boolean" } } }, "PublishE2eeWitnessRequest": { "type": "object", "required": [ "initialize", "events" ], "properties": { "events": { "type": "array", "items": { "$ref": "#/components/schemas/E2eeWitnessEvent" } }, "initialize": { "type": "boolean" } }, "additionalProperties": false }, "PublishE2eeWitnessResponse": { "type": "object", "required": [ "initializedAt", "headSequence" ], "properties": { "headSequence": { "type": "integer", "format": "int64", "minimum": 0 }, "initializedAt": { "type": "string" } } }, "PublishSessionShareSnapshotRequest": { "oneOf": [ { "$ref": "#/components/schemas/CasSessionShareSnapshotRequest" }, { "$ref": "#/components/schemas/LegacySessionShareSnapshotRequest" } ] }, "PublishedSessionShareSnapshot": { "type": "object", "required": [ "shareId", "schemaVersion", "contentRevision", "title", "body", "attachments", "webEditable", "accessVersion", "publishedAt" ], "properties": { "accessVersion": { "type": "integer", "format": "int64" }, "attachments": { "type": "array", "items": { "$ref": "#/components/schemas/SharedNoteAttachment" } }, "body": {}, "contentRevision": { "type": "integer", "format": "int64" }, "publishedAt": { "type": "string" }, "schemaVersion": { "type": "integer", "format": "int32" }, "shareId": { "type": "string" }, "title": { "type": "string" }, "webEditable": { "type": "boolean" } } }, "PullRequestDetail": { "type": "object", "required": [ "is_draft", "is_merged" ], "properties": { "is_draft": { "type": "boolean" }, "is_merged": { "type": "boolean" }, "merged_at": { "type": [ "string", "null" ] }, "merged_by": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/PersonRef" } ] }, "source_branch": { "type": [ "string", "null" ] }, "target_branch": { "type": [ "string", "null" ] } } }, "Recipient": { "type": "object", "properties": { "emailAddress": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EmailAddress" } ] } } }, "RecurrencePattern": { "type": "object", "properties": { "dayOfMonth": { "type": [ "integer", "null" ], "format": "int32" }, "daysOfWeek": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/DayOfWeek" } }, "firstDayOfWeek": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/DayOfWeek" } ] }, "index": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/WeekIndex" } ] }, "interval": { "type": [ "integer", "null" ], "format": "int32" }, "month": { "type": [ "integer", "null" ], "format": "int32" }, "type": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/RecurrencePatternType" } ] } } }, "RecurrencePatternType": { "type": "string", "enum": [ "daily", "weekly", "absoluteMonthly", "relativeMonthly", "absoluteYearly", "relativeYearly", "unknown" ] }, "RecurrenceRange": { "type": "object", "properties": { "endDate": { "type": [ "string", "null" ] }, "numberOfOccurrences": { "type": [ "integer", "null" ], "format": "int32" }, "recurrenceTimeZone": { "type": [ "string", "null" ] }, "startDate": { "type": [ "string", "null" ] }, "type": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/RecurrenceRangeType" } ] } } }, "RecurrenceRangeType": { "type": "string", "enum": [ "endDate", "noEnd", "numbered", "unknown" ] }, "RegisterE2eeDeviceEnrollmentRequest": { "type": "object", "required": [ "publicKey" ], "properties": { "publicKey": { "type": "string" }, "replaceFingerprint": { "type": [ "string", "null" ] } }, "additionalProperties": false }, "RegisterE2eeDeviceEnrollmentResponse": { "type": "object", "required": [ "requestId", "expiresAt", "status" ], "properties": { "expiresAt": { "type": "string" }, "package": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/E2eeDeviceEnrollmentPackage" } ] }, "requestId": { "type": "string" }, "status": { "$ref": "#/components/schemas/E2eeDeviceEnrollmentStatus" } } }, "Reminder": { "type": "object", "required": [ "method", "minutes" ], "properties": { "method": { "$ref": "#/components/schemas/ReminderMethod" }, "minutes": { "type": "integer", "format": "int32" } } }, "ReminderMethod": { "type": "string", "enum": [ "email", "popup", "unknown" ] }, "Reminders": { "type": "object", "properties": { "overrides": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/Reminder" } }, "useDefault": { "type": [ "boolean", "null" ] } } }, "RenameSyncDeviceRequest": { "type": "object", "required": [ "deviceName" ], "properties": { "deviceName": { "type": "string" } }, "additionalProperties": false }, "ReplicaCredentials": { "type": "object", "required": [ "transport", "encryptionVersion", "encryptionKeyId", "expiresAt", "workspaceId", "accountUserId", "personalWorkspaceId", "workspaces", "workspaceKeyGrants" ], "properties": { "accountUserId": { "type": "string" }, "encryptionKeyId": { "type": "string" }, "encryptionVersion": { "type": "integer", "format": "int32", "minimum": 0 }, "expiresAt": { "type": "string" }, "personalWorkspaceId": { "type": "string" }, "transport": { "type": "string" }, "workspaceId": { "type": "string" }, "workspaceKeyGrants": { "type": "array", "items": { "$ref": "#/components/schemas/WorkspaceE2eeKeyGrant" } }, "workspaces": { "type": "array", "items": { "$ref": "#/components/schemas/CloudsyncWorkspace" } } } }, "ReserveAttachmentBackupRequest": { "type": "object", "required": [ "attachmentRef", "versionRef", "ciphertextSizeBytes", "formatVersion" ], "properties": { "attachmentRef": { "type": "string" }, "ciphertextSizeBytes": { "type": "integer", "format": "int64", "minimum": 0 }, "formatVersion": { "type": "integer", "format": "int32" }, "versionRef": { "type": "string" } }, "additionalProperties": false }, "ReserveSharedAttachmentRequest": { "type": "object", "required": [ "attachmentRef", "versionRef", "filename", "contentType", "sizeBytes" ], "properties": { "attachmentRef": { "type": "string" }, "contentType": { "type": "string" }, "filename": { "type": "string" }, "sizeBytes": { "type": "integer", "format": "int64", "minimum": 0 }, "versionRef": { "type": "string" } }, "additionalProperties": false }, "ReservedAttachmentBackup": { "type": "object", "required": [ "objectId", "objectKey", "objectState", "ciphertextSizeBytes", "formatVersion", "reservationExpiresAt", "wasCreated" ], "properties": { "ciphertextSha256": { "type": [ "string", "null" ] }, "ciphertextSizeBytes": { "type": "integer", "format": "int64", "minimum": 0 }, "formatVersion": { "type": "integer", "format": "int32" }, "objectId": { "type": "string" }, "objectKey": { "type": "string" }, "objectState": { "type": "string" }, "reservationExpiresAt": { "type": "string" }, "wasCreated": { "type": "boolean" } } }, "ReservedSharedAttachment": { "type": "object", "required": [ "attachmentId", "objectKey", "objectState", "filename", "contentType", "sizeBytes", "reservationExpiresAt", "wasCreated" ], "properties": { "attachmentId": { "type": "string" }, "contentType": { "type": "string" }, "filename": { "type": "string" }, "objectKey": { "type": "string" }, "objectState": { "type": "string" }, "reservationExpiresAt": { "type": "string" }, "sha256": { "type": [ "string", "null" ] }, "sizeBytes": { "type": "integer", "format": "int64", "minimum": 0 }, "wasCreated": { "type": "boolean" } } }, "ResponseStatus": { "type": "object", "properties": { "response": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ResponseType" } ] }, "time": { "type": [ "string", "null" ], "format": "date-time" } } }, "ResponseType": { "type": "string", "enum": [ "none", "organizer", "tentativelyAccepted", "accepted", "declined", "notResponded", "unknown" ] }, "ScheduledAttachmentBackupDeletion": { "type": "object", "required": [ "objectKey", "attachmentRef", "versionRef", "deleteRequestId", "deleteFenceId", "deleteGeneration", "deleteNotBefore" ], "properties": { "attachmentRef": { "type": "string" }, "deleteFenceId": { "type": "string" }, "deleteGeneration": { "type": "integer", "format": "int64" }, "deleteNotBefore": { "type": "string" }, "deleteRequestId": { "type": "string" }, "objectKey": { "type": "string" }, "versionRef": { "type": "string" } } }, "SendMessageResponse": { "type": "object", "required": [ "message_id", "channel" ], "properties": { "channel": { "type": "string" }, "message_id": { "type": "string" } } }, "Sensitivity": { "type": "string", "enum": [ "normal", "personal", "private", "confidential", "unknown" ] }, "SessionMode": { "type": "string", "enum": [ "auto", "connect", "reconnect" ] }, "SessionResponse": { "type": "object", "required": [ "token", "expires_at", "mode" ], "properties": { "connection_id": { "type": [ "string", "null" ] }, "expires_at": { "type": "string" }, "mode": { "type": "string" }, "token": { "type": "string" } } }, "SetWorkspaceE2eeKeyRequest": { "type": "object", "required": [ "keyId", "grants" ], "properties": { "grants": { "type": "array", "items": { "$ref": "#/components/schemas/WorkspaceE2eeKeyGrantUpload" } }, "keyId": { "type": "string" } }, "additionalProperties": false }, "SetWorkspaceE2eeKeyResult": { "type": "object", "required": [ "keyId", "grantedMemberCount" ], "properties": { "grantedMemberCount": { "type": "integer", "format": "int64" }, "keyId": { "type": "string" } } }, "SharedAttachmentDownload": { "type": "object", "required": [ "id", "filename", "contentType", "sizeBytes", "sha256", "signedUrl", "expiresAt" ], "properties": { "contentType": { "type": "string" }, "expiresAt": { "type": "string" }, "filename": { "type": "string" }, "id": { "type": "string" }, "sha256": { "type": "string" }, "signedUrl": { "type": "string" }, "sizeBytes": { "type": "integer", "format": "int64", "minimum": 0 } } }, "SharedAttachmentObjectRequest": { "type": "object", "required": [ "objectKey" ], "properties": { "objectKey": { "type": "string" } }, "additionalProperties": false }, "SharedAttachmentUploadGrant": { "type": "object", "required": [ "attachmentId", "objectKey", "objectState", "filename", "contentType", "sizeBytes", "sha256" ], "properties": { "attachmentId": { "type": "string" }, "contentType": { "type": "string" }, "filename": { "type": "string" }, "objectKey": { "type": "string" }, "objectState": { "type": "string" }, "sha256": { "type": "string" }, "sizeBytes": { "type": "integer", "format": "int64", "minimum": 0 }, "uploadExpiresAt": { "type": [ "string", "null" ] }, "uploadToken": { "type": [ "string", "null" ] } } }, "SharedNoteAttachment": { "type": "object", "required": [ "id", "filename", "contentType", "sizeBytes", "sha256" ], "properties": { "contentType": { "type": "string" }, "filename": { "type": "string" }, "id": { "type": "string" }, "sha256": { "type": "string" }, "sizeBytes": { "type": "integer", "format": "int64", "minimum": 0 } }, "additionalProperties": false }, "SharedNoteHandoff": { "type": "object", "required": [ "requestId", "expiresAt" ], "properties": { "expiresAt": { "type": "string" }, "requestId": { "type": "string" } } }, "SharedNoteHandoffAttachmentRequest": { "type": "object", "required": [ "leaseId" ], "properties": { "leaseId": { "type": "string" } }, "additionalProperties": false }, "SharedNoteHandoffClaimRequest": { "type": "object", "required": [ "requestId", "leaseId" ], "properties": { "leaseId": { "type": "string" }, "requestId": { "type": "string" } }, "additionalProperties": false }, "SharedNoteInvitationEmailRequest": { "type": "object", "required": [ "shareId", "inviteToken", "noteTitle" ], "properties": { "fromName": { "type": "string" }, "inviteToken": { "type": "string" }, "noteTitle": { "type": "string" }, "shareId": { "type": "string" } }, "additionalProperties": false }, "SharedNoteLinkPreview": { "type": "object", "required": [ "shareId", "title", "summary", "participants", "meetingAt" ], "properties": { "meetingAt": { "type": "string" }, "participants": { "type": "array", "items": { "type": "string" } }, "shareId": { "type": "string" }, "summary": { "type": "string" }, "title": { "type": "string" } } }, "SharedNoteLinkPreviewRequest": { "type": "object", "required": [ "previewToken" ], "properties": { "previewToken": { "type": "string" } }, "additionalProperties": false }, "SharedNoteLinkRequest": { "type": "object", "required": [ "token" ], "properties": { "token": { "type": "string" } }, "additionalProperties": false }, "SharedNotePreview": { "type": "object", "required": [ "title", "summary", "participants", "meetingAt" ], "properties": { "meetingAt": { "type": "string" }, "participants": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "title": { "type": "string" } } }, "SharedNoteSnapshot": { "type": "object", "required": [ "shareId", "schemaVersion", "contentRevision", "title", "body", "attachments", "publishedAt" ], "properties": { "attachments": { "type": "array", "items": { "$ref": "#/components/schemas/SharedNoteAttachment" } }, "body": {}, "contentRevision": { "type": "integer", "format": "int64" }, "leaseExpiresAt": { "type": [ "string", "null" ] }, "publishedAt": { "type": "string" }, "schemaVersion": { "type": "integer", "format": "int32" }, "shareId": { "type": "string" }, "title": { "type": "string" } } }, "SlackChannel": { "type": "object", "required": [ "id", "name", "is_private" ], "properties": { "id": { "type": "string" }, "is_private": { "type": "boolean" }, "name": { "type": "string" } } }, "SlackChannelsResponse": { "type": "object", "required": [ "channels" ], "properties": { "channels": { "type": "array", "items": { "$ref": "#/components/schemas/SlackChannel" } } } }, "SlackSendRequest": { "type": "object", "required": [ "channel", "text" ], "properties": { "channel": { "type": "string" }, "text": { "type": "string" } }, "additionalProperties": false }, "SnapshotReceipt": { "type": "object", "required": [ "session_id", "revision", "published_at" ], "properties": { "published_at": { "type": "string" }, "revision": { "type": "integer", "format": "int64" }, "session_id": { "type": "string" } } }, "Speaker": { "type": "object", "required": [ "human_id", "name" ], "properties": { "human_id": { "type": "string" }, "is_self": { "type": "boolean" }, "name": { "type": "string" } } }, "StableSharedNoteSnapshot": { "type": "object", "required": [ "accessScope", "snapshot" ], "properties": { "accessScope": { "type": "string" }, "snapshot": { "$ref": "#/components/schemas/SharedNoteSnapshot" } } }, "StartTrialReason": { "type": "string", "enum": [ "started", "not_eligible" ] }, "StartTrialResponse": { "type": "object", "required": [ "started" ], "properties": { "reason": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/StartTrialReason" } ] }, "started": { "type": "boolean", "example": true } } }, "StreamAlternatives": { "type": "object", "required": [ "transcript", "words", "confidence" ], "properties": { "confidence": { "type": "number", "format": "double" }, "languages": { "type": "array", "items": { "type": "string" } }, "transcript": { "type": "string" }, "words": { "type": "array", "items": { "$ref": "#/components/schemas/StreamWord" } } } }, "StreamChannel": { "type": "object", "required": [ "alternatives" ], "properties": { "alternatives": { "type": "array", "items": { "$ref": "#/components/schemas/StreamAlternatives" } } } }, "StreamMetadata": { "type": "object", "required": [ "request_id", "model_info", "model_uuid" ], "properties": { "extra": { "type": [ "object", "null" ] }, "model_info": { "$ref": "#/components/schemas/StreamModelInfo" }, "model_uuid": { "type": "string" }, "request_id": { "type": "string" } } }, "StreamModelInfo": { "type": "object", "required": [ "name", "version", "arch" ], "properties": { "arch": { "type": "string" }, "name": { "type": "string" }, "version": { "type": "string" } } }, "StreamResponse": { "oneOf": [ { "type": "object", "required": [ "start", "duration", "is_final", "speech_final", "from_finalize", "channel", "metadata", "channel_index", "type" ], "properties": { "channel": { "$ref": "#/components/schemas/StreamChannel" }, "channel_index": { "type": "array", "items": { "type": "integer", "format": "int32" } }, "duration": { "type": "number", "format": "double" }, "from_finalize": { "type": "boolean" }, "is_final": { "type": "boolean" }, "metadata": { "$ref": "#/components/schemas/StreamMetadata" }, "speech_final": { "type": "boolean" }, "start": { "type": "number", "format": "double" }, "type": { "type": "string", "enum": [ "Results" ] } } }, { "type": "object", "required": [ "request_id", "created", "duration", "channels", "type" ], "properties": { "channels": { "type": "integer", "format": "int32", "minimum": 0 }, "created": { "type": "string" }, "duration": { "type": "number", "format": "double" }, "request_id": { "type": "string" }, "type": { "type": "string", "enum": [ "Metadata" ] } } }, { "type": "object", "required": [ "channel", "timestamp", "type" ], "properties": { "channel": { "type": "array", "items": { "type": "integer", "format": "int32", "minimum": 0 } }, "timestamp": { "type": "number", "format": "double" }, "type": { "type": "string", "enum": [ "SpeechStarted" ] } } }, { "type": "object", "required": [ "channel", "last_word_end", "type" ], "properties": { "channel": { "type": "array", "items": { "type": "integer", "format": "int32", "minimum": 0 } }, "last_word_end": { "type": "number", "format": "double" }, "type": { "type": "string", "enum": [ "UtteranceEnd" ] } } }, { "type": "object", "required": [ "error_message", "provider", "type" ], "properties": { "error_code": { "type": [ "integer", "null" ], "format": "int32" }, "error_message": { "type": "string" }, "provider": { "type": "string" }, "type": { "type": "string", "enum": [ "Error" ] } } } ] }, "StreamWord": { "type": "object", "required": [ "word", "start", "end", "confidence" ], "properties": { "confidence": { "type": "number", "format": "double" }, "end": { "type": "number", "format": "double" }, "language": { "type": [ "string", "null" ] }, "punctuated_word": { "type": [ "string", "null" ] }, "speaker": { "type": [ "integer", "null" ], "format": "int32" }, "start": { "type": "number", "format": "double" }, "word": { "type": "string" } } }, "SttStatusResponse": { "type": "object", "required": [ "status" ], "properties": { "error": { "type": [ "string", "null" ] }, "provider": { "type": [ "string", "null" ] }, "rawResult": { "type": [ "object", "null" ] }, "status": { "$ref": "#/components/schemas/PipelineStatus" } } }, "SyncDeviceRow": { "type": "object", "required": [ "deviceFingerprint", "createdAt", "lastSeenAt" ], "properties": { "createdAt": { "type": "string" }, "deviceFingerprint": { "type": "string" }, "deviceName": { "type": [ "string", "null" ] }, "lastSeenAt": { "type": "string" } } }, "SyncDevicesResponse": { "type": "object", "required": [ "devices", "pendingDevices", "maxDevices" ], "properties": { "devices": { "type": "array", "items": { "$ref": "#/components/schemas/SyncDeviceRow" } }, "maxDevices": { "type": "integer", "format": "int32", "minimum": 0 }, "pendingDevices": { "type": "array", "items": { "$ref": "#/components/schemas/E2eeDeviceEnrollmentSummary" } } } }, "TestResponse": { "type": "object", "required": [ "status", "message" ], "properties": { "message": { "type": "string", "description": "Message of the test", "example": "Test connection successful" }, "status": { "type": "string", "description": "Status of the test", "example": "OK" } } }, "Thread": { "type": "object", "required": [ "id" ], "properties": { "historyId": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "messages": { "type": "array", "items": { "$ref": "#/components/schemas/Message" } }, "snippet": { "type": [ "string", "null" ] } } }, "ThreadRef": { "type": "object", "required": [ "id" ], "properties": { "historyId": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "snippet": { "type": [ "string", "null" ] } } }, "TicketKind": { "type": "string", "enum": [ "issue", "pull_request" ] }, "TicketPage": { "type": "object", "required": [ "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/TicketSummary" } }, "next_cursor": { "type": [ "string", "null" ] } } }, "TicketPriority": { "type": "string", "enum": [ "urgent", "high", "medium", "low", "none" ] }, "TicketProviderType": { "type": "string", "enum": [ "github", "linear" ] }, "TicketState": { "type": "string", "enum": [ "backlog", "open", "in_progress", "done", "closed" ] }, "TicketSummary": { "type": "object", "required": [ "provider", "kind", "id", "collection", "title", "state", "assignees", "labels", "url", "created_at", "updated_at", "raw" ], "properties": { "assignees": { "type": "array", "items": { "$ref": "#/components/schemas/PersonRef" } }, "author": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/PersonRef" } ] }, "closed_at": { "type": [ "string", "null" ], "description": "ISO 8601." }, "collection": { "$ref": "#/components/schemas/CollectionRef" }, "created_at": { "type": "string", "description": "ISO 8601." }, "id": { "type": "string", "description": "Provider-specific unique ID." }, "kind": { "$ref": "#/components/schemas/TicketKind" }, "labels": { "type": "array", "items": { "$ref": "#/components/schemas/LabelRef" } }, "number": { "type": [ "integer", "null" ], "format": "int64", "description": "Numeric identifier (GitHub: number, Linear: number).", "minimum": 0 }, "priority": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/TicketPriority" } ] }, "provider": { "$ref": "#/components/schemas/TicketProviderType" }, "pull_request": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/PullRequestDetail", "description": "Present only when kind == PullRequest." } ] }, "raw": { "type": "string", "description": "Raw provider JSON for forward compatibility." }, "state": { "$ref": "#/components/schemas/TicketState" }, "state_detail": { "type": [ "string", "null" ], "description": "Provider's original state string for display (e.g. \"In Review\", \"merged\")." }, "title": { "type": "string" }, "updated_at": { "type": "string", "description": "ISO 8601." }, "url": { "type": "string" } } }, "Transcript": { "type": "object", "required": [ "id", "source", "provider", "model", "language", "started_at_ms", "memo", "text", "words", "speaker_hints" ], "properties": { "ended_at_ms": { "type": [ "integer", "null" ], "format": "int64" }, "id": { "type": "string" }, "language": { "type": "string" }, "memo": { "type": "string" }, "model": { "type": "string" }, "provider": { "type": "string" }, "source": { "type": "string" }, "speaker_hints": { "type": "array", "items": {} }, "started_at_ms": { "type": "integer", "format": "int64" }, "text": { "type": "string" }, "words": { "type": "array", "items": {} } } }, "TranscriptPage": { "type": "object", "required": [ "meeting_id", "text", "words", "pagination" ], "properties": { "meeting_id": { "type": "string" }, "pagination": { "$ref": "#/components/schemas/Pagination" }, "text": { "type": "string" }, "words": { "type": "array", "items": {} } } }, "TranscriptionConfiguration": { "type": "object", "required": [ "model" ], "properties": { "model": { "$ref": "#/components/schemas/TranscriptionConfigurationModel" } } }, "TranscriptionConfigurationModel": { "type": "string", "enum": [ "parakeet-tdt-0.6b-v3", "faster-whisper-large-v3-turbo" ] }, "TranscriptionSegment": { "type": "object", "required": [ "start", "end", "text", "speaker" ], "properties": { "end": { "type": "number", "description": "End time of the segment in seconds" }, "speaker": { "type": "string", "description": "Speaker label" }, "start": { "type": "number", "description": "Start time of the segment in seconds" }, "text": { "type": "string", "description": "The transcribed speech content for this segment" } } }, "Transparency": { "type": "string", "enum": [ "opaque", "transparent", "unknown" ] }, "UpdateSettingsBody": { "type": "object", "required": [ "enabled" ], "properties": { "enabled": { "type": "boolean" } } }, "Visibility": { "type": "string", "enum": [ "default", "public", "private", "confidential", "unknown" ] }, "Voiceprint": { "type": "object", "required": [ "label", "voiceprint" ], "properties": { "label": { "type": "string" }, "voiceprint": { "type": "string" } } }, "VoiceprintJob": { "type": "object", "properties": { "createdAt": { "type": "string", "format": "date-time", "description": "Date and time the job was created", "example": "2024-02-20T12:00:00Z" }, "jobId": { "type": "string", "description": "Job ID to track the progress or get the results", "example": "fb16c565-f3f0-4402-a08c-9d44df0ccc7b" }, "output": { "$ref": "#/components/schemas/VoiceprintJobResults" }, "status": { "$ref": "#/components/schemas/JobStatus" }, "updatedAt": { "type": "string", "format": "date-time", "description": "Date and time the job was last updated", "example": "2024-02-20T12:00:00Z" } } }, "VoiceprintJobResults": { "type": "object", "required": [ "voiceprint" ], "properties": { "error": { "type": "string", "description": "Error message if any" }, "voiceprint": { "type": "string", "description": "Voiceprint of the audio. To be used for identification", "example": "aGVsbG8gd29ybGQ" }, "warning": { "type": "string", "description": "Warning message if any" } } }, "VoiceprintRequest": { "type": "object", "required": [ "url" ], "properties": { "model": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/VoiceprintRequestModel" } ] }, "url": { "type": "string" } }, "additionalProperties": false }, "VoiceprintRequestModel": { "type": "string", "enum": [ "precision-2" ] }, "WebhookResponse": { "type": "object", "required": [ "status" ], "properties": { "status": { "type": "string" } } }, "WeekIndex": { "type": "string", "enum": [ "first", "second", "third", "fourth", "last", "unknown" ] }, "WhoAmIItem": { "type": "object", "required": [ "integration_id", "connection_id" ], "properties": { "connection_id": { "type": "string" }, "display_name": { "type": [ "string", "null" ] }, "email": { "type": [ "string", "null" ] }, "error": { "type": [ "string", "null" ] }, "integration_id": { "type": "string" } } }, "WhoAmIResponse": { "type": "object", "required": [ "accounts" ], "properties": { "accounts": { "type": "array", "items": { "$ref": "#/components/schemas/WhoAmIItem" } } } }, "WorkingLocationProperties": { "type": "object", "properties": { "customLocation": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CustomLocation" } ] }, "homeOffice": {}, "officeLocation": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/OfficeLocation" } ] }, "type": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/WorkingLocationType" } ] } } }, "WorkingLocationType": { "type": "string", "enum": [ "homeOffice", "officeLocation", "customLocation", "unknown" ] }, "WorkspaceE2eeKeyGrant": { "type": "object", "required": [ "workspaceId", "keyId", "ephemeralPublicKey", "nonce", "ciphertext", "isActive" ], "properties": { "ciphertext": { "type": "string" }, "ephemeralPublicKey": { "type": "string" }, "isActive": { "type": "boolean" }, "keyId": { "type": "string" }, "nonce": { "type": "string" }, "workspaceId": { "type": "string" } } }, "WorkspaceE2eeKeyGrantUpload": { "type": "object", "required": [ "userId", "ephemeralPublicKey", "nonce", "ciphertext" ], "properties": { "ciphertext": { "type": "string" }, "ephemeralPublicKey": { "type": "string" }, "nonce": { "type": "string" }, "userId": { "type": "string" } }, "additionalProperties": false }, "WorkspaceE2eeKeyRecipient": { "type": "object", "required": [ "userId", "userEmail", "role", "grantedKeyIds" ], "properties": { "grantedKeyIds": { "type": "array", "items": { "type": "string" } }, "publicKey": { "type": [ "string", "null" ] }, "role": { "type": "string" }, "userEmail": { "type": "string" }, "userId": { "type": "string" } } }, "WorkspaceInvitationEmailRequest": { "type": "object", "required": [ "workspaceId", "inviteToken", "workspaceName" ], "properties": { "fromName": { "type": "string" }, "inviteToken": { "type": "string" }, "workspaceId": { "type": "string" }, "workspaceName": { "type": "string" } }, "additionalProperties": false }, "ZoomImportMeetingsRequest": { "type": "object", "required": [ "connection_id" ], "properties": { "connection_id": { "type": "string" }, "known_meeting_ids": { "type": "array", "items": { "type": "string" } } } }, "ZoomImportMeetingsResponse": { "type": "object", "required": [ "files", "warnings" ], "properties": { "files": { "type": "array", "items": { "$ref": "#/components/schemas/ZoomImportTextFile" } }, "warnings": { "type": "array", "items": { "type": "string" } } } }, "ZoomImportTextFile": { "type": "object", "required": [ "path", "name", "content" ], "properties": { "content": { "type": "string" }, "name": { "type": "string" }, "path": { "type": "string" } } }, "google.Attendee": { "type": "object", "properties": { "additionalGuests": { "type": [ "integer", "null" ], "format": "int32" }, "comment": { "type": [ "string", "null" ] }, "displayName": { "type": [ "string", "null" ] }, "email": { "type": [ "string", "null" ] }, "id": { "type": [ "string", "null" ] }, "optional": { "type": [ "boolean", "null" ] }, "organizer": { "type": [ "boolean", "null" ] }, "resource": { "type": [ "boolean", "null" ] }, "responseStatus": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/AttendeeResponseStatus" } ] }, "self": { "type": [ "boolean", "null" ] } } }, "google.CreateEventBody": { "type": "object", "properties": { "attendees": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/google.Attendee" } }, "colorId": { "type": [ "string", "null" ] }, "conferenceData": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ConferenceData" } ] }, "description": { "type": [ "string", "null" ] }, "end": { "$ref": "#/components/schemas/EventDateTime" }, "eventType": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/google.EventType" } ] }, "extendedProperties": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ExtendedProperties" } ] }, "guestsCanInviteOthers": { "type": [ "boolean", "null" ] }, "guestsCanModify": { "type": [ "boolean", "null" ] }, "guestsCanSeeOtherGuests": { "type": [ "boolean", "null" ] }, "location": { "type": [ "string", "null" ] }, "recurrence": { "type": [ "array", "null" ], "items": { "type": "string" } }, "reminders": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Reminders" } ] }, "source": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EventSource" } ] }, "start": { "$ref": "#/components/schemas/EventDateTime" }, "summary": { "type": "string" }, "transparency": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Transparency" } ] }, "visibility": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Visibility" } ] } } }, "google.Event": { "type": "object", "required": [ "id" ], "properties": { "anyoneCanAddSelf": { "type": [ "boolean", "null" ] }, "attachments": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/EventAttachment" } }, "attendees": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/google.Attendee" } }, "attendeesOmitted": { "type": [ "boolean", "null" ] }, "birthdayProperties": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/BirthdayProperties" } ] }, "colorId": { "type": [ "string", "null" ] }, "conferenceData": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ConferenceData" } ] }, "created": { "type": [ "string", "null" ], "format": "date-time" }, "creator": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EventPerson" } ] }, "description": { "type": [ "string", "null" ] }, "end": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EventDateTime" } ] }, "endTimeUnspecified": { "type": [ "boolean", "null" ] }, "etag": { "type": [ "string", "null" ] }, "eventType": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/google.EventType" } ] }, "extendedProperties": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ExtendedProperties" } ] }, "focusTimeProperties": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/FocusTimeProperties" } ] }, "gadget": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Gadget" } ] }, "guestsCanInviteOthers": { "type": [ "boolean", "null" ] }, "guestsCanModify": { "type": [ "boolean", "null" ] }, "guestsCanSeeOtherGuests": { "type": [ "boolean", "null" ] }, "hangoutLink": { "type": [ "string", "null" ] }, "htmlLink": { "type": [ "string", "null" ] }, "iCalUID": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "kind": { "type": [ "string", "null" ] }, "location": { "type": [ "string", "null" ] }, "locked": { "type": [ "boolean", "null" ] }, "organizer": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EventPerson" } ] }, "originalStartTime": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EventDateTime" } ] }, "outOfOfficeProperties": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/OutOfOfficeProperties" } ] }, "privateCopy": { "type": [ "boolean", "null" ] }, "recurrence": { "type": [ "array", "null" ], "items": { "type": "string" } }, "recurringEventId": { "type": [ "string", "null" ] }, "reminders": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Reminders" } ] }, "sequence": { "type": [ "integer", "null" ], "format": "int32" }, "source": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EventSource" } ] }, "start": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EventDateTime" } ] }, "status": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EventStatus" } ] }, "summary": { "type": [ "string", "null" ] }, "transparency": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Transparency" } ] }, "updated": { "type": [ "string", "null" ], "format": "date-time" }, "visibility": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Visibility" } ] }, "workingLocationProperties": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/WorkingLocationProperties" } ] } } }, "google.EventType": { "type": "string", "enum": [ "default", "birthday", "focusTime", "fromGmail", "outOfOffice", "workingLocation", "unknown" ] }, "google.ListCalendarsResponse": { "type": "object", "properties": { "etag": { "type": [ "string", "null" ] }, "items": { "type": "array", "items": { "$ref": "#/components/schemas/CalendarListEntry" } }, "kind": { "type": [ "string", "null" ] }, "nextPageToken": { "type": [ "string", "null" ] }, "nextSyncToken": { "type": [ "string", "null" ] } } }, "google.ListEventsResponse": { "type": "object", "properties": { "accessRole": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/AccessRole" } ] }, "defaultReminders": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/Reminder" } }, "description": { "type": [ "string", "null" ] }, "etag": { "type": [ "string", "null" ] }, "items": { "type": "array", "items": { "$ref": "#/components/schemas/google.Event" } }, "kind": { "type": [ "string", "null" ] }, "nextPageToken": { "type": [ "string", "null" ] }, "nextSyncToken": { "type": [ "string", "null" ] }, "summary": { "type": [ "string", "null" ] }, "timeZone": { "type": [ "string", "null" ] }, "updated": { "type": [ "string", "null" ], "format": "date-time" } } }, "outlook.Attendee": { "type": "object", "properties": { "emailAddress": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EmailAddress" } ] }, "status": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ResponseStatus" } ] }, "type": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/AttendeeType" } ] } } }, "outlook.CreateEventBody": { "type": "object", "properties": { "allowNewTimeProposals": { "type": [ "boolean", "null" ] }, "attendees": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/outlook.Attendee" } }, "body": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ItemBody" } ] }, "categories": { "type": [ "array", "null" ], "items": { "type": "string" } }, "end": { "$ref": "#/components/schemas/DateTimeTimeZone" }, "hideAttendees": { "type": [ "boolean", "null" ] }, "importance": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Importance" } ] }, "isAllDay": { "type": [ "boolean", "null" ] }, "isOnlineMeeting": { "type": [ "boolean", "null" ] }, "isReminderOn": { "type": [ "boolean", "null" ] }, "location": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Location" } ] }, "onlineMeetingProvider": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/OnlineMeetingProviderType" } ] }, "recurrence": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/PatternedRecurrence" } ] }, "reminderMinutesBeforeStart": { "type": [ "integer", "null" ], "format": "int32" }, "responseRequested": { "type": [ "boolean", "null" ] }, "sensitivity": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Sensitivity" } ] }, "showAs": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EventShowAs" } ] }, "start": { "$ref": "#/components/schemas/DateTimeTimeZone" }, "subject": { "type": "string" } } }, "outlook.Event": { "type": "object", "required": [ "id" ], "properties": { "allowNewTimeProposals": { "type": [ "boolean", "null" ] }, "attendees": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/outlook.Attendee" } }, "body": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ItemBody" } ] }, "bodyPreview": { "type": [ "string", "null" ] }, "categories": { "type": [ "array", "null" ], "items": { "type": "string" } }, "changeKey": { "type": [ "string", "null" ] }, "createdDateTime": { "type": [ "string", "null" ], "format": "date-time" }, "end": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/DateTimeTimeZone" } ] }, "hasAttachments": { "type": [ "boolean", "null" ] }, "hideAttendees": { "type": [ "boolean", "null" ] }, "iCalUId": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "importance": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Importance" } ] }, "isAllDay": { "type": [ "boolean", "null" ] }, "isCancelled": { "type": [ "boolean", "null" ] }, "isDraft": { "type": [ "boolean", "null" ] }, "isOnlineMeeting": { "type": [ "boolean", "null" ] }, "isOrganizer": { "type": [ "boolean", "null" ] }, "isReminderOn": { "type": [ "boolean", "null" ] }, "lastModifiedDateTime": { "type": [ "string", "null" ], "format": "date-time" }, "location": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Location" } ] }, "locations": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/Location" } }, "onlineMeeting": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/OnlineMeetingInfo" } ] }, "onlineMeetingProvider": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/OnlineMeetingProviderType" } ] }, "onlineMeetingUrl": { "type": [ "string", "null" ] }, "organizer": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Recipient" } ] }, "originalEndTimeZone": { "type": [ "string", "null" ] }, "originalStartTimeZone": { "type": [ "string", "null" ] }, "recurrence": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/PatternedRecurrence" } ] }, "reminderMinutesBeforeStart": { "type": [ "integer", "null" ], "format": "int32" }, "responseRequested": { "type": [ "boolean", "null" ] }, "responseStatus": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ResponseStatus" } ] }, "sensitivity": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Sensitivity" } ] }, "seriesMasterId": { "type": [ "string", "null" ] }, "showAs": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/EventShowAs" } ] }, "start": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/DateTimeTimeZone" } ] }, "subject": { "type": [ "string", "null" ] }, "transactionId": { "type": [ "string", "null" ] }, "type": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/outlook.EventType" } ] }, "webLink": { "type": [ "string", "null" ] } } }, "outlook.EventType": { "type": "string", "enum": [ "singleInstance", "occurrence", "exception", "seriesMaster", "unknown" ] }, "outlook.ListCalendarsResponse": { "type": "object", "properties": { "@odata.context": { "type": [ "string", "null" ] }, "@odata.nextLink": { "type": [ "string", "null" ] }, "value": { "type": "array", "items": { "$ref": "#/components/schemas/Calendar" } } } }, "outlook.ListEventsResponse": { "type": "object", "properties": { "@odata.context": { "type": [ "string", "null" ] }, "@odata.nextLink": { "type": [ "string", "null" ] }, "value": { "type": "array", "items": { "$ref": "#/components/schemas/outlook.Event" } } } } }, "securitySchemes": { "bearer_auth": { "type": "http", "scheme": "bearer", "bearerFormat": "JWT", "description": "Supabase JWT token" }, "cloud_api_key": { "type": "http", "scheme": "bearer", "bearerFormat": "anl_...", "description": "Anarlog cloud API key" } } }, "tags": [ { "name": "stt", "description": "Speech-to-text transcription endpoints" }, { "name": "llm", "description": "LLM chat completions endpoints" }, { "name": "pyannote", "description": "Pyannote speaker diarization and voice processing" }, { "name": "calendar", "description": "Calendar management" }, { "name": "mail", "description": "Mail management" }, { "name": "messenger", "description": "Messaging integrations" }, { "name": "notion", "description": "Notion integration" }, { "name": "ticket", "description": "Ticket management" }, { "name": "zoom", "description": "Zoom meeting import" }, { "name": "fathom", "description": "Fathom meeting import" }, { "name": "webex", "description": "Webex meeting import" }, { "name": "google-meet", "description": "Google Meet meeting import" }, { "name": "microsoft-teams", "description": "Microsoft Teams meeting import" }, { "name": "nango", "description": "Integration management via Nango" }, { "name": "sync", "description": "CloudSync credential management" }, { "name": "shared-notes", "description": "Public shared-note delivery" }, { "name": "cloud-api", "description": "Opt-in hosted access to Anarlog meeting data" }, { "name": "subscription", "description": "Subscription and trial management" }, { "name": "stt", "description": "Speech-to-text transcription proxy" }, { "name": "llm", "description": "LLM chat completions proxy" }, { "name": "crm", "description": "CRM contact lookup" } ] }