{"openapi":"3.1.0","info":{"version":"1.0.0","title":"Invent API"},"servers":[{"url":"https://api.useinvent.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Bearer token authentication using your API key"}},"schemas":{"FieldTypeSchema":{"type":"string","enum":["object","string","number","boolean","date","datetime","time","enum","file","content","connection","record","contact","user","chat","segment","assistant"],"description":"The type of the field"},"ModelIdSchema":{"type":"string","enum":["auto:auto","openai:gpt-5.4-2026-03-05","openai:gpt-5.4-mini-2026-03-17","openai:gpt-5.4-nano-2026-03-17","openai:gpt-5.3-chat-latest","openai:gpt-5.2-2025-12-11","openai:gpt-5.2-2025-12-11-reasoning","openai:gpt-5.1-2025-11-13","openai:gpt-5.1-2025-11-13-reasoning","openai:gpt-5-2025-08-07","openai:gpt-5-mini-2025-08-07","openai:gpt-5-nano-2025-08-07","openai:gpt-4.1-2025-04-14","openai:gpt-4.1-nano-2025-04-14","openai:gpt-4.1-mini-2025-04-14","openai:o3-2025-04-16","openai:o3-mini-2025-01-31","openai:o4-mini-2025-04-16","openai:gpt-4o-mini-transcribe","openai:gpt-4o-transcribe","openai:text-embedding-3-large","openai:text-embedding-3-small","anthropic:claude-fable-5","anthropic:claude-opus-4-8","anthropic:claude-opus-4-6","anthropic:claude-sonnet-4-6","anthropic:claude-opus-4-5-20251101","anthropic:claude-sonnet-4-5-20250929","anthropic:claude-haiku-4-5-20251001","anthropic:claude-sonnet-4-20250514","anthropic:claude-opus-4-20250514","anthropic:claude-3-7-sonnet-20250219","anthropic:claude-3-5-sonnet-20241022","anthropic:claude-3-5-haiku-20241022","google:gemini-3.5-flash","google:gemini-3.5-flash-reasoning","google:gemini-3.1-pro-preview","google:gemini-3.1-pro-preview-reasoning","google:gemini-3.1-flash-lite","google:gemini-3.1-flash-lite-reasoning","google:gemini-3.1-flash-lite-preview","google:gemini-3.1-flash-lite-preview-reasoning","google:gemini-3.1-flash-image-preview","google:gemini-3-pro-preview","google:gemini-3-flash-preview","google:gemini-3-flash-preview-reasoning","google:gemini-2.5-pro","google:gemini-2.5-flash","google:gemini-2.5-flash-lite","google:gemini-2.5-flash-preview-05-20","google:gemini-2.5-pro-preview-03-25","xai:grok-4.3","xai:grok-4.3-reasoning","xai:grok-4.20-beta-0309-non-reasoning","xai:grok-4-1-fast-non-reasoning","xai:grok-4-1-fast-reasoning","xai:grok-4-0709","xai:grok-3","xai:grok-3-mini","xai:grok-2-vision-1212","aws:anthropic.claude-opus-4-5-20251101-v1","aws:anthropic.claude-sonnet-4-5-20250929-v1","aws:anthropic.claude-haiku-4-5-20251001-v1","perplexity:sonar-pro","perplexity:sonar","groq:qwen-3-32b","elevenlabs:scribe_v1","elevenlabs:eleven_v3","elevenlabs:eleven_flash_v2_5","elevenlabs:eleven_turbo_v2_5","deepgram:nova-3","openrouter:deepseek-v4-pro","openrouter:deepseek-v4-flash","openrouter:gpt-oss-120b","openrouter:kimi-k2.5","openrouter:qwen-3.5-397b","openrouter:llama-4-maverick","openrouter:glm-5"],"description":"The model ID in the format of provider:model"},"SendChatEventSchema":{"oneOf":[{"$ref":"#/components/schemas/SendChatEventMediaSchema"}],"discriminator":{"propertyName":"type","mapping":{"media":"#/components/schemas/SendChatEventMediaSchema"}}},"SendChatEventMediaSchema":{"type":"object","properties":{"type":{"type":"string","enum":["media"]},"data":{"$ref":"#/components/schemas/ChatMediaEventDataSchema"},"chat_id":{"type":"string"}},"required":["type","data","chat_id"],"description":"Event emitted when a chat message is sent"},"ChatMediaEventDataSchema":{"type":"object","properties":{"audio":{"type":"string"},"format":{"$ref":"#/components/schemas/MediaFormatSchema"},"sampleRate":{"type":"number"},"channels":{"type":"number"}},"required":["audio","format"],"description":"Data for media chat event"},"MediaFormatSchema":{"type":"string","enum":["opus-rtp","opus-raw","opus-ogg","pcm-wav","pcm-raw","mp3","mulaw"],"description":"The format of the media"},"QueryChatFilesSchema":{"type":"object","properties":{"search":{"type":"string","maxLength":256,"description":"Search files by filename","example":"document.pdf"},"mimetype":{"type":"string","description":"Filter by MIME type (prefix match)","example":"image/"}},"description":"Query parameters for fetching chat files"},"StepTypeSchema":{"type":"string","enum":["note","ai","code","form","result","branch","scheduler:on_schedule","workflows:call_workflow","tools:http_request","tools:web_search","tools:web_scraping","tools:openapi_request","files:download_file","files:upload_file","files:create_csv","files:delete_file","files:markdown_to_pdf","files:html_to_pdf","audience:get_segments","audience:update_contact_segments","tables:create_record","tables:update_record","tables:delete_record","tables:search_records","knowledge:search","knowledge:get_chunk","knowledge:list_contents","knowledge:get_content","knowledge:get_content_text","knowledge:find_in_content","knowledge:replace_in_content","knowledge:get_stats","knowledge:add_content","knowledge:update_content","knowledge:reindex_content","knowledge:delete_content","emails:on_email_status_change","emails:send_email","mcp:tool_call","google_sheets:on_spreadsheets_new_row","google_sheets:spreadsheets_search","google_sheets:spreadsheets_list","google_sheets:worksheets_list","google_sheets:spreadsheets_append_row","google_sheets:spreadsheets_update_row","google_calendar:on_new_event","google_calendar:calendars_list","google_calendar:freebusy_query","google_calendar:events_search","google_calendar:events_get","google_calendar:events_create","google_calendar:events_update","google_calendar:events_delete","google_calendar:events_quick_add","outlook_calendar:freebusy_query","outlook_calendar:events_search","outlook_calendar:events_get","outlook_calendar:events_create","outlook_calendar:events_update","outlook_calendar:events_delete","google_drive:files_search","google_drive:files_list","google_drive:files_get","google_drive:files_download","google_drive:files_create","google_drive:files_update","google_drive:files_delete","google_drive:folders_create","airtable:bases_list","airtable:tables_list","airtable:records_search","airtable:record_get","airtable:record_create","airtable:record_update","airtable:record_delete","notion:data_sources_list","notion:search","notion:records_search","notion:record_get","notion:record_create","notion:record_update","notion:pages_search","notion:pages_and_records_list","notion:page_get","notion:page_create","notion:page_update","notion:page_content_append","notion:comments_list","notion:comment_create","linear:teams_list","linear:states_list","linear:users_list","linear:labels_list","linear:issues_search","linear:issue_get","linear:issue_create","linear:issue_update","linear:issue_comment_create","trello:boards_list","trello:board_get","trello:lists_list","trello:cards_search","trello:card_get","trello:card_create","trello:card_update","trello:card_move","trello:card_comment","trello:card_delete","trello:members_list","trello:labels_list","hubspot:contacts_search","hubspot:contact_get","hubspot:contact_create","hubspot:contact_update","hubspot:contact_properties_list","hubspot:companies_search","hubspot:company_get","hubspot:company_create","hubspot:company_update","hubspot:company_properties_list","hubspot:deals_search","hubspot:deal_get","hubspot:deal_create","hubspot:deal_update","hubspot:deal_properties_list","hubspot:meetings_search","hubspot:meeting_get","hubspot:meeting_create","hubspot:meeting_update","hubspot:meeting_delete","salesforce:objects_list","salesforce:leads_search","salesforce:lead_get","salesforce:lead_create","salesforce:lead_update","salesforce:lead_delete","salesforce:contacts_search","salesforce:contact_get","salesforce:contact_create","salesforce:contact_update","salesforce:contact_delete","salesforce:accounts_search","salesforce:account_get","salesforce:account_create","salesforce:account_update","salesforce:account_delete","salesforce:opportunities_search","salesforce:opportunity_get","salesforce:opportunity_create","salesforce:opportunity_update","salesforce:opportunity_delete","zoho:modules_list","zoho:records_search","zoho:record_get","zoho:record_create","zoho:record_update","zoho:record_delete","zoho:leads_search","zoho:lead_get","zoho:lead_create","zoho:lead_update","zoho:lead_delete","zoho:lead_convert","zoho:contacts_search","zoho:contact_get","zoho:contact_create","zoho:contact_update","zoho:contact_delete","zoho:contact_tags_add","zoho:contact_tags_remove","zoho:accounts_search","zoho:account_get","zoho:account_create","zoho:account_update","zoho:account_delete","zoho:deals_search","zoho:deal_get","zoho:deal_create","zoho:deal_update","zoho:deal_delete","zoho:calendar_events_list","zoho:calendar_event_create","zoho:calendar_event_update","zoho:calendar_event_delete","zoho:attachments_upload","zoho:attachments_list","zoho:attachments_download","zoho:attachments_delete","zoho_bookings:availability_get","zoho_bookings:appointments_search","zoho_bookings:appointment_get","zoho_bookings:appointment_book","zoho_bookings:appointment_reschedule","zoho_bookings:appointment_update","zoho_bookings:appointment_cancel","zoho_bookings:customer_create","zoho_inventory:items_search","zoho_inventory:item_get","zoho_inventory:item_create","zoho_inventory:item_update","zoho_inventory:item_image_upload","zoho_inventory:item_image_delete","zoho_inventory:contacts_search","zoho_inventory:contact_get","zoho_inventory:contact_create","zoho_inventory:contact_update","zoho_inventory:sales_orders_search","zoho_inventory:sales_order_get","zoho_inventory:sales_order_create","zoho_inventory:sales_order_update","zoho_inventory:invoices_search","zoho_inventory:invoice_get","zoho_inventory:invoice_create","zoho_inventory:invoice_send","zoho_calendar:calendars_list","zoho_calendar:freebusy_get","zoho_calendar:events_search","zoho_calendar:event_get","zoho_calendar:event_create","zoho_calendar:event_update","zoho_calendar:event_delete","gohighlevel:contacts_search","gohighlevel:contact_get","gohighlevel:contact_create","gohighlevel:contact_update","gohighlevel:contact_delete","gohighlevel:contact_tags_add","gohighlevel:contact_tags_remove","gohighlevel:opportunities_search","gohighlevel:opportunity_get","gohighlevel:opportunity_create","gohighlevel:opportunity_update","gohighlevel:opportunity_delete","gohighlevel:calendar_free_slots","gohighlevel:calendar_blocked_slots","gohighlevel:calendar_events_list","gohighlevel:calendar_event_create","gohighlevel:calendar_event_update","gohighlevel:calendar_event_delete","cal:slots_get","cal:bookings_list","cal:booking_get","cal:booking_create","cal:booking_update","cal:booking_cancel","calendly:available_times_get","calendly:events_search","calendly:event_get","calendly:event_create","calendly:event_cancel","calendly:scheduling_link_create","slack:on_mention","slack:on_channel_new_message","slack:search","slack:channels_messages_list","slack:channels_send_message","slack:channels_reply_message","telegram:on_new_message","telegram:send_message","instagram:on_new_message","instagram:send_message","messenger:on_new_message","messenger:send_message","tiktok:on_new_message","tiktok:send_message","whatsapp:on_new_message","whatsapp:on_message_status_change","whatsapp:send_message","whatsapp:send_message_template","gmail:on_new_email","gmail:send_email","gmail:reply_email","gmail:labels_list","japifon:on_new_message","japifon:message_send","twilio:on_new_message","twilio:send_message","telnyx:on_new_message","telnyx:send_message","resend:on_new_email","resend:send_email","stripe:customers_search","stripe:customer_get","stripe:customer_create","stripe:customer_update","stripe:checkout_session_create","stripe:billing_portal_session_create","stripe:currencies_list","stripe:prices_list","stripe:payment_link_create","stripe:payment_link_get","stripe:payment_get","stripe:payment_refund","stripe:payments_list","stripe:subscription_create","stripe:subscription_get","stripe:subscription_update","stripe:subscription_cancel","stripe:subscriptions_list","stripe:invoice_create","stripe:invoice_get","stripe:invoice_send","stripe:invoices_list","shopify:products_search","shopify:product_get","shopify:product_variants_search","shopify:orders_search","shopify:order_get","shopify:order_create","shopify:order_update","shopify:customers_search","shopify:customer_get","shopify:customer_create","shopify:customer_update","shopify:inventory_levels_list","zendesk:ticket_search","zendesk:ticket_get","zendesk:ticket_create","zendesk:ticket_update","zendesk:ticket_reply","zendesk:ticket_add_note","zendesk:ticket_comments_list","zendesk:tickets_list","odoo:leads_search","odoo:lead_get","odoo:lead_create","odoo:lead_update","odoo:lead_delete","odoo:lead_convert","odoo:opportunities_search","odoo:opportunity_get","odoo:opportunity_create","odoo:opportunity_update","odoo:opportunity_delete","odoo:contacts_search","odoo:calendar_events_list","odoo:calendar_event_create","odoo:calendar_event_update","odoo:calendar_event_delete","odoo:attachments_upload","odoo:attachments_list","odoo:attachments_download","odoo:attachments_delete","woocommerce:products_search","woocommerce:product_get","woocommerce:product_variations_search","woocommerce:customers_search","woocommerce:customer_get","woocommerce:customer_create","woocommerce:customer_update","woocommerce:orders_search","woocommerce:order_get","woocommerce:order_create","woocommerce:order_update","woocommerce:order_note_create","woocommerce:coupon_get","woocommerce:product_categories_list"],"description":"Step type"},"IconNameSchema":{"type":"string","enum":["StepFormIcon","StepAiIcon","StepNoteIcon","StepBranchIcon","StepCodeIcon","ConnectionIcon","ConnectionSchedulerIcon","ConnectionFilesIcon","ConnectionHttpIcon","ConnectionWorkflowIcon","ConnectionMcpIcon","ConnectionAudienceIcon","InternalIntegrationIcon","CustomIntegrationIcon","ToolThinkIcon","ToolWebSearchIcon","ToolWebScrapingIcon","ToolGenerateImageIcon","ToolDisplayFileIcon","ToolCalculatorIcon","ToolGenerateFileIcon","ToolGeneratePdfIcon","ToolRunCodeIcon","ToolDeepResearchIcon","ToolSearchKbIcon","ToolShowOptionsIcon","ToolRequestLocationIcon","ToolSendLocationIcon","ToolManageMemoryIcon","ToolUpdateContactIcon","TextIcon","ClockFadingIcon","CalendarIcon","CloudIcon","GlobeAltIcon","LockClosedIcon","NoSymbolIcon","SparklesIcon","HandRaisedIcon","BoltIcon","FileSpreadsheetIcon","DatabaseIcon","TableIcon","TableRowIcon","TableRowAddIcon","TableRowEditIcon","TableRowDeleteIcon","TableRowsIcon","PageIcon","UserIcon","UsersIcon","EmailIcon","PhoneIcon","CurrencyIcon","FunctionIcon","TableCellsIcon","DocumentTextIcon","QueueListIcon","TagIcon","SettingsIcon","ShoppingCartIcon","ShoppingBagIcon","BuildingStorefrontIcon","MegaphoneIcon","WrenchScrewdriverIcon","ModelAutoIcon","ModelOpenAIIcon","ModelAnthropicIcon","ModelClaudeIcon","ModelGoogleIcon","ModelXAIIcon","ModelGrokIcon","ModelPerplexityIcon","ModelGroqIcon","ModelAzureIcon","ModelElevenLabsIcon","ModelDeepgramIcon","ModelOpenRouterIcon","ModelDeepSeekIcon","ModelMoonshotIcon","ModelQwenIcon","ModelMetaIcon","ModelZhipuIcon"],"description":"The name of the icon to use in the UI"},"UpdateWorkflowEventSchema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["workflow-update"]},"data":{"$ref":"#/components/schemas/UpdateWorkflowSchema"}},"required":["type","data"]},{"type":"object","properties":{"type":{"type":"string","enum":["user"]},"data":{"$ref":"#/components/schemas/UpdateWorkflowUserEventSchema"}},"required":["type","data"]},{"type":"object","properties":{"type":{"type":"string","enum":["user-state"]},"data":{"$ref":"#/components/schemas/UpdateWorkflowUserEventSchema"}},"required":["type","data"]},{"type":"object","properties":{"type":{"type":"string","enum":["interaction"]},"data":{"$ref":"#/components/schemas/WorkflowInteractionEventDataSchema"}},"required":["type","data"]}]},"UpdateWorkflowSchema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":128},"description":{"type":["string","null"],"maxLength":1024},"enabled":{"type":"boolean"},"retention":{"$ref":"#/components/schemas/WorkflowRunDataRetentionConfigSchema"},"from_workflow_id":{"type":"string","maxLength":128},"from_workflow_version_id":{"type":"string","maxLength":128},"from_template_id":{"type":"string","maxLength":128},"steps":{"type":"array","items":{"$ref":"#/components/schemas/StepSchema"},"maxItems":100},"partial":{"type":"array","items":{"$ref":"#/components/schemas/PartialWorkflowUpdateSchema"}},"request_resync":{"type":"boolean"}}},"WorkflowRunDataRetentionConfigSchema":{"type":["object","null"],"properties":{"max_age_in_seconds":{"type":"number","minimum":-1,"maximum":315360000,"description":"Maximum time in seconds to retain run data after completion, -1 means no limit (keep indefinitely)"},"preserve_on_failure":{"type":"boolean","description":"Whether to preserve run data beyond the standard retention period if it fails","example":true}},"required":["max_age_in_seconds"],"description":"Data retention policy for the run","example":{"max_age_in_seconds":3600,"preserve_on_failure":true}},"StepSchema":{"oneOf":[{"$ref":"#/components/schemas/StepNoteSchema"},{"$ref":"#/components/schemas/StepFormSchema"},{"$ref":"#/components/schemas/StepResultSchema"},{"$ref":"#/components/schemas/StepBranchSchema"},{"$ref":"#/components/schemas/StepAiSchema"},{"$ref":"#/components/schemas/StepCodeSchema"},{"$ref":"#/components/schemas/StepSchedulerOnScheduleSchema"},{"$ref":"#/components/schemas/StepWorkflowsCallWorkflowSchema"},{"$ref":"#/components/schemas/StepToolsHttpRequestSchema"},{"$ref":"#/components/schemas/StepToolsWebSearchSchema"},{"$ref":"#/components/schemas/StepToolsWebScrapingSchema"},{"$ref":"#/components/schemas/StepToolsOpenapiRequestSchema"},{"$ref":"#/components/schemas/StepFilesDownloadFileSchema"},{"$ref":"#/components/schemas/StepFilesUploadFileSchema"},{"$ref":"#/components/schemas/StepFilesCreateCsvSchema"},{"$ref":"#/components/schemas/StepFilesDeleteFileSchema"},{"$ref":"#/components/schemas/StepFilesMarkdownToPdfSchema"},{"$ref":"#/components/schemas/StepFilesHtmlToPdfSchema"},{"$ref":"#/components/schemas/StepAudienceGetSegmentsSchema"},{"$ref":"#/components/schemas/StepAudienceUpdateContactSegmentsSchema"},{"$ref":"#/components/schemas/StepTablesCreateRecordSchema"},{"$ref":"#/components/schemas/StepTablesUpdateRecordSchema"},{"$ref":"#/components/schemas/StepTablesDeleteRecordSchema"},{"$ref":"#/components/schemas/StepTablesSearchRecordsSchema"},{"$ref":"#/components/schemas/StepKnowledgeSearchSchema"},{"$ref":"#/components/schemas/StepKnowledgeGetChunkSchema"},{"$ref":"#/components/schemas/StepKnowledgeListContentsSchema"},{"$ref":"#/components/schemas/StepKnowledgeGetContentSchema"},{"$ref":"#/components/schemas/StepKnowledgeGetContentTextSchema"},{"$ref":"#/components/schemas/StepKnowledgeFindInContentSchema"},{"$ref":"#/components/schemas/StepKnowledgeReplaceInContentSchema"},{"$ref":"#/components/schemas/StepKnowledgeGetStatsSchema"},{"$ref":"#/components/schemas/StepKnowledgeAddContentSchema"},{"$ref":"#/components/schemas/StepKnowledgeUpdateContentSchema"},{"$ref":"#/components/schemas/StepKnowledgeReindexContentSchema"},{"$ref":"#/components/schemas/StepKnowledgeDeleteContentSchema"},{"$ref":"#/components/schemas/StepEmailsOnEmailStatusChangeSchema"},{"$ref":"#/components/schemas/StepEmailsSendEmailSchema"},{"$ref":"#/components/schemas/StepMcpToolCallSchema"},{"$ref":"#/components/schemas/StepGoogleSheetsOnSpreadsheetsNewRowSchema"},{"$ref":"#/components/schemas/StepGoogleSheetsSpreadsheetsSearchSchema"},{"$ref":"#/components/schemas/StepGoogleSheetsSpreadsheetsListSchema"},{"$ref":"#/components/schemas/StepGoogleSheetsWorksheetsListSchema"},{"$ref":"#/components/schemas/StepGoogleSheetsSpreadsheetsAppendRowSchema"},{"$ref":"#/components/schemas/StepGoogleSheetsSpreadsheetsUpdateRowSchema"},{"$ref":"#/components/schemas/StepGoogleCalendarOnNewEventSchema"},{"$ref":"#/components/schemas/StepGoogleCalendarCalendarsListSchema"},{"$ref":"#/components/schemas/StepGoogleCalendarFreebusyQuerySchema"},{"$ref":"#/components/schemas/StepGoogleCalendarEventsSearchSchema"},{"$ref":"#/components/schemas/StepGoogleCalendarEventsGetSchema"},{"$ref":"#/components/schemas/StepGoogleCalendarEventsCreateSchema"},{"$ref":"#/components/schemas/StepGoogleCalendarEventsUpdateSchema"},{"$ref":"#/components/schemas/StepGoogleCalendarEventsDeleteSchema"},{"$ref":"#/components/schemas/StepGoogleCalendarEventsQuickAddSchema"},{"$ref":"#/components/schemas/StepOutlookCalendarFreebusyQuerySchema"},{"$ref":"#/components/schemas/StepOutlookCalendarEventsSearchSchema"},{"$ref":"#/components/schemas/StepOutlookCalendarEventsGetSchema"},{"$ref":"#/components/schemas/StepOutlookCalendarEventsCreateSchema"},{"$ref":"#/components/schemas/StepOutlookCalendarEventsUpdateSchema"},{"$ref":"#/components/schemas/StepOutlookCalendarEventsDeleteSchema"},{"$ref":"#/components/schemas/StepGoogleDriveFilesSearchSchema"},{"$ref":"#/components/schemas/StepGoogleDriveFilesListSchema"},{"$ref":"#/components/schemas/StepGoogleDriveFilesGetSchema"},{"$ref":"#/components/schemas/StepGoogleDriveFilesDownloadSchema"},{"$ref":"#/components/schemas/StepGoogleDriveFilesCreateSchema"},{"$ref":"#/components/schemas/StepGoogleDriveFilesUpdateSchema"},{"$ref":"#/components/schemas/StepGoogleDriveFilesDeleteSchema"},{"$ref":"#/components/schemas/StepGoogleDriveFoldersCreateSchema"},{"$ref":"#/components/schemas/StepAirtableBasesListSchema"},{"$ref":"#/components/schemas/StepAirtableTablesListSchema"},{"$ref":"#/components/schemas/StepAirtableRecordsSearchSchema"},{"$ref":"#/components/schemas/StepAirtableRecordGetSchema"},{"$ref":"#/components/schemas/StepAirtableRecordCreateSchema"},{"$ref":"#/components/schemas/StepAirtableRecordUpdateSchema"},{"$ref":"#/components/schemas/StepAirtableRecordDeleteSchema"},{"$ref":"#/components/schemas/StepNotionDataSourcesListSchema"},{"$ref":"#/components/schemas/StepNotionSearchSchema"},{"$ref":"#/components/schemas/StepNotionRecordsSearchSchema"},{"$ref":"#/components/schemas/StepNotionRecordGetSchema"},{"$ref":"#/components/schemas/StepNotionRecordCreateSchema"},{"$ref":"#/components/schemas/StepNotionRecordUpdateSchema"},{"$ref":"#/components/schemas/StepNotionPagesSearchSchema"},{"$ref":"#/components/schemas/StepNotionPagesAndRecordsListSchema"},{"$ref":"#/components/schemas/StepNotionPageGetSchema"},{"$ref":"#/components/schemas/StepNotionPageCreateSchema"},{"$ref":"#/components/schemas/StepNotionPageUpdateSchema"},{"$ref":"#/components/schemas/StepNotionPageContentAppendSchema"},{"$ref":"#/components/schemas/StepNotionCommentsListSchema"},{"$ref":"#/components/schemas/StepNotionCommentCreateSchema"},{"$ref":"#/components/schemas/StepLinearTeamsListSchema"},{"$ref":"#/components/schemas/StepLinearStatesListSchema"},{"$ref":"#/components/schemas/StepLinearUsersListSchema"},{"$ref":"#/components/schemas/StepLinearLabelsListSchema"},{"$ref":"#/components/schemas/StepLinearIssuesSearchSchema"},{"$ref":"#/components/schemas/StepLinearIssueGetSchema"},{"$ref":"#/components/schemas/StepLinearIssueCreateSchema"},{"$ref":"#/components/schemas/StepLinearIssueUpdateSchema"},{"$ref":"#/components/schemas/StepLinearIssueCommentCreateSchema"},{"$ref":"#/components/schemas/StepTrelloBoardsListSchema"},{"$ref":"#/components/schemas/StepTrelloBoardGetSchema"},{"$ref":"#/components/schemas/StepTrelloListsListSchema"},{"$ref":"#/components/schemas/StepTrelloCardsSearchSchema"},{"$ref":"#/components/schemas/StepTrelloCardGetSchema"},{"$ref":"#/components/schemas/StepTrelloCardCreateSchema"},{"$ref":"#/components/schemas/StepTrelloCardUpdateSchema"},{"$ref":"#/components/schemas/StepTrelloCardMoveSchema"},{"$ref":"#/components/schemas/StepTrelloCardCommentSchema"},{"$ref":"#/components/schemas/StepTrelloCardDeleteSchema"},{"$ref":"#/components/schemas/StepTrelloMembersListSchema"},{"$ref":"#/components/schemas/StepTrelloLabelsListSchema"},{"$ref":"#/components/schemas/StepHubspotContactsSearchSchema"},{"$ref":"#/components/schemas/StepHubspotContactGetSchema"},{"$ref":"#/components/schemas/StepHubspotContactCreateSchema"},{"$ref":"#/components/schemas/StepHubspotContactUpdateSchema"},{"$ref":"#/components/schemas/StepHubspotContactPropertiesListSchema"},{"$ref":"#/components/schemas/StepHubspotCompaniesSearchSchema"},{"$ref":"#/components/schemas/StepHubspotCompanyGetSchema"},{"$ref":"#/components/schemas/StepHubspotCompanyCreateSchema"},{"$ref":"#/components/schemas/StepHubspotCompanyUpdateSchema"},{"$ref":"#/components/schemas/StepHubspotCompanyPropertiesListSchema"},{"$ref":"#/components/schemas/StepHubspotDealsSearchSchema"},{"$ref":"#/components/schemas/StepHubspotDealGetSchema"},{"$ref":"#/components/schemas/StepHubspotDealCreateSchema"},{"$ref":"#/components/schemas/StepHubspotDealUpdateSchema"},{"$ref":"#/components/schemas/StepHubspotDealPropertiesListSchema"},{"$ref":"#/components/schemas/StepHubspotMeetingsSearchSchema"},{"$ref":"#/components/schemas/StepHubspotMeetingGetSchema"},{"$ref":"#/components/schemas/StepHubspotMeetingCreateSchema"},{"$ref":"#/components/schemas/StepHubspotMeetingUpdateSchema"},{"$ref":"#/components/schemas/StepHubspotMeetingDeleteSchema"},{"$ref":"#/components/schemas/StepSalesforceObjectsListSchema"},{"$ref":"#/components/schemas/StepSalesforceLeadsSearchSchema"},{"$ref":"#/components/schemas/StepSalesforceLeadGetSchema"},{"$ref":"#/components/schemas/StepSalesforceLeadCreateSchema"},{"$ref":"#/components/schemas/StepSalesforceLeadUpdateSchema"},{"$ref":"#/components/schemas/StepSalesforceLeadDeleteSchema"},{"$ref":"#/components/schemas/StepSalesforceContactsSearchSchema"},{"$ref":"#/components/schemas/StepSalesforceContactGetSchema"},{"$ref":"#/components/schemas/StepSalesforceContactCreateSchema"},{"$ref":"#/components/schemas/StepSalesforceContactUpdateSchema"},{"$ref":"#/components/schemas/StepSalesforceContactDeleteSchema"},{"$ref":"#/components/schemas/StepSalesforceAccountsSearchSchema"},{"$ref":"#/components/schemas/StepSalesforceAccountGetSchema"},{"$ref":"#/components/schemas/StepSalesforceAccountCreateSchema"},{"$ref":"#/components/schemas/StepSalesforceAccountUpdateSchema"},{"$ref":"#/components/schemas/StepSalesforceAccountDeleteSchema"},{"$ref":"#/components/schemas/StepSalesforceOpportunitiesSearchSchema"},{"$ref":"#/components/schemas/StepSalesforceOpportunityGetSchema"},{"$ref":"#/components/schemas/StepSalesforceOpportunityCreateSchema"},{"$ref":"#/components/schemas/StepSalesforceOpportunityUpdateSchema"},{"$ref":"#/components/schemas/StepSalesforceOpportunityDeleteSchema"},{"$ref":"#/components/schemas/StepZohoModulesListSchema"},{"$ref":"#/components/schemas/StepZohoRecordsSearchSchema"},{"$ref":"#/components/schemas/StepZohoRecordGetSchema"},{"$ref":"#/components/schemas/StepZohoRecordCreateSchema"},{"$ref":"#/components/schemas/StepZohoRecordUpdateSchema"},{"$ref":"#/components/schemas/StepZohoRecordDeleteSchema"},{"$ref":"#/components/schemas/StepZohoLeadsSearchSchema"},{"$ref":"#/components/schemas/StepZohoLeadGetSchema"},{"$ref":"#/components/schemas/StepZohoLeadCreateSchema"},{"$ref":"#/components/schemas/StepZohoLeadUpdateSchema"},{"$ref":"#/components/schemas/StepZohoLeadDeleteSchema"},{"$ref":"#/components/schemas/StepZohoLeadConvertSchema"},{"$ref":"#/components/schemas/StepZohoContactsSearchSchema"},{"$ref":"#/components/schemas/StepZohoContactGetSchema"},{"$ref":"#/components/schemas/StepZohoContactCreateSchema"},{"$ref":"#/components/schemas/StepZohoContactUpdateSchema"},{"$ref":"#/components/schemas/StepZohoContactDeleteSchema"},{"$ref":"#/components/schemas/StepZohoContactTagsAddSchema"},{"$ref":"#/components/schemas/StepZohoContactTagsRemoveSchema"},{"$ref":"#/components/schemas/StepZohoAccountsSearchSchema"},{"$ref":"#/components/schemas/StepZohoAccountGetSchema"},{"$ref":"#/components/schemas/StepZohoAccountCreateSchema"},{"$ref":"#/components/schemas/StepZohoAccountUpdateSchema"},{"$ref":"#/components/schemas/StepZohoAccountDeleteSchema"},{"$ref":"#/components/schemas/StepZohoDealsSearchSchema"},{"$ref":"#/components/schemas/StepZohoDealGetSchema"},{"$ref":"#/components/schemas/StepZohoDealCreateSchema"},{"$ref":"#/components/schemas/StepZohoDealUpdateSchema"},{"$ref":"#/components/schemas/StepZohoDealDeleteSchema"},{"$ref":"#/components/schemas/StepZohoCalendarEventsListSchema"},{"$ref":"#/components/schemas/StepZohoCalendarEventCreateSchema"},{"$ref":"#/components/schemas/StepZohoCalendarEventUpdateSchema"},{"$ref":"#/components/schemas/StepZohoCalendarEventDeleteSchema"},{"$ref":"#/components/schemas/StepZohoAttachmentsUploadSchema"},{"$ref":"#/components/schemas/StepZohoAttachmentsListSchema"},{"$ref":"#/components/schemas/StepZohoAttachmentsDownloadSchema"},{"$ref":"#/components/schemas/StepZohoAttachmentsDeleteSchema"},{"$ref":"#/components/schemas/StepZohoBookingsAvailabilityGetSchema"},{"$ref":"#/components/schemas/StepZohoBookingsAppointmentsSearchSchema"},{"$ref":"#/components/schemas/StepZohoBookingsAppointmentGetSchema"},{"$ref":"#/components/schemas/StepZohoBookingsAppointmentBookSchema"},{"$ref":"#/components/schemas/StepZohoBookingsAppointmentRescheduleSchema"},{"$ref":"#/components/schemas/StepZohoBookingsAppointmentUpdateSchema"},{"$ref":"#/components/schemas/StepZohoBookingsAppointmentCancelSchema"},{"$ref":"#/components/schemas/StepZohoBookingsCustomerCreateSchema"},{"$ref":"#/components/schemas/StepZohoInventoryItemsSearchSchema"},{"$ref":"#/components/schemas/StepZohoInventoryItemGetSchema"},{"$ref":"#/components/schemas/StepZohoInventoryItemCreateSchema"},{"$ref":"#/components/schemas/StepZohoInventoryItemUpdateSchema"},{"$ref":"#/components/schemas/StepZohoInventoryItemImageUploadSchema"},{"$ref":"#/components/schemas/StepZohoInventoryItemImageDeleteSchema"},{"$ref":"#/components/schemas/StepZohoInventoryContactsSearchSchema"},{"$ref":"#/components/schemas/StepZohoInventoryContactGetSchema"},{"$ref":"#/components/schemas/StepZohoInventoryContactCreateSchema"},{"$ref":"#/components/schemas/StepZohoInventoryContactUpdateSchema"},{"$ref":"#/components/schemas/StepZohoInventorySalesOrdersSearchSchema"},{"$ref":"#/components/schemas/StepZohoInventorySalesOrderGetSchema"},{"$ref":"#/components/schemas/StepZohoInventorySalesOrderCreateSchema"},{"$ref":"#/components/schemas/StepZohoInventorySalesOrderUpdateSchema"},{"$ref":"#/components/schemas/StepZohoInventoryInvoicesSearchSchema"},{"$ref":"#/components/schemas/StepZohoInventoryInvoiceGetSchema"},{"$ref":"#/components/schemas/StepZohoInventoryInvoiceCreateSchema"},{"$ref":"#/components/schemas/StepZohoInventoryInvoiceSendSchema"},{"$ref":"#/components/schemas/StepZohoCalendarCalendarsListSchema"},{"$ref":"#/components/schemas/StepZohoCalendarFreebusyGetSchema"},{"$ref":"#/components/schemas/StepZohoCalendarEventsSearchSchema"},{"$ref":"#/components/schemas/StepZohoCalendarEventGetSchema"},{"$ref":"#/components/schemas/StepZohoCalendarEventCreateSchema"},{"$ref":"#/components/schemas/StepZohoCalendarEventUpdateSchema"},{"$ref":"#/components/schemas/StepZohoCalendarEventDeleteSchema"},{"$ref":"#/components/schemas/StepGohighlevelContactsSearchSchema"},{"$ref":"#/components/schemas/StepGohighlevelContactGetSchema"},{"$ref":"#/components/schemas/StepGohighlevelContactCreateSchema"},{"$ref":"#/components/schemas/StepGohighlevelContactUpdateSchema"},{"$ref":"#/components/schemas/StepGohighlevelContactDeleteSchema"},{"$ref":"#/components/schemas/StepGohighlevelContactTagsAddSchema"},{"$ref":"#/components/schemas/StepGohighlevelContactTagsRemoveSchema"},{"$ref":"#/components/schemas/StepGohighlevelOpportunitiesSearchSchema"},{"$ref":"#/components/schemas/StepGohighlevelOpportunityGetSchema"},{"$ref":"#/components/schemas/StepGohighlevelOpportunityCreateSchema"},{"$ref":"#/components/schemas/StepGohighlevelOpportunityUpdateSchema"},{"$ref":"#/components/schemas/StepGohighlevelOpportunityDeleteSchema"},{"$ref":"#/components/schemas/StepGohighlevelCalendarFreeSlotsSchema"},{"$ref":"#/components/schemas/StepGohighlevelCalendarBlockedSlotsSchema"},{"$ref":"#/components/schemas/StepGohighlevelCalendarEventsListSchema"},{"$ref":"#/components/schemas/StepGohighlevelCalendarEventCreateSchema"},{"$ref":"#/components/schemas/StepGohighlevelCalendarEventUpdateSchema"},{"$ref":"#/components/schemas/StepGohighlevelCalendarEventDeleteSchema"},{"$ref":"#/components/schemas/StepCalSlotsGetSchema"},{"$ref":"#/components/schemas/StepCalBookingsListSchema"},{"$ref":"#/components/schemas/StepCalBookingGetSchema"},{"$ref":"#/components/schemas/StepCalBookingCreateSchema"},{"$ref":"#/components/schemas/StepCalBookingUpdateSchema"},{"$ref":"#/components/schemas/StepCalBookingCancelSchema"},{"$ref":"#/components/schemas/StepCalendlyAvailableTimesGetSchema"},{"$ref":"#/components/schemas/StepCalendlyEventsSearchSchema"},{"$ref":"#/components/schemas/StepCalendlyEventGetSchema"},{"$ref":"#/components/schemas/StepCalendlyEventCreateSchema"},{"$ref":"#/components/schemas/StepCalendlyEventCancelSchema"},{"$ref":"#/components/schemas/StepCalendlySchedulingLinkCreateSchema"},{"$ref":"#/components/schemas/StepSlackOnMentionSchema"},{"$ref":"#/components/schemas/StepSlackOnChannelNewMessageSchema"},{"$ref":"#/components/schemas/StepSlackSearchSchema"},{"$ref":"#/components/schemas/StepSlackChannelsMessagesListSchema"},{"$ref":"#/components/schemas/StepSlackChannelsSendMessageSchema"},{"$ref":"#/components/schemas/StepSlackChannelsReplyMessageSchema"},{"$ref":"#/components/schemas/StepTelegramOnNewMessageSchema"},{"$ref":"#/components/schemas/StepTelegramSendMessageSchema"},{"$ref":"#/components/schemas/StepInstagramOnNewMessageSchema"},{"$ref":"#/components/schemas/StepInstagramSendMessageSchema"},{"$ref":"#/components/schemas/StepMessengerOnNewMessageSchema"},{"$ref":"#/components/schemas/StepMessengerSendMessageSchema"},{"$ref":"#/components/schemas/StepTiktokOnNewMessageSchema"},{"$ref":"#/components/schemas/StepTiktokSendMessageSchema"},{"$ref":"#/components/schemas/StepWhatsappOnNewMessageSchema"},{"$ref":"#/components/schemas/StepWhatsappOnMessageStatusChangeSchema"},{"$ref":"#/components/schemas/StepWhatsappSendMessageSchema"},{"$ref":"#/components/schemas/StepWhatsappSendMessageTemplateSchema"},{"$ref":"#/components/schemas/StepGmailOnNewEmailSchema"},{"$ref":"#/components/schemas/StepGmailSendEmailSchema"},{"$ref":"#/components/schemas/StepGmailReplyEmailSchema"},{"$ref":"#/components/schemas/StepGmailLabelsListSchema"},{"$ref":"#/components/schemas/StepJapifonOnNewMessageSchema"},{"$ref":"#/components/schemas/StepJapifonMessageSendSchema"},{"$ref":"#/components/schemas/StepTwilioOnNewMessageSchema"},{"$ref":"#/components/schemas/StepTwilioSendMessageSchema"},{"$ref":"#/components/schemas/StepTelnyxOnNewMessageSchema"},{"$ref":"#/components/schemas/StepTelnyxSendMessageSchema"},{"$ref":"#/components/schemas/StepResendOnNewEmailSchema"},{"$ref":"#/components/schemas/StepResendSendEmailSchema"},{"$ref":"#/components/schemas/StepStripeCustomersSearchSchema"},{"$ref":"#/components/schemas/StepStripeCustomerGetSchema"},{"$ref":"#/components/schemas/StepStripeCustomerCreateSchema"},{"$ref":"#/components/schemas/StepStripeCustomerUpdateSchema"},{"$ref":"#/components/schemas/StepStripeCheckoutSessionCreateSchema"},{"$ref":"#/components/schemas/StepStripeBillingPortalSessionCreateSchema"},{"$ref":"#/components/schemas/StepStripeCurrenciesListSchema"},{"$ref":"#/components/schemas/StepStripePricesListSchema"},{"$ref":"#/components/schemas/StepStripePaymentLinkCreateSchema"},{"$ref":"#/components/schemas/StepStripePaymentLinkGetSchema"},{"$ref":"#/components/schemas/StepStripePaymentGetSchema"},{"$ref":"#/components/schemas/StepStripePaymentRefundSchema"},{"$ref":"#/components/schemas/StepStripePaymentsListSchema"},{"$ref":"#/components/schemas/StepStripeSubscriptionCreateSchema"},{"$ref":"#/components/schemas/StepStripeSubscriptionGetSchema"},{"$ref":"#/components/schemas/StepStripeSubscriptionUpdateSchema"},{"$ref":"#/components/schemas/StepStripeSubscriptionCancelSchema"},{"$ref":"#/components/schemas/StepStripeSubscriptionsListSchema"},{"$ref":"#/components/schemas/StepStripeInvoiceCreateSchema"},{"$ref":"#/components/schemas/StepStripeInvoiceGetSchema"},{"$ref":"#/components/schemas/StepStripeInvoiceSendSchema"},{"$ref":"#/components/schemas/StepStripeInvoicesListSchema"},{"$ref":"#/components/schemas/StepShopifyProductsSearchSchema"},{"$ref":"#/components/schemas/StepShopifyProductGetSchema"},{"$ref":"#/components/schemas/StepShopifyProductVariantsSearchSchema"},{"$ref":"#/components/schemas/StepShopifyOrdersSearchSchema"},{"$ref":"#/components/schemas/StepShopifyOrderGetSchema"},{"$ref":"#/components/schemas/StepShopifyOrderCreateSchema"},{"$ref":"#/components/schemas/StepShopifyOrderUpdateSchema"},{"$ref":"#/components/schemas/StepShopifyCustomersSearchSchema"},{"$ref":"#/components/schemas/StepShopifyCustomerGetSchema"},{"$ref":"#/components/schemas/StepShopifyCustomerCreateSchema"},{"$ref":"#/components/schemas/StepShopifyCustomerUpdateSchema"},{"$ref":"#/components/schemas/StepShopifyInventoryLevelsListSchema"},{"$ref":"#/components/schemas/StepZendeskTicketSearchSchema"},{"$ref":"#/components/schemas/StepZendeskTicketGetSchema"},{"$ref":"#/components/schemas/StepZendeskTicketCreateSchema"},{"$ref":"#/components/schemas/StepZendeskTicketUpdateSchema"},{"$ref":"#/components/schemas/StepZendeskTicketReplySchema"},{"$ref":"#/components/schemas/StepZendeskTicketAddNoteSchema"},{"$ref":"#/components/schemas/StepZendeskTicketCommentsListSchema"},{"$ref":"#/components/schemas/StepZendeskTicketsListSchema"},{"$ref":"#/components/schemas/StepOdooLeadsSearchSchema"},{"$ref":"#/components/schemas/StepOdooLeadGetSchema"},{"$ref":"#/components/schemas/StepOdooLeadCreateSchema"},{"$ref":"#/components/schemas/StepOdooLeadUpdateSchema"},{"$ref":"#/components/schemas/StepOdooLeadDeleteSchema"},{"$ref":"#/components/schemas/StepOdooLeadConvertSchema"},{"$ref":"#/components/schemas/StepOdooOpportunitiesSearchSchema"},{"$ref":"#/components/schemas/StepOdooOpportunityGetSchema"},{"$ref":"#/components/schemas/StepOdooOpportunityCreateSchema"},{"$ref":"#/components/schemas/StepOdooOpportunityUpdateSchema"},{"$ref":"#/components/schemas/StepOdooOpportunityDeleteSchema"},{"$ref":"#/components/schemas/StepOdooContactsSearchSchema"},{"$ref":"#/components/schemas/StepOdooCalendarEventsListSchema"},{"$ref":"#/components/schemas/StepOdooCalendarEventCreateSchema"},{"$ref":"#/components/schemas/StepOdooCalendarEventUpdateSchema"},{"$ref":"#/components/schemas/StepOdooCalendarEventDeleteSchema"},{"$ref":"#/components/schemas/StepOdooAttachmentsUploadSchema"},{"$ref":"#/components/schemas/StepOdooAttachmentsListSchema"},{"$ref":"#/components/schemas/StepOdooAttachmentsDownloadSchema"},{"$ref":"#/components/schemas/StepOdooAttachmentsDeleteSchema"},{"$ref":"#/components/schemas/StepWoocommerceProductsSearchSchema"},{"$ref":"#/components/schemas/StepWoocommerceProductGetSchema"},{"$ref":"#/components/schemas/StepWoocommerceProductVariationsSearchSchema"},{"$ref":"#/components/schemas/StepWoocommerceCustomersSearchSchema"},{"$ref":"#/components/schemas/StepWoocommerceCustomerGetSchema"},{"$ref":"#/components/schemas/StepWoocommerceCustomerCreateSchema"},{"$ref":"#/components/schemas/StepWoocommerceCustomerUpdateSchema"},{"$ref":"#/components/schemas/StepWoocommerceOrdersSearchSchema"},{"$ref":"#/components/schemas/StepWoocommerceOrderGetSchema"},{"$ref":"#/components/schemas/StepWoocommerceOrderCreateSchema"},{"$ref":"#/components/schemas/StepWoocommerceOrderUpdateSchema"},{"$ref":"#/components/schemas/StepWoocommerceOrderNoteCreateSchema"},{"$ref":"#/components/schemas/StepWoocommerceCouponGetSchema"},{"$ref":"#/components/schemas/StepWoocommerceProductCategoriesListSchema"}],"discriminator":{"propertyName":"type","mapping":{"note":"#/components/schemas/StepNoteSchema","form":"#/components/schemas/StepFormSchema","result":"#/components/schemas/StepResultSchema","branch":"#/components/schemas/StepBranchSchema","ai":"#/components/schemas/StepAiSchema","code":"#/components/schemas/StepCodeSchema","scheduler:on_schedule":"#/components/schemas/StepSchedulerOnScheduleSchema","workflows:call_workflow":"#/components/schemas/StepWorkflowsCallWorkflowSchema","tools:http_request":"#/components/schemas/StepToolsHttpRequestSchema","tools:web_search":"#/components/schemas/StepToolsWebSearchSchema","tools:web_scraping":"#/components/schemas/StepToolsWebScrapingSchema","tools:openapi_request":"#/components/schemas/StepToolsOpenapiRequestSchema","files:download_file":"#/components/schemas/StepFilesDownloadFileSchema","files:upload_file":"#/components/schemas/StepFilesUploadFileSchema","files:create_csv":"#/components/schemas/StepFilesCreateCsvSchema","files:delete_file":"#/components/schemas/StepFilesDeleteFileSchema","files:markdown_to_pdf":"#/components/schemas/StepFilesMarkdownToPdfSchema","files:html_to_pdf":"#/components/schemas/StepFilesHtmlToPdfSchema","audience:get_segments":"#/components/schemas/StepAudienceGetSegmentsSchema","audience:update_contact_segments":"#/components/schemas/StepAudienceUpdateContactSegmentsSchema","tables:create_record":"#/components/schemas/StepTablesCreateRecordSchema","tables:update_record":"#/components/schemas/StepTablesUpdateRecordSchema","tables:delete_record":"#/components/schemas/StepTablesDeleteRecordSchema","tables:search_records":"#/components/schemas/StepTablesSearchRecordsSchema","knowledge:search":"#/components/schemas/StepKnowledgeSearchSchema","knowledge:get_chunk":"#/components/schemas/StepKnowledgeGetChunkSchema","knowledge:list_contents":"#/components/schemas/StepKnowledgeListContentsSchema","knowledge:get_content":"#/components/schemas/StepKnowledgeGetContentSchema","knowledge:get_content_text":"#/components/schemas/StepKnowledgeGetContentTextSchema","knowledge:find_in_content":"#/components/schemas/StepKnowledgeFindInContentSchema","knowledge:replace_in_content":"#/components/schemas/StepKnowledgeReplaceInContentSchema","knowledge:get_stats":"#/components/schemas/StepKnowledgeGetStatsSchema","knowledge:add_content":"#/components/schemas/StepKnowledgeAddContentSchema","knowledge:update_content":"#/components/schemas/StepKnowledgeUpdateContentSchema","knowledge:reindex_content":"#/components/schemas/StepKnowledgeReindexContentSchema","knowledge:delete_content":"#/components/schemas/StepKnowledgeDeleteContentSchema","emails:on_email_status_change":"#/components/schemas/StepEmailsOnEmailStatusChangeSchema","emails:send_email":"#/components/schemas/StepEmailsSendEmailSchema","mcp:tool_call":"#/components/schemas/StepMcpToolCallSchema","google_sheets:on_spreadsheets_new_row":"#/components/schemas/StepGoogleSheetsOnSpreadsheetsNewRowSchema","google_sheets:spreadsheets_search":"#/components/schemas/StepGoogleSheetsSpreadsheetsSearchSchema","google_sheets:spreadsheets_list":"#/components/schemas/StepGoogleSheetsSpreadsheetsListSchema","google_sheets:worksheets_list":"#/components/schemas/StepGoogleSheetsWorksheetsListSchema","google_sheets:spreadsheets_append_row":"#/components/schemas/StepGoogleSheetsSpreadsheetsAppendRowSchema","google_sheets:spreadsheets_update_row":"#/components/schemas/StepGoogleSheetsSpreadsheetsUpdateRowSchema","google_calendar:on_new_event":"#/components/schemas/StepGoogleCalendarOnNewEventSchema","google_calendar:calendars_list":"#/components/schemas/StepGoogleCalendarCalendarsListSchema","google_calendar:freebusy_query":"#/components/schemas/StepGoogleCalendarFreebusyQuerySchema","google_calendar:events_search":"#/components/schemas/StepGoogleCalendarEventsSearchSchema","google_calendar:events_get":"#/components/schemas/StepGoogleCalendarEventsGetSchema","google_calendar:events_create":"#/components/schemas/StepGoogleCalendarEventsCreateSchema","google_calendar:events_update":"#/components/schemas/StepGoogleCalendarEventsUpdateSchema","google_calendar:events_delete":"#/components/schemas/StepGoogleCalendarEventsDeleteSchema","google_calendar:events_quick_add":"#/components/schemas/StepGoogleCalendarEventsQuickAddSchema","outlook_calendar:freebusy_query":"#/components/schemas/StepOutlookCalendarFreebusyQuerySchema","outlook_calendar:events_search":"#/components/schemas/StepOutlookCalendarEventsSearchSchema","outlook_calendar:events_get":"#/components/schemas/StepOutlookCalendarEventsGetSchema","outlook_calendar:events_create":"#/components/schemas/StepOutlookCalendarEventsCreateSchema","outlook_calendar:events_update":"#/components/schemas/StepOutlookCalendarEventsUpdateSchema","outlook_calendar:events_delete":"#/components/schemas/StepOutlookCalendarEventsDeleteSchema","google_drive:files_search":"#/components/schemas/StepGoogleDriveFilesSearchSchema","google_drive:files_list":"#/components/schemas/StepGoogleDriveFilesListSchema","google_drive:files_get":"#/components/schemas/StepGoogleDriveFilesGetSchema","google_drive:files_download":"#/components/schemas/StepGoogleDriveFilesDownloadSchema","google_drive:files_create":"#/components/schemas/StepGoogleDriveFilesCreateSchema","google_drive:files_update":"#/components/schemas/StepGoogleDriveFilesUpdateSchema","google_drive:files_delete":"#/components/schemas/StepGoogleDriveFilesDeleteSchema","google_drive:folders_create":"#/components/schemas/StepGoogleDriveFoldersCreateSchema","airtable:bases_list":"#/components/schemas/StepAirtableBasesListSchema","airtable:tables_list":"#/components/schemas/StepAirtableTablesListSchema","airtable:records_search":"#/components/schemas/StepAirtableRecordsSearchSchema","airtable:record_get":"#/components/schemas/StepAirtableRecordGetSchema","airtable:record_create":"#/components/schemas/StepAirtableRecordCreateSchema","airtable:record_update":"#/components/schemas/StepAirtableRecordUpdateSchema","airtable:record_delete":"#/components/schemas/StepAirtableRecordDeleteSchema","notion:data_sources_list":"#/components/schemas/StepNotionDataSourcesListSchema","notion:search":"#/components/schemas/StepNotionSearchSchema","notion:records_search":"#/components/schemas/StepNotionRecordsSearchSchema","notion:record_get":"#/components/schemas/StepNotionRecordGetSchema","notion:record_create":"#/components/schemas/StepNotionRecordCreateSchema","notion:record_update":"#/components/schemas/StepNotionRecordUpdateSchema","notion:pages_search":"#/components/schemas/StepNotionPagesSearchSchema","notion:pages_and_records_list":"#/components/schemas/StepNotionPagesAndRecordsListSchema","notion:page_get":"#/components/schemas/StepNotionPageGetSchema","notion:page_create":"#/components/schemas/StepNotionPageCreateSchema","notion:page_update":"#/components/schemas/StepNotionPageUpdateSchema","notion:page_content_append":"#/components/schemas/StepNotionPageContentAppendSchema","notion:comments_list":"#/components/schemas/StepNotionCommentsListSchema","notion:comment_create":"#/components/schemas/StepNotionCommentCreateSchema","linear:teams_list":"#/components/schemas/StepLinearTeamsListSchema","linear:states_list":"#/components/schemas/StepLinearStatesListSchema","linear:users_list":"#/components/schemas/StepLinearUsersListSchema","linear:labels_list":"#/components/schemas/StepLinearLabelsListSchema","linear:issues_search":"#/components/schemas/StepLinearIssuesSearchSchema","linear:issue_get":"#/components/schemas/StepLinearIssueGetSchema","linear:issue_create":"#/components/schemas/StepLinearIssueCreateSchema","linear:issue_update":"#/components/schemas/StepLinearIssueUpdateSchema","linear:issue_comment_create":"#/components/schemas/StepLinearIssueCommentCreateSchema","trello:boards_list":"#/components/schemas/StepTrelloBoardsListSchema","trello:board_get":"#/components/schemas/StepTrelloBoardGetSchema","trello:lists_list":"#/components/schemas/StepTrelloListsListSchema","trello:cards_search":"#/components/schemas/StepTrelloCardsSearchSchema","trello:card_get":"#/components/schemas/StepTrelloCardGetSchema","trello:card_create":"#/components/schemas/StepTrelloCardCreateSchema","trello:card_update":"#/components/schemas/StepTrelloCardUpdateSchema","trello:card_move":"#/components/schemas/StepTrelloCardMoveSchema","trello:card_comment":"#/components/schemas/StepTrelloCardCommentSchema","trello:card_delete":"#/components/schemas/StepTrelloCardDeleteSchema","trello:members_list":"#/components/schemas/StepTrelloMembersListSchema","trello:labels_list":"#/components/schemas/StepTrelloLabelsListSchema","hubspot:contacts_search":"#/components/schemas/StepHubspotContactsSearchSchema","hubspot:contact_get":"#/components/schemas/StepHubspotContactGetSchema","hubspot:contact_create":"#/components/schemas/StepHubspotContactCreateSchema","hubspot:contact_update":"#/components/schemas/StepHubspotContactUpdateSchema","hubspot:contact_properties_list":"#/components/schemas/StepHubspotContactPropertiesListSchema","hubspot:companies_search":"#/components/schemas/StepHubspotCompaniesSearchSchema","hubspot:company_get":"#/components/schemas/StepHubspotCompanyGetSchema","hubspot:company_create":"#/components/schemas/StepHubspotCompanyCreateSchema","hubspot:company_update":"#/components/schemas/StepHubspotCompanyUpdateSchema","hubspot:company_properties_list":"#/components/schemas/StepHubspotCompanyPropertiesListSchema","hubspot:deals_search":"#/components/schemas/StepHubspotDealsSearchSchema","hubspot:deal_get":"#/components/schemas/StepHubspotDealGetSchema","hubspot:deal_create":"#/components/schemas/StepHubspotDealCreateSchema","hubspot:deal_update":"#/components/schemas/StepHubspotDealUpdateSchema","hubspot:deal_properties_list":"#/components/schemas/StepHubspotDealPropertiesListSchema","hubspot:meetings_search":"#/components/schemas/StepHubspotMeetingsSearchSchema","hubspot:meeting_get":"#/components/schemas/StepHubspotMeetingGetSchema","hubspot:meeting_create":"#/components/schemas/StepHubspotMeetingCreateSchema","hubspot:meeting_update":"#/components/schemas/StepHubspotMeetingUpdateSchema","hubspot:meeting_delete":"#/components/schemas/StepHubspotMeetingDeleteSchema","salesforce:objects_list":"#/components/schemas/StepSalesforceObjectsListSchema","salesforce:leads_search":"#/components/schemas/StepSalesforceLeadsSearchSchema","salesforce:lead_get":"#/components/schemas/StepSalesforceLeadGetSchema","salesforce:lead_create":"#/components/schemas/StepSalesforceLeadCreateSchema","salesforce:lead_update":"#/components/schemas/StepSalesforceLeadUpdateSchema","salesforce:lead_delete":"#/components/schemas/StepSalesforceLeadDeleteSchema","salesforce:contacts_search":"#/components/schemas/StepSalesforceContactsSearchSchema","salesforce:contact_get":"#/components/schemas/StepSalesforceContactGetSchema","salesforce:contact_create":"#/components/schemas/StepSalesforceContactCreateSchema","salesforce:contact_update":"#/components/schemas/StepSalesforceContactUpdateSchema","salesforce:contact_delete":"#/components/schemas/StepSalesforceContactDeleteSchema","salesforce:accounts_search":"#/components/schemas/StepSalesforceAccountsSearchSchema","salesforce:account_get":"#/components/schemas/StepSalesforceAccountGetSchema","salesforce:account_create":"#/components/schemas/StepSalesforceAccountCreateSchema","salesforce:account_update":"#/components/schemas/StepSalesforceAccountUpdateSchema","salesforce:account_delete":"#/components/schemas/StepSalesforceAccountDeleteSchema","salesforce:opportunities_search":"#/components/schemas/StepSalesforceOpportunitiesSearchSchema","salesforce:opportunity_get":"#/components/schemas/StepSalesforceOpportunityGetSchema","salesforce:opportunity_create":"#/components/schemas/StepSalesforceOpportunityCreateSchema","salesforce:opportunity_update":"#/components/schemas/StepSalesforceOpportunityUpdateSchema","salesforce:opportunity_delete":"#/components/schemas/StepSalesforceOpportunityDeleteSchema","zoho:modules_list":"#/components/schemas/StepZohoModulesListSchema","zoho:records_search":"#/components/schemas/StepZohoRecordsSearchSchema","zoho:record_get":"#/components/schemas/StepZohoRecordGetSchema","zoho:record_create":"#/components/schemas/StepZohoRecordCreateSchema","zoho:record_update":"#/components/schemas/StepZohoRecordUpdateSchema","zoho:record_delete":"#/components/schemas/StepZohoRecordDeleteSchema","zoho:leads_search":"#/components/schemas/StepZohoLeadsSearchSchema","zoho:lead_get":"#/components/schemas/StepZohoLeadGetSchema","zoho:lead_create":"#/components/schemas/StepZohoLeadCreateSchema","zoho:lead_update":"#/components/schemas/StepZohoLeadUpdateSchema","zoho:lead_delete":"#/components/schemas/StepZohoLeadDeleteSchema","zoho:lead_convert":"#/components/schemas/StepZohoLeadConvertSchema","zoho:contacts_search":"#/components/schemas/StepZohoContactsSearchSchema","zoho:contact_get":"#/components/schemas/StepZohoContactGetSchema","zoho:contact_create":"#/components/schemas/StepZohoContactCreateSchema","zoho:contact_update":"#/components/schemas/StepZohoContactUpdateSchema","zoho:contact_delete":"#/components/schemas/StepZohoContactDeleteSchema","zoho:contact_tags_add":"#/components/schemas/StepZohoContactTagsAddSchema","zoho:contact_tags_remove":"#/components/schemas/StepZohoContactTagsRemoveSchema","zoho:accounts_search":"#/components/schemas/StepZohoAccountsSearchSchema","zoho:account_get":"#/components/schemas/StepZohoAccountGetSchema","zoho:account_create":"#/components/schemas/StepZohoAccountCreateSchema","zoho:account_update":"#/components/schemas/StepZohoAccountUpdateSchema","zoho:account_delete":"#/components/schemas/StepZohoAccountDeleteSchema","zoho:deals_search":"#/components/schemas/StepZohoDealsSearchSchema","zoho:deal_get":"#/components/schemas/StepZohoDealGetSchema","zoho:deal_create":"#/components/schemas/StepZohoDealCreateSchema","zoho:deal_update":"#/components/schemas/StepZohoDealUpdateSchema","zoho:deal_delete":"#/components/schemas/StepZohoDealDeleteSchema","zoho:calendar_events_list":"#/components/schemas/StepZohoCalendarEventsListSchema","zoho:calendar_event_create":"#/components/schemas/StepZohoCalendarEventCreateSchema","zoho:calendar_event_update":"#/components/schemas/StepZohoCalendarEventUpdateSchema","zoho:calendar_event_delete":"#/components/schemas/StepZohoCalendarEventDeleteSchema","zoho:attachments_upload":"#/components/schemas/StepZohoAttachmentsUploadSchema","zoho:attachments_list":"#/components/schemas/StepZohoAttachmentsListSchema","zoho:attachments_download":"#/components/schemas/StepZohoAttachmentsDownloadSchema","zoho:attachments_delete":"#/components/schemas/StepZohoAttachmentsDeleteSchema","zoho_bookings:availability_get":"#/components/schemas/StepZohoBookingsAvailabilityGetSchema","zoho_bookings:appointments_search":"#/components/schemas/StepZohoBookingsAppointmentsSearchSchema","zoho_bookings:appointment_get":"#/components/schemas/StepZohoBookingsAppointmentGetSchema","zoho_bookings:appointment_book":"#/components/schemas/StepZohoBookingsAppointmentBookSchema","zoho_bookings:appointment_reschedule":"#/components/schemas/StepZohoBookingsAppointmentRescheduleSchema","zoho_bookings:appointment_update":"#/components/schemas/StepZohoBookingsAppointmentUpdateSchema","zoho_bookings:appointment_cancel":"#/components/schemas/StepZohoBookingsAppointmentCancelSchema","zoho_bookings:customer_create":"#/components/schemas/StepZohoBookingsCustomerCreateSchema","zoho_inventory:items_search":"#/components/schemas/StepZohoInventoryItemsSearchSchema","zoho_inventory:item_get":"#/components/schemas/StepZohoInventoryItemGetSchema","zoho_inventory:item_create":"#/components/schemas/StepZohoInventoryItemCreateSchema","zoho_inventory:item_update":"#/components/schemas/StepZohoInventoryItemUpdateSchema","zoho_inventory:item_image_upload":"#/components/schemas/StepZohoInventoryItemImageUploadSchema","zoho_inventory:item_image_delete":"#/components/schemas/StepZohoInventoryItemImageDeleteSchema","zoho_inventory:contacts_search":"#/components/schemas/StepZohoInventoryContactsSearchSchema","zoho_inventory:contact_get":"#/components/schemas/StepZohoInventoryContactGetSchema","zoho_inventory:contact_create":"#/components/schemas/StepZohoInventoryContactCreateSchema","zoho_inventory:contact_update":"#/components/schemas/StepZohoInventoryContactUpdateSchema","zoho_inventory:sales_orders_search":"#/components/schemas/StepZohoInventorySalesOrdersSearchSchema","zoho_inventory:sales_order_get":"#/components/schemas/StepZohoInventorySalesOrderGetSchema","zoho_inventory:sales_order_create":"#/components/schemas/StepZohoInventorySalesOrderCreateSchema","zoho_inventory:sales_order_update":"#/components/schemas/StepZohoInventorySalesOrderUpdateSchema","zoho_inventory:invoices_search":"#/components/schemas/StepZohoInventoryInvoicesSearchSchema","zoho_inventory:invoice_get":"#/components/schemas/StepZohoInventoryInvoiceGetSchema","zoho_inventory:invoice_create":"#/components/schemas/StepZohoInventoryInvoiceCreateSchema","zoho_inventory:invoice_send":"#/components/schemas/StepZohoInventoryInvoiceSendSchema","zoho_calendar:calendars_list":"#/components/schemas/StepZohoCalendarCalendarsListSchema","zoho_calendar:freebusy_get":"#/components/schemas/StepZohoCalendarFreebusyGetSchema","zoho_calendar:events_search":"#/components/schemas/StepZohoCalendarEventsSearchSchema","zoho_calendar:event_get":"#/components/schemas/StepZohoCalendarEventGetSchema","zoho_calendar:event_create":"#/components/schemas/StepZohoCalendarEventCreateSchema","zoho_calendar:event_update":"#/components/schemas/StepZohoCalendarEventUpdateSchema","zoho_calendar:event_delete":"#/components/schemas/StepZohoCalendarEventDeleteSchema","gohighlevel:contacts_search":"#/components/schemas/StepGohighlevelContactsSearchSchema","gohighlevel:contact_get":"#/components/schemas/StepGohighlevelContactGetSchema","gohighlevel:contact_create":"#/components/schemas/StepGohighlevelContactCreateSchema","gohighlevel:contact_update":"#/components/schemas/StepGohighlevelContactUpdateSchema","gohighlevel:contact_delete":"#/components/schemas/StepGohighlevelContactDeleteSchema","gohighlevel:contact_tags_add":"#/components/schemas/StepGohighlevelContactTagsAddSchema","gohighlevel:contact_tags_remove":"#/components/schemas/StepGohighlevelContactTagsRemoveSchema","gohighlevel:opportunities_search":"#/components/schemas/StepGohighlevelOpportunitiesSearchSchema","gohighlevel:opportunity_get":"#/components/schemas/StepGohighlevelOpportunityGetSchema","gohighlevel:opportunity_create":"#/components/schemas/StepGohighlevelOpportunityCreateSchema","gohighlevel:opportunity_update":"#/components/schemas/StepGohighlevelOpportunityUpdateSchema","gohighlevel:opportunity_delete":"#/components/schemas/StepGohighlevelOpportunityDeleteSchema","gohighlevel:calendar_free_slots":"#/components/schemas/StepGohighlevelCalendarFreeSlotsSchema","gohighlevel:calendar_blocked_slots":"#/components/schemas/StepGohighlevelCalendarBlockedSlotsSchema","gohighlevel:calendar_events_list":"#/components/schemas/StepGohighlevelCalendarEventsListSchema","gohighlevel:calendar_event_create":"#/components/schemas/StepGohighlevelCalendarEventCreateSchema","gohighlevel:calendar_event_update":"#/components/schemas/StepGohighlevelCalendarEventUpdateSchema","gohighlevel:calendar_event_delete":"#/components/schemas/StepGohighlevelCalendarEventDeleteSchema","cal:slots_get":"#/components/schemas/StepCalSlotsGetSchema","cal:bookings_list":"#/components/schemas/StepCalBookingsListSchema","cal:booking_get":"#/components/schemas/StepCalBookingGetSchema","cal:booking_create":"#/components/schemas/StepCalBookingCreateSchema","cal:booking_update":"#/components/schemas/StepCalBookingUpdateSchema","cal:booking_cancel":"#/components/schemas/StepCalBookingCancelSchema","calendly:available_times_get":"#/components/schemas/StepCalendlyAvailableTimesGetSchema","calendly:events_search":"#/components/schemas/StepCalendlyEventsSearchSchema","calendly:event_get":"#/components/schemas/StepCalendlyEventGetSchema","calendly:event_create":"#/components/schemas/StepCalendlyEventCreateSchema","calendly:event_cancel":"#/components/schemas/StepCalendlyEventCancelSchema","calendly:scheduling_link_create":"#/components/schemas/StepCalendlySchedulingLinkCreateSchema","slack:on_mention":"#/components/schemas/StepSlackOnMentionSchema","slack:on_channel_new_message":"#/components/schemas/StepSlackOnChannelNewMessageSchema","slack:search":"#/components/schemas/StepSlackSearchSchema","slack:channels_messages_list":"#/components/schemas/StepSlackChannelsMessagesListSchema","slack:channels_send_message":"#/components/schemas/StepSlackChannelsSendMessageSchema","slack:channels_reply_message":"#/components/schemas/StepSlackChannelsReplyMessageSchema","telegram:on_new_message":"#/components/schemas/StepTelegramOnNewMessageSchema","telegram:send_message":"#/components/schemas/StepTelegramSendMessageSchema","instagram:on_new_message":"#/components/schemas/StepInstagramOnNewMessageSchema","instagram:send_message":"#/components/schemas/StepInstagramSendMessageSchema","messenger:on_new_message":"#/components/schemas/StepMessengerOnNewMessageSchema","messenger:send_message":"#/components/schemas/StepMessengerSendMessageSchema","tiktok:on_new_message":"#/components/schemas/StepTiktokOnNewMessageSchema","tiktok:send_message":"#/components/schemas/StepTiktokSendMessageSchema","whatsapp:on_new_message":"#/components/schemas/StepWhatsappOnNewMessageSchema","whatsapp:on_message_status_change":"#/components/schemas/StepWhatsappOnMessageStatusChangeSchema","whatsapp:send_message":"#/components/schemas/StepWhatsappSendMessageSchema","whatsapp:send_message_template":"#/components/schemas/StepWhatsappSendMessageTemplateSchema","gmail:on_new_email":"#/components/schemas/StepGmailOnNewEmailSchema","gmail:send_email":"#/components/schemas/StepGmailSendEmailSchema","gmail:reply_email":"#/components/schemas/StepGmailReplyEmailSchema","gmail:labels_list":"#/components/schemas/StepGmailLabelsListSchema","japifon:on_new_message":"#/components/schemas/StepJapifonOnNewMessageSchema","japifon:message_send":"#/components/schemas/StepJapifonMessageSendSchema","twilio:on_new_message":"#/components/schemas/StepTwilioOnNewMessageSchema","twilio:send_message":"#/components/schemas/StepTwilioSendMessageSchema","telnyx:on_new_message":"#/components/schemas/StepTelnyxOnNewMessageSchema","telnyx:send_message":"#/components/schemas/StepTelnyxSendMessageSchema","resend:on_new_email":"#/components/schemas/StepResendOnNewEmailSchema","resend:send_email":"#/components/schemas/StepResendSendEmailSchema","stripe:customers_search":"#/components/schemas/StepStripeCustomersSearchSchema","stripe:customer_get":"#/components/schemas/StepStripeCustomerGetSchema","stripe:customer_create":"#/components/schemas/StepStripeCustomerCreateSchema","stripe:customer_update":"#/components/schemas/StepStripeCustomerUpdateSchema","stripe:checkout_session_create":"#/components/schemas/StepStripeCheckoutSessionCreateSchema","stripe:billing_portal_session_create":"#/components/schemas/StepStripeBillingPortalSessionCreateSchema","stripe:currencies_list":"#/components/schemas/StepStripeCurrenciesListSchema","stripe:prices_list":"#/components/schemas/StepStripePricesListSchema","stripe:payment_link_create":"#/components/schemas/StepStripePaymentLinkCreateSchema","stripe:payment_link_get":"#/components/schemas/StepStripePaymentLinkGetSchema","stripe:payment_get":"#/components/schemas/StepStripePaymentGetSchema","stripe:payment_refund":"#/components/schemas/StepStripePaymentRefundSchema","stripe:payments_list":"#/components/schemas/StepStripePaymentsListSchema","stripe:subscription_create":"#/components/schemas/StepStripeSubscriptionCreateSchema","stripe:subscription_get":"#/components/schemas/StepStripeSubscriptionGetSchema","stripe:subscription_update":"#/components/schemas/StepStripeSubscriptionUpdateSchema","stripe:subscription_cancel":"#/components/schemas/StepStripeSubscriptionCancelSchema","stripe:subscriptions_list":"#/components/schemas/StepStripeSubscriptionsListSchema","stripe:invoice_create":"#/components/schemas/StepStripeInvoiceCreateSchema","stripe:invoice_get":"#/components/schemas/StepStripeInvoiceGetSchema","stripe:invoice_send":"#/components/schemas/StepStripeInvoiceSendSchema","stripe:invoices_list":"#/components/schemas/StepStripeInvoicesListSchema","shopify:products_search":"#/components/schemas/StepShopifyProductsSearchSchema","shopify:product_get":"#/components/schemas/StepShopifyProductGetSchema","shopify:product_variants_search":"#/components/schemas/StepShopifyProductVariantsSearchSchema","shopify:orders_search":"#/components/schemas/StepShopifyOrdersSearchSchema","shopify:order_get":"#/components/schemas/StepShopifyOrderGetSchema","shopify:order_create":"#/components/schemas/StepShopifyOrderCreateSchema","shopify:order_update":"#/components/schemas/StepShopifyOrderUpdateSchema","shopify:customers_search":"#/components/schemas/StepShopifyCustomersSearchSchema","shopify:customer_get":"#/components/schemas/StepShopifyCustomerGetSchema","shopify:customer_create":"#/components/schemas/StepShopifyCustomerCreateSchema","shopify:customer_update":"#/components/schemas/StepShopifyCustomerUpdateSchema","shopify:inventory_levels_list":"#/components/schemas/StepShopifyInventoryLevelsListSchema","zendesk:ticket_search":"#/components/schemas/StepZendeskTicketSearchSchema","zendesk:ticket_get":"#/components/schemas/StepZendeskTicketGetSchema","zendesk:ticket_create":"#/components/schemas/StepZendeskTicketCreateSchema","zendesk:ticket_update":"#/components/schemas/StepZendeskTicketUpdateSchema","zendesk:ticket_reply":"#/components/schemas/StepZendeskTicketReplySchema","zendesk:ticket_add_note":"#/components/schemas/StepZendeskTicketAddNoteSchema","zendesk:ticket_comments_list":"#/components/schemas/StepZendeskTicketCommentsListSchema","zendesk:tickets_list":"#/components/schemas/StepZendeskTicketsListSchema","odoo:leads_search":"#/components/schemas/StepOdooLeadsSearchSchema","odoo:lead_get":"#/components/schemas/StepOdooLeadGetSchema","odoo:lead_create":"#/components/schemas/StepOdooLeadCreateSchema","odoo:lead_update":"#/components/schemas/StepOdooLeadUpdateSchema","odoo:lead_delete":"#/components/schemas/StepOdooLeadDeleteSchema","odoo:lead_convert":"#/components/schemas/StepOdooLeadConvertSchema","odoo:opportunities_search":"#/components/schemas/StepOdooOpportunitiesSearchSchema","odoo:opportunity_get":"#/components/schemas/StepOdooOpportunityGetSchema","odoo:opportunity_create":"#/components/schemas/StepOdooOpportunityCreateSchema","odoo:opportunity_update":"#/components/schemas/StepOdooOpportunityUpdateSchema","odoo:opportunity_delete":"#/components/schemas/StepOdooOpportunityDeleteSchema","odoo:contacts_search":"#/components/schemas/StepOdooContactsSearchSchema","odoo:calendar_events_list":"#/components/schemas/StepOdooCalendarEventsListSchema","odoo:calendar_event_create":"#/components/schemas/StepOdooCalendarEventCreateSchema","odoo:calendar_event_update":"#/components/schemas/StepOdooCalendarEventUpdateSchema","odoo:calendar_event_delete":"#/components/schemas/StepOdooCalendarEventDeleteSchema","odoo:attachments_upload":"#/components/schemas/StepOdooAttachmentsUploadSchema","odoo:attachments_list":"#/components/schemas/StepOdooAttachmentsListSchema","odoo:attachments_download":"#/components/schemas/StepOdooAttachmentsDownloadSchema","odoo:attachments_delete":"#/components/schemas/StepOdooAttachmentsDeleteSchema","woocommerce:products_search":"#/components/schemas/StepWoocommerceProductsSearchSchema","woocommerce:product_get":"#/components/schemas/StepWoocommerceProductGetSchema","woocommerce:product_variations_search":"#/components/schemas/StepWoocommerceProductVariationsSearchSchema","woocommerce:customers_search":"#/components/schemas/StepWoocommerceCustomersSearchSchema","woocommerce:customer_get":"#/components/schemas/StepWoocommerceCustomerGetSchema","woocommerce:customer_create":"#/components/schemas/StepWoocommerceCustomerCreateSchema","woocommerce:customer_update":"#/components/schemas/StepWoocommerceCustomerUpdateSchema","woocommerce:orders_search":"#/components/schemas/StepWoocommerceOrdersSearchSchema","woocommerce:order_get":"#/components/schemas/StepWoocommerceOrderGetSchema","woocommerce:order_create":"#/components/schemas/StepWoocommerceOrderCreateSchema","woocommerce:order_update":"#/components/schemas/StepWoocommerceOrderUpdateSchema","woocommerce:order_note_create":"#/components/schemas/StepWoocommerceOrderNoteCreateSchema","woocommerce:coupon_get":"#/components/schemas/StepWoocommerceCouponGetSchema","woocommerce:product_categories_list":"#/components/schemas/StepWoocommerceProductCategoriesListSchema"}}},"StepNoteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["note"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"note":{"type":"string","description":"A markdown note to display in the workflow","title":"Note","nullable":true}}}},"required":["type","key","input"]},"StepKeySchema":{"type":"string","minLength":1,"maxLength":128,"description":"Unique identifier for the step, used to connect steps together"},"StepDisplaySchema":{"type":"string","enum":["expanded","collapsed","minimal"],"description":"Display mode of the step"},"DynamicFieldsSchema":{"type":"object","properties":{"path":{"type":"string"},"definition":{"$ref":"#/components/schemas/FieldsSchema"}},"required":["path","definition"],"description":"The dynamic fields input definitions"},"FieldsSchema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/FieldSchema"},"description":"The definition of the field schemas"},"FieldSchema":{"oneOf":[{"$ref":"#/components/schemas/FieldFileSchema"},{"$ref":"#/components/schemas/FieldNumberSchema"},{"$ref":"#/components/schemas/FieldStringSchema"},{"$ref":"#/components/schemas/FieldBooleanSchema"},{"$ref":"#/components/schemas/FieldDateSchema"},{"$ref":"#/components/schemas/FieldDateTimeSchema"},{"$ref":"#/components/schemas/FieldTimeSchema"},{"$ref":"#/components/schemas/FieldEnumSchema"},{"$ref":"#/components/schemas/FieldContentSchema"},{"$ref":"#/components/schemas/FieldConnectionSchema"},{"$ref":"#/components/schemas/FieldRecordSchema"},{"$ref":"#/components/schemas/FieldContactSchema"},{"$ref":"#/components/schemas/FieldUserSchema"},{"$ref":"#/components/schemas/FieldChatSchema"},{"$ref":"#/components/schemas/FieldSegmentSchema"},{"$ref":"#/components/schemas/FieldAssistantSchema"},{"$ref":"#/components/schemas/FieldObjectSchema"}],"discriminator":{"propertyName":"type","mapping":{"file":"#/components/schemas/FieldFileSchema","number":"#/components/schemas/FieldNumberSchema","string":"#/components/schemas/FieldStringSchema","boolean":"#/components/schemas/FieldBooleanSchema","date":"#/components/schemas/FieldDateSchema","datetime":"#/components/schemas/FieldDateTimeSchema","time":"#/components/schemas/FieldTimeSchema","enum":"#/components/schemas/FieldEnumSchema","content":"#/components/schemas/FieldContentSchema","connection":"#/components/schemas/FieldConnectionSchema","record":"#/components/schemas/FieldRecordSchema","contact":"#/components/schemas/FieldContactSchema","user":"#/components/schemas/FieldUserSchema","chat":"#/components/schemas/FieldChatSchema","segment":"#/components/schemas/FieldSegmentSchema","assistant":"#/components/schemas/FieldAssistantSchema","object":"#/components/schemas/FieldObjectSchema"}}},"FieldFileSchema":{"type":"object","properties":{"type":{"type":"string","enum":["file"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldFileDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"allowed_types":{"type":"array","items":{"type":"string"},"description":"Allowed mime types for the file field (e.g. image/*, application/pdf)"},"visibility":{"$ref":"#/components/schemas/FileVisibilitySchema"}},"required":["type"],"description":"The file type allows users to upload files"},"FieldFileDisplaySchema":{"allOf":[{"$ref":"#/components/schemas/FieldDisplaySchema"},{"type":"object","properties":{"render":{"$ref":"#/components/schemas/FieldFileDisplayRenderSchema"}}}],"description":"Display options for the file field"},"FieldLayoutSchema":{"type":"string","enum":["inline","stacked"],"description":"Controls how the label and field are arranged (inline or stacked)"},"FieldContainerSchema":{"type":"string","enum":["grid","full","center"],"description":"Controls how the field container behaves in terms of width and positioning"},"FieldFileDisplayRenderSchema":{"type":"string","enum":["button","dropzone"],"description":"The render type of the file field"},"FieldDisplaySchema":{"type":"object","properties":{"field":{"$ref":"#/components/schemas/FieldLayoutSchema"},"container":{"$ref":"#/components/schemas/FieldContainerSchema"}},"description":"Display options for the field"},"FieldSelectorModeSchema":{"type":"string","enum":["all","auto","manual"],"description":"Indicates the mode of the selector, auto will allow AI to determine the value, manual will allow the user to manually input a value"},"FieldConditionSchema":{"type":"object","properties":{"field":{"$ref":"#/components/schemas/FieldKeySchema"},"operator":{"$ref":"#/components/schemas/FieldConditionOperatorSchema"},"value":{}},"required":["field","operator"],"description":"Condition for the field"},"FieldKeySchema":{"type":"string","maxLength":256,"pattern":"^[^.]+$","description":"The key of the field"},"FieldConditionOperatorSchema":{"type":"string","enum":["eq","neq","gt","gte","lt","lte","contains","not_contains","is_empty","is_not_empty"],"description":"The operator for the field condition"},"FieldPickerSchema":{"oneOf":[{"$ref":"#/components/schemas/FieldPickerGoogleDriveSchema"},{"$ref":"#/components/schemas/FieldPickerWhatsappTemplateSchema"}],"discriminator":{"propertyName":"type","mapping":{"google_drive":"#/components/schemas/FieldPickerGoogleDriveSchema","whatsapp_template":"#/components/schemas/FieldPickerWhatsappTemplateSchema"}},"description":"Picker configuration, when specified it makes this field a picker"},"FieldPickerGoogleDriveSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_drive"],"description":"Picker that allows selecting files from Google Drive"},"views":{"type":"array","items":{"$ref":"#/components/schemas/FieldPickerGoogleDriveViewSchema"}},"selectable_mime_types":{"type":"array","items":{"type":"string"},"description":"A comma-separated list of MIME types to restrict the selectable files in the picker"}},"required":["type","views"],"description":"Picker that allows selecting from Google Drive files"},"FieldPickerGoogleDriveViewSchema":{"type":"string","enum":["DOCS","DOCS_IMAGES","DOCS_IMAGES_AND_VIDEOS","DOCS_VIDEOS","DOCUMENTS","DRAWINGS","FOLDERS","FORMS","PDFS","PRESENTATIONS","SPREADSHEETS"],"description":"The views available for the Google Drive picker"},"FieldPickerWhatsappTemplateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["whatsapp_template"],"description":"Picker that allows selecting from WhatsApp templates"}},"required":["type"],"description":"Picker that allows selecting a WhatsApp template"},"FileVisibilitySchema":{"type":"string","enum":["PUBLIC","PRIVATE"],"description":"Whether the file is private or public, private files URLs are signed with a token and can be accessed temporarily","example":"PRIVATE"},"FieldNumberSchema":{"type":"object","properties":{"type":{"type":"string","enum":["number"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldNumberDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"default":{"anyOf":[{"type":"number"},{"type":"string","enum":["{{auto}}"]}],"description":"The default value of the number field"}},"required":["type"],"description":"The number field allows users to input numbers"},"FieldNumberDisplaySchema":{"type":"object","properties":{"field":{"$ref":"#/components/schemas/FieldLayoutSchema"},"container":{"$ref":"#/components/schemas/FieldContainerSchema"},"format":{"$ref":"#/components/schemas/FieldNumberDisplayFormatSchema"},"notation":{"$ref":"#/components/schemas/FieldNumberDisplayNotationSchema"},"decimals":{"type":"integer","minimum":0,"maximum":8,"description":"Fixed fraction digits (min and max); omit for the locale default"},"currency":{"type":"string","maxLength":3,"description":"ISO 4217 currency code, used when `format` is `currency`; defaults to USD when omitted"},"show_as":{"$ref":"#/components/schemas/FieldNumberShowAsSchema"}},"description":"Display options for the number field"},"FieldNumberDisplayFormatSchema":{"type":"string","enum":["number","percent","currency"],"description":"Numeric style (maps to Intl.NumberFormat `style`); `number` is a plain number. Thousand separators are always applied."},"FieldNumberDisplayNotationSchema":{"type":"string","enum":["standard","compact"],"description":"Number notation (maps to Intl.NumberFormat `notation`); `compact` renders 1.2K (short form)"},"FieldNumberShowAsSchema":{"type":"object","properties":{"kind":{"type":"string","enum":["number","bar","ring"],"description":"How to render the number: a plain value, a progress bar, or a ring"},"color":{"$ref":"#/components/schemas/ColorNameSchema"},"divide_by":{"type":"number","exclusiveMinimum":0,"description":"Denominator for the bar / ring progress (value / divide_by)"},"show_number":{"type":"boolean","description":"Show the numeric value alongside the bar / ring"}},"required":["kind"],"description":"Renders the number as a plain value, a progress bar, or a ring"},"ColorNameSchema":{"type":"string","enum":["red","orange","amber","yellow","lime","green","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","neutral"],"description":"The name of the color to use in the UI"},"FieldStringSchema":{"type":"object","properties":{"type":{"type":"string","enum":["string"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldStringDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"default":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"The default value of the string field"},"format":{"type":"string","enum":["url","email","phone"],"description":"The validation type for the field"},"min":{"type":"number","minimum":1,"description":"The minimum length of the string field"},"max":{"type":"number","minimum":1,"description":"The maximum length of the string field"}},"required":["type"],"description":"The string field allows users to input text"},"FieldStringDisplaySchema":{"allOf":[{"$ref":"#/components/schemas/FieldDisplaySchema"},{"type":"object","properties":{"render":{"$ref":"#/components/schemas/FieldStringDisplayRenderSchema"}}}],"description":"Display options for the string field"},"FieldStringDisplayRenderSchema":{"type":"string","enum":["text","textarea","password"],"description":"The render type of the string field, text is a single line input, textarea is a multi-line input"},"FieldBooleanSchema":{"type":"object","properties":{"type":{"type":"string","enum":["boolean"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"default":{"type":"boolean","description":"The default value of the boolean field"}},"required":["type"],"description":"The boolean field allows users mark a field as true or false"},"FieldDateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["date"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldDateDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"default":{"type":["string","null"],"format":"date-time","description":"The default value of the date field, formatted as YYYY-MM-DD"}},"required":["type"],"description":"The date field allows users to select a date"},"FieldDateDisplaySchema":{"allOf":[{"$ref":"#/components/schemas/FieldDisplaySchema"},{"type":"object","properties":{"date_format":{"$ref":"#/components/schemas/FieldDateFormatSchema"}}}],"description":"Display options for the date field"},"FieldDateFormatSchema":{"type":"string","enum":["full","short","month_day_year","day_month_year","year_month_day","relative"],"description":"The rendered date format for date / datetime fields"},"FieldDateTimeSchema":{"type":"object","properties":{"type":{"type":"string","enum":["datetime"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldDateTimeDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"default":{"type":["string","null"],"format":"date-time","description":"The default value of the date time field, formatted as YYYY-MM-DDTHH:MM:SS"}},"required":["type"],"description":"The date and time field allows users to select a date and time"},"FieldDateTimeDisplaySchema":{"allOf":[{"$ref":"#/components/schemas/FieldDisplaySchema"},{"type":"object","properties":{"date_format":{"$ref":"#/components/schemas/FieldDateFormatSchema"},"time_format":{"$ref":"#/components/schemas/FieldTimeFormatSchema"}}}],"description":"Display options for the datetime field"},"FieldTimeFormatSchema":{"type":"string","enum":["hidden","12h","24h"],"description":"The rendered time format for datetime / time fields. `hidden` collapses a datetime to a date-only render."},"FieldTimeSchema":{"type":"object","properties":{"type":{"type":"string","enum":["time"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldTimeDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"}},"required":["type"],"description":"The time field allows users to select a time"},"FieldTimeDisplaySchema":{"allOf":[{"$ref":"#/components/schemas/FieldDisplaySchema"},{"type":"object","properties":{"time_format":{"$ref":"#/components/schemas/FieldTimeFormatSchema"}}}],"description":"Display options for the time field"},"FieldEnumSchema":{"type":"object","properties":{"type":{"type":"string","enum":["enum"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldEnumDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"default":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"The default value of the enum field"},"items":{"type":"array","items":{"$ref":"#/components/schemas/FieldEnumItemSchema"},"description":"The options for the enum field"},"list":{"$ref":"#/components/schemas/FieldListSchema"},"additional_items":{"type":"boolean","description":"Indicates whether additional unlisted items are allowed"}},"required":["type","items"],"description":"The select field used to select from a list of items"},"FieldEnumDisplaySchema":{"allOf":[{"$ref":"#/components/schemas/FieldDisplaySchema"},{"type":"object","properties":{"render":{"$ref":"#/components/schemas/FieldEnumDisplayRenderSchema"},"sort":{"$ref":"#/components/schemas/FieldEnumDisplaySortSchema"}}}],"description":"Display options for the enum field"},"FieldEnumDisplayRenderSchema":{"type":"string","enum":["dropdown","inline"],"description":"The render type of the enum field"},"FieldEnumDisplaySortSchema":{"type":"string","enum":["manual","asc","desc"],"description":"Option ordering by label; `manual` keeps the `items[]` order (default), `asc` A→Z, `desc` Z→A"},"FieldEnumItemSchema":{"type":"object","properties":{"label":{"type":"string","description":"Label of the enum item"},"value":{"type":"string","description":"Value of the enum item"},"description":{"type":"string","description":"Description of the enum item"},"color":{"$ref":"#/components/schemas/ColorNameSchema"},"icon":{"type":"string","maxLength":125,"description":"The name of the icon to use in the UI","oneOf":[{"$ref":"#/components/schemas/IconNameSchema"}]},"icon_url":{"type":"string"},"metadata":{"$ref":"#/components/schemas/FieldEnumItemMetadataSchema"}},"required":["value"],"description":"The enum item"},"FieldEnumItemMetadataSchema":{"type":"object","properties":{"link":{"type":"string","format":"uri","description":"A link associated with the enum item"},"data":{"description":"Additional data for the enum item"}},"description":"Additional metadata for the enum item"},"FieldListSchema":{"type":"object","properties":{"path":{"type":"string","description":"The connection list action path used to show autocomplete options"},"requires":{"type":"array","items":{"$ref":"#/components/schemas/FieldKeySchema"},"description":"Fields that must be filled before the list can be fetched"},"resource_id":{"type":"string","description":"An optional resource ID to scope the list to a specific resource, only used on dynamic fields"},"sync_on_mount":{"type":"boolean","description":"When true, the selected value is re-fetched on mount to keep cached metadata in sync with the remote source"}},"description":"Configuration for fields that fetch their data from a remote connection list action"},"FieldContentSchema":{"type":"object","properties":{"type":{"type":"string","enum":["content"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"content":{"type":"string","description":"Any markdown content"},"component":{"$ref":"#/components/schemas/FieldComponentSchema"}},"required":["type"],"description":"The content field used to display markdown content"},"FieldComponentSchema":{"oneOf":[{"$ref":"#/components/schemas/FieldWhatsappTemplateComponentSchema"}],"discriminator":{"propertyName":"type","mapping":{"whatsapp_template":"#/components/schemas/FieldWhatsappTemplateComponentSchema"}},"description":"The component field used to display a custom component"},"FieldWhatsappTemplateComponentSchema":{"type":"object","properties":{"type":{"type":"string","enum":["whatsapp_template"]}},"required":["type"],"description":"The component field used to display a WhatsApp template"},"FieldConnectionSchema":{"type":"object","properties":{"type":{"type":"string","enum":["connection"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"connection_type":{"$ref":"#/components/schemas/ConnectionTypeSchema"}},"required":["type","connection_type"],"description":"The connection field used to select a connection"},"ConnectionTypeSchema":{"type":"string","enum":["SCHEDULER","WORKFLOWS","TOOLS","FILES","EMAILS","HTTP_CREDENTIALS","AUDIENCE","TABLES","KNOWLEDGE","PHONE","GMAIL","GOOGLE_SHEETS","GOOGLE_CALENDAR","GOOGLE_DRIVE","OUTLOOK_CALENDAR","AIRTABLE","NOTION","LINEAR","HUBSPOT","GOHIGHLEVEL","CAL","CALENDLY","RESEND","OAUTH","SLACK","TELEGRAM","TRELLO","FACEBOOK","WHATSAPP","INSTAGRAM","MESSENGER","TIKTOK","JAPIFON","TWILIO","TELNYX","ZOHO","ZOHO_BOOKINGS","ZOHO_INVENTORY","ZOHO_CALENDAR","SALESFORCE","STRIPE","SHOPIFY","ZENDESK","MCP","ODOO","WOOCOMMERCE"],"description":"Connection type","example":"SLACK"},"FieldRecordSchema":{"type":"object","properties":{"type":{"type":"string","enum":["record"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"default":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"The default value of the record field (encoded record id)"},"target_table_id":{"type":"string","description":"The id of the table whose records are referenceable"}},"required":["type","target_table_id"],"description":"A reference to one or more records in another table"},"FieldContactSchema":{"type":"object","properties":{"type":{"type":"string","enum":["contact"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"default":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"The default value of the contact field (encoded contact id)"}},"required":["type"],"description":"A reference to one or more contacts"},"FieldUserSchema":{"type":"object","properties":{"type":{"type":"string","enum":["user"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"default":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"The default value of the user field (encoded user id of an org member)"}},"required":["type"],"description":"A reference to one or more users (org members)"},"FieldChatSchema":{"type":"object","properties":{"type":{"type":"string","enum":["chat"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"default":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"The default value of the chat field (encoded chat id)"}},"required":["type"],"description":"A reference to one or more chats"},"FieldSegmentSchema":{"type":"object","properties":{"type":{"type":"string","enum":["segment"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"default":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"The default value of the segment field (encoded segment id)"}},"required":["type"],"description":"A reference to one or more segments"},"FieldAssistantSchema":{"type":"object","properties":{"type":{"type":"string","enum":["assistant"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"default":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"The default value of the assistant field (encoded assistant id)"}},"required":["type"],"description":"A reference to one or more assistants"},"FieldObjectSchema":{"type":"object","properties":{"type":{"type":"string","enum":["object"],"description":"The type of the field"},"name":{"type":"string","maxLength":1024,"description":"The name of the field"},"description":{"type":"string","maxLength":10240,"description":"The description of the field"},"optional":{"type":"boolean","description":"Indicates whether the field is optional"},"array":{"type":"boolean","description":"Indicates whether the field can contain multiple values"},"placeholder":{"type":"string","maxLength":512,"description":"The placeholder of the field"},"display":{"$ref":"#/components/schemas/FieldDisplaySchema"},"order":{"type":"number","minimum":0,"description":"The order of the field relative to other fields in the form"},"link":{"type":"string","description":"The link to the documentation for the field"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Additional metadata for the field"},"allowed_modes":{"type":"array","items":{"$ref":"#/components/schemas/FieldSelectorModeSchema"}},"broadcast_hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the broadcast UI"},"broadcast_field":{"type":"boolean","description":"Indicates whether the field is used for broadcast"},"integration_field":{"type":"boolean","description":"Indicates whether the field is common to all integrations"},"display_field":{"type":"boolean","description":"Marks this field as the human-readable identifier for the integration. Its resolved value (enum label or string) is shown on the assistant channel card to disambiguate multiple integrations of the same type."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/FieldConditionSchema"},"description":"Conditions that must be met for the field to be shown"},"hidden":{"type":"boolean","description":"Indicates whether the field is hidden from the UI"},"picker":{"$ref":"#/components/schemas/FieldPickerSchema"},"disable_variables":{"type":"boolean","description":"When true, skip template variable replacement ({{variable}}) for this field"},"properties":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/FieldSchema"},"description":"A record of fields that can be of various types including object fields"},"format":{"type":"string","enum":["schema"],"description":"The validation type for the object field"},"additional_properties":{"anyOf":[{"$ref":"#/components/schemas/FieldAdditionalPropertiesSchema"},{"$ref":"#/components/schemas/FieldListSchema"},{"type":"boolean"}]},"default":{"anyOf":[{"type":"object","properties":{},"additionalProperties":{}},{"type":"array","items":{"type":"object","properties":{},"additionalProperties":{}}}],"description":"The default value of the object field"}},"required":["type","properties"],"description":"The object field that can contain other fields, including nested objects"},"FieldAdditionalPropertiesSchema":{"type":"object","properties":{"schema":{"$ref":"#/components/schemas/FieldSchema"}},"required":["schema"]},"StepAutoConfigSchema":{"type":"object","properties":{"model":{"type":"string","description":"Model name"},"temperature":{"type":"number","minimum":0,"maximum":2,"description":"Model temperature"}},"description":"Auto configuration for the step"},"StepFormSchema":{"type":"object","properties":{"type":{"type":"string","enum":["form"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"schema":{"$ref":"#/components/schemas/FieldsSchema"},"webhook":{"$ref":"#/components/schemas/InputWebhookSchema"}},"required":["schema"]}},"required":["type","key","input"]},"InputWebhookSchema":{"type":"object","properties":{"method":{"$ref":"#/components/schemas/HttpMethodSchema"},"path":{"type":"string","maxLength":1024,"description":"The path for the webhook, e.g. /some/path"}},"required":["method"],"description":"Webhook configuration for the form step"},"HttpMethodSchema":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"description":"HTTP method for the request"},"StepResultSchema":{"type":"object","properties":{"type":{"type":"string","enum":["result"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"schema":{"anyOf":[{"type":"string"},{"description":"Result fields for the workflow step"},{"type":"null"}],"description":"Result fields for the workflow step","title":"Result"}}}},"required":["type","key","input"]},"StepBranchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["branch"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"conditions":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/StepBranchConditionSchema"}},"else":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that the branch should connect to if none of the conditions are met"}},"required":["conditions"]}},"required":["type","key","input"]},"StepBranchConditionSchema":{"type":"object","properties":{"condition":{"type":"string","description":"The condition to evaluate"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this branch connects to"},"order":{"type":"number","description":"The order of the branch condition"}},"required":["destinations","order"],"description":"A condition to evaluate for branching"},"StepAiSchema":{"type":"object","properties":{"type":{"type":"string","enum":["ai"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"response":{"type":"string","description":"Response Format","nullable":true,"enum":["text","json"]},"system":{"type":"string","description":"E.g. You are a helpful assistant.","title":"System prompt","nullable":true},"message":{"type":"string","description":"E.g. Extract the fields from the files","title":"Message","nullable":true},"tools":{"type":"array","description":"List of steps to use as tools with the AI model","title":"Tools","nullable":true,"items":{"type":"string"}},"tools_parallel":{"type":"boolean","description":"Whether to run multiple tools in parallel","title":"Tools Parallel","nullable":true},"tools_choice":{"type":"string","description":"How the model should handle tools. \"auto\" means the model decides whether to call a tool or generate a message (default). \"required\" means the model will always call a tool. \"none\" means the model will not call any tool.","title":"Tools Choice","nullable":true,"enum":["auto","required","none"]},"max_tokens":{"type":"number","description":"Maximum number of tokens to generate in the response","nullable":true},"max_steps":{"type":"number","description":"Maximum number of steps for the model to generate the final response","title":"Max Steps","nullable":true}}}},"required":["type","key","input"]},"StepCodeSchema":{"type":"object","properties":{"type":{"type":"string","enum":["code"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"code":{"type":"string","description":"The javascript code to execute","title":"Code","nullable":true}}}},"required":["type","key","input"]},"StepSchedulerOnScheduleSchema":{"type":"object","properties":{"type":{"type":"string","enum":["scheduler:on_schedule"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"schedule":{"type":"string","description":"The interval (seconds) or cron expression","title":"Interval","nullable":true,"enum":["60","300","900","1800","3600","86400","604800","2592000","0 0 * * 1","0 0 * * 2","0 0 * * 3","0 0 * * 4","0 0 * * 5","0 0 * * 6","0 0 * * 0","0 0 * * 1-5","0 0 * * 6,0"]},"timezone":{"type":"string","description":"The timezone to use for the schedule","title":"Timezone","nullable":true}}}},"required":["type","key","input"]},"StepWorkflowsCallWorkflowSchema":{"type":"object","properties":{"type":{"type":"string","enum":["workflows:call_workflow"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"workflow_id":{"type":"string","description":"The workflow to run","title":"Workflow","nullable":true},"step_key":{"type":"string","description":"The step to run","title":"Step","nullable":true},"input":{"anyOf":[{"type":"string"},{"description":"The input fields for the workflow"},{"type":"null"}],"description":"The input fields for the workflow","title":"Fields"}}}},"required":["type","key","input"]},"StepToolsHttpRequestSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tools:http_request"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"url":{"type":"string","description":"The URL for the HTTP request, e.g. https://example.com","title":"URL","nullable":true},"method":{"type":"string","description":"HTTP method","title":"Method","nullable":true,"enum":["GET","POST","PUT","DELETE","PATCH"]},"body_format":{"type":"string","description":"How to serialize the request body.","title":"Body format","nullable":true,"enum":["none","json","form-data","form-urlencoded","raw"]},"body":{"type":"string","description":"The body string of the HTTP request (E.g. JSON string)","title":"Body","nullable":true},"body_fields":{"anyOf":[{"type":"string"},{"description":"Define fields to lock or AI-fill each one independently."},{"type":"null"}],"description":"Define fields to lock or AI-fill each one independently.","title":"Body fields"},"query_params":{"anyOf":[{"type":"string"},{"description":"Query parameters appended to the URL. List each parameter with its name and value."},{"type":"null"}],"description":"Query parameters appended to the URL. List each parameter with its name and value.","title":"Query parameters"},"headers":{"type":"string","description":"Headers to include in the HTTP request as JSON key-value pairs","title":"Headers","nullable":true}}}},"required":["type","key","input"]},"StepToolsWebSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tools:web_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"query":{"type":"string","description":"The search query to perform.","title":"Query","nullable":true},"type":{"type":"string","description":"The type of search to perform.","title":"Type","nullable":true,"enum":["web","images","news","videos"]}}}},"required":["type","key","input"]},"StepToolsWebScrapingSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tools:web_scraping"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"url":{"type":"string","description":"The URL of the web page to scrape","title":"URL","nullable":true},"strip_html":{"type":"boolean","description":"Whether to strip HTML tags from the content","title":"Strip HTML","nullable":true}}}},"required":["type","key","input"]},"StepToolsOpenapiRequestSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tools:openapi_request"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"spec_url":{"type":"string","description":"URL of an OpenAPI 3.x spec (JSON)","title":"OpenAPI Spec URL","nullable":true},"server_url":{"type":"string","description":"Override the spec's server URL (optional, e.g. https://api.example.com/v1)","title":"Server URL","nullable":true},"operation_id":{"type":"string","description":"Select an operation from the spec","title":"Operation","nullable":true},"arguments":{"anyOf":[{"type":"string"},{"description":"Inputs for the selected operation (dynamically generated)"},{"type":"null"}],"description":"Inputs for the selected operation (dynamically generated)","title":"Arguments"},"headers":{"type":"string","description":"Extra headers as JSON, merged on top of credentials and spec-derived headers","title":"Extra Headers","nullable":true}}}},"required":["type","key","input"]},"StepFilesDownloadFileSchema":{"type":"object","properties":{"type":{"type":"string","enum":["files:download_file"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"file":{"type":"string","description":"File URL","title":"File Source","nullable":true},"storage":{"type":"string","description":"Persistent storage will keep the file even after the run finishes. Temporary storage will delete the file after 24 hours","title":"Storage","nullable":true,"enum":["PERSISTENT","TEMPORARY"]},"visibility":{"type":"string","description":"Whether the file is private or public, private files URLs are signed with a token and can be accessed temporarily","title":"Visibility","nullable":true,"enum":["PRIVATE","PUBLIC"]}}}},"required":["type","key","input"]},"StepFilesUploadFileSchema":{"type":"object","properties":{"type":{"type":"string","enum":["files:upload_file"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"file":{"type":"string","description":"Use an URL to download a file or plain text to create a new file with its content","title":"File Source","nullable":true},"name":{"type":"string","description":"A custom name for the file","title":"File Name","nullable":true},"mime_type":{"type":"string","description":"MIME type of the file, by default it will be auto-detected","title":"File Type","nullable":true,"enum":["auto","text/plain","text/csv","text/html","application/json","application/xml"]},"storage":{"type":"string","description":"Persistent storage will keep the file even after the run finishes. Temporary storage will delete the file after 24 hours","title":"Storage","nullable":true,"enum":["PERSISTENT","TEMPORARY"]},"visibility":{"type":"string","description":"Whether the file is private or public, private files URLs are signed with a token and can be accessed temporarily","title":"Visibility","nullable":true,"enum":["PRIVATE","PUBLIC"]}}}},"required":["type","key","input"]},"StepFilesCreateCsvSchema":{"type":"object","properties":{"type":{"type":"string","enum":["files:create_csv"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"data":{"type":"string","description":"JSON array of objects. The keys of the first object define the columns.","title":"Data","nullable":true},"name":{"type":"string","description":"A custom name for the file","title":"File Name","nullable":true},"storage":{"type":"string","description":"Persistent storage will keep the file even after the run finishes. Temporary storage will delete the file after 24 hours","title":"Storage","nullable":true,"enum":["PERSISTENT","TEMPORARY"]},"visibility":{"type":"string","description":"Whether the file is private or public, private files URLs are signed with a token and can be accessed temporarily","title":"Visibility","nullable":true,"enum":["PRIVATE","PUBLIC"]}}}},"required":["type","key","input"]},"StepFilesDeleteFileSchema":{"type":"object","properties":{"type":{"type":"string","enum":["files:delete_file"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"file_id":{"type":"string","description":"ID of the file to delete","title":"File ID","nullable":true}}}},"required":["type","key","input"]},"StepFilesMarkdownToPdfSchema":{"type":"object","properties":{"type":{"type":"string","enum":["files:markdown_to_pdf"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"file":{"type":"string","description":"Markdown to convert to PDF","title":"Markdown Source","nullable":true},"name":{"type":"string","description":"A custom name for the file","title":"File Name","nullable":true},"storage":{"type":"string","description":"Persistent storage will keep the file even after the run finishes. Temporary storage will delete the file after 24 hours","title":"Storage","nullable":true,"enum":["PERSISTENT","TEMPORARY"]},"visibility":{"type":"string","description":"Whether the file is private or public, private files URLs are signed with a token and can be accessed temporarily","title":"Visibility","nullable":true,"enum":["PRIVATE","PUBLIC"]}}}},"required":["type","key","input"]},"StepFilesHtmlToPdfSchema":{"type":"object","properties":{"type":{"type":"string","enum":["files:html_to_pdf"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"file":{"type":"string","description":"Raw HTML or Website URL to convert to PDF","title":"HTML Source","nullable":true},"name":{"type":"string","description":"A custom name for the file","title":"File Name","nullable":true},"storage":{"type":"string","description":"Persistent storage will keep the file even after the run finishes. Temporary storage will delete the file after 24 hours","title":"Storage","nullable":true,"enum":["PERSISTENT","TEMPORARY"]},"visibility":{"type":"string","description":"Whether the file is private or public, private files URLs are signed with a token and can be accessed temporarily","title":"Visibility","nullable":true,"enum":["PRIVATE","PUBLIC"]}}}},"required":["type","key","input"]},"StepAudienceGetSegmentsSchema":{"type":"object","properties":{"type":{"type":"string","enum":["audience:get_segments"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"search":{"type":"string","description":"Filter segments by name","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepAudienceUpdateContactSegmentsSchema":{"type":"object","properties":{"type":{"type":"string","enum":["audience:update_contact_segments"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"contact_id":{"type":"string","description":"The contact to update segments for","title":"Contact","nullable":true},"add_segment_ids":{"type":"array","description":"Segments to add to the contact (max 10)","title":"Segments to Add","nullable":true,"items":{"type":"string"}},"remove_segment_ids":{"type":"array","description":"Segments to remove from the contact (max 10)","title":"Segments to Remove","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepTablesCreateRecordSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tables:create_record"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"table_id":{"type":"string","description":"The table to create a record in","title":"Table","nullable":true},"fields":{"anyOf":[{"type":"string"},{"description":"Record field values"},{"type":"null"}],"description":"Record field values","title":"Fields"}}}},"required":["type","key","input"]},"StepTablesUpdateRecordSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tables:update_record"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"table_id":{"type":"string","description":"The table containing the record","title":"Table","nullable":true},"record_id":{"type":"string","description":"The record to update","title":"Record","nullable":true},"fields":{"anyOf":[{"type":"string"},{"description":"Record field values to update"},{"type":"null"}],"description":"Record field values to update","title":"Fields"}}}},"required":["type","key","input"]},"StepTablesDeleteRecordSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tables:delete_record"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"table_id":{"type":"string","description":"The table containing the record","title":"Table","nullable":true},"record_id":{"type":"string","description":"The record to delete","title":"Record","nullable":true}}}},"required":["type","key","input"]},"StepTablesSearchRecordsSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tables:search_records"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"table_id":{"type":"string","description":"The table to search records in","title":"Table","nullable":true},"search":{"type":"string","description":"Free-text search across record values","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepKnowledgeSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge:search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"queries":{"type":"array","description":"Natural-language search queries (max 3). Use key terms from the question; the search understands meaning, not just keywords.","title":"Queries","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepKnowledgeGetChunkSchema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge:get_chunk"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"content_id":{"type":"string","description":"Content identifier obtained from a search result.","title":"Content ID","nullable":true},"chunk_indexes":{"type":"array","description":"Zero-based chunk indexes to retrieve (max 5).","title":"Chunk Indexes","nullable":true,"items":{"type":"number"}}}}},"required":["type","key","input"]},"StepKnowledgeListContentsSchema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge:list_contents"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"search":{"type":"string","description":"Case-insensitive filter over content titles.","title":"Search","nullable":true},"type":{"type":"string","description":"Filter by content type.","title":"Type","nullable":true,"enum":["ALL","TEXT","FILE","URL"]},"status":{"type":"string","description":"Filter by ingestion status.","title":"Status","nullable":true,"enum":["ALL","PENDING","PROCESSING","PROCESSED","FAILED"]},"page":{"type":"number","description":"1-indexed page number. Defaults to 1.","title":"Page","nullable":true},"take":{"type":"number","description":"Items per page. Defaults to 15, max 100.","title":"Take","nullable":true}}}},"required":["type","key","input"]},"StepKnowledgeGetContentSchema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge:get_content"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"content_id":{"type":"string","description":"The content id from list_contents.","title":"Content ID","nullable":true}}}},"required":["type","key","input"]},"StepKnowledgeGetContentTextSchema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge:get_content_text"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"content_id":{"type":"string","description":"The content id from list_contents.","title":"Content ID","nullable":true}}}},"required":["type","key","input"]},"StepKnowledgeFindInContentSchema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge:find_in_content"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"content_id":{"type":"string","description":"The content id from list_contents.","title":"Content ID","nullable":true},"query":{"type":"string","description":"Text to find.","title":"Query","nullable":true},"case_sensitive":{"type":"boolean","description":"Match case exactly. Defaults to false.","title":"Case Sensitive","nullable":true}}}},"required":["type","key","input"]},"StepKnowledgeReplaceInContentSchema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge:replace_in_content"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"content_id":{"type":"string","description":"The content id from list_contents.","title":"Content ID","nullable":true},"find":{"type":"string","description":"Exact text to replace.","title":"Find","nullable":true},"replace":{"type":"string","description":"Replacement text.","title":"Replace","nullable":true},"all":{"type":"boolean","description":"Replace every occurrence (default) or just the first.","title":"All","nullable":true}}}},"required":["type","key","input"]},"StepKnowledgeGetStatsSchema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge:get_stats"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{}}},"required":["type","key","input"]},"StepKnowledgeAddContentSchema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge:add_content"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"type":{"type":"string","description":"What kind of content to add.","title":"Type","nullable":true,"enum":["TEXT","URL","FILE"]},"title":{"type":"string","description":"Display title. Defaults to the URL / filename / first line.","title":"Title","nullable":true},"text":{"type":"string","description":"Raw text content (for type 'TEXT').","title":"Text","nullable":true},"url":{"type":"string","description":"Page or site URL (for type 'URL').","title":"URL","nullable":true},"url_mode":{"type":"string","description":"URL ingestion mode (default 'SINGLE_URL').","title":"URL Mode","nullable":true,"enum":["SINGLE_URL","CRAWL"]},"include_paths":{"type":"array","description":"Crawl-only: only follow paths matching these (e.g. '/docs/*').","title":"Include Paths","nullable":true,"items":{"type":"string"}},"exclude_paths":{"type":"array","description":"Crawl-only: skip paths matching these (e.g. '/admin/*').","title":"Exclude Paths","nullable":true,"items":{"type":"string"}},"file_id":{"type":"string","description":"Id of a file the user shared (for type 'FILE').","title":"File ID","nullable":true}}}},"required":["type","key","input"]},"StepKnowledgeUpdateContentSchema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge:update_content"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"content_id":{"type":"string","description":"The content id from list_contents.","title":"Content ID","nullable":true},"title":{"type":"string","nullable":true},"text":{"type":"string","description":"New text content (TEXT content only); re-indexes the content.","title":"Text","nullable":true},"include_paths":{"type":"array","description":"URL crawl: replace the include path patterns.","title":"Include Paths","nullable":true,"items":{"type":"string"}},"exclude_paths":{"type":"array","description":"URL crawl: replace the exclude path patterns.","title":"Exclude Paths","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepKnowledgeReindexContentSchema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge:reindex_content"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"content_id":{"type":"string","description":"The content id from list_contents.","title":"Content ID","nullable":true}}}},"required":["type","key","input"]},"StepKnowledgeDeleteContentSchema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge:delete_content"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"content_id":{"type":"string","description":"The content id from list_contents.","title":"Content ID","nullable":true}}}},"required":["type","key","input"]},"StepEmailsOnEmailStatusChangeSchema":{"type":"object","properties":{"type":{"type":"string","enum":["emails:on_email_status_change"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepEmailsSendEmailSchema":{"type":"object","properties":{"type":{"type":"string","enum":["emails:send_email"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"to":{"type":"string","description":"Recipient email address","title":"To Email","nullable":true},"from":{"type":"string","description":"Sender formatted as \"Name <email@domain.com>\". The email domain must match the connection's verified email identity domain. Pick the verified sender or switch to manual to customize the name. If omitted, the identity's default name and email are used.","title":"From","nullable":true},"subject":{"type":"string","description":"Email subject line","title":"Subject","nullable":true},"body":{"type":"string","description":"Email body (HTML). For marketing emails, include {{unsubscribe_url}} placeholder or it will be appended automatically.","title":"Body","nullable":true},"preview_text":{"type":"string","description":"Text that appears next to the subject line in the inbox. If not provided, the email client will use the beginning of the email body.","title":"Preview Text","nullable":true},"reply_to":{"type":"string","description":"Reply-to email address (optional)","title":"Reply-To","nullable":true},"mail_type":{"type":"string","description":"Marketing emails include unsubscribe link and List-Unsubscribe headers. Transactional emails do not.","title":"Email Type","nullable":true,"enum":["marketing","transactional"]},"mode":{"type":"string","description":"The mode to use for the email editor","title":"Mode","nullable":true,"enum":["wysiwyg","html"]}}}},"required":["type","key","input"]},"StepMcpToolCallSchema":{"type":"object","properties":{"type":{"type":"string","enum":["mcp:tool_call"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"tool_name":{"type":"string","description":"Select an MCP tool to execute","title":"Tool","nullable":true},"arguments":{"anyOf":[{"type":"string"},{"description":"Arguments to pass to the tool (dynamically generated)"},{"type":"null"}],"description":"Arguments to pass to the tool (dynamically generated)","title":"Tool Arguments"}}}},"required":["type","key","input"]},"StepGoogleSheetsOnSpreadsheetsNewRowSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_sheets:on_spreadsheets_new_row"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"spreadsheet_id":{"type":"string","description":"Spreadsheet to watch for new rows","title":"Spreadsheet","nullable":true},"worksheet":{"type":"string","description":"Worksheet to watch for new rows. Defaults to the first sheet","title":"Sheet","nullable":true}}}},"required":["type","key","input"]},"StepGoogleSheetsSpreadsheetsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_sheets:spreadsheets_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"spreadsheet_id":{"type":"string","description":"Spreadsheet to fetch data from","title":"Spreadsheet","nullable":true},"worksheet":{"type":"string","description":"Worksheet to fetch data from. Defaults to the first sheet","title":"Sheet","nullable":true},"range":{"type":"string","description":"Specify the range to search in (e.g., A1:D100)","title":"Search Range","nullable":true},"search":{"type":"string","description":"Value to search for. Leave empty to return all data in the range","title":"Search Term","nullable":true}}}},"required":["type","key","input"]},"StepGoogleSheetsSpreadsheetsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_sheets:spreadsheets_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepGoogleSheetsWorksheetsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_sheets:worksheets_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"spreadsheet_id":{"type":"string","description":"Spreadsheet to list the worksheets from","title":"Spreadsheet","nullable":true}}}},"required":["type","key","input"]},"StepGoogleSheetsSpreadsheetsAppendRowSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_sheets:spreadsheets_append_row"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"spreadsheet_id":{"type":"string","description":"Spreadsheet to append the row to","title":"Spreadsheet","nullable":true},"worksheet":{"type":"string","description":"Worksheet to append the row to. Defaults to the first sheet","title":"Sheet","nullable":true},"values":{"anyOf":[{"type":"string"},{"description":"Values to append to the row to each column"},{"type":"null"}],"description":"Values to append to the row to each column","title":"Row Values"}}}},"required":["type","key","input"]},"StepGoogleSheetsSpreadsheetsUpdateRowSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_sheets:spreadsheets_update_row"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"spreadsheet_id":{"type":"string","description":"Spreadsheet to update the row in","title":"Spreadsheet","nullable":true},"worksheet":{"type":"string","description":"Worksheet to update the row in. Defaults to the first sheet","title":"Sheet","nullable":true},"row_number":{"type":"number","description":"Row number to update (starting from 2, the first row contains column headers and cannot be updated)","title":"Row Number","nullable":true},"values":{"anyOf":[{"type":"string"},{"description":"Values to update in the row for each column"},{"type":"null"}],"description":"Values to update in the row for each column","title":"Row Values"}}}},"required":["type","key","input"]},"StepGoogleCalendarOnNewEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_calendar:on_new_event"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"The calendar to watch for new events, use \"primary\" for the primary calendar","title":"Calendar","nullable":true}}}},"required":["type","key","input"]},"StepGoogleCalendarCalendarsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_calendar:calendars_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepGoogleCalendarFreebusyQuerySchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_calendar:freebusy_query"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"The calendar to check availability for","title":"Calendar","nullable":true},"time_min":{"description":"Start of the interval to check","title":"Start Time"},"time_max":{"description":"End of the interval to check","title":"End Time"}}}},"required":["type","key","input"]},"StepGoogleCalendarEventsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_calendar:events_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"The calendar to search in, use \"primary\" for the primary calendar","title":"Calendar","nullable":true},"q":{"type":"string","description":"Free text search terms to find events that match","title":"Search Query","nullable":true},"time_min":{"description":"Lower bound (inclusive) for an event's start time","title":"Start Date"},"time_max":{"description":"Upper bound (exclusive) for an event's start time","title":"End Date"}}}},"required":["type","key","input"]},"StepGoogleCalendarEventsGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_calendar:events_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"The calendar containing the event, use \"primary\" for the primary calendar","title":"Calendar","nullable":true},"event_id":{"type":"string","description":"The event to retrieve","title":"Event ID","nullable":true}}}},"required":["type","key","input"]},"StepGoogleCalendarEventsCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_calendar:events_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"The calendar where the event will be created, use \"primary\" for the primary calendar","title":"Calendar","nullable":true},"title":{"type":"string","description":"Title of the event","title":"Event Title","nullable":true},"description":{"type":"string","description":"Description of the event","title":"Description","nullable":true},"start_date":{"description":"Start date and time of the event","title":"Start Date"},"end_date":{"description":"End date and time of the event","title":"End Date"},"all_day":{"type":"boolean","description":"Whether the event is an all-day event","title":"All Day Event","nullable":true},"attendees":{"type":"string","description":"Additional attendee emails (comma-separated)","title":"Attendees Email","nullable":true},"visibility":{"type":"string","description":"Visibility of the event","title":"Visibility","nullable":true,"enum":["default","public","private"]},"color_id":{"type":"string","description":"Color of the event","title":"Color","nullable":true,"enum":["default","1","2","3","4","5","6","7","8","9","10","11"]},"reminder_methods":{"type":"array","description":"How the reminder should be delivered","title":"Reminder Method","nullable":true,"items":{"type":"string","enum":["email","popup"]}},"reminder_minutes":{"type":"string","description":"How many minutes before the event to send the reminder","title":"Reminder Time","nullable":true,"enum":["5","10","15","30","60","120","1440","2880","10080"]},"send_updates":{"type":"string","description":"Whether to send notifications about the event","title":"Send Notifications","nullable":true,"enum":["none","all","externalOnly"]},"location":{"type":"string","description":"Location of the event","title":"Location","nullable":true}}}},"required":["type","key","input"]},"StepGoogleCalendarEventsUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_calendar:events_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"The calendar where the event will be created, use \"primary\" for the primary calendar","title":"Calendar","nullable":true},"event_id":{"type":"string","description":"The event to update","title":"Event ID","nullable":true},"title":{"type":"string","description":"Title of the event","title":"Event Title","nullable":true},"description":{"type":"string","description":"Description of the event","title":"Description","nullable":true},"start_date":{"description":"Start date and time of the event","title":"Start Date"},"end_date":{"description":"End date and time of the event","title":"End Date"},"all_day":{"type":"boolean","description":"Whether the event is an all-day event","title":"All Day Event","nullable":true},"attendees":{"type":"string","description":"Additional attendee emails (comma-separated). Existing guests are kept; only new addresses are added.","title":"Attendees Email","nullable":true},"visibility":{"type":"string","description":"Visibility of the event","title":"Visibility","nullable":true,"enum":["default","public","private"]},"color_id":{"type":"string","description":"Color of the event","title":"Color","nullable":true,"enum":["default","1","2","3","4","5","6","7","8","9","10","11"]},"reminder_methods":{"type":"array","description":"How the reminder should be delivered","title":"Reminder Method","nullable":true,"items":{"type":"string","enum":["email","popup"]}},"reminder_minutes":{"type":"string","description":"How many minutes before the event to send the reminder","title":"Reminder Time","nullable":true,"enum":["5","10","15","30","60","120","1440","2880","10080"]},"send_updates":{"type":"string","description":"Whether to send notifications about the event","title":"Send Notifications","nullable":true,"enum":["none","all","externalOnly"]},"location":{"type":"string","description":"Location of the event","title":"Location","nullable":true}}}},"required":["type","key","input"]},"StepGoogleCalendarEventsDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_calendar:events_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"The calendar containing the event, use \"primary\" for the primary calendar","title":"Calendar","nullable":true},"event_id":{"type":"string","description":"The event to delete","title":"Event ID","nullable":true},"send_notifications":{"type":"boolean","description":"Whether to send notifications about the deletion","title":"Send Notifications","nullable":true},"send_updates":{"type":"string","description":"How to notify attendees about the deletion","title":"Send Updates","nullable":true,"enum":["none","all","externalOnly"]}}}},"required":["type","key","input"]},"StepGoogleCalendarEventsQuickAddSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_calendar:events_quick_add"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"The calendar where the event will be created, use \"primary\" for the primary calendar","title":"Calendar","nullable":true},"event_description":{"type":"string","description":"Natural language expression describing the event (e.g., \"Dinner with John tomorrow at 7pm\")","title":"Event Description","nullable":true},"send_updates":{"type":"string","description":"Whether to send notifications about the event","title":"Send Notifications","nullable":true,"enum":["none","all","externalOnly"]}}}},"required":["type","key","input"]},"StepOutlookCalendarFreebusyQuerySchema":{"type":"object","properties":{"type":{"type":"string","enum":["outlook_calendar:freebusy_query"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"The calendar to check availability for","title":"Calendar","nullable":true},"time_min":{"description":"Start of the interval to check","title":"Start Time"},"time_max":{"description":"End of the interval to check","title":"End Time"}}}},"required":["type","key","input"]},"StepOutlookCalendarEventsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["outlook_calendar:events_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"The calendar to search in","title":"Calendar","nullable":true},"query":{"type":"string","description":"Free text search terms to find events that match","title":"Search Query","nullable":true},"time_min":{"description":"Lower bound (inclusive) for an event's start time","title":"Start Date"},"time_max":{"description":"Upper bound (exclusive) for an event's start time","title":"End Date"}}}},"required":["type","key","input"]},"StepOutlookCalendarEventsGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["outlook_calendar:events_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_id":{"type":"string","description":"The event to retrieve","title":"Event","nullable":true}}}},"required":["type","key","input"]},"StepOutlookCalendarEventsCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["outlook_calendar:events_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"The calendar where the event will be created","title":"Calendar","nullable":true},"title":{"type":"string","description":"Title of the event","title":"Event Title","nullable":true},"description":{"type":"string","description":"Description of the event","title":"Description","nullable":true},"start_date":{"description":"Start date and time of the event","title":"Start Date"},"end_date":{"description":"End date and time of the event","title":"End Date"},"all_day":{"type":"boolean","description":"Whether the event is an all-day event","title":"All Day Event","nullable":true},"attendees":{"type":"string","description":"Additional attendee emails (comma-separated)","title":"Attendees Email","nullable":true},"sensitivity":{"type":"string","description":"Sensitivity level of the event","title":"Sensitivity","nullable":true,"enum":["normal","personal","private","confidential"]},"reminder_minutes":{"type":"string","description":"How many minutes before the event to send the reminder","title":"Reminder Time","nullable":true,"enum":["none","5","10","15","30","60","120","1440","2880","10080"]},"send_updates":{"type":"boolean","description":"Outlook always sends invitations to attendees on create. This toggle is informational only.","title":"Send Notifications","nullable":true},"is_online_meeting":{"type":"boolean","description":"When enabled, generates a Microsoft Teams meeting link for this event.","title":"Teams Meeting","nullable":true},"location":{"type":"string","description":"Location of the event","title":"Location","nullable":true}}}},"required":["type","key","input"]},"StepOutlookCalendarEventsUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["outlook_calendar:events_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_id":{"type":"string","description":"The event to update","title":"Event","nullable":true},"title":{"type":"string","description":"Title of the event","title":"Event Title","nullable":true},"description":{"type":"string","description":"Description of the event","title":"Description","nullable":true},"start_date":{"description":"Start date and time of the event","title":"Start Date"},"end_date":{"description":"End date and time of the event","title":"End Date"},"all_day":{"type":"boolean","description":"Whether the event is an all-day event","title":"All Day Event","nullable":true},"attendees":{"type":"string","description":"Additional attendee emails (comma-separated). Existing guests are kept; only new addresses are added.","title":"Attendees Email","nullable":true},"sensitivity":{"type":"string","description":"Sensitivity level of the event","title":"Sensitivity","nullable":true,"enum":["normal","personal","private","confidential"]},"reminder_minutes":{"type":"string","description":"How many minutes before the event to send the reminder","title":"Reminder Time","nullable":true,"enum":["none","5","10","15","30","60","120","1440","2880","10080"]},"send_updates":{"type":"boolean","description":"Outlook always sends update notifications to attendees on changes. This toggle is informational only.","title":"Send Notifications","nullable":true},"location":{"type":"string","description":"Location of the event","title":"Location","nullable":true}}}},"required":["type","key","input"]},"StepOutlookCalendarEventsDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["outlook_calendar:events_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_id":{"type":"string","description":"The event to delete","title":"Event","nullable":true}}}},"required":["type","key","input"]},"StepGoogleDriveFilesSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_drive:files_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"query":{"type":"string","description":"Text to search for in file names and content","title":"Search Query","nullable":true},"mime_type":{"type":"string","description":"Filter by file type","title":"File Type","nullable":true,"enum":["","application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","image/*","video/*","application/vnd.google-apps.document","application/vnd.google-apps.spreadsheet","application/vnd.google-apps.presentation","application/vnd.google-apps.folder"]}}}},"required":["type","key","input"]},"StepGoogleDriveFilesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_drive:files_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"folder_id":{"type":"string","description":"The folder to list files from (leave empty for root)","title":"Folder","nullable":true}}}},"required":["type","key","input"]},"StepGoogleDriveFilesGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_drive:files_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"file_id":{"type":"string","description":"The ID of the file to retrieve","title":"File ID","nullable":true}}}},"required":["type","key","input"]},"StepGoogleDriveFilesDownloadSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_drive:files_download"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"file_id":{"type":"string","description":"The ID of the file to download","title":"File ID","nullable":true}}}},"required":["type","key","input"]},"StepGoogleDriveFilesCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_drive:files_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"name":{"type":"string","description":"Name for the file","title":"File Name","nullable":true},"folder_id":{"type":"string","description":"Folder to upload to (leave empty for root)","title":"Destination Folder","nullable":true}}}},"required":["type","key","input"]},"StepGoogleDriveFilesUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_drive:files_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"file_id":{"type":"string","description":"The ID of the file to update","title":"File ID","nullable":true},"name":{"type":"string","description":"New name for the file","title":"New Name","nullable":true}}}},"required":["type","key","input"]},"StepGoogleDriveFilesDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_drive:files_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"file_id":{"type":"string","description":"The ID of the file to delete","title":"File ID","nullable":true}}}},"required":["type","key","input"]},"StepGoogleDriveFoldersCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["google_drive:folders_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"name":{"type":"string","description":"Name for the new folder","title":"Folder Name","nullable":true},"parent_folder_id":{"type":"string","description":"Folder to create in (leave empty for root)","title":"Parent Folder","nullable":true}}}},"required":["type","key","input"]},"StepAirtableBasesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["airtable:bases_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepAirtableTablesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["airtable:tables_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"base_id":{"type":"string","description":"The Airtable base to list tables from","title":"Base","nullable":true}}}},"required":["type","key","input"]},"StepAirtableRecordsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["airtable:records_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"base_id":{"type":"string","description":"The Airtable base","title":"Base","nullable":true},"table_id":{"type":"string","description":"The table to search in","title":"Table","nullable":true},"search":{"type":"string","description":"Search across all text fields","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepAirtableRecordGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["airtable:record_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"base_id":{"type":"string","description":"The Airtable base","title":"Base","nullable":true},"table_id":{"type":"string","description":"The table containing the record","title":"Table","nullable":true},"record_id":{"type":"string","description":"The record to retrieve","title":"Record","nullable":true}}}},"required":["type","key","input"]},"StepAirtableRecordCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["airtable:record_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"base_id":{"type":"string","description":"The Airtable base","title":"Base","nullable":true},"table_id":{"type":"string","description":"The table to create a record in","title":"Table","nullable":true},"fields":{"anyOf":[{"type":"string"},{"description":"Record field values"},{"type":"null"}],"description":"Record field values","title":"Fields"}}}},"required":["type","key","input"]},"StepAirtableRecordUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["airtable:record_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"base_id":{"type":"string","description":"The Airtable base","title":"Base","nullable":true},"table_id":{"type":"string","description":"The table containing the record","title":"Table","nullable":true},"record_id":{"type":"string","description":"The record to update","title":"Record","nullable":true},"fields":{"anyOf":[{"type":"string"},{"description":"Record field values to update"},{"type":"null"}],"description":"Record field values to update","title":"Fields"}}}},"required":["type","key","input"]},"StepAirtableRecordDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["airtable:record_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"base_id":{"type":"string","description":"The Airtable base","title":"Base","nullable":true},"table_id":{"type":"string","description":"The table containing the record","title":"Table","nullable":true},"record_id":{"type":"string","description":"The record to delete","title":"Record","nullable":true}}}},"required":["type","key","input"]},"StepNotionDataSourcesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:data_sources_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepNotionSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"query":{"type":"string","description":"Text to search for","title":"Search Query","nullable":true},"filter_type":{"type":"string","description":"Type of content to search","title":"Filter Type","nullable":true,"enum":["all","page","data_source"]}}}},"required":["type","key","input"]},"StepNotionRecordsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:records_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"data_source_id":{"type":"string","description":"The database to query records from","title":"Database","nullable":true},"search":{"type":"string","description":"Text to search for","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepNotionRecordGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:record_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"data_source_id":{"type":"string","description":"The database containing the record","title":"Database","nullable":true},"page_id":{"type":"string","description":"Record to retrieve","title":"Record","nullable":true}}}},"required":["type","key","input"]},"StepNotionRecordCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:record_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"data_source_id":{"type":"string","description":"The Notion database to create the page in","title":"Database","nullable":true},"properties":{"anyOf":[{"type":"string"},{"description":"Page property values"},{"type":"null"}],"description":"Page property values","title":"Properties"}}}},"required":["type","key","input"]},"StepNotionRecordUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:record_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"data_source_id":{"type":"string","description":"The databases containing the record","title":"Database","nullable":true},"page_id":{"type":"string","description":"Record to update","title":"Record","nullable":true},"properties":{"anyOf":[{"type":"string"},{"description":"Page property values to update"},{"type":"null"}],"description":"Page property values to update","title":"Properties"}}}},"required":["type","key","input"]},"StepNotionPagesSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:pages_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search pages by title or content","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepNotionPagesAndRecordsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:pages_and_records_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepNotionPageGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:page_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"page_id":{"type":"string","description":"Page to retrieve","title":"Page","nullable":true}}}},"required":["type","key","input"]},"StepNotionPageCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:page_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"parent_page_id":{"type":"string","description":"Parent page (leave empty for workspace root)","title":"Parent Page","nullable":true},"title":{"type":"string","description":"Page title","title":"Title","nullable":true},"content":{"type":"string","description":"Page content (markdown or JSON blocks)","title":"Content","nullable":true}}}},"required":["type","key","input"]},"StepNotionPageUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:page_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"page_id":{"type":"string","description":"Page to update","title":"Page","nullable":true},"title":{"type":"string","description":"New page title","title":"Title","nullable":true}}}},"required":["type","key","input"]},"StepNotionPageContentAppendSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:page_content_append"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"page_id":{"type":"string","description":"Page to append content to","title":"Page","nullable":true},"content":{"type":"string","description":"Content to append (markdown or JSON blocks)","title":"Content","nullable":true}}}},"required":["type","key","input"]},"StepNotionCommentsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:comments_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"page_id":{"type":"string","description":"Page or record","title":"Page or Record","nullable":true}}}},"required":["type","key","input"]},"StepNotionCommentCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["notion:comment_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"page_id":{"type":"string","description":"Page or record to comment on","title":"Page or Record","nullable":true},"comment":{"type":"string","description":"Comment text","title":"Comment","nullable":true}}}},"required":["type","key","input"]},"StepLinearTeamsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["linear:teams_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepLinearStatesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["linear:states_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"team_id":{"type":"string","description":"The team to get states for","title":"Team","nullable":true}}}},"required":["type","key","input"]},"StepLinearUsersListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["linear:users_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"team_id":{"type":"string","description":"Optional: Filter by team members","title":"Team","nullable":true}}}},"required":["type","key","input"]},"StepLinearLabelsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["linear:labels_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"team_id":{"type":"string","description":"The team to get labels for","title":"Team","nullable":true}}}},"required":["type","key","input"]},"StepLinearIssuesSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["linear:issues_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"team_id":{"type":"string","description":"Filter by team","title":"Team","nullable":true},"assignee_id":{"type":"string","description":"Filter by assignee","title":"Assignee","nullable":true},"state_id":{"type":"string","description":"Filter by workflow state","title":"State","nullable":true},"priority":{"type":"string","description":"Filter by priority","title":"Priority","nullable":true,"enum":["0","1","2","3","4"]},"label_id":{"type":"string","description":"Filter by label","title":"Label","nullable":true},"query":{"type":"string","description":"Text search in title and description","title":"Search Query","nullable":true},"limit":{"type":"number","description":"Maximum number of results to return (default: 50, max: 250)","title":"Limit","nullable":true}}}},"required":["type","key","input"]},"StepLinearIssueGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["linear:issue_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"team_id":{"type":"string","description":"The team containing the issue","title":"Team","nullable":true},"issue_id":{"type":"string","description":"Issue to retrieve","title":"Issue","nullable":true}}}},"required":["type","key","input"]},"StepLinearIssueCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["linear:issue_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"team_id":{"type":"string","description":"The team to create the issue in","title":"Team","nullable":true},"title":{"type":"string","description":"The title of the issue","title":"Title","nullable":true},"description":{"type":"string","description":"The description of the issue","title":"Description","nullable":true},"state_id":{"type":"string","description":"The workflow state for the issue","title":"State","nullable":true},"assignee_id":{"type":"string","description":"The user to assign the issue to","title":"Assignee","nullable":true},"priority":{"type":"string","description":"The priority of the issue","title":"Priority","nullable":true,"enum":["0","1","2","3","4"]},"label_ids":{"type":"string","description":"Labels to add to the issue","title":"Labels","nullable":true}}}},"required":["type","key","input"]},"StepLinearIssueUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["linear:issue_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"team_id":{"type":"string","description":"The team containing the issue","title":"Team","nullable":true},"issue_id":{"type":"string","description":"Issue to update","title":"Issue","nullable":true},"title":{"type":"string","description":"The new title of the issue","title":"Title","nullable":true},"description":{"type":"string","description":"The new description of the issue","title":"Description","nullable":true},"state_id":{"type":"string","description":"The new workflow state for the issue","title":"State","nullable":true},"assignee_id":{"type":"string","description":"The new assignee for the issue","title":"Assignee","nullable":true},"priority":{"type":"string","description":"The new priority of the issue","title":"Priority","nullable":true,"enum":["0","1","2","3","4"]},"label_ids":{"type":"string","description":"Labels to set on the issue","title":"Labels","nullable":true}}}},"required":["type","key","input"]},"StepLinearIssueCommentCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["linear:issue_comment_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"team_id":{"type":"string","description":"The team containing the issue","title":"Team","nullable":true},"issue_id":{"type":"string","description":"Issue to comment on","title":"Issue","nullable":true},"body":{"type":"string","description":"The content of the comment","title":"Comment Body","nullable":true}}}},"required":["type","key","input"]},"StepTrelloBoardsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["trello:boards_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepTrelloBoardGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["trello:board_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"board_id":{"type":"string","description":"The board to retrieve","title":"Board","nullable":true}}}},"required":["type","key","input"]},"StepTrelloListsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["trello:lists_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"board_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepTrelloCardsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["trello:cards_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"board_id":{"type":"string","description":"The board to search cards in","title":"Board","nullable":true},"search":{"type":"string","description":"Search cards by name or description","title":"Search Query","nullable":true}}}},"required":["type","key","input"]},"StepTrelloCardGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["trello:card_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"board_id":{"type":"string","nullable":true},"card_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepTrelloCardCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["trello:card_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"board_id":{"type":"string","description":"The board to create the card in","title":"Board","nullable":true},"list_id":{"type":"string","description":"The list to create the card in","title":"List","nullable":true},"name":{"type":"string","description":"The name of the card","title":"Card Name","nullable":true},"description":{"type":"string","description":"Card description (supports markdown)","title":"Description","nullable":true},"due":{"description":"Due date and time of the card","title":"Due Date"},"position":{"type":"string","description":"Position in list","title":"Position","nullable":true,"enum":["top","bottom"]},"member_ids":{"type":"array","description":"Assign members to this card","title":"Members","nullable":true,"items":{"type":"string"}},"label_ids":{"type":"array","description":"Assign labels to this card","title":"Labels","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepTrelloCardUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["trello:card_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"board_id":{"type":"string","nullable":true},"card_id":{"type":"string","description":"Card to update","title":"Card","nullable":true},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"due":{"description":"Due date and time of the card","title":"Due Date"},"member_ids":{"type":"array","description":"Assign members to this card","title":"Members","nullable":true,"items":{"type":"string"}},"label_ids":{"type":"array","description":"Assign labels to this card","title":"Labels","nullable":true,"items":{"type":"string"}},"closed":{"type":"boolean","nullable":true}}}},"required":["type","key","input"]},"StepTrelloCardMoveSchema":{"type":"object","properties":{"type":{"type":"string","enum":["trello:card_move"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"board_id":{"type":"string","nullable":true},"card_id":{"type":"string","nullable":true},"list_id":{"type":"string","description":"List to move the card to","title":"Target List","nullable":true},"position":{"type":"string","nullable":true,"enum":["top","bottom"]}}}},"required":["type","key","input"]},"StepTrelloCardCommentSchema":{"type":"object","properties":{"type":{"type":"string","enum":["trello:card_comment"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"board_id":{"type":"string","nullable":true},"card_id":{"type":"string","nullable":true},"text":{"type":"string","description":"Comment text","title":"Comment","nullable":true}}}},"required":["type","key","input"]},"StepTrelloCardDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["trello:card_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"board_id":{"type":"string","nullable":true},"card_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepTrelloMembersListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["trello:members_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"board_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepTrelloLabelsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["trello:labels_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"board_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepHubspotContactsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:contacts_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search contacts by name, email, or other properties","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepHubspotContactGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:contact_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"Contact to retrieve","title":"Contact","nullable":true}}}},"required":["type","key","input"]},"StepHubspotContactCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:contact_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"email":{"type":"string","description":"Contact email address","title":"Email","nullable":true},"firstname":{"type":"string","description":"Contact first name","title":"First Name","nullable":true},"lastname":{"type":"string","description":"Contact last name","title":"Last Name","nullable":true},"phone":{"type":"string","description":"Contact phone number","title":"Phone","nullable":true},"company":{"type":"string","description":"Company name","title":"Company","nullable":true}}}},"required":["type","key","input"]},"StepHubspotContactUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:contact_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"Contact to update","title":"Contact","nullable":true},"email":{"type":"string","description":"Contact email address","title":"Email","nullable":true},"firstname":{"type":"string","description":"Contact first name","title":"First Name","nullable":true},"lastname":{"type":"string","description":"Contact last name","title":"Last Name","nullable":true},"phone":{"type":"string","description":"Contact phone number","title":"Phone","nullable":true},"company":{"type":"string","description":"Company name","title":"Company","nullable":true}}}},"required":["type","key","input"]},"StepHubspotContactPropertiesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:contact_properties_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepHubspotCompaniesSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:companies_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search companies by name, domain, or other properties","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepHubspotCompanyGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:company_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"company_id":{"type":"string","description":"Company to retrieve","title":"Company","nullable":true}}}},"required":["type","key","input"]},"StepHubspotCompanyCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:company_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"name":{"type":"string","description":"Name of the company","title":"Company Name","nullable":true},"domain":{"type":"string","description":"Company website domain","title":"Domain","nullable":true},"city":{"type":"string","description":"Company city","title":"City","nullable":true},"industry":{"type":"string","description":"Company industry","title":"Industry","nullable":true},"phone":{"type":"string","description":"Company phone number","title":"Phone","nullable":true}}}},"required":["type","key","input"]},"StepHubspotCompanyUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:company_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"company_id":{"type":"string","description":"Company to update","title":"Company","nullable":true},"name":{"type":"string","description":"Name of the company","title":"Company Name","nullable":true},"domain":{"type":"string","description":"Company website domain","title":"Domain","nullable":true},"city":{"type":"string","description":"Company city","title":"City","nullable":true},"industry":{"type":"string","description":"Company industry","title":"Industry","nullable":true},"phone":{"type":"string","description":"Company phone number","title":"Phone","nullable":true}}}},"required":["type","key","input"]},"StepHubspotCompanyPropertiesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:company_properties_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepHubspotDealsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:deals_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search deals by name or other properties","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepHubspotDealGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:deal_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"deal_id":{"type":"string","description":"Deal to retrieve","title":"Deal","nullable":true}}}},"required":["type","key","input"]},"StepHubspotDealCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:deal_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"dealname":{"type":"string","description":"Name of the deal","title":"Deal Name","nullable":true},"amount":{"type":"string","description":"Deal amount","title":"Amount","nullable":true},"pipeline":{"type":"string","description":"Deal pipeline (defaults to the standard pipeline)","title":"Pipeline","nullable":true},"dealstage":{"type":"string","description":"Stage of the deal","title":"Deal Stage","nullable":true},"closedate":{"description":"Expected close date (YYYY-MM-DD format)","title":"Close Date"}}}},"required":["type","key","input"]},"StepHubspotDealUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:deal_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"deal_id":{"type":"string","description":"Deal to update","title":"Deal","nullable":true},"dealname":{"type":"string","description":"Name of the deal","title":"Deal Name","nullable":true},"amount":{"type":"string","description":"Deal amount","title":"Amount","nullable":true},"pipeline":{"type":"string","description":"Deal pipeline","title":"Pipeline","nullable":true},"dealstage":{"type":"string","description":"Stage of the deal","title":"Deal Stage","nullable":true},"closedate":{"description":"Expected close date (YYYY-MM-DD format)","title":"Close Date"}}}},"required":["type","key","input"]},"StepHubspotDealPropertiesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:deal_properties_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepHubspotMeetingsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:meetings_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search meetings by title or body","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepHubspotMeetingGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:meeting_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"meeting_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepHubspotMeetingCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:meeting_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"title":{"type":"string","description":"Meeting title","title":"Title","nullable":true},"start_time":{"description":"Meeting start time (ISO 8601)","title":"Start Time"},"end_time":{"description":"Meeting end time (ISO 8601)","title":"End Time"},"contact_id":{"type":"string","description":"Contact the meeting is with","title":"Contact","nullable":true},"body":{"type":"string","description":"Meeting description or notes","title":"Description","nullable":true},"location":{"type":"string","description":"Physical address, room, or video link","title":"Location","nullable":true},"outcome":{"type":"string","description":"Meeting outcome","title":"Outcome","nullable":true,"enum":["SCHEDULED","COMPLETED","RESCHEDULED","NO_SHOW","CANCELED"]},"deal_id":{"type":"string","description":"Link the meeting to a deal","title":"Deal","nullable":true},"internal_notes":{"type":"string","description":"Private notes for your team (not visible to attendees)","title":"Internal Notes","nullable":true},"owner_id":{"type":"string","description":"HubSpot user ID of the meeting owner","title":"Owner ID","nullable":true}}}},"required":["type","key","input"]},"StepHubspotMeetingUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:meeting_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"meeting_id":{"type":"string","description":"Meeting to update","title":"Meeting","nullable":true},"title":{"type":"string","nullable":true},"start_time":{},"end_time":{},"body":{"type":"string","nullable":true},"location":{"type":"string","nullable":true},"outcome":{"type":"string","nullable":true,"enum":["SCHEDULED","COMPLETED","RESCHEDULED","NO_SHOW","CANCELED"]},"internal_notes":{"type":"string","description":"Private notes for your team (not visible to attendees)","title":"Internal Notes","nullable":true},"owner_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepHubspotMeetingDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["hubspot:meeting_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"meeting_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceObjectsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:objects_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceLeadsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:leads_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search leads by name, email, or company","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceLeadGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:lead_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"lead_id":{"type":"string","description":"The lead to retrieve","title":"Lead","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceLeadCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:lead_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"LastName":{"type":"string","description":"Lead last name (required)","title":"Last Name","nullable":true},"Company":{"type":"string","description":"Company name (required)","title":"Company","nullable":true},"FirstName":{"type":"string","description":"Lead first name","title":"First Name","nullable":true},"Email":{"type":"string","description":"Lead email address","title":"Email","nullable":true},"Phone":{"type":"string","description":"Phone number","title":"Phone","nullable":true},"Title":{"type":"string","description":"Job title","title":"Title","nullable":true},"Status":{"type":"string","description":"Lead status","title":"Status","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceLeadUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:lead_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"lead_id":{"type":"string","description":"The lead to update","title":"Lead","nullable":true},"FirstName":{"type":"string","description":"Lead first name","title":"First Name","nullable":true},"LastName":{"type":"string","description":"Lead last name","title":"Last Name","nullable":true},"Email":{"type":"string","description":"Lead email address","title":"Email","nullable":true},"Company":{"type":"string","description":"Company name","title":"Company","nullable":true},"Phone":{"type":"string","description":"Phone number","title":"Phone","nullable":true},"Status":{"type":"string","description":"Lead status","title":"Status","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceLeadDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:lead_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"lead_id":{"type":"string","description":"The lead to delete","title":"Lead","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceContactsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:contacts_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search contacts by name, email, or phone","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceContactGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:contact_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"The contact to retrieve","title":"Contact","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceContactCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:contact_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"LastName":{"type":"string","description":"Contact last name (required)","title":"Last Name","nullable":true},"FirstName":{"type":"string","description":"Contact first name","title":"First Name","nullable":true},"Email":{"type":"string","description":"Contact email address","title":"Email","nullable":true},"Phone":{"type":"string","description":"Phone number","title":"Phone","nullable":true},"AccountId":{"type":"string","description":"Associated account","title":"Account","nullable":true},"Title":{"type":"string","description":"Job title","title":"Title","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceContactUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:contact_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"The contact to update","title":"Contact","nullable":true},"FirstName":{"type":"string","description":"Contact first name","title":"First Name","nullable":true},"LastName":{"type":"string","description":"Contact last name","title":"Last Name","nullable":true},"Email":{"type":"string","description":"Contact email address","title":"Email","nullable":true},"Phone":{"type":"string","description":"Phone number","title":"Phone","nullable":true},"Title":{"type":"string","description":"Job title","title":"Title","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceContactDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:contact_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"The contact to delete","title":"Contact","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceAccountsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:accounts_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search accounts by name, website, or phone","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceAccountGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:account_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"account_id":{"type":"string","description":"The account to retrieve","title":"Account","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceAccountCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:account_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"Name":{"type":"string","description":"Account name (required)","title":"Account Name","nullable":true},"Website":{"type":"string","description":"Company website","title":"Website","nullable":true},"Phone":{"type":"string","description":"Phone number","title":"Phone","nullable":true},"Industry":{"type":"string","description":"Industry","title":"Industry","nullable":true},"Type":{"type":"string","description":"Account type","title":"Type","nullable":true},"Description":{"type":"string","description":"Account description","title":"Description","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceAccountUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:account_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"account_id":{"type":"string","description":"The account to update","title":"Account","nullable":true},"Name":{"type":"string","description":"Account name","title":"Account Name","nullable":true},"Website":{"type":"string","description":"Company website","title":"Website","nullable":true},"Phone":{"type":"string","description":"Phone number","title":"Phone","nullable":true},"Industry":{"type":"string","description":"Industry","title":"Industry","nullable":true},"Type":{"type":"string","description":"Account type","title":"Type","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceAccountDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:account_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"account_id":{"type":"string","description":"The account to delete","title":"Account","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceOpportunitiesSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:opportunities_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search opportunities by name","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceOpportunityGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:opportunity_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"opportunity_id":{"type":"string","description":"The opportunity to retrieve","title":"Opportunity","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceOpportunityCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:opportunity_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"Name":{"type":"string","description":"Opportunity name (required)","title":"Opportunity Name","nullable":true},"StageName":{"type":"string","description":"Opportunity stage (required)","title":"Stage","nullable":true},"CloseDate":{"description":"Expected close date (YYYY-MM-DD format, required)","title":"Close Date"},"Amount":{"type":"number","description":"Deal amount","title":"Amount","nullable":true},"AccountId":{"type":"string","description":"Associated account","title":"Account","nullable":true},"Probability":{"type":"number","description":"Probability of closing (%)","title":"Probability","nullable":true},"Description":{"type":"string","description":"Opportunity description","title":"Description","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceOpportunityUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:opportunity_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"opportunity_id":{"type":"string","description":"The opportunity to update","title":"Opportunity","nullable":true},"Name":{"type":"string","description":"Opportunity name","title":"Opportunity Name","nullable":true},"StageName":{"type":"string","description":"Opportunity stage","title":"Stage","nullable":true},"CloseDate":{"description":"Expected close date (YYYY-MM-DD format)","title":"Close Date"},"Amount":{"type":"number","description":"Deal amount","title":"Amount","nullable":true},"Probability":{"type":"number","description":"Probability of closing (%)","title":"Probability","nullable":true}}}},"required":["type","key","input"]},"StepSalesforceOpportunityDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["salesforce:opportunity_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"opportunity_id":{"type":"string","description":"The opportunity to delete","title":"Opportunity","nullable":true}}}},"required":["type","key","input"]},"StepZohoModulesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:modules_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoRecordsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:records_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"module":{"type":"string","description":"The Zoho CRM module to search in","title":"Module","nullable":true},"type":{"type":"string","description":"Alternative to module — resolves to the matching Zoho module","title":"Record Type","nullable":true,"enum":["contact","lead","account","deal"]},"search":{"type":"string","description":"Search across all fields in the module","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepZohoRecordGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:record_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"module":{"type":"string","description":"The Zoho CRM module","title":"Module","nullable":true},"record_id":{"type":"string","description":"The record to retrieve","title":"Record","nullable":true}}}},"required":["type","key","input"]},"StepZohoRecordCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:record_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"module":{"type":"string","description":"The Zoho CRM module to create a record in","title":"Module","nullable":true},"fields":{"anyOf":[{"type":"string"},{"description":"Record field values"},{"type":"null"}],"description":"Record field values","title":"Fields"}}}},"required":["type","key","input"]},"StepZohoRecordUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:record_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"module":{"type":"string","description":"The Zoho CRM module","title":"Module","nullable":true},"record_id":{"type":"string","description":"The record to update","title":"Record","nullable":true},"fields":{"anyOf":[{"type":"string"},{"description":"Record field values to update"},{"type":"null"}],"description":"Record field values to update","title":"Fields"}}}},"required":["type","key","input"]},"StepZohoRecordDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:record_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"module":{"type":"string","description":"The Zoho CRM module","title":"Module","nullable":true},"record_id":{"type":"string","description":"The record to delete","title":"Record","nullable":true}}}},"required":["type","key","input"]},"StepZohoLeadsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:leads_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search across all text fields","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepZohoLeadGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:lead_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"lead_id":{"type":"string","description":"The lead to retrieve","title":"Lead","nullable":true}}}},"required":["type","key","input"]},"StepZohoLeadCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:lead_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"last_name":{"type":"string","description":"Last name of the lead (required)","title":"Last Name","nullable":true},"first_name":{"type":"string","nullable":true},"company":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"mobile":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"website":{"type":"string","nullable":true},"lead_source":{"type":"string","nullable":true},"industry":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"owner_id":{"type":"string","description":"Lead owner (Zoho CRM user)","title":"Owner","nullable":true}}}},"required":["type","key","input"]},"StepZohoLeadUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:lead_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"lead_id":{"type":"string","description":"The lead to update","title":"Lead","nullable":true},"last_name":{"type":"string","nullable":true},"first_name":{"type":"string","nullable":true},"company":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"mobile":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"website":{"type":"string","nullable":true},"lead_source":{"type":"string","nullable":true},"lead_status":{"type":"string","nullable":true},"industry":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"owner_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoLeadDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:lead_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"lead_id":{"type":"string","description":"The lead to delete","title":"Lead","nullable":true}}}},"required":["type","key","input"]},"StepZohoLeadConvertSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:lead_convert"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"lead_id":{"type":"string","description":"The lead to convert","title":"Lead","nullable":true},"create_deal":{"type":"boolean","description":"Create a deal from this lead","title":"Create Deal","nullable":true},"deal_name":{"type":"string","description":"Deal name (required if creating a deal)","title":"Deal Name","nullable":true},"closing_date":{"type":"string","description":"Expected closing date (YYYY-MM-DD)","title":"Closing Date","nullable":true},"pipeline_id":{"type":"string","description":"Pipeline for the created deal","title":"Pipeline","nullable":true},"stage":{"type":"string","description":"Initial deal stage","title":"Stage","nullable":true},"account_id":{"type":"string","description":"Reuse an existing account instead of creating one","title":"Existing Account","nullable":true}}}},"required":["type","key","input"]},"StepZohoContactsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:contacts_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search across all text fields","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepZohoContactGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:contact_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoContactCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:contact_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"last_name":{"type":"string","description":"Last name of the contact (required)","title":"Last Name","nullable":true},"first_name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"mobile":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"department":{"type":"string","nullable":true},"account_id":{"type":"string","description":"Link to an account","title":"Account","nullable":true},"description":{"type":"string","nullable":true},"owner_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoContactUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:contact_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","nullable":true},"last_name":{"type":"string","nullable":true},"first_name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"mobile":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"department":{"type":"string","nullable":true},"account_id":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"owner_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoContactDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:contact_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoContactTagsAddSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:contact_tags_add"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","nullable":true},"tag_ids":{"type":"array","description":"Tags to add","title":"Tags","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepZohoContactTagsRemoveSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:contact_tags_remove"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","nullable":true},"tag_ids":{"type":"array","description":"Tags to remove","title":"Tags","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepZohoAccountsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:accounts_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search across all text fields","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepZohoAccountGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:account_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"account_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoAccountCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:account_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"account_name":{"type":"string","description":"Account name (required)","title":"Account Name","nullable":true},"account_number":{"type":"string","nullable":true},"website":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"industry":{"type":"string","nullable":true},"annual_revenue":{"type":"number","nullable":true},"employees":{"type":"number","nullable":true},"description":{"type":"string","nullable":true},"owner_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoAccountUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:account_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"account_id":{"type":"string","nullable":true},"account_name":{"type":"string","nullable":true},"account_number":{"type":"string","nullable":true},"website":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"industry":{"type":"string","nullable":true},"annual_revenue":{"type":"number","nullable":true},"employees":{"type":"number","nullable":true},"description":{"type":"string","nullable":true},"owner_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoAccountDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:account_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"account_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoDealsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:deals_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search across all text fields","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepZohoDealGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:deal_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"deal_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoDealCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:deal_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"deal_name":{"type":"string","description":"Deal name (required)","title":"Deal Name","nullable":true},"pipeline_id":{"type":"string","description":"Pipeline for this deal (defaults to standard pipeline)","title":"Pipeline","nullable":true},"stage":{"type":"string","description":"Pipeline stage (required)","title":"Stage","nullable":true},"closing_date":{"type":"string","description":"Expected closing date (YYYY-MM-DD, required)","title":"Closing Date","nullable":true},"amount":{"type":"number","nullable":true},"probability":{"type":"number","nullable":true},"account_id":{"type":"string","nullable":true},"contact_id":{"type":"string","nullable":true},"lead_source":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"owner_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoDealUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:deal_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"deal_id":{"type":"string","nullable":true},"deal_name":{"type":"string","nullable":true},"pipeline_id":{"type":"string","description":"Pipeline for this deal","title":"Pipeline","nullable":true},"stage":{"type":"string","nullable":true},"closing_date":{"type":"string","description":"YYYY-MM-DD","title":"Closing Date","nullable":true},"amount":{"type":"number","nullable":true},"probability":{"type":"number","nullable":true},"account_id":{"type":"string","nullable":true},"contact_id":{"type":"string","nullable":true},"lead_source":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"owner_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoDealDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:deal_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"deal_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoCalendarEventsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:calendar_events_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search events by title","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepZohoCalendarEventCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:calendar_event_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"title":{"type":"string","description":"Title of the event (required)","title":"Event Title","nullable":true},"start_datetime":{"description":"Start date and time (ISO 8601)","title":"Start Time"},"end_datetime":{"description":"End date and time (ISO 8601)","title":"End Time"},"all_day":{"type":"boolean","nullable":true},"description":{"type":"string","nullable":true},"venue":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"Link the event to a contact","title":"Contact","nullable":true},"owner_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoCalendarEventUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:calendar_event_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_id":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"start_datetime":{},"end_datetime":{},"all_day":{"type":"boolean","nullable":true},"description":{"type":"string","nullable":true},"venue":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"Link the event to a contact","title":"Contact","nullable":true},"owner_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoCalendarEventDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:calendar_event_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoAttachmentsUploadSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:attachments_upload"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"type":{"type":"string","description":"The type of record to attach the file to","title":"Record Type","nullable":true,"enum":["contact","lead","account","deal"]},"record_id":{"type":"string","description":"The record to attach the file to","title":"Record","nullable":true},"name":{"type":"string","description":"Optional name for the attachment (defaults to file name)","title":"Attachment Name","nullable":true}}}},"required":["type","key","input"]},"StepZohoAttachmentsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:attachments_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"type":{"type":"string","description":"The type of record to list attachments for","title":"Record Type","nullable":true,"enum":["contact","lead","account","deal"]},"record_id":{"type":"string","description":"The record to list attachments for","title":"Record","nullable":true}}}},"required":["type","key","input"]},"StepZohoAttachmentsDownloadSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:attachments_download"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"type":{"type":"string","description":"The type of record the attachment belongs to","title":"Record Type","nullable":true,"enum":["contact","lead","account","deal"]},"record_id":{"type":"string","description":"The record the attachment belongs to","title":"Record","nullable":true},"attachment_id":{"type":"string","description":"The attachment to download","title":"Attachment","nullable":true}}}},"required":["type","key","input"]},"StepZohoAttachmentsDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho:attachments_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"type":{"type":"string","description":"The type of record the attachment belongs to","title":"Record Type","nullable":true,"enum":["contact","lead","account","deal"]},"record_id":{"type":"string","description":"The record the attachment belongs to","title":"Record","nullable":true},"attachment_id":{"type":"string","description":"The attachment to delete","title":"Attachment","nullable":true}}}},"required":["type","key","input"]},"StepZohoBookingsAvailabilityGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_bookings:availability_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"service_id":{"type":"string","description":"Service to check availability for","title":"Service","nullable":true},"staff_id":{"type":"string","description":"Staff member to check availability for","title":"Staff Member","nullable":true},"selected_date":{"description":"Date to fetch available slots for","title":"Date"}}}},"required":["type","key","input"]},"StepZohoBookingsAppointmentsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_bookings:appointments_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"from_time":{"description":"Start of the date range to search","title":"From"},"to_time":{"description":"End of the date range to search","title":"To"},"booking_status":{"type":"string","description":"Filter by appointment status","title":"Status","nullable":true,"enum":["UPCOMING","COMPLETED","CANCEL","NO_SHOW"]}}}},"required":["type","key","input"]},"StepZohoBookingsAppointmentGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_bookings:appointment_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"booking_id":{"type":"string","description":"Appointment to retrieve","title":"Appointment","nullable":true}}}},"required":["type","key","input"]},"StepZohoBookingsAppointmentBookSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_bookings:appointment_book"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"service_id":{"type":"string","description":"Service the appointment is for","title":"Service","nullable":true},"staff_id":{"type":"string","description":"Staff member assigned to the appointment","title":"Staff Member","nullable":true},"from_time":{"description":"Appointment start time","title":"Start Time"},"customer_name":{"type":"string","description":"Full name of the customer","title":"Customer Name","nullable":true},"customer_email":{"type":"string","description":"Email of the customer","title":"Customer Email","nullable":true},"customer_phone":{"type":"string","description":"Phone number of the customer (E.164)","title":"Customer Phone","nullable":true},"notes":{"type":"string","description":"Internal notes about the appointment","title":"Notes","nullable":true}}}},"required":["type","key","input"]},"StepZohoBookingsAppointmentRescheduleSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_bookings:appointment_reschedule"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"booking_id":{"type":"string","description":"Appointment to reschedule","title":"Appointment","nullable":true},"from_time":{"description":"New start time for the appointment","title":"New Start Time"},"staff_id":{"type":"string","description":"Optional: reassign to a different staff member","title":"Staff Member","nullable":true}}}},"required":["type","key","input"]},"StepZohoBookingsAppointmentUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_bookings:appointment_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"booking_id":{"type":"string","description":"Appointment to update","title":"Appointment","nullable":true},"action":{"type":"string","description":"Status transition to apply","title":"Action","nullable":true,"enum":["completed","noshow"]}}}},"required":["type","key","input"]},"StepZohoBookingsAppointmentCancelSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_bookings:appointment_cancel"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"booking_id":{"type":"string","description":"Appointment to cancel","title":"Appointment","nullable":true}}}},"required":["type","key","input"]},"StepZohoBookingsCustomerCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_bookings:customer_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"name":{"type":"string","description":"Full name of the customer","title":"Name","nullable":true},"email":{"type":"string","description":"Email of the customer","title":"Email","nullable":true},"phone_number":{"type":"string","description":"Phone number of the customer (E.164)","title":"Phone Number","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventoryItemsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:items_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search by item name or SKU","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventoryItemGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:item_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"item_id":{"type":"string","description":"Item to retrieve","title":"Item","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventoryItemCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:item_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"name":{"type":"string","description":"Display name of the item","title":"Name","nullable":true},"rate":{"type":"number","description":"Selling price per unit","title":"Rate","nullable":true},"sku":{"type":"string","description":"Stock keeping unit","title":"SKU","nullable":true},"unit":{"type":"string","description":"Unit of measurement","title":"Unit","nullable":true},"description":{"type":"string","description":"Item description","title":"Description","nullable":true},"product_type":{"type":"string","description":"Whether this is a goods or service item","title":"Type","nullable":true,"enum":["goods","service"]}}}},"required":["type","key","input"]},"StepZohoInventoryItemUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:item_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"item_id":{"type":"string","description":"Item to update","title":"Item","nullable":true},"name":{"type":"string","description":"Updated name","title":"Name","nullable":true},"rate":{"type":"number","description":"Updated selling price","title":"Rate","nullable":true},"sku":{"type":"string","description":"Updated SKU","title":"SKU","nullable":true},"description":{"type":"string","description":"Updated description","title":"Description","nullable":true},"status":{"type":"string","description":"Active or inactive","title":"Status","nullable":true,"enum":["active","inactive"]}}}},"required":["type","key","input"]},"StepZohoInventoryItemImageUploadSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:item_image_upload"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"item_id":{"type":"string","description":"Item to add the image to","title":"Item","nullable":true},"is_primary":{"type":"boolean","description":"When true, this becomes the main product image. Otherwise it is added as an additional image.","title":"Set as Main Image","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventoryItemImageDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:item_image_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"item_id":{"type":"string","description":"Item to remove the image from","title":"Item","nullable":true},"document_id":{"type":"string","description":"ID of the image to remove","title":"Image","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventoryContactsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:contacts_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search by contact name, company, or email","title":"Search","nullable":true},"contact_type":{"type":"string","description":"Filter by customer or vendor","title":"Type","nullable":true,"enum":["customer","vendor"]}}}},"required":["type","key","input"]},"StepZohoInventoryContactGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:contact_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"Contact to retrieve","title":"Contact","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventoryContactCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:contact_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_name":{"type":"string","description":"Full name of the contact","title":"Contact Name","nullable":true},"contact_type":{"type":"string","description":"Customer or vendor","title":"Type","nullable":true,"enum":["customer","vendor"]},"company_name":{"type":"string","description":"Company name","title":"Company","nullable":true},"email":{"type":"string","description":"Email address","title":"Email","nullable":true},"phone":{"type":"string","description":"Phone number","title":"Phone","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventoryContactUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:contact_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"Contact to update","title":"Contact","nullable":true},"contact_name":{"type":"string","description":"Updated name","title":"Name","nullable":true},"company_name":{"type":"string","description":"Updated company name","title":"Company","nullable":true},"email":{"type":"string","description":"Updated email","title":"Email","nullable":true},"phone":{"type":"string","description":"Updated phone","title":"Phone","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventorySalesOrdersSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:sales_orders_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search by order number or customer name","title":"Search","nullable":true},"status":{"type":"string","description":"Filter by order status","title":"Status","nullable":true,"enum":["draft","open","confirmed","closed","void"]}}}},"required":["type","key","input"]},"StepZohoInventorySalesOrderGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:sales_order_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"salesorder_id":{"type":"string","description":"Sales order to retrieve","title":"Sales Order","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventorySalesOrderCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:sales_order_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Customer to bill","title":"Customer","nullable":true},"line_items":{"anyOf":[{"type":"string"},{"description":"Items to include in the order"},{"type":"null"}],"description":"Items to include in the order","title":"Line Items"},"date":{"description":"Date of the sales order","title":"Order Date"},"shipment_date":{"description":"Expected shipment date","title":"Shipment Date"},"notes":{"type":"string","description":"Customer-facing notes on the order","title":"Notes","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventorySalesOrderUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:sales_order_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"salesorder_id":{"type":"string","description":"Sales order to update","title":"Sales Order","nullable":true},"shipment_date":{"description":"Updated shipment date","title":"Shipment Date"},"notes":{"type":"string","description":"Updated notes","title":"Notes","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventoryInvoicesSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:invoices_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search by invoice number or customer name","title":"Search","nullable":true},"status":{"type":"string","description":"Filter by invoice status","title":"Status","nullable":true,"enum":["draft","sent","overdue","paid","void"]}}}},"required":["type","key","input"]},"StepZohoInventoryInvoiceGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:invoice_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"invoice_id":{"type":"string","description":"Invoice to retrieve","title":"Invoice","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventoryInvoiceCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:invoice_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Customer to bill","title":"Customer","nullable":true},"line_items":{"anyOf":[{"type":"string"},{"description":"Items to bill on the invoice"},{"type":"null"}],"description":"Items to bill on the invoice","title":"Line Items"},"date":{"description":"Issue date of the invoice","title":"Invoice Date"},"due_date":{"description":"When payment is due","title":"Due Date"},"notes":{"type":"string","description":"Customer-facing notes","title":"Notes","nullable":true}}}},"required":["type","key","input"]},"StepZohoInventoryInvoiceSendSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_inventory:invoice_send"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"invoice_id":{"type":"string","description":"Invoice to send","title":"Invoice","nullable":true},"to_emails":{"type":"string","description":"Comma-separated recipient email addresses","title":"To Emails","nullable":true},"subject":{"type":"string","description":"Email subject","title":"Subject","nullable":true},"body":{"type":"string","description":"Email body","title":"Body","nullable":true}}}},"required":["type","key","input"]},"StepZohoCalendarCalendarsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_calendar:calendars_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepZohoCalendarFreebusyGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_calendar:freebusy_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"emails":{"type":"string","description":"Comma-separated emails to query","title":"Emails","nullable":true},"from_time":{"description":"Start of the time range","title":"From"},"to_time":{"description":"End of the time range","title":"To"}}}},"required":["type","key","input"]},"StepZohoCalendarEventsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_calendar:events_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_uid":{"type":"string","description":"Calendar to search events in","title":"Calendar","nullable":true},"from_date":{"description":"Start of the date range. The range cannot exceed 31 days.","title":"From"},"to_date":{"description":"End of the date range. The range cannot exceed 31 days.","title":"To"},"search":{"type":"string","description":"Search event titles. Requires From and To","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepZohoCalendarEventGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zoho_calendar:event_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_uid":{"type":"string","description":"Calendar containing the event","title":"Calendar","nullable":true},"event_uid":{"type":"string","description":"Event to retrieve","title":"Event","nullable":true}}}},"required":["type","key","input"]},"StepGohighlevelContactsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:contacts_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search by name, email, or phone","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepGohighlevelContactGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:contact_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"Select a contact","title":"Contact","nullable":true}}}},"required":["type","key","input"]},"StepGohighlevelContactCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:contact_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"first_name":{"type":"string","nullable":true},"last_name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"company_name":{"type":"string","nullable":true},"website":{"type":"string","nullable":true},"tags":{"type":"array","description":"Tags to assign","title":"Tags","nullable":true,"items":{"type":"string"}},"address_1":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"postal_code":{"type":"string","nullable":true},"country":{"type":"string","description":"Country (ISO code)","title":"Country","nullable":true},"custom_fields":{"anyOf":[{"type":"string"},{"description":"Custom field values"},{"type":"null"}],"description":"Custom field values","title":"Custom Fields"}}}},"required":["type","key","input"]},"StepGohighlevelContactUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:contact_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"Select a contact to update","title":"Contact","nullable":true},"first_name":{"type":"string","nullable":true},"last_name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"company_name":{"type":"string","nullable":true},"tags":{"type":"array","description":"Tags to assign (replaces existing)","title":"Tags","nullable":true,"items":{"type":"string"}},"custom_fields":{"anyOf":[{"type":"string"},{"description":"Custom field values"},{"type":"null"}],"description":"Custom field values","title":"Custom Fields"}}}},"required":["type","key","input"]},"StepGohighlevelContactDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:contact_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"Select a contact to delete","title":"Contact","nullable":true}}}},"required":["type","key","input"]},"StepGohighlevelContactTagsAddSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:contact_tags_add"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"Select a contact","title":"Contact","nullable":true},"tags":{"type":"array","description":"Tags to add","title":"Tags","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepGohighlevelContactTagsRemoveSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:contact_tags_remove"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"contact_id":{"type":"string","description":"Select a contact","title":"Contact","nullable":true},"tags":{"type":"array","description":"Tags to remove","title":"Tags","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepGohighlevelOpportunitiesSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:opportunities_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"q":{"type":"string","description":"Search by opportunity name, contact email, etc.","title":"Search Query","nullable":true},"contact_id":{"type":"string","description":"Filter by contact","title":"Contact","nullable":true},"pipeline_id":{"type":"string","description":"Filter by pipeline","title":"Pipeline","nullable":true},"pipeline_stage_id":{"type":"string","description":"Filter by pipeline stage","title":"Stage","nullable":true},"status":{"type":"string","description":"Filter by opportunity status","title":"Status","nullable":true,"enum":["all","open","won","lost","abandoned"]},"assigned_to":{"type":"string","description":"Filter by assigned user","title":"Assigned To","nullable":true},"campaignId":{"type":"string","description":"Filter by campaign","title":"Campaign","nullable":true}}}},"required":["type","key","input"]},"StepGohighlevelOpportunityGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:opportunity_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"opportunity_id":{"type":"string","description":"Select an opportunity","title":"Opportunity","nullable":true}}}},"required":["type","key","input"]},"StepGohighlevelOpportunityCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:opportunity_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"name":{"type":"string","description":"Name of the opportunity","title":"Opportunity Name","nullable":true},"contact_id":{"type":"string","description":"Associate with a contact","title":"Contact","nullable":true},"pipeline_id":{"type":"string","description":"Select a pipeline","title":"Pipeline","nullable":true},"pipeline_stage_id":{"type":"string","description":"Select a stage","title":"Stage","nullable":true},"monetary_value":{"type":"number","description":"Value in dollars","title":"Monetary Value","nullable":true},"status":{"type":"string","description":"Opportunity status","title":"Status","nullable":true,"enum":["open","won","lost","abandoned"]}}}},"required":["type","key","input"]},"StepGohighlevelOpportunityUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:opportunity_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"opportunity_id":{"type":"string","description":"Select an opportunity to update","title":"Opportunity","nullable":true},"name":{"type":"string","nullable":true},"pipeline_stage_id":{"type":"string","description":"Move to a different stage","title":"Stage","nullable":true},"pipeline_id":{"type":"string","description":"Pipeline (required if changing stage)","title":"Pipeline","nullable":true},"monetaryValue":{"type":"number","nullable":true},"status":{"type":"string","nullable":true,"enum":["open","won","lost","abandoned"]}}}},"required":["type","key","input"]},"StepGohighlevelOpportunityDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:opportunity_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"opportunity_id":{"type":"string","description":"Select an opportunity to delete","title":"Opportunity","nullable":true}}}},"required":["type","key","input"]},"StepGohighlevelCalendarFreeSlotsSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:calendar_free_slots"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"Select a calendar","title":"Calendar","nullable":true},"start_date":{"description":"Start of the slot search range. Date range cannot be more than 31 days.","title":"Start Date"},"end_date":{"description":"End of the slot search range. Date range cannot be more than 31 days.","title":"End Date"}}}},"required":["type","key","input"]},"StepGohighlevelCalendarBlockedSlotsSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:calendar_blocked_slots"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"Select a calendar","title":"Calendar","nullable":true},"start_time":{"description":"Show blocked slots starting from this date and time","title":"Start Time"},"end_time":{"description":"Show blocked slots ending before this date and time","title":"End Time"}}}},"required":["type","key","input"]},"StepGohighlevelCalendarEventsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:calendar_events_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"Select a calendar","title":"Calendar","nullable":true},"start_time":{"description":"Show events starting from this date and time","title":"Start Time"},"end_time":{"description":"Show events ending before this date and time","title":"End Time"}}}},"required":["type","key","input"]},"StepGohighlevelCalendarEventCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:calendar_event_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"calendar_id":{"type":"string","description":"Select a calendar","title":"Calendar","nullable":true},"contact_id":{"type":"string","description":"Associate with a contact (required)","title":"Contact","nullable":true},"title":{"type":"string","description":"Event title","title":"Title","nullable":true},"start_time":{"description":"Start date and time of the appointment","title":"Start Time"},"end_time":{"description":"End date and time of the appointment","title":"End Time"},"notes":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepGohighlevelCalendarEventUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:calendar_event_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_id":{"type":"string","description":"ID of the event to update","title":"Event ID","nullable":true},"title":{"type":"string","description":"Event title","title":"Title","nullable":true},"start_time":{"description":"Start date and time of the appointment","title":"Start Time"},"end_time":{"description":"End date and time of the appointment","title":"End Time"},"appointment_status":{"type":"string","description":"Appointment lifecycle status","title":"Status","nullable":true,"enum":["new","confirmed","cancelled","showed","noshow","invalid","completed","active"]},"assigned_user_id":{"type":"string","description":"Reassign the appointment to a different user","title":"Assigned User","nullable":true},"address":{"type":"string","description":"Appointment address or meeting link","title":"Address","nullable":true},"notes":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepGohighlevelCalendarEventDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gohighlevel:calendar_event_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_id":{"type":"string","description":"ID of the event to delete","title":"Event ID","nullable":true}}}},"required":["type","key","input"]},"StepCalSlotsGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["cal:slots_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_type_id":{"type":"string","description":"Event type to check availability for","title":"Event Type","nullable":true},"start":{"description":"Start date for availability check","title":"Start Date"},"end":{"description":"End date for availability check","title":"End Date"}}}},"required":["type","key","input"]},"StepCalBookingsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["cal:bookings_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"status":{"type":"string","description":"Filter bookings by status","title":"Status","nullable":true,"enum":["upcoming","unconfirmed","cancelled","past","recurring"]},"event_type_id":{"type":"string","description":"Filter by event type","title":"Event Type","nullable":true},"from_date":{"description":"Filter bookings starting from this date","title":"From Date"},"to_date":{"description":"Filter bookings until this date","title":"To Date"}}}},"required":["type","key","input"]},"StepCalBookingGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["cal:booking_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"booking_id":{"type":"string","description":"Booking to retrieve","title":"Booking","nullable":true}}}},"required":["type","key","input"]},"StepCalBookingCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["cal:booking_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_type_id":{"type":"string","description":"Event type to book","title":"Event Type","nullable":true},"start_time":{"description":"Start date and time of the booking","title":"Start Time"},"attendee_name":{"type":"string","description":"Name of the attendee","title":"Attendee Name","nullable":true},"attendee_email":{"type":"string","description":"Email of the attendee","title":"Attendee Email","nullable":true},"attendee_phone_number":{"type":"string","description":"Phone number of the attendee in international format (E.164)","title":"Attendee Phone Number","nullable":true},"title":{"type":"string","description":"Custom title for the booking. Requires the \"What is this meeting about?\" booking field to be enabled on the event type.","title":"Meeting Title","nullable":true},"notes":{"type":"string","description":"Additional notes or comments for the booking","title":"Notes","nullable":true},"guests":{"type":"string","description":"Comma-separated email addresses of additional guests to invite","title":"Guests","nullable":true}}}},"required":["type","key","input"]},"StepCalBookingUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["cal:booking_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"booking_id":{"type":"string","description":"Booking to update","title":"Booking","nullable":true},"start_time":{"description":"New start date and time for the rescheduled booking","title":"New Start Time"},"reschedule_reason":{"type":"string","description":"Reason for rescheduling","title":"Reschedule Reason","nullable":true}}}},"required":["type","key","input"]},"StepCalBookingCancelSchema":{"type":"object","properties":{"type":{"type":"string","enum":["cal:booking_cancel"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"booking_id":{"type":"string","description":"Booking to cancel (uid)","title":"Booking","nullable":true},"cancellation_reason":{"type":"string","description":"Reason for cancellation","title":"Cancellation Reason","nullable":true}}}},"required":["type","key","input"]},"StepCalendlyAvailableTimesGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["calendly:available_times_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_type":{"type":"string","description":"The event type to check availability for","title":"Event Type","nullable":true},"start_time":{"description":"Start of the available time range. Must be in the future.","title":"Start Time"},"end_time":{"description":"End of the available time range. Cannot be more than 6 days after the start time.","title":"End Time"}}}},"required":["type","key","input"]},"StepCalendlyEventsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["calendly:events_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"user":{"type":"string","description":"Filter events by user (optional)","title":"User","nullable":true},"status":{"type":"string","description":"Filter events by status","title":"Status","nullable":true,"enum":["active","canceled"]},"min_start_time":{"description":"Show events starting after this date and time","title":"Start After"},"max_start_time":{"description":"Show events starting before this date and time","title":"Start Before"}}}},"required":["type","key","input"]},"StepCalendlyEventGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["calendly:event_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_id":{"type":"string","description":"Event to retrieve","title":"Event","nullable":true}}}},"required":["type","key","input"]},"StepCalendlyEventCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["calendly:event_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_type":{"type":"string","description":"The event type to schedule. Select from the dropdown or provide the full URI.","title":"Event Type","nullable":true},"start_time":{"description":"Start date and time of the event","title":"Start Time"},"name":{"type":"string","description":"Invitee full name","title":"Invitee Name","nullable":true},"email":{"type":"string","description":"Invitee email address","title":"Invitee Email","nullable":true},"text_reminder_number":{"type":"string","description":"Phone number for SMS reminders (E.164 format)","title":"SMS Reminder Number","nullable":true},"guests":{"type":"string","description":"Comma-separated email addresses of additional guests to invite (max 10)","title":"Guests","nullable":true}}}},"required":["type","key","input"]},"StepCalendlyEventCancelSchema":{"type":"object","properties":{"type":{"type":"string","enum":["calendly:event_cancel"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_id":{"type":"string","description":"The event to cancel. Select from the dropdown or provide the full URI.","title":"Event","nullable":true},"reason":{"type":"string","description":"Reason for canceling the event","title":"Cancellation Reason","nullable":true}}}},"required":["type","key","input"]},"StepCalendlySchedulingLinkCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["calendly:scheduling_link_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"owner":{"type":"string","description":"The event type for this scheduling link. Use the dropdown to select an event type or provide the full URI.","title":"Event Type","nullable":true},"max_event_count":{"type":"number","description":"Maximum number of events that can be scheduled using this link","title":"Max Event Count","nullable":true}}}},"required":["type","key","input"]},"StepSlackOnMentionSchema":{"type":"object","properties":{"type":{"type":"string","enum":["slack:on_mention"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"channel":{"type":"string","description":"Filter mentions by channel","title":"Channel","nullable":true}}}},"required":["type","key","input"]},"StepSlackOnChannelNewMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["slack:on_channel_new_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"channel":{"type":"string","description":"The channel to watch for new messages","title":"Channel","nullable":true},"message_source":{"type":"string","nullable":true,"enum":["all","users","bots"]}}}},"required":["type","key","input"]},"StepSlackSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["slack:search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search query to find messages and files","title":"Search","nullable":true},"sort_field":{"type":"string","description":"Field to sort results by","title":"Sort Field","nullable":true,"enum":["score","timestamp"]},"sort_direction":{"type":"string","description":"Direction to sort results","title":"Sort Direction","nullable":true,"enum":["desc","asc"]}}}},"required":["type","key","input"]},"StepSlackChannelsMessagesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["slack:channels_messages_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"channel":{"type":"string","description":"Channel ID to list messages from","title":"Channel","nullable":true}}}},"required":["type","key","input"]},"StepSlackChannelsSendMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["slack:channels_send_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"channel":{"type":"string","description":"Channel name or ID where the message will be sent, make sure the bot is a member of private channels.","title":"Channel","nullable":true},"message":{"type":"string","nullable":true},"username":{"type":"string","description":"Override the bot username for this message","title":"Bot Name","nullable":true},"avatar":{"type":"string","description":"Avatar for this message. Use emoji (:robot_face:) or image URL (https://...)","title":"Avatar","nullable":true}}}},"required":["type","key","input"]},"StepSlackChannelsReplyMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["slack:channels_reply_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"channel":{"type":"string","description":"Channel ID where the thread is located","title":"Channel","nullable":true},"message":{"type":"string","description":"Text of the message to send in the thread","title":"Message","nullable":true},"thread_ts":{"type":"string","description":"Timestamp of the parent message to reply to (e.g., 1744483861.471079)","title":"Thread Timestamp","nullable":true},"username":{"type":"string","description":"Override the bot username for this message","title":"Bot Name","nullable":true},"avatar":{"type":"string","description":"Avatar for this message. Use emoji (:robot_face:) or image URL (https://...)","title":"Avatar","nullable":true},"buttons":{"anyOf":[{"type":"string"},{"description":"Buttons message with options"},{"type":"null"}],"description":"Buttons message with options","title":"Buttons"}}}},"required":["type","key","input"]},"StepTelegramOnNewMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["telegram:on_new_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepTelegramSendMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["telegram:send_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"chat_id":{"type":"string","description":"The chat ID, username, or channel to send the message to","title":"Chat ID","nullable":true},"text":{"type":"string","description":"The text content of the message","title":"Message","nullable":true},"parse_mode":{"type":"string","description":"Format of the message text","title":"Parse Mode","nullable":true,"enum":["HTML","MarkdownV2"]},"buttons":{"anyOf":[{"type":"string"},{"description":"Buttons message with options"},{"type":"null"}],"description":"Buttons message with options","title":"Buttons"},"locations":{"anyOf":[{"type":"string"},{"description":"Send a location to the chat."},{"type":"null"}],"description":"Send a location to the chat.","title":"Location"},"request_location":{"type":"boolean","description":"Whether to request the location from the user.","title":"Request Location","nullable":true},"disable_notification":{"type":"boolean","description":"Sends the message silently without notification sound","title":"Disable Notification","nullable":true}}}},"required":["type","key","input"]},"StepInstagramOnNewMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["instagram:on_new_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepInstagramSendMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["instagram:send_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"recipient_id":{"type":"string","description":"Instagram User ID to send message to","title":"Recipient ID","nullable":true},"message":{"type":"string","description":"Message text to send","title":"Message","nullable":true},"options_title":{"type":"string","description":"Plain title displayed alongside options (button template text). Markdown is not supported. Max 640 chars.","title":"Options Title","nullable":true},"buttons":{"anyOf":[{"type":"string"},{"description":"Quick reply buttons with options (max 13)"},{"type":"null"}],"description":"Quick reply buttons with options (max 13)","title":"Buttons"}}}},"required":["type","key","input"]},"StepMessengerOnNewMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["messenger:on_new_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"page_id":{"type":"string","description":"Select the Facebook Messenger page to listen to","title":"Page","nullable":true}}}},"required":["type","key","input"]},"StepMessengerSendMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["messenger:send_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"page_id":{"type":"string","description":"Select the Facebook Messenger page to send from","title":"Page","nullable":true},"to":{"type":"string","description":"The recipient User ID (Page Scoped ID)","title":"Recipient ID","nullable":true},"text":{"type":"string","description":"Message text to send","title":"Message","nullable":true},"options_title":{"type":"string","description":"Plain title displayed alongside options (button template text). Markdown is not supported. Max 640 chars.","title":"Options Title","nullable":true},"buttons":{"anyOf":[{"type":"string"},{"description":"Quick reply buttons with options (max 13)"},{"type":"null"}],"description":"Quick reply buttons with options (max 13)","title":"Buttons"}}}},"required":["type","key","input"]},"StepTiktokOnNewMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tiktok:on_new_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepTiktokSendMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tiktok:send_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"to":{"type":"string","description":"The TikTok conversation ID to send to","title":"Conversation ID","nullable":true},"text":{"type":"string","description":"Message text to send","title":"Message","nullable":true}}}},"required":["type","key","input"]},"StepWhatsappOnNewMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["whatsapp:on_new_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"phone_number_id":{"type":"string","description":"Select the WhatsApp Business phone number to send from","title":"WhatsApp Phone Number","nullable":true}}}},"required":["type","key","input"]},"StepWhatsappOnMessageStatusChangeSchema":{"type":"object","properties":{"type":{"type":"string","enum":["whatsapp:on_message_status_change"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"phone_number_id":{"type":"string","description":"Select the WhatsApp Business phone number to monitor","title":"WhatsApp Phone Number","nullable":true}}}},"required":["type","key","input"]},"StepWhatsappSendMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["whatsapp:send_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"phone_number_id":{"type":"string","description":"Select the WhatsApp Business phone number to send from","title":"WhatsApp Phone Number","nullable":true},"to":{"type":"string","description":"The recipient WhatsApp phone number (with country code)","title":"To Number","nullable":true},"text":{"type":"string","description":"Message text to send","title":"Message","nullable":true},"buttons":{"anyOf":[{"type":"string"},{"description":"Buttons message with options, 3 buttons max"},{"type":"null"}],"description":"Buttons message with options, 3 buttons max","title":"Buttons"},"options_title":{"type":"string","description":"The title of the options list. Max 24 characters.","title":"Options Title","nullable":true},"list":{"anyOf":[{"type":"string"},{"description":"List message with options, 10 options max"},{"type":"null"}],"description":"List message with options, 10 options max","title":"List"},"locations":{"anyOf":[{"type":"string"},{"description":"Send a location(s) to the chat."},{"type":"null"}],"description":"Send a location(s) to the chat.","title":"Location"},"request_location":{"type":"boolean","description":"Whether to request the location from the user.","title":"Request Location","nullable":true}}}},"required":["type","key","input"]},"StepWhatsappSendMessageTemplateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["whatsapp:send_message_template"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"phone_number_id":{"type":"string","description":"Select the WhatsApp Business phone number to send from","title":"WhatsApp Phone Number","nullable":true},"to":{"type":"string","description":"The recipient WhatsApp phone number (with country code)","title":"To Number","nullable":true},"template_id":{"type":"string","description":"Select a message template to send","title":"Template","nullable":true},"template_variables":{"anyOf":[{"type":"string"},{"description":"Fill in the dynamic variables for this template. Fields will appear based on the selected template."},{"type":"null"}],"description":"Fill in the dynamic variables for this template. Fields will appear based on the selected template.","title":"Template Variables"}}}},"required":["type","key","input"]},"StepGmailOnNewEmailSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gmail:on_new_email"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"from":{"type":"string","description":"Filter emails by sender address (leave empty to receive all)","title":"From Email","nullable":true},"subject_contains":{"type":"string","description":"Filter emails where subject contains this text","title":"Subject Contains","nullable":true},"labels":{"type":"array","description":"Filter emails by labels (optional - leave empty for all)","title":"Labels","nullable":true,"items":{"type":"string"}},"download_attachments":{"type":"boolean","description":"Automatically download attachments from received emails","title":"Download Attachments","nullable":true}}}},"required":["type","key","input"]},"StepGmailSendEmailSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gmail:send_email"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"from":{"type":"string","description":"The email address to send from","title":"From Email","nullable":true},"to":{"type":"string","description":"Recipient email address","title":"To Email","nullable":true},"subject":{"type":"string","description":"Email subject line","title":"Subject","nullable":true},"body":{"type":"string","description":"Email body content","title":"Body","nullable":true},"cc":{"type":"string","description":"Carbon copy recipients (comma-separated)","title":"CC","nullable":true},"bcc":{"type":"string","description":"Blind carbon copy recipients (comma-separated)","title":"BCC","nullable":true}}}},"required":["type","key","input"]},"StepGmailReplyEmailSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gmail:reply_email"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"thread_id":{"type":"string","description":"The ID of the email thread to reply to","title":"Thread ID","nullable":true},"from":{"type":"string","description":"Email address to send from (formatted as \"Name <email>\")","title":"From Email","nullable":true},"body":{"type":"string","description":"Your reply message","title":"Reply Body","nullable":true}}}},"required":["type","key","input"]},"StepGmailLabelsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["gmail:labels_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepJapifonOnNewMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["japifon:on_new_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"StepJapifonMessageSendSchema":{"type":"object","properties":{"type":{"type":"string","enum":["japifon:message_send"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"to":{"type":"string","description":"Phone number in E.164 format (e.g., +524792298125)","title":"To (Phone Number)","nullable":true},"from":{"type":"string","description":"Sender ID, phone number, or short code (optional)","title":"From (Sender ID)","nullable":true},"message":{"type":"string","description":"SMS content (up to 800 chars GSM/LATIN1, 350 chars UCS2)","title":"Message","nullable":true},"flash":{"type":"boolean","description":"Send as Flash SMS (displays immediately on screen)","title":"Flash SMS","nullable":true}}}},"required":["type","key","input"]},"StepTwilioOnNewMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["twilio:on_new_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"from":{"type":"string","description":"Select the phone number to receive messages on","title":"From (Phone Number)","nullable":true}}}},"required":["type","key","input"]},"StepTwilioSendMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["twilio:send_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"from":{"type":"string","description":"Select the phone number to send messages from","title":"From (Phone Number)","nullable":true},"to":{"type":"string","description":"Phone number in E.164 format (e.g., +1234567890)","title":"To (Phone Number)","nullable":true},"message":{"type":"string","description":"SMS content","title":"Message","nullable":true}}}},"required":["type","key","input"]},"StepTelnyxOnNewMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["telnyx:on_new_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"from":{"type":"string","description":"Select the phone number to receive messages on","title":"From (Phone Number)","nullable":true}}}},"required":["type","key","input"]},"StepTelnyxSendMessageSchema":{"type":"object","properties":{"type":{"type":"string","enum":["telnyx:send_message"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"from":{"type":"string","description":"Select the phone number to send messages from","title":"From (Phone Number)","nullable":true},"to":{"type":"string","description":"Phone number in E.164 format (e.g., +1234567890)","title":"To (Phone Number)","nullable":true},"message":{"type":"string","description":"SMS content","title":"Message","nullable":true}}}},"required":["type","key","input"]},"StepResendOnNewEmailSchema":{"type":"object","properties":{"type":{"type":"string","enum":["resend:on_new_email"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"from_email":{"type":"string","description":"Your Resend email address that receives emails","title":"From Email","nullable":true},"subject_contains":{"type":"string","description":"Filter by subject text","title":"Subject Contains","nullable":true}}}},"required":["type","key","input"]},"StepResendSendEmailSchema":{"type":"object","properties":{"type":{"type":"string","enum":["resend:send_email"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"from":{"type":"string","description":"The email address to send from","title":"From Email","nullable":true},"to":{"type":"string","description":"The email address(es) to send to (comma-separated for multiple)","title":"To Email","nullable":true},"subject":{"type":"string","description":"The email subject line","title":"Subject","nullable":true},"html":{"type":"string","description":"The HTML content of the email","title":"HTML Body","nullable":true},"text":{"type":"string","description":"The plain text content of the email","title":"Text Body","nullable":true},"cc":{"type":"string","description":"Carbon copy recipients (comma-separated)","title":"CC","nullable":true},"bcc":{"type":"string","description":"Blind carbon copy recipients (comma-separated)","title":"BCC","nullable":true},"reply_to":{"type":"string","description":"Reply-to email address","title":"Reply To","nullable":true}}}},"required":["type","key","input"]},"StepStripeCustomersSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:customers_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search for customers by name, email, or other fields","title":"Search Query","nullable":true}}}},"required":["type","key","input"]},"StepStripeCustomerGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:customer_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Select a customer","title":"Customer","nullable":true}}}},"required":["type","key","input"]},"StepStripeCustomerCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:customer_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"email":{"type":"string","description":"Customer email address","title":"Email","nullable":true},"name":{"type":"string","description":"Customer full name","title":"Name","nullable":true},"phone":{"type":"string","description":"Customer phone number","title":"Phone","nullable":true}}}},"required":["type","key","input"]},"StepStripeCustomerUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:customer_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Select a customer","title":"Customer","nullable":true},"email":{"type":"string","description":"New email address","title":"Email","nullable":true},"name":{"type":"string","description":"New full name","title":"Name","nullable":true},"phone":{"type":"string","description":"New phone number","title":"Phone","nullable":true}}}},"required":["type","key","input"]},"StepStripeCheckoutSessionCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:checkout_session_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"mode":{"type":"string","description":"Type of checkout","title":"Mode","nullable":true,"enum":["subscription","payment"]},"price_id":{"type":"string","description":"Select a price to charge","title":"Price","nullable":true},"success_url":{"type":"string","description":"URL to redirect after payment","title":"Success URL","nullable":true},"cancel_url":{"type":"string","description":"URL to redirect if cancelled","title":"Cancel URL","nullable":true},"customer_id":{"type":"string","description":"Select a customer","title":"Customer","nullable":true}}}},"required":["type","key","input"]},"StepStripeBillingPortalSessionCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:billing_portal_session_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Select a customer","title":"Customer","nullable":true},"return_url":{"type":"string","description":"URL to redirect after managing billing","title":"Return URL","nullable":true}}}},"required":["type","key","input"]},"StepStripeCurrenciesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:currencies_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"currency":{"type":"string","description":"Select a currency","title":"Currency","nullable":true}}}},"required":["type","key","input"]},"StepStripePricesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:prices_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"price_id":{"type":"string","description":"Select a price","title":"Price","nullable":true}}}},"required":["type","key","input"]},"StepStripePaymentLinkCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:payment_link_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"price_id":{"type":"string","description":"Select a price","title":"Price","nullable":true}}}},"required":["type","key","input"]},"StepStripePaymentLinkGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:payment_link_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"payment_link_id":{"type":"string","description":"The ID of the payment link to retrieve","title":"Payment Link ID","nullable":true}}}},"required":["type","key","input"]},"StepStripePaymentGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:payment_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"payment_id":{"type":"string","description":"Stripe payment intent ID","title":"Payment ID","nullable":true}}}},"required":["type","key","input"]},"StepStripePaymentRefundSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:payment_refund"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"payment_id":{"type":"string","description":"Stripe payment intent ID to refund","title":"Payment ID","nullable":true},"amount":{"type":"number","description":"Amount to refund in dollars (leave empty for full refund)","title":"Refund Amount","nullable":true},"reason":{"type":"string","description":"Reason for the refund","title":"Refund Reason","nullable":true,"enum":["duplicate","fraudulent","requested_by_customer"]}}}},"required":["type","key","input"]},"StepStripePaymentsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:payments_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Filter by customer","title":"Customer","nullable":true}}}},"required":["type","key","input"]},"StepStripeSubscriptionCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:subscription_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Select a customer","title":"Customer","nullable":true},"price_id":{"type":"string","description":"Select a price for the subscription","title":"Price","nullable":true}}}},"required":["type","key","input"]},"StepStripeSubscriptionGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:subscription_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"subscription_id":{"type":"string","description":"Stripe subscription ID","title":"Subscription ID","nullable":true}}}},"required":["type","key","input"]},"StepStripeSubscriptionUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:subscription_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"subscription_id":{"type":"string","description":"Stripe subscription ID","title":"Subscription ID","nullable":true},"price_id":{"type":"string","description":"Select a new price for the subscription","title":"New Price","nullable":true}}}},"required":["type","key","input"]},"StepStripeSubscriptionCancelSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:subscription_cancel"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"subscription_id":{"type":"string","description":"Stripe subscription ID to cancel","title":"Subscription ID","nullable":true}}}},"required":["type","key","input"]},"StepStripeSubscriptionsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:subscriptions_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Select a customer","title":"Customer","nullable":true}}}},"required":["type","key","input"]},"StepStripeInvoiceCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:invoice_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Select a customer","title":"Customer","nullable":true},"amount":{"type":"number","description":"Invoice amount in dollars","title":"Amount","nullable":true},"currency":{"type":"string","description":"Select a currency","title":"Currency","nullable":true},"description":{"type":"string","description":"Invoice description","title":"Description","nullable":true}}}},"required":["type","key","input"]},"StepStripeInvoiceGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:invoice_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"invoice_id":{"type":"string","description":"Stripe invoice ID","title":"Invoice ID","nullable":true}}}},"required":["type","key","input"]},"StepStripeInvoiceSendSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:invoice_send"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"invoice_id":{"type":"string","description":"Stripe invoice ID to send","title":"Invoice ID","nullable":true}}}},"required":["type","key","input"]},"StepStripeInvoicesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["stripe:invoices_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Filter by customer","title":"Customer","nullable":true}}}},"required":["type","key","input"]},"StepShopifyProductsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["shopify:products_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"query":{"type":"string","description":"Search products by title, vendor, type, or tag","title":"Search Query","nullable":true},"status":{"type":"string","description":"Filter products by status","title":"Status","nullable":true,"enum":["active","archived","draft"]}}}},"required":["type","key","input"]},"StepShopifyProductGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["shopify:product_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"product_id":{"type":"string","description":"Select a product","title":"Product","nullable":true}}}},"required":["type","key","input"]},"StepShopifyProductVariantsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["shopify:product_variants_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search variants by title, SKU, or product name","title":"Search","nullable":true},"limit":{"type":"number","description":"Number of results to return","title":"Limit","nullable":true}}}},"required":["type","key","input"]},"StepShopifyOrdersSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["shopify:orders_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"status":{"type":"string","description":"Filter orders by status","title":"Status","nullable":true,"enum":["any","open","closed","cancelled"]},"financial_status":{"type":"string","description":"Filter orders by financial status","title":"Financial Status","nullable":true,"enum":["any","authorized","pending","paid","partially_paid","refunded","voided","partially_refunded"]},"created_at_min":{"description":"Show orders created after this date and time","title":"Created After"},"created_at_max":{"description":"Show orders created before this date and time","title":"Created Before"}}}},"required":["type","key","input"]},"StepShopifyOrderGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["shopify:order_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"order_id":{"type":"string","description":"Select an order","title":"Order","nullable":true}}}},"required":["type","key","input"]},"StepShopifyOrderCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["shopify:order_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Select a customer for this order","title":"Customer","nullable":true},"product_variant_id":{"type":"string","description":"Select a product variant","title":"Product","nullable":true},"quantity":{"type":"number","description":"Number of items","title":"Quantity","nullable":true},"note":{"type":"string","description":"Optional note for the order","title":"Order Note","nullable":true}}}},"required":["type","key","input"]},"StepShopifyOrderUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["shopify:order_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"order_id":{"type":"string","description":"Select an order","title":"Order","nullable":true},"note":{"type":"string","description":"Add or update note on the order","title":"Note","nullable":true},"tags":{"type":"string","description":"Comma-separated list of tags","title":"Tags","nullable":true},"email":{"type":"string","description":"Update customer email","title":"Email","nullable":true}}}},"required":["type","key","input"]},"StepShopifyCustomersSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["shopify:customers_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"query":{"type":"string","description":"Search customers by email, name, or phone","title":"Search Query","nullable":true}}}},"required":["type","key","input"]},"StepShopifyCustomerGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["shopify:customer_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Select a customer","title":"Customer","nullable":true}}}},"required":["type","key","input"]},"StepShopifyCustomerCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["shopify:customer_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"email":{"type":"string","description":"Customer email address","title":"Email","nullable":true},"first_name":{"type":"string","description":"Customer first name","title":"First Name","nullable":true},"last_name":{"type":"string","description":"Customer last name","title":"Last Name","nullable":true},"phone":{"type":"string","description":"Customer phone number","title":"Phone","nullable":true},"tags":{"type":"string","description":"Comma-separated list of tags","title":"Tags","nullable":true},"note":{"type":"string","description":"Note about the customer","title":"Note","nullable":true}}}},"required":["type","key","input"]},"StepShopifyCustomerUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["shopify:customer_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Select a customer","title":"Customer","nullable":true},"email":{"type":"string","description":"Customer email address","title":"Email","nullable":true},"first_name":{"type":"string","description":"Customer first name","title":"First Name","nullable":true},"last_name":{"type":"string","description":"Customer last name","title":"Last Name","nullable":true},"phone":{"type":"string","description":"Customer phone number","title":"Phone","nullable":true},"tags":{"type":"string","description":"Comma-separated list of tags","title":"Tags","nullable":true},"note":{"type":"string","description":"Note about the customer","title":"Note","nullable":true}}}},"required":["type","key","input"]},"StepShopifyInventoryLevelsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["shopify:inventory_levels_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"inventory_item_ids":{"type":"string","description":"Comma-separated list of inventory item IDs","title":"Inventory Item IDs","nullable":true},"location_ids":{"type":"string","description":"Comma-separated list of location IDs","title":"Location IDs","nullable":true}}}},"required":["type","key","input"]},"StepZendeskTicketSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zendesk:ticket_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"query":{"type":"string","description":"Search query using Zendesk search syntax","title":"Search Query","nullable":true},"status":{"type":"string","description":"Filter tickets by status","title":"Status Filter","nullable":true,"enum":["new","open","pending","hold","solved","closed"]},"priority":{"type":"string","description":"Filter tickets by priority","title":"Priority Filter","nullable":true,"enum":["low","normal","high","urgent"]}}}},"required":["type","key","input"]},"StepZendeskTicketGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zendesk:ticket_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"ticket_id":{"type":"string","description":"Select the ticket to retrieve","title":"Ticket","nullable":true}}}},"required":["type","key","input"]},"StepZendeskTicketCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zendesk:ticket_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"subject":{"type":"string","description":"The ticket subject line","title":"Subject","nullable":true},"description":{"type":"string","description":"The initial comment/description of the ticket","title":"Description","nullable":true},"priority":{"type":"string","description":"Ticket priority level","title":"Priority","nullable":true,"enum":["low","normal","high","urgent"]},"type":{"type":"string","description":"Ticket type","title":"Type","nullable":true,"enum":["problem","incident","question","task"]},"requester_email":{"type":"string","description":"Email address of the person requesting help (creates user if new)","title":"Requester Email","nullable":true},"tags":{"type":"array","description":"Tags to add to the ticket (comma-separated)","title":"Tags","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepZendeskTicketUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zendesk:ticket_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"ticket_id":{"type":"string","description":"Select the ticket to update","title":"Ticket","nullable":true},"status":{"type":"string","description":"Update ticket status","title":"Status","nullable":true,"enum":["new","open","pending","hold","solved","closed"]},"priority":{"type":"string","description":"Update ticket priority","title":"Priority","nullable":true,"enum":["low","normal","high","urgent"]},"comment":{"type":"string","description":"Add a public comment to the ticket","title":"Public Comment","nullable":true},"internal_note":{"type":"string","description":"Add an internal note (only visible to agents)","title":"Internal Note","nullable":true}}}},"required":["type","key","input"]},"StepZendeskTicketReplySchema":{"type":"object","properties":{"type":{"type":"string","enum":["zendesk:ticket_reply"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"ticket_id":{"type":"string","description":"The ticket to reply to","title":"Ticket","nullable":true},"message":{"type":"string","description":"Your reply to the customer","title":"Reply Message","nullable":true}}}},"required":["type","key","input"]},"StepZendeskTicketAddNoteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zendesk:ticket_add_note"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"ticket_id":{"type":"string","description":"The ticket to add a note to","title":"Ticket","nullable":true},"note":{"type":"string","description":"Private note for your team (customer will not see this)","title":"Internal Note","nullable":true}}}},"required":["type","key","input"]},"StepZendeskTicketCommentsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zendesk:ticket_comments_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"ticket_id":{"type":"string","description":"Select the ticket to get comments for","title":"Ticket","nullable":true}}}},"required":["type","key","input"]},"StepZendeskTicketsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["zendesk:tickets_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"status":{"type":"string","description":"Filter tickets by status","title":"Status Filter","nullable":true,"enum":["new","open","pending","hold","solved","closed"]}}}},"required":["type","key","input"]},"StepOdooLeadsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:leads_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search leads by name, email, phone, or company","title":"Search","nullable":true},"stage_id":{"type":"string","description":"Filter by pipeline stage","title":"Stage","nullable":true},"tag_ids":{"type":"array","description":"Filter by tags (matches leads having any of these tags)","title":"Tags","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepOdooLeadGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:lead_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"lead_id":{"type":"string","description":"The lead to retrieve","title":"Lead","nullable":true}}}},"required":["type","key","input"]},"StepOdooLeadCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:lead_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"name":{"type":"string","description":"Name or title of the lead (required)","title":"Lead Name","nullable":true},"contact_name":{"type":"string","description":"Name of the contact person","title":"Contact Name","nullable":true},"email_from":{"type":"string","description":"Email address","title":"Email","nullable":true},"phone":{"type":"string","description":"Phone number","title":"Phone","nullable":true},"partner_name":{"type":"string","description":"Company name","title":"Company","nullable":true},"website":{"type":"string","description":"Website URL","title":"Website","nullable":true},"street":{"type":"string","description":"Street address","title":"Street Address","nullable":true},"city":{"type":"string","description":"City","title":"City","nullable":true},"description":{"type":"string","description":"Additional notes or description","title":"Description","nullable":true},"stage_id":{"type":"string","description":"Initial pipeline stage","title":"Stage","nullable":true},"tag_ids":{"type":"array","description":"Tags to assign to the lead","title":"Tags","nullable":true,"items":{"type":"string"}},"partner_id":{"type":"string","description":"Link to an existing contact/partner","title":"Contact","nullable":true},"probability":{"type":"number","description":"Probability of winning (0-100)","title":"Probability (%)","nullable":true},"priority":{"type":"string","description":"Lead priority","title":"Priority","nullable":true,"enum":["0","1","2","3"]}}}},"required":["type","key","input"]},"StepOdooLeadUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:lead_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"lead_id":{"type":"string","description":"The lead to update","title":"Lead","nullable":true},"name":{"type":"string","description":"Name or title of the lead","title":"Lead Name","nullable":true},"contact_name":{"type":"string","description":"Name of the contact person","title":"Contact Name","nullable":true},"email_from":{"type":"string","description":"Email address","title":"Email","nullable":true},"phone":{"type":"string","description":"Phone number","title":"Phone","nullable":true},"partner_name":{"type":"string","description":"Company name","title":"Company","nullable":true},"website":{"type":"string","description":"Website URL","title":"Website","nullable":true},"street":{"type":"string","description":"Street address","title":"Street Address","nullable":true},"city":{"type":"string","description":"City","title":"City","nullable":true},"description":{"type":"string","description":"Additional notes or description","title":"Description","nullable":true},"stage_id":{"type":"string","description":"Pipeline stage","title":"Stage","nullable":true},"tag_ids":{"type":"array","description":"Tags to assign (replaces existing tags)","title":"Tags","nullable":true,"items":{"type":"string"}},"partner_id":{"type":"string","description":"Link to an existing contact/partner","title":"Contact","nullable":true},"probability":{"type":"number","description":"Probability of winning (0-100)","title":"Probability (%)","nullable":true},"priority":{"type":"string","description":"Lead priority","title":"Priority","nullable":true,"enum":["0","1","2","3"]}}}},"required":["type","key","input"]},"StepOdooLeadDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:lead_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"lead_id":{"type":"string","description":"The lead to delete","title":"Lead","nullable":true}}}},"required":["type","key","input"]},"StepOdooLeadConvertSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:lead_convert"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"lead_id":{"type":"string","description":"The lead to convert","title":"Lead","nullable":true}}}},"required":["type","key","input"]},"StepOdooOpportunitiesSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:opportunities_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search opportunities by name, email, or company","title":"Search","nullable":true},"stage_id":{"type":"string","description":"Filter by pipeline stage","title":"Stage","nullable":true},"tag_ids":{"type":"array","description":"Filter by tags (matches opportunities having any of these tags)","title":"Tags","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepOdooOpportunityGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:opportunity_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"opportunity_id":{"type":"string","description":"The opportunity to retrieve","title":"Opportunity","nullable":true}}}},"required":["type","key","input"]},"StepOdooOpportunityCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:opportunity_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"name":{"type":"string","description":"Name of the opportunity (required)","title":"Opportunity Name","nullable":true},"contact_name":{"type":"string","description":"Name of the contact person","title":"Contact Name","nullable":true},"email_from":{"type":"string","description":"Email address","title":"Email","nullable":true},"phone":{"type":"string","description":"Phone number","title":"Phone","nullable":true},"partner_name":{"type":"string","description":"Company name","title":"Company","nullable":true},"expected_revenue":{"type":"number","description":"Expected revenue amount","title":"Expected Revenue","nullable":true},"probability":{"type":"number","description":"Probability of closing (0-100)","title":"Probability (%)","nullable":true},"date_deadline":{"description":"Expected closing date","title":"Expected Closing Date"},"stage_id":{"type":"string","description":"Pipeline stage","title":"Stage","nullable":true},"tag_ids":{"type":"array","description":"Tags to assign to the opportunity","title":"Tags","nullable":true,"items":{"type":"string"}},"partner_id":{"type":"string","description":"Link to an existing contact/partner","title":"Contact","nullable":true},"description":{"type":"string","description":"Additional notes or description","title":"Description","nullable":true},"priority":{"type":"string","description":"Opportunity priority","title":"Priority","nullable":true,"enum":["0","1","2","3"]}}}},"required":["type","key","input"]},"StepOdooOpportunityUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:opportunity_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"opportunity_id":{"type":"string","description":"The opportunity to update","title":"Opportunity","nullable":true},"name":{"type":"string","description":"Name of the opportunity","title":"Opportunity Name","nullable":true},"contact_name":{"type":"string","description":"Name of the contact person","title":"Contact Name","nullable":true},"email_from":{"type":"string","description":"Email address","title":"Email","nullable":true},"phone":{"type":"string","description":"Phone number","title":"Phone","nullable":true},"partner_name":{"type":"string","description":"Company name","title":"Company","nullable":true},"expected_revenue":{"type":"number","description":"Expected revenue amount","title":"Expected Revenue","nullable":true},"probability":{"type":"number","description":"Probability of closing (0-100)","title":"Probability (%)","nullable":true},"date_deadline":{"description":"Expected closing date","title":"Expected Closing Date"},"stage_id":{"type":"string","description":"Pipeline stage","title":"Stage","nullable":true},"tag_ids":{"type":"array","description":"Tags to assign (replaces existing tags)","title":"Tags","nullable":true,"items":{"type":"string"}},"partner_id":{"type":"string","description":"Link to an existing contact/partner","title":"Contact","nullable":true},"description":{"type":"string","description":"Additional notes or description","title":"Description","nullable":true},"priority":{"type":"string","description":"Opportunity priority","title":"Priority","nullable":true,"enum":["0","1","2","3"]}}}},"required":["type","key","input"]},"StepOdooOpportunityDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:opportunity_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"opportunity_id":{"type":"string","description":"The opportunity to delete","title":"Opportunity","nullable":true}}}},"required":["type","key","input"]},"StepOdooContactsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:contacts_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search by name, email, or phone","title":"Search","nullable":true},"is_company":{"type":"string","description":"Filter by contact type","title":"Type","nullable":true,"enum":["","true","false"]}}}},"required":["type","key","input"]},"StepOdooCalendarEventsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:calendar_events_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"start_date":{"description":"Show events starting from this date and time","title":"Start Date"},"end_date":{"description":"Show events ending before this date and time","title":"End Date"},"opportunity_id":{"type":"string","description":"Filter by linked opportunity","title":"Opportunity","nullable":true}}}},"required":["type","key","input"]},"StepOdooCalendarEventCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:calendar_event_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"name":{"type":"string","description":"Title of the event (required)","title":"Event Title","nullable":true},"start":{"description":"Start date and time of the event","title":"Start Time"},"stop":{"description":"End date and time of the event","title":"End Time"},"allday":{"type":"boolean","description":"Is this an all-day event?","title":"All Day Event","nullable":true},"location":{"type":"string","description":"Event location","title":"Location","nullable":true},"description":{"type":"string","description":"Event description or agenda","title":"Description","nullable":true},"opportunity_id":{"type":"string","description":"Link this event to an opportunity","title":"Linked Opportunity","nullable":true},"privacy":{"type":"string","description":"Event privacy setting","title":"Privacy","nullable":true,"enum":["public","private","confidential"]},"show_as":{"type":"string","description":"How to show availability during this event","title":"Status","nullable":true,"enum":["busy","free"]},"partner_ids":{"type":"array","description":"Contacts to invite to the event","title":"Attendees","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepOdooCalendarEventUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:calendar_event_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_id":{"type":"string","description":"ID of the event to update","title":"Event ID","nullable":true},"name":{"type":"string","description":"Title of the event","title":"Event Title","nullable":true},"start":{"description":"Start date and time of the event","title":"Start Time"},"stop":{"description":"End date and time of the event","title":"End Time"},"location":{"type":"string","description":"Event location","title":"Location","nullable":true},"description":{"type":"string","description":"Event description or agenda","title":"Description","nullable":true},"allday":{"type":"boolean","description":"Is this an all-day event?","title":"All Day Event","nullable":true},"opportunity_id":{"type":"string","description":"Link this event to an opportunity","title":"Linked Opportunity","nullable":true},"privacy":{"type":"string","description":"Event privacy setting","title":"Privacy","nullable":true,"enum":["public","private","confidential"]},"show_as":{"type":"string","description":"How to show availability during this event","title":"Status","nullable":true,"enum":["busy","free"]},"partner_ids":{"type":"array","description":"Contacts to invite to the event","title":"Attendees","nullable":true,"items":{"type":"string"}}}}},"required":["type","key","input"]},"StepOdooCalendarEventDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:calendar_event_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"event_id":{"type":"string","description":"ID of the event to delete","title":"Event ID","nullable":true}}}},"required":["type","key","input"]},"StepOdooAttachmentsUploadSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:attachments_upload"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"type":{"type":"string","description":"The type of record to attach the file to","title":"Record Type","nullable":true,"enum":["contact","lead","opportunity"]},"record_id":{"type":"string","description":"The record to attach the file to","title":"Record","nullable":true},"name":{"type":"string","description":"Optional name for the attachment (defaults to file name)","title":"Attachment Name","nullable":true}}}},"required":["type","key","input"]},"StepOdooAttachmentsListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:attachments_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"type":{"type":"string","description":"The type of record to list attachments for","title":"Record Type","nullable":true,"enum":["contact","lead","opportunity"]},"record_id":{"type":"string","description":"The record to list attachments for","title":"Record","nullable":true}}}},"required":["type","key","input"]},"StepOdooAttachmentsDownloadSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:attachments_download"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"type":{"type":"string","description":"The type of record the attachment belongs to","title":"Record Type","nullable":true,"enum":["contact","lead","opportunity"]},"record_id":{"type":"string","description":"The record the attachment belongs to","title":"Record","nullable":true},"attachment_id":{"type":"string","description":"The attachment to download","title":"Attachment","nullable":true}}}},"required":["type","key","input"]},"StepOdooAttachmentsDeleteSchema":{"type":"object","properties":{"type":{"type":"string","enum":["odoo:attachments_delete"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"type":{"type":"string","description":"The type of record the attachment belongs to","title":"Record Type","nullable":true,"enum":["contact","lead","opportunity"]},"record_id":{"type":"string","description":"The record the attachment belongs to","title":"Record","nullable":true},"attachment_id":{"type":"string","description":"The attachment to delete","title":"Attachment","nullable":true}}}},"required":["type","key","input"]},"StepWoocommerceProductsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:products_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search by name or SKU","title":"Search","nullable":true},"category":{"type":"string","description":"Filter by category","title":"Category","nullable":true},"sku":{"type":"string","description":"Exact SKU match","title":"SKU","nullable":true},"stock_status":{"type":"string","description":"Filter by stock availability","title":"Stock Status","nullable":true,"enum":["instock","outofstock","onbackorder"]}}}},"required":["type","key","input"]},"StepWoocommerceProductGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:product_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"product_id":{"type":"string","description":"The product to fetch","title":"Product","nullable":true}}}},"required":["type","key","input"]},"StepWoocommerceProductVariationsSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:product_variations_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"product_id":{"type":"string","description":"The parent product","title":"Product","nullable":true},"search":{"type":"string","description":"Search variations by SKU","title":"Search","nullable":true}}}},"required":["type","key","input"]},"StepWoocommerceCustomersSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:customers_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search by name, email, or username","title":"Search","nullable":true},"email":{"type":"string","description":"Filter by exact email match","title":"Email","nullable":true}}}},"required":["type","key","input"]},"StepWoocommerceCustomerGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:customer_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"The customer to fetch","title":"Customer","nullable":true}}}},"required":["type","key","input"]},"StepWoocommerceCustomerCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:customer_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"email":{"type":"string","description":"Customer email address","title":"Email","nullable":true},"first_name":{"type":"string","nullable":true},"last_name":{"type":"string","nullable":true},"username":{"type":"string","description":"Login username (defaults to email prefix)","title":"Username","nullable":true},"password":{"type":"string","nullable":true},"billing":{"anyOf":[{"type":"string"},{},{"type":"null"}]},"shipping":{"anyOf":[{"type":"string"},{},{"type":"null"}]}}}},"required":["type","key","input"]},"StepWoocommerceCustomerUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:customer_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"The customer to update","title":"Customer","nullable":true},"email":{"type":"string","nullable":true},"first_name":{"type":"string","nullable":true},"last_name":{"type":"string","nullable":true},"billing":{"anyOf":[{"type":"string"},{},{"type":"null"}]},"shipping":{"anyOf":[{"type":"string"},{},{"type":"null"}]}}}},"required":["type","key","input"]},"StepWoocommerceOrdersSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:orders_search"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"search":{"type":"string","description":"Search orders by order number, customer name, or email","title":"Search","nullable":true},"status":{"type":"string","description":"Filter by order status","title":"Status","nullable":true,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed","trash"]},"customer_id":{"type":"string","description":"Filter orders by customer","title":"Customer","nullable":true},"after":{"type":"string","description":"ISO 8601 date — include only orders created after this","title":"Created After","nullable":true},"before":{"type":"string","description":"ISO 8601 date — include only orders created before this","title":"Created Before","nullable":true}}}},"required":["type","key","input"]},"StepWoocommerceOrderGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:order_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"order_id":{"type":"string","description":"The order to fetch","title":"Order","nullable":true}}}},"required":["type","key","input"]},"StepWoocommerceOrderCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:order_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"customer_id":{"type":"string","description":"Customer placing the order (leave empty for guest)","title":"Customer","nullable":true},"status":{"type":"string","description":"Initial status for the new order","title":"Status","nullable":true,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed","trash"]},"customer_note":{"type":"string","description":"Note added to the order","title":"Customer Note","nullable":true},"payment_method":{"type":"string","description":"Payment method ID (e.g. bacs, cod, stripe)","title":"Payment Method","nullable":true},"payment_method_title":{"type":"string","description":"Human-readable payment method name","title":"Payment Method Title","nullable":true},"line_items":{"anyOf":[{"type":"string"},{"description":"Items in the order"},{"type":"null"}],"description":"Items in the order","title":"Line Items"},"billing":{"anyOf":[{"type":"string"},{},{"type":"null"}]},"shipping":{"anyOf":[{"type":"string"},{},{"type":"null"}]}}}},"required":["type","key","input"]},"StepWoocommerceOrderUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:order_update"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"order_id":{"type":"string","description":"The order to update","title":"Order","nullable":true},"status":{"type":"string","description":"New order status","title":"Status","nullable":true,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed","trash"]},"customer_note":{"type":"string","description":"Update the customer note","title":"Customer Note","nullable":true},"transaction_id":{"type":"string","description":"Payment gateway transaction ID","title":"Transaction ID","nullable":true}}}},"required":["type","key","input"]},"StepWoocommerceOrderNoteCreateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:order_note_create"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"order_id":{"type":"string","description":"The order to add the note to","title":"Order","nullable":true},"note":{"type":"string","description":"The content of the note","title":"Note","nullable":true}}}},"required":["type","key","input"]},"StepWoocommerceCouponGetSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:coupon_get"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true},"code":{"type":"string","description":"The coupon code (case-insensitive)","title":"Coupon Code","nullable":true}}}},"required":["type","key","input"]},"StepWoocommerceProductCategoriesListSchema":{"type":"object","properties":{"type":{"type":"string","enum":["woocommerce:product_categories_list"],"description":"The type of the step"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"display":{"$ref":"#/components/schemas/StepDisplaySchema"},"loop":{"type":"string","description":"A loop condition for the step to repeat running until the condition is met"},"throw_on_error":{"type":"boolean","description":"Whether to throw an error if the step fails"},"start_connected":{"type":"boolean","description":"Whether the step is connected to the start step"},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/StepKeySchema"},"description":"The step keys that this step connects to"},"position":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The position of the step on the canvas"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"Dynamic field definitions for the step"},"size":{"type":"array","prefixItems":[{"type":"number","minimum":100},{"type":"number","minimum":0}],"description":"The size of the step on the canvas"},"auto":{"$ref":"#/components/schemas/StepAutoConfigSchema"},"input":{"type":"object","properties":{"connection_id":{"type":"string","nullable":true}}}},"required":["type","key","input"]},"PartialWorkflowUpdateSchema":{"type":"object","properties":{"new_step":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StepSchema"},"before_step":{"type":"string"}},"required":["data"]},"rename_step":{"type":"object","properties":{"key":{"type":"string"},"new_key":{"type":"string"}},"required":["key","new_key"]},"update_step":{"type":"object","properties":{"key":{"type":"string"},"data":{"type":"object","properties":{},"additionalProperties":{}}},"required":["key","data"]},"update_step_order":{"type":"object","properties":{"key":{"type":"string"},"before_step":{"type":"string"}},"required":["key"]},"delete_step":{"type":"string"},"delete_paths":{"type":"object","properties":{"key":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}},"required":["key","paths"]}},"description":"Partial update of a workflow"},"UpdateWorkflowUserEventSchema":{"type":"object","properties":{"cursor":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"Cursor position"},"center":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"Center of the view"},"zoom":{"type":"number","description":"Zoom level"},"caret":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"Caret position"},"step":{"type":"string","maxLength":128,"description":"Selected or hovered step key"},"focus":{"type":"string","maxLength":512,"description":"Focused step path"},"run":{"type":"string","maxLength":128,"description":"Selected run id"},"following":{"type":"string","maxLength":256,"description":"Following client id"}}},"WorkflowInteractionEventDataSchema":{"oneOf":[{"$ref":"#/components/schemas/WorkflowInteractionScrollEventSchema"}],"discriminator":{"propertyName":"type","mapping":{"scroll":"#/components/schemas/WorkflowInteractionScrollEventSchema"}},"description":"Workflow event for interaction actions"},"WorkflowInteractionScrollEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["scroll"]},"step":{"type":"string","maxLength":128},"element":{"type":"string","maxLength":128},"value":{"type":"number"}},"required":["type","step","element","value"]},"WorkflowVersionDraftSchema":{"type":"object","properties":{"steps":{"type":"array","items":{"$ref":"#/components/schemas/StepSchema"},"description":"Steps of the workflow at the time this version was deployed"}},"required":["steps"],"description":"Information about a draft workflow version"},"OrgEventRequestSchema":{"oneOf":[{"$ref":"#/components/schemas/OrgEventRequestChatsUnseenCountSchema"}],"discriminator":{"propertyName":"type","mapping":{"chats_unseen_count":"#/components/schemas/OrgEventRequestChatsUnseenCountSchema"}}},"OrgEventRequestChatsUnseenCountSchema":{"type":"object","properties":{"type":{"type":"string","enum":["chats_unseen_count"]}},"required":["type"],"description":"Request to send unseen count for chats to the organization"},"OrgModuleFlagSchema":{"type":"string","enum":["enable_inbox","enable_analytics","enable_assistants","enable_knowledge_base","enable_broadcasts","enable_workflows","enable_audience","enable_tables","enable_balance_credits"],"description":"Per-module visibility flag identifier"},"QueryAssistantStatsSchema":{"type":"object","properties":{"from_date":{"type":["string","null"],"format":"date-time"},"to_date":{"type":["string","null"],"format":"date-time"}}},"QueryAgentStatsSchema":{"type":"object","properties":{"from_date":{"type":["string","null"],"format":"date-time"},"to_date":{"type":["string","null"],"format":"date-time"}}},"QueryChannelStatsSchema":{"type":"object","properties":{"from_date":{"type":["string","null"],"format":"date-time"},"to_date":{"type":["string","null"],"format":"date-time"}}},"QueryContactGrowthSchema":{"type":"object","properties":{"from_date":{"type":["string","null"],"format":"date-time"},"to_date":{"type":["string","null"],"format":"date-time"},"interval":{"type":"string","enum":["day","week","month"],"default":"day"},"timezone":{"$ref":"#/components/schemas/TimezoneValueSchema"}}},"TimezoneValueSchema":{"type":"string","description":"IANA timezone identifier (e.g. America/New_York)"},"QueryContactDateRangeSchema":{"type":"object","properties":{"from_date":{"type":["string","null"],"format":"date-time"},"to_date":{"type":["string","null"],"format":"date-time"}}},"QueryOrgMetricsSchema":{"type":"object","properties":{"metric":{"$ref":"#/components/schemas/OrgMetricIdSchema"},"interval":{"$ref":"#/components/schemas/MetricsIntervalSchema"},"from_date":{"type":["string","null"],"format":"date-time"},"to_date":{"type":["string","null"],"format":"date-time"},"timezone":{"$ref":"#/components/schemas/TimezoneValueSchema"},"assistant_id":{"type":"string","maxLength":128},"workflow_id":{"type":"string","maxLength":128}},"required":["metric"]},"OrgMetricIdSchema":{"type":"string","enum":["chats_created","chats_messages_sent","chats_assistant_messages_sent","assistant_messages_sent","assistant_chats_closed_by_human","assistant_chats_closed_by_ai","assistant_chats_transferred_to_human","contacts_blocked_by_ai","contacts_blocked_by_human","chats_created_by_channel","broadcasts_sent","broadcasts_messages_sent","assistant_csat_score_1","assistant_csat_score_2","assistant_csat_score_3","assistant_csat_score_4","assistant_csat_score_5","workflows_created","runs_created","runs_succeeded","runs_failed"]},"MetricsIntervalSchema":{"type":"string","enum":["hour","day","week","month","year"]},"QueryResponseTimesSchema":{"type":"object","properties":{"from_date":{"type":["string","null"],"format":"date-time"},"to_date":{"type":["string","null"],"format":"date-time"}}},"QueryInboxChatsSchema":{"type":"object","properties":{"search":{"type":"string","maxLength":256,"description":"Search term to filter chats"},"assistant_id":{"type":"string","maxLength":128},"assistant_integration_id":{"type":"string","maxLength":128},"integration_id":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"conversation_id":{"type":"string","maxLength":128},"contact_id":{"type":"string","maxLength":128},"segment_id":{"type":"string","maxLength":128},"assigned_user_id":{"type":"string","maxLength":128},"status":{"$ref":"#/components/schemas/OrgChatsStatusSchema"},"state":{"$ref":"#/components/schemas/OrgChatsStateSchema"},"ai_status":{"$ref":"#/components/schemas/OrgChatsAiStatusSchema"},"filter":{"$ref":"#/components/schemas/OrgChatsFilterSchema"},"referral_type":{"$ref":"#/components/schemas/OrgChatsReferralTypeSchema"},"csat_max":{"$ref":"#/components/schemas/OrgChatsCsatMaxSchema"}},"description":"Query parameters for chats"},"ConnectionIntegrationIdSchema":{"type":"string","enum":["internal","org","custom","whatsapp_bot","messenger_bot","instagram_dm","tiktok_dm","telegram_bot","gmail","slack_bot","twilio","telnyx","email"],"description":"ID of the connection integration"},"OrgChatsStatusSchema":{"type":"string","enum":["ALL","RUNNING","COMPLETED","FAILED","CANCELED"]},"OrgChatsStateSchema":{"type":"string","enum":["ALL","OPEN","SNOOZED","CLOSED"]},"OrgChatsAiStatusSchema":{"type":"string","enum":["ALL","ENABLED","DISABLED"]},"OrgChatsFilterSchema":{"type":"string","enum":["ALL","UNREAD","UNRESOLVED","RESOLVED","ASSIGNED_TO_ME","UNASSIGNED"],"description":"Filter for chats"},"OrgChatsReferralTypeSchema":{"type":"string","enum":["ALL","messenger_ad","messenger_product","messenger_product_template","whatsapp_ad","whatsapp_product","whatsapp_order","instagram_ad","instagram_product","instagram_product_template","instagram_post","instagram_reel","instagram_story","instagram_story_mention","messenger_post","messenger_reel","tiktok_ad","tiktok_post_share","tiktok_short_link","web_widget"]},"OrgChatsCsatMaxSchema":{"type":"string","enum":["0","1","2","3","4","5"],"description":"Filter chats with CSAT score less than or equal to this value. 0 means no filter."},"QueryDomainsSchema":{"type":"object","properties":{"search":{"type":"string","maxLength":256,"description":"Search domains by domain string"}},"description":"Query parameters for fetching domains"},"QueryVectorContentsSchema":{"type":"object","properties":{"search":{"type":"string","maxLength":256},"type":{"$ref":"#/components/schemas/QueryVectorContentTypeSchema"},"status":{"$ref":"#/components/schemas/QueryVectorContentStatusSchema"}},"description":"Query parameters for vector contents"},"QueryVectorContentTypeSchema":{"type":"string","enum":["ALL","TEXT","FILE","URL"]},"QueryVectorContentStatusSchema":{"type":"string","enum":["ALL","PENDING","PROCESSING","PROCESSED","FAILED"]},"QueryVectorChunksSchema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/QueryVectorChunkStatusSchema"}},"description":"Query parameters for vector chunks"},"QueryVectorChunkStatusSchema":{"type":"string","enum":["ALL","PENDING","PROCESSING","PROCESSED","FAILED"]},"QueryAssistantsSchema":{"type":"object","properties":{"search":{"type":"string","maxLength":256,"description":"Search assistants by name."}},"description":"Query parameters for fetching assistants"},"QueryAuditLogsSchema":{"type":"object","properties":{"action":{"$ref":"#/components/schemas/AuditLogActionFilterSchema"},"from":{"type":["string","null"],"format":"date-time","description":"Filter logs from this date (inclusive), YYYY-MM-DD"},"to":{"type":["string","null"],"format":"date-time","description":"Filter logs until this date (inclusive), YYYY-MM-DD"},"user_id":{"type":"string","maxLength":128,"description":"Filter by user who performed the action"},"assistant_id":{"type":"string","maxLength":128,"description":"Filter by affected assistant"},"workflow_id":{"type":"string","maxLength":128,"description":"Filter by affected workflow"},"connection_id":{"type":"string","maxLength":128,"description":"Filter by affected connection"}}},"AuditLogActionFilterSchema":{"type":"string","enum":["ALL","org.updated","org.deleted","org.disabled","org.enabled","org.restored","org.transferred","org.transferred_to","org.detached","org.detached_from","org.sub_org_created","org.sub_org_updated","org.sub_org_member_joined","org.sub_org_member_role_changed","member.invited","member.joined","member.removed","member.left","member.role_changed","role.created","role.updated","role.deleted","role.assigned","role.unassigned","assistant.created","assistant.updated","assistant.deleted","assistant.restored","assistant.duplicated","assistant.duplicated_from","action.created","action.deleted","action.enabled","action.disabled","integration.created","integration.deleted","integration.updated","integration.enabled","integration.disabled","broadcast.created","broadcast.deleted","broadcast.activated","broadcast.paused","domain.created","domain.deleted","email.domain.created","email.domain.deleted","sso.profile.created","sso.profile.updated","sso.profile.deleted","sso.profile.sessions.revoked","sso.domain.create_code_requested","sso.domain.delete_code_requested","sso.domain.created","sso.domain.updated","sso.domain.deleted","email.identity.created","email.identity.deleted","chat.deleted","workflow.created","workflow.deleted","workflow.restored","connection.created","connection.updated","connection.deleted","api_key.created","api_key.deleted"],"description":"Filter by action type"},"QuerySubOrgsUsageSchema":{"type":"object","properties":{"from_date":{"type":["string","null"],"format":"date-time","description":"Start date for the usage period"},"to_date":{"type":["string","null"],"format":"date-time","description":"End date for the usage period"},"interval":{"$ref":"#/components/schemas/MeterIntervalSchema"},"type":{"$ref":"#/components/schemas/MeterEventIdSchema"}},"required":["from_date","to_date","interval"],"description":"Query parameters for consolidated sub-organizations usage"},"MeterIntervalSchema":{"type":"string","enum":["hour","day","week","month","year"],"description":"Meter interval for the usage chart"},"MeterEventIdSchema":{"type":"string","enum":["run","ai_tokens","ai_sst","ai_tts","ai_embeddings","ai_memory_reconcile","ai_memory_summarize","ai_analysis","ai_follow_up_analysis","broadcast_whatsapp","broadcast_email","broadcast_sms","broadcast_marketing_whatsapp","broadcast_marketing_email","broadcast_marketing_sms","broadcast_transactional_whatsapp","broadcast_transactional_email","broadcast_transactional_sms"],"description":"Meter ID for the organization"},"RunEventSchema":{"oneOf":[{"$ref":"#/components/schemas/RunEventRunInitSchema"},{"$ref":"#/components/schemas/RunEventRunUpdateSchema"},{"$ref":"#/components/schemas/RunEventRunRunnerSchema"}],"discriminator":{"propertyName":"type","mapping":{"run-init":"#/components/schemas/RunEventRunInitSchema","run-update":"#/components/schemas/RunEventRunUpdateSchema","run-runner":"#/components/schemas/RunEventRunRunnerSchema"}},"description":"Schema for events emitted during a workflow run"},"RunEventRunInitSchema":{"type":"object","properties":{"type":{"type":"string","enum":["run-init"]},"data":{"type":"object","properties":{"run_id":{"type":"string"},"run":{"$ref":"#/components/schemas/RunSchema"},"replay_step_key":{"type":"string"},"from_step_key":{"type":"string"},"identifier":{"type":"string"}},"required":["run_id","run"]}},"required":["type","data"],"description":"Event emitted when a run is initialized"},"RunSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the run"},"result":{"$ref":"#/components/schemas/RunResultSchema"},"outputs":{"$ref":"#/components/schemas/RunOutputsSchema"},"status":{"$ref":"#/components/schemas/RunStatusSchema"},"origin":{"type":"string","enum":["WORKFLOW","TRIGGER","WEBHOOK"],"description":"Origin of the run","example":"WORKFLOW"},"error":{"type":"string","description":"Error message if the run failed"},"started_at":{"type":["string","null"],"format":"date-time","description":"Timestamp of when the run started"},"ended_at":{"type":["string","null"],"format":"date-time","description":"Timestamp of when the run ended"},"org_id":{"type":"string","description":"ID of the associated org where the run was triggered from"},"workflow_org_id":{"type":"string","description":"ID of the associated org where the workflow belongs to"},"workflow_id":{"type":"string","description":"ID of the associated workflow"},"workflow_version_draft":{"type":["object","null"],"properties":{"steps":{"type":"array","items":{"$ref":"#/components/schemas/StepSchema"},"description":"Steps of the workflow at the time this version was deployed"}},"required":["steps"],"description":"Draft version of the workflow"},"workflow_version":{"type":["object","null"],"properties":{"id":{"type":"string","description":"Unique identifier for the workflow version"},"workflow_id":{"type":"string","description":"Workflow id where the version belongs to"},"description":{"type":["string","null"],"description":"Description of the workflow at the time this version was deployed"},"version":{"type":"number","description":"Version number"},"rollback_version":{"type":"number","description":"Version number from which this version was rolled back"},"notes":{"type":["string","null"],"description":"Release notes"},"created_by":{"$ref":"#/components/schemas/UserPublicSchema"},"created_at":{"type":["string","null"],"format":"date-time","description":"Date when the version was deployed"},"steps":{"type":"array","items":{"$ref":"#/components/schemas/StepSchema"},"description":"Steps of the workflow at the time this version was deployed"}},"required":["id","workflow_id","description","version","notes","created_at","steps"],"description":"Details of the workflow version used for the run"},"version":{"type":"number","description":"Version number of the workflow"},"usage":{"$ref":"#/components/schemas/CreditsRunUsageSchema"},"created_at":{"type":["string","null"],"format":"date-time","description":"Timestamp of when the run was created"},"updated_at":{"type":["string","null"],"format":"date-time","description":"Timestamp of when the run was last updated"}},"required":["id","status","origin","started_at","ended_at","org_id","workflow_org_id","workflow_id","workflow_version_draft","workflow_version","created_at","updated_at"]},"RunResultSchema":{"description":"Result of the run"},"RunOutputsSchema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/StepOutputSchema"},"description":"Outputs of all steps in the run"},"StepOutputSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the output"},"type":{"$ref":"#/components/schemas/StepTypeSchema"},"key":{"$ref":"#/components/schemas/StepKeySchema"},"status":{"$ref":"#/components/schemas/StepStatusSchema"},"output":{"description":"Output of the step"},"index":{"type":"number","description":"Index of the step if part of a loop"},"start":{"type":"number","description":"Timestamp of when the step started"},"end":{"type":"number","description":"Timestamp of when the step ended"},"error":{"type":"string","description":"Error message if the step failed"},"logs":{"$ref":"#/components/schemas/StepLogsSchema"},"calls":{"type":"array","items":{"description":"Sub-calls made by the step","nullable":false,"oneOf":[{"$ref":"#/components/schemas/StepOutputSchema"}]}}},"required":["type","key","status","start"],"description":"Output of the step, including outputs, status and logs"},"StepStatusSchema":{"type":"string","enum":["RUNNING","COMPLETED","FAILED","SKIPPED","CANCELED"],"description":"Status of the step","example":"RUNNING"},"StepLogsSchema":{"type":"array","items":{},"description":"Logs generated during the step execution"},"RunStatusSchema":{"type":"string","enum":["PENDING","RUNNING","CANCELED","COMPLETED","SKIPPED","FAILED"],"description":"Status of the run","example":"RUNNING"},"UserPublicSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"avatar":{"type":["string","null"]}},"required":["id","name","avatar"],"description":"User who deployed the version"},"CreditsRunUsageSchema":{"allOf":[{"$ref":"#/components/schemas/CreditsUsageSchema"},{"type":"object","properties":{"steps":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CreditsUsageSchema"}}},"required":["steps"]}],"description":"Credits usage of the run"},"CreditsCallUsageSchema":{"type":"object","properties":{"id":{"type":"string"},"total":{"type":"number"},"ai_total":{"type":"number"},"calls":{"type":"array","items":{"type":"null","nullable":false,"oneOf":[{"$ref":"#/components/schemas/CreditsUsageSchema"}]}}},"required":["id","total","ai_total"]},"CreditsUsageSchema":{"type":"object","properties":{"total":{"type":"number"},"ai_total":{"type":"number"},"calls":{"type":"array","items":{"$ref":"#/components/schemas/CreditsCallUsageSchema"}}},"required":["total","ai_total"]},"RunEventRunUpdateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["run-update"]},"data":{"type":"object","properties":{"run_id":{"type":"string"},"run":{"$ref":"#/components/schemas/RunSchema"}},"required":["run_id","run"]}},"required":["type","data"],"description":"Event emitted when a run is updated"},"RunEventRunRunnerSchema":{"type":"object","properties":{"type":{"type":"string","enum":["run-runner"]},"data":{"type":"object","properties":{"run_id":{"type":"string"},"event":{"$ref":"#/components/schemas/RunnerEventsList"}},"required":["run_id","event"]}},"required":["type","data"],"description":"Event emitted when a run runner event occurs"},"RunnerEventsList":{"oneOf":[{"$ref":"#/components/schemas/RunnerUpdateEventSchema"},{"$ref":"#/components/schemas/RunnerStepEventSchema"},{"$ref":"#/components/schemas/RunnerStepCallEventSchema"},{"$ref":"#/components/schemas/RunnerMessagePartEventSchema"}],"discriminator":{"propertyName":"type","mapping":{"run-update":"#/components/schemas/RunnerUpdateEventSchema","step":"#/components/schemas/RunnerStepEventSchema","step-call":"#/components/schemas/RunnerStepCallEventSchema","message-part":"#/components/schemas/RunnerMessagePartEventSchema"}},"description":"List of events emitted by the runner"},"RunnerUpdateEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["run-update"]},"data":{"$ref":"#/components/schemas/UpdateRunnerSchema"}},"required":["type","data"],"description":"Event emitted when the runner state is updated"},"UpdateRunnerSchema":{"type":"object","properties":{"outputs":{"$ref":"#/components/schemas/RunOutputsSchema"},"status":{"$ref":"#/components/schemas/RunStatusSchema"},"error":{"type":["string","null"],"description":"Error message if the run failed"},"started_at":{"type":["string","null"],"format":"date-time","description":"Timestamp of when the run started"},"ended_at":{"type":["string","null"],"format":"date-time","description":"Timestamp of when the run ended"}},"description":"Schema for updating the runner state"},"RunnerStepEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["step"]},"data":{"$ref":"#/components/schemas/StepOutputSchema"}},"required":["type","data"],"description":"Event emitted for a step output"},"RunnerStepCallEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["step-call"]},"parent_step_key":{"type":"string"},"data":{"$ref":"#/components/schemas/StepOutputSchema"}},"required":["type","parent_step_key","data"],"description":"Event emitted for a step call output"},"RunnerMessagePartEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["message-part"]},"step_key":{"type":"string"},"data":{"$ref":"#/components/schemas/ModelMessagePartSchema"}},"required":["type","step_key","data"],"description":"Event emitted for a message part in a step"},"ModelMessagePartSchema":{"type":"object","properties":{"id":{"type":"string"},"role":{"$ref":"#/components/schemas/ModelMessageRoleSchema"},"part":{"$ref":"#/components/schemas/ModelMessagePartsSchema"}},"required":["id","role","part"]},"ModelMessageRoleSchema":{"type":"string","enum":["user","assistant","system","tool","event","note"],"description":"The role of the message"},"ModelMessagePartsSchema":{"oneOf":[{"$ref":"#/components/schemas/ModelTextPartSchema"},{"$ref":"#/components/schemas/ModelFilePartSchema"},{"$ref":"#/components/schemas/ModelImagePartSchema"},{"$ref":"#/components/schemas/ModelOptionSelectedPartSchema"},{"$ref":"#/components/schemas/ModelContactPartSchema"},{"$ref":"#/components/schemas/ModelLocationPartSchema"},{"$ref":"#/components/schemas/ModelToolResultPartSchema"},{"$ref":"#/components/schemas/ModelToolCallPartSchema"},{"$ref":"#/components/schemas/ModelSourcePartSchema"},{"$ref":"#/components/schemas/ModelMessageReasoningSchema"},{"$ref":"#/components/schemas/ModelMessageReasoningStartSchema"},{"$ref":"#/components/schemas/ModelMessageReasoningDeltaSchema"},{"$ref":"#/components/schemas/ModelMessageReasoningEndSchema"},{"$ref":"#/components/schemas/ModelToolCallPartStartSchema"},{"$ref":"#/components/schemas/ModelToolCallPartDeltaSchema"},{"$ref":"#/components/schemas/ModelToolCallPartEndSchema"},{"$ref":"#/components/schemas/ModelTextPartDeltaSchema"},{"$ref":"#/components/schemas/ModelEventAssignmentPartSchema"},{"$ref":"#/components/schemas/ModelEventStatusChangePartSchema"},{"$ref":"#/components/schemas/ModelEventAiStatusPartSchema"},{"$ref":"#/components/schemas/ModelEventMuteChangePartSchema"},{"$ref":"#/components/schemas/ModelEventFollowUpPartSchema"},{"$ref":"#/components/schemas/ModelEventAnalysisPartSchema"},{"$ref":"#/components/schemas/ModelEventReferralPartSchema"},{"$ref":"#/components/schemas/ModelEventApprovalDecisionPartSchema"},{"$ref":"#/components/schemas/ModelEventContactUpdatePartSchema"},{"$ref":"#/components/schemas/ModelEventConnectionConnectedPartSchema"}],"discriminator":{"propertyName":"type","mapping":{"text":"#/components/schemas/ModelTextPartSchema","file":"#/components/schemas/ModelFilePartSchema","image":"#/components/schemas/ModelImagePartSchema","option_selected":"#/components/schemas/ModelOptionSelectedPartSchema","contact":"#/components/schemas/ModelContactPartSchema","location":"#/components/schemas/ModelLocationPartSchema","tool_result":"#/components/schemas/ModelToolResultPartSchema","tool_call":"#/components/schemas/ModelToolCallPartSchema","source":"#/components/schemas/ModelSourcePartSchema","reasoning":"#/components/schemas/ModelMessageReasoningSchema","reasoning_start":"#/components/schemas/ModelMessageReasoningStartSchema","reasoning_delta":"#/components/schemas/ModelMessageReasoningDeltaSchema","reasoning_end":"#/components/schemas/ModelMessageReasoningEndSchema","tool_call_start":"#/components/schemas/ModelToolCallPartStartSchema","tool_call_delta":"#/components/schemas/ModelToolCallPartDeltaSchema","tool_call_end":"#/components/schemas/ModelToolCallPartEndSchema","text_delta":"#/components/schemas/ModelTextPartDeltaSchema","event_assignment":"#/components/schemas/ModelEventAssignmentPartSchema","event_status_change":"#/components/schemas/ModelEventStatusChangePartSchema","event_ai_status":"#/components/schemas/ModelEventAiStatusPartSchema","event_mute_change":"#/components/schemas/ModelEventMuteChangePartSchema","event_follow_up":"#/components/schemas/ModelEventFollowUpPartSchema","event_analysis":"#/components/schemas/ModelEventAnalysisPartSchema","event_referral":"#/components/schemas/ModelEventReferralPartSchema","event_approval_decision":"#/components/schemas/ModelEventApprovalDecisionPartSchema","event_contact_update":"#/components/schemas/ModelEventContactUpdatePartSchema","event_connection_connected":"#/components/schemas/ModelEventConnectionConnectedPartSchema"}}},"ModelTextPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"audio":{"$ref":"#/components/schemas/FileSchema"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","text"]},"FileSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the file"},"file_path":{"type":"string","maxLength":2048,"description":"Path to the file in the storage system"},"file_filename":{"type":"string","maxLength":255,"description":"Name of the file","example":"document.pdf"},"file_size":{"type":"number","description":"Size of the file in bytes","example":1024},"file_mimetype":{"type":"string","maxLength":255,"description":"MIME type of the file","example":"application/pdf"},"file_url":{"type":"string","maxLength":2048,"description":"URL to access the file"},"created_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the file was created"}},"required":["id","file_path","file_filename","file_size","file_mimetype","file_url","created_at"],"description":"Detailed information about a file"},"ModelFilePartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["file"]},"url":{"type":"string"},"kind":{"$ref":"#/components/schemas/ModelFileKindSchema"},"file":{"$ref":"#/components/schemas/FileSchema"},"auto_consume":{"type":"boolean","description":"Whether this file should be automatically consumed and processed by the model"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","url"]},"ModelFileKindSchema":{"type":"string","enum":["voice","sticker"],"description":"Marks communication-only files (voice notes, stickers) from integrations so they can be excluded from the contact files tab."},"ModelImagePartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["image"]},"url":{"type":"string"},"kind":{"$ref":"#/components/schemas/ModelFileKindSchema"},"file":{"$ref":"#/components/schemas/FileSchema"},"auto_consume":{"type":"boolean","description":"Whether this file should be automatically consumed and processed by the model"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","url"]},"ModelOptionSelectedPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["option_selected"]},"call_id":{"type":"string","description":"The ID of the tool call that generated the options"},"label":{"type":"string","description":"Label for the option selected"},"value":{"type":"string","description":"Value for the option selected"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","label","value"],"description":"Option selected by the user, typically used in multiple choice scenarios"},"ModelContactPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["contact"]},"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type"]},"ModelLocationPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["location"]},"latitude":{"type":"number"},"longitude":{"type":"number"},"name":{"type":"string"},"address":{"type":"string"},"url":{"type":"string"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type"]},"ModelToolResultPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tool_result"]},"id":{"type":"string","description":"Unique identifier for the tool call"},"name":{"type":"string","description":"The name of the tool called"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/ModelResultPartResultPartsSchema"},"description":"Parts of the tool call result"},"result":{"description":"The result of the tool call, can be any type based on the tool schema"},"refresh_tools":{"type":"boolean","description":"Runtime-only signal: when true, the agent loop rebuilds its tool set before the next step (e.g. after enable_tools / disable_tools). Stripped before the result is persisted."},"is_error":{"type":"boolean","description":"Indicates if the tool call resulted in an error"},"timestamp":{"type":"number","description":"Timestamp of the tool call in milliseconds"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","id","name"]},"ModelResultPartResultPartsSchema":{"oneOf":[{"$ref":"#/components/schemas/ModelTextPartSchema"},{"$ref":"#/components/schemas/ModelImagePartSchema"},{"$ref":"#/components/schemas/ModelFilePartSchema"},{"$ref":"#/components/schemas/ModelLocationPartSchema"},{"$ref":"#/components/schemas/ModelSourcePartSchema"}],"discriminator":{"propertyName":"type","mapping":{"text":"#/components/schemas/ModelTextPartSchema","image":"#/components/schemas/ModelImagePartSchema","file":"#/components/schemas/ModelFilePartSchema","location":"#/components/schemas/ModelLocationPartSchema","source":"#/components/schemas/ModelSourcePartSchema"}},"description":"Parts of the tool call result"},"ModelSourcePartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["source"]},"id":{"type":"string","description":"Unique identifier for the source, typically a link identifier"},"url":{"type":"string"},"title":{"type":"string","description":"Title of the source, typically a document or webpage title"},"description":{"type":"string","description":"Description of the source, can be a summary or excerpt from the content"},"favicon":{"type":"string","description":"Favicon URL for the source, can be used in UI"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Metadata associated with the source, can include additional information like author, date, etc."},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","id","url"],"description":"Source URL for the message, typically used for annotations"},"ModelToolCallPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tool_call"]},"id":{"type":"string","description":"Unique identifier for the tool call"},"name":{"type":"string","description":"The name of the tool to call"},"display_name":{"type":"string"},"action_name":{"type":"string"},"description":{"type":"string","description":"Model-authored, present-tense summary of what this call is doing (lifted from the injected _description param when the tool sets describe). Shown as the action title in the UI."},"args":{"$ref":"#/components/schemas/ModelToolCallArgumentsSchema"},"metadata":{"type":"object","properties":{},"additionalProperties":{},"description":"Metadata associated with the tool call, can include signature information"},"approval":{"$ref":"#/components/schemas/ConnectionActionApprovalSchema"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","id","name"]},"ModelToolCallArgumentsSchema":{"description":"Arguments for the tool call"},"ConnectionActionApprovalSchema":{"type":"object","properties":{"title":{"type":"string","maxLength":140,"description":"Short heading shown on the approval card, in the conversation language"},"accept_button":{"type":"string","maxLength":32,"description":"Label for the accept button, in the conversation language"},"reject_button":{"type":"string","maxLength":32,"description":"Label for the reject button, in the conversation language"},"decision":{"$ref":"#/components/schemas/ConnectionActionApprovalDecisionSchema"},"decided_at":{"type":"number","description":"Decision timestamp in milliseconds since epoch"},"decided_by_member_id":{"type":"string","description":"Encoded chat member id of the decider"},"reason":{"type":"string","maxLength":512,"description":"Optional reason supplied with the decision"}},"required":["title","accept_button","reject_button"],"description":"Approval prompt and decision state when the action requires confirmation before running"},"ConnectionActionApprovalDecisionSchema":{"type":"string","enum":["accepted","rejected"],"description":"How a pending approval was resolved"},"ModelMessageReasoningSchema":{"type":"object","properties":{"type":{"type":"string","enum":["reasoning"]},"id":{"type":"string","description":"Unique identifier for the message part"},"text":{"type":"string"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","id","text"]},"ModelMessageReasoningStartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["reasoning_start"]},"id":{"type":"string","description":"Unique identifier for the message part"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","id"]},"ModelMessageReasoningDeltaSchema":{"type":"object","properties":{"type":{"type":"string","enum":["reasoning_delta"]},"id":{"type":"string","description":"Unique identifier for the message part"},"text":{"type":"string"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","id","text"]},"ModelMessageReasoningEndSchema":{"type":"object","properties":{"type":{"type":"string","enum":["reasoning_end"]},"id":{"type":"string","description":"Unique identifier for the message part"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","id"]},"ModelToolCallPartStartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tool_call_start"]},"id":{"type":"string","description":"Unique identifier for the tool call"},"name":{"type":"string","description":"The name of the tool to call"},"display_name":{"type":"string","description":"Display name of the tool, can be used in UI"},"action_name":{"type":"string","description":"The original name of the action this tool is based on, used for connection-based tools"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","id","name"]},"ModelToolCallPartDeltaSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tool_call_delta"]},"id":{"type":"string","description":"Unique identifier for the tool call"},"name":{"type":"string","description":"The name of the tool called"},"args":{"type":"string"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","id","name"]},"ModelToolCallPartEndSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tool_call_end"]},"id":{"type":"string","description":"Unique identifier for the tool call"},"name":{"type":"string","description":"The name of the tool called"},"args":{"type":"string"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","id","name"]},"ModelTextPartDeltaSchema":{"type":"object","properties":{"type":{"type":"string","enum":["text_delta"]},"text":{"type":"string"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","text"]},"ModelEventAssignmentPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["event_assignment"]},"assigned_user_id":{"type":["string","null"]},"source":{"$ref":"#/components/schemas/ModelEventSourceSchema"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","assigned_user_id","source"],"description":"Assignment event part - text generated from locales"},"ModelEventSourceSchema":{"type":"string","enum":["user","agent","ai"],"description":"Source of the event"},"ModelEventStatusChangePartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["event_status_change"]},"old_status":{"type":"string","enum":["OPEN","SNOOZED","CLOSED"]},"new_status":{"type":"string","enum":["OPEN","SNOOZED","CLOSED"]},"source":{"$ref":"#/components/schemas/ModelEventSourceSchema"},"follow_up_at":{"type":"string","format":"date-time","description":"Scheduled follow-up date (ISO 8601)"},"reason":{"type":"string","maxLength":512,"description":"AI analysis reason for the decision"},"csat_score":{"type":"integer","minimum":1,"maximum":5,"description":"AI-assigned customer satisfaction score (1-5)"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","old_status","new_status","source"],"description":"Status change event part (user-visible) - text generated from locales"},"ModelEventAiStatusPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["event_ai_status"]},"status":{"type":"boolean"},"source":{"$ref":"#/components/schemas/ModelEventSourceSchema"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","status","source"],"description":"AI toggle event part - text generated from locales"},"ModelEventMuteChangePartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["event_mute_change"]},"muted_until":{"type":["string","null"],"format":"date-time","description":"New mute expiry datetime (null = un-muted)"},"source":{"$ref":"#/components/schemas/ModelEventMuteSourceSchema"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","muted_until","source"],"description":"Mute change event part"},"ModelEventMuteSourceSchema":{"type":"string","enum":["agent","system"],"description":"Source of the mute event (only humans or system)"},"ModelEventFollowUpPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["event_follow_up"]},"old_status":{"type":"string","enum":["OPEN","SNOOZED","CLOSED"]},"new_status":{"type":"string","enum":["OPEN","SNOOZED","CLOSED"]},"reason":{"type":"string","maxLength":512,"description":"AI analysis reason for the follow-up"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type"],"description":"Follow-up event — AI re-engaging an inactive conversation"},"ModelEventAnalysisPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["event_analysis"]},"csat_score":{"type":"integer","minimum":1,"maximum":5,"description":"AI-assigned customer satisfaction score (1-5)"},"reason":{"type":"string","maxLength":512,"description":"Brief reason for the analysis result"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type"],"description":"Analysis event — AI post-conversation analysis (CSAT, etc.)"},"ModelEventReferralPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["event_referral"]},"referral":{"$ref":"#/components/schemas/ChatReferralSchema"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","referral"],"description":"Referral event — conversation initiated or resumed from an ad, post, or story"},"ChatReferralSchema":{"oneOf":[{"$ref":"#/components/schemas/ChatMessengerAdSchema"},{"$ref":"#/components/schemas/ChatMessengerProductSchema"},{"$ref":"#/components/schemas/ChatMessengerProductTemplateSchema"},{"$ref":"#/components/schemas/ChatWhatsAppAdSchema"},{"$ref":"#/components/schemas/ChatWhatsAppProductSchema"},{"$ref":"#/components/schemas/ChatWhatsAppOrderSchema"},{"$ref":"#/components/schemas/ChatInstagramAdSchema"},{"$ref":"#/components/schemas/ChatInstagramProductSchema"},{"$ref":"#/components/schemas/ChatInstagramProductTemplateSchema"},{"$ref":"#/components/schemas/ChatInstagramPostSchema"},{"$ref":"#/components/schemas/ChatInstagramReelSchema"},{"$ref":"#/components/schemas/ChatInstagramStorySchema"},{"$ref":"#/components/schemas/ChatInstagramStoryMentionSchema"},{"$ref":"#/components/schemas/ChatMessengerPostSchema"},{"$ref":"#/components/schemas/ChatMessengerReelSchema"},{"$ref":"#/components/schemas/ChatTikTokAdSchema"},{"$ref":"#/components/schemas/ChatTikTokPostShareSchema"},{"$ref":"#/components/schemas/ChatTikTokShortLinkSchema"},{"$ref":"#/components/schemas/ChatWebWidgetReferralSchema"}],"discriminator":{"propertyName":"type","mapping":{"messenger_ad":"#/components/schemas/ChatMessengerAdSchema","messenger_product":"#/components/schemas/ChatMessengerProductSchema","messenger_product_template":"#/components/schemas/ChatMessengerProductTemplateSchema","whatsapp_ad":"#/components/schemas/ChatWhatsAppAdSchema","whatsapp_product":"#/components/schemas/ChatWhatsAppProductSchema","whatsapp_order":"#/components/schemas/ChatWhatsAppOrderSchema","instagram_ad":"#/components/schemas/ChatInstagramAdSchema","instagram_product":"#/components/schemas/ChatInstagramProductSchema","instagram_product_template":"#/components/schemas/ChatInstagramProductTemplateSchema","instagram_post":"#/components/schemas/ChatInstagramPostSchema","instagram_reel":"#/components/schemas/ChatInstagramReelSchema","instagram_story":"#/components/schemas/ChatInstagramStorySchema","instagram_story_mention":"#/components/schemas/ChatInstagramStoryMentionSchema","messenger_post":"#/components/schemas/ChatMessengerPostSchema","messenger_reel":"#/components/schemas/ChatMessengerReelSchema","tiktok_ad":"#/components/schemas/ChatTikTokAdSchema","tiktok_post_share":"#/components/schemas/ChatTikTokPostShareSchema","tiktok_short_link":"#/components/schemas/ChatTikTokShortLinkSchema","web_widget":"#/components/schemas/ChatWebWidgetReferralSchema"}},"description":"Referral/commerce event data from Meta platforms — ads, products, orders."},"ChatMessengerAdSchema":{"type":"object","properties":{"type":{"type":"string","enum":["messenger_ad"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"ref":{"type":"string"},"ad_id":{"type":"string"},"source":{"type":"string"},"referer_uri":{"type":"string"},"ads_context_data":{"type":"object","properties":{"ad_title":{"type":"string"},"photo_url":{"type":"string"},"video_url":{"type":"string"},"post_id":{"type":"string"},"product_id":{"type":"string"}}}},"required":["type"]},"ChatMessageReferralPartsSchema":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ModelFilePartSchema"},{"$ref":"#/components/schemas/ModelImagePartSchema"}],"discriminator":{"propertyName":"type","mapping":{"file":"#/components/schemas/ModelFilePartSchema","image":"#/components/schemas/ModelImagePartSchema"}}}},"ChatMessengerProductSchema":{"type":"object","properties":{"type":{"type":"string","enum":["messenger_product"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"product":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"image_url":{"type":"string"},"price":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"}},"required":["id"]}},"required":["type","product"]},"ChatMessengerProductTemplateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["messenger_product_template"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"retailer_id":{"type":"string"},"image_url":{"type":"string"},"title":{"type":"string"},"subtitle":{"type":"string"}},"required":["id"]}}},"required":["type","products"]},"ChatWhatsAppAdSchema":{"type":"object","properties":{"type":{"type":"string","enum":["whatsapp_ad"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"source_url":{"type":"string"},"source_id":{"type":"string"},"source_type":{"type":"string"},"headline":{"type":"string"},"body":{"type":"string"},"media_type":{"type":"string"},"image_url":{"type":"string"},"video_url":{"type":"string"},"thumbnail_url":{"type":"string"},"ctwa_clid":{"type":"string"}},"required":["type"]},"ChatWhatsAppProductSchema":{"type":"object","properties":{"type":{"type":"string","enum":["whatsapp_product"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"catalog_id":{"type":"string"},"product_retailer_id":{"type":"string"},"name":{"type":"string"},"image_url":{"type":"string"},"price":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"retailer_id":{"type":"string"}},"required":["type","catalog_id","product_retailer_id"]},"ChatWhatsAppOrderSchema":{"type":"object","properties":{"type":{"type":"string","enum":["whatsapp_order"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"catalog_id":{"type":"string"},"product_items":{"type":"array","items":{"type":"object","properties":{"product_retailer_id":{"type":"string"},"quantity":{"type":"number"},"item_price":{"type":"number"},"currency":{"type":"string"},"name":{"type":"string"},"image_url":{"type":"string"},"price":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"retailer_id":{"type":"string"}},"required":["product_retailer_id","quantity","item_price","currency"]}},"text":{"type":"string"}},"required":["type","catalog_id","product_items"]},"ChatInstagramAdSchema":{"type":"object","properties":{"type":{"type":"string","enum":["instagram_ad"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"ref":{"type":"string"},"ad_id":{"type":"string"},"source":{"type":"string"},"ads_context_data":{"type":"object","properties":{"ad_title":{"type":"string"},"photo_url":{"type":"string"},"video_url":{"type":"string"}}}},"required":["type"]},"ChatInstagramProductSchema":{"type":"object","properties":{"type":{"type":"string","enum":["instagram_product"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"product":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"image_url":{"type":"string"},"price":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"}},"required":["id"]}},"required":["type","product"]},"ChatInstagramProductTemplateSchema":{"type":"object","properties":{"type":{"type":"string","enum":["instagram_product_template"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"retailer_id":{"type":"string"},"image_url":{"type":"string"},"title":{"type":"string"},"subtitle":{"type":"string"}},"required":["id"]}}},"required":["type","products"]},"ChatInstagramPostSchema":{"type":"object","properties":{"type":{"type":"string","enum":["instagram_post"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"post_id":{"type":"string"},"post_media_id":{"type":"string"},"title":{"type":"string"},"media_url":{"type":"string"},"username":{"type":"string"},"permalink":{"type":"string"}},"required":["type"]},"ChatInstagramReelSchema":{"type":"object","properties":{"type":{"type":"string","enum":["instagram_reel"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"reel_video_id":{"type":"string"},"title":{"type":"string"},"media_url":{"type":"string"},"username":{"type":"string"},"permalink":{"type":"string"}},"required":["type"]},"ChatInstagramStorySchema":{"type":"object","properties":{"type":{"type":"string","enum":["instagram_story"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"story_media_id":{"type":"string"},"media_url":{"type":"string"},"username":{"type":"string"},"permalink":{"type":"string"}},"required":["type"]},"ChatInstagramStoryMentionSchema":{"type":"object","properties":{"type":{"type":"string","enum":["instagram_story_mention"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"media_url":{"type":"string"},"username":{"type":"string"},"permalink":{"type":"string"}},"required":["type"]},"ChatMessengerPostSchema":{"type":"object","properties":{"type":{"type":"string","enum":["messenger_post"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"post_id":{"type":"string"},"title":{"type":"string"},"permalink":{"type":"string"},"media_url":{"type":"string"}},"required":["type"]},"ChatMessengerReelSchema":{"type":"object","properties":{"type":{"type":"string","enum":["messenger_reel"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"reel_video_id":{"type":"string"},"title":{"type":"string"},"permalink":{"type":"string"},"media_url":{"type":"string"}},"required":["type"]},"ChatTikTokAdSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tiktok_ad"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"advertiser_id":{"type":"string"},"ad_id":{"type":"string"},"ad_name":{"type":"string"},"embed_url":{"type":"string"},"message_material_id":{"type":"string"},"timestamp":{"type":"number"}},"required":["type"]},"ChatTikTokPostShareSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tiktok_post_share"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"video_id":{"type":"string"},"embed_url":{"type":"string"}},"required":["type"]},"ChatTikTokShortLinkSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tiktok_short_link"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"ref":{"type":"string"},"prefilled_message":{"type":"string"},"prefilled_message_audit_status":{"type":"string","enum":["PASS","REJECT"]}},"required":["type"]},"ChatWebWidgetReferralSchema":{"type":"object","properties":{"type":{"type":"string","enum":["web_widget"]},"parts":{"$ref":"#/components/schemas/ChatMessageReferralPartsSchema"},"utm_source":{"type":"string"},"utm_medium":{"type":"string"},"utm_campaign":{"type":"string"},"utm_term":{"type":"string"},"utm_content":{"type":"string"},"utm_ad":{"type":"string"},"utm_match":{"type":"string"},"utm_referrer":{"type":"string"},"gclid":{"type":"string"},"fbclid":{"type":"string"},"msclkid":{"type":"string"},"ttclid":{"type":"string"},"li_fat_id":{"type":"string"},"rdt_cid":{"type":"string"},"referrer":{"type":"string"},"page_url":{"type":"string"}},"required":["type"]},"ModelEventApprovalDecisionPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["event_approval_decision"]},"tool_call_id":{"type":"string","description":"Tool call id the decision was made on"},"action_id":{"type":"string","description":"Canonical id of the gated action (the tool name, e.g. TOOLS:HTTP_REQUEST)"},"action_name":{"type":"string","description":"User-facing display name of the action at decision time, when available"},"decision":{"type":"string","enum":["accepted","rejected"]},"reason":{"type":"string","maxLength":512,"description":"Optional reason supplied with the decision"},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","tool_call_id","action_id","decision"],"description":"Approval decision event — a pending action was accepted or rejected by a chat member. The decider is the owner of the parent ChatMessage."},"ModelEventContactUpdatePartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["event_contact_update"]},"changes":{"type":"array","items":{"$ref":"#/components/schemas/ModelContactFieldChangeSchema"},"minItems":1},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","changes"],"description":"AI updated one or more contact properties. Emitted from the update_contact tool callback or the post-conversation analysis pass."},"ModelContactFieldChangeSchema":{"type":"object","properties":{"field":{"type":"string","description":"Contact field key."},"before":{},"after":{}},"required":["field"],"description":"A single contact-property change. FE looks up the rest (id, name, type) by key against the assistant's contact-field whitelist."},"ModelEventConnectionConnectedPartSchema":{"type":"object","properties":{"type":{"type":"string","enum":["event_connection_connected"]},"tool_call_id":{"type":"string","description":"Tool call id this connection answers (the request_connection call)"},"connection_id":{"type":"string","description":"The connected connection id (con_...)"},"connection_type":{"type":"string","description":"Connection app type, e.g. GOOGLE_SHEETS"},"connection_name":{"type":"string","description":"The name of the connection, e.g. \"Google Sheets\""},"start_timestamp":{"type":"number","description":"Timestamp when the message part started processing, in milliseconds"},"end_timestamp":{"type":"number","description":"Timestamp when the message part finished processing, in milliseconds"}},"required":["type","tool_call_id","connection_id"],"description":"Connection-connected event: the user connected an app in response to request_connection."},"QueryRunSchema":{"type":"object","properties":{"expand":{"type":"boolean"},"origin":{"$ref":"#/components/schemas/QueryRunOriginSchema"},"status":{"$ref":"#/components/schemas/QueryRunStatusSchema"}}},"QueryRunOriginSchema":{"type":"string","enum":["ALL","WORKFLOW","TRIGGER","WEBHOOK"],"description":"Origin of the run"},"QueryRunStatusSchema":{"type":"string","enum":["ALL","PENDING","RUNNING","CANCELED","COMPLETED","SKIPPED","FAILED"],"description":"Status of the run"},"IncludeRunSchema":{"type":"object","properties":{"expand":{"type":"boolean"}}},"QuerySegmentsSchema":{"type":"object","properties":{"search":{"type":"string","maxLength":256,"description":"Search segments by name"}},"description":"Query parameters for fetching segments"},"QueryActivitiesSchema":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ActivityTypeSchema"},"contact_id":{"type":"string","description":"Filter to activities scoped to this contact."},"table_id":{"type":"string","description":"Filter to activities scoped to this table."},"record_id":{"type":"string","description":"Filter to activities scoped to this table record."},"actor_id":{"type":"string","description":"Filter to activities performed by this user."},"assistant_id":{"type":"string","description":"Filter to activities performed by this assistant."},"segment_id":{"type":"string","description":"Filter to activities involving this segment."}},"description":"Query parameters for fetching activities"},"ActivityTypeSchema":{"type":"string","enum":["comment_created","file_uploaded","segment_added","segment_removed","contact_blocked","contact_unblocked","contact_unsubscribed","contact_resubscribed","contact_ai_replies_disabled","contact_ai_replies_enabled","contact_updated"],"description":"Schema for the type of an activity event"},"QueryContactsSchema":{"type":"object","properties":{"search":{"type":"string","maxLength":256,"description":"Search contacts by name"},"unsubscribed":{"type":"boolean","description":"Whether the contact is unsubscribed"},"user_id":{"type":"string","description":"Search contacts by user ID match"},"name":{"type":"string","maxLength":256,"description":"Search contacts by name match"},"username":{"type":"string","maxLength":256,"description":"Search contacts by username match"},"email":{"type":"string","maxLength":256,"format":"email","description":"Search contacts by email match"},"segment_id":{"type":"string","maxLength":128,"description":"Search contacts by segment ID match"},"exclude_admins":{"type":"boolean","description":"Exclude admin contacts"},"status":{"$ref":"#/components/schemas/ContactStatusSchema"}},"description":"Query parameters for fetching contacts"},"ContactStatusSchema":{"type":"string","enum":["ALL","SUBSCRIBED","UNSUBSCRIBED","BLOCKED","AI_REPLIES_DISABLED"],"description":"Filter contacts by subscription status"},"QueryContactFilesSchema":{"type":"object","properties":{"search":{"type":"string","maxLength":256,"description":"Search files by filename","example":"document.pdf"},"mimetype":{"type":"string","maxLength":1024,"description":"Filter by MIME type (prefix match)","example":"image/"}},"description":"Query parameters for fetching contact files"},"QueryTablesSchema":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/TableTypeSchema"},"search":{"type":"string","maxLength":256,"description":"Search tables by name."},"status":{"$ref":"#/components/schemas/TableStatusSchema"}}},"TableTypeSchema":{"type":"string","enum":["custom","contacts","chats","users"]},"TableStatusSchema":{"type":"string","enum":["ACTIVE","ARCHIVED","ALL"],"description":"Filter by visibility. `ACTIVE` excludes archived (default), `ARCHIVED` returns only archived, `ALL` returns both."},"ExportTableRecordsQuerySchema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/TableStatusSchema"},"search":{"type":"string","maxLength":256,"description":"Restrict the export to records matching this search."},"format":{"type":"string","enum":["csv"],"description":"Export format. Only `csv` is currently supported."}}},"QueryTableRecordsSchema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/TableStatusSchema"},"search":{"type":"string","maxLength":256,"description":"Search records by display-field value."}}},"ListOrgViewsQuerySchema":{"type":"object","properties":{"table_type":{"$ref":"#/components/schemas/TableTypeSchema"}}},"QueryTableViewItemsSchema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/TableStatusSchema"},"search":{"type":"string","maxLength":256},"group":{"type":"string","maxLength":1024,"description":"Board only — the group key whose records to return. Use a key from `GET /views/:view_id/groups` (an enum option value, or `'__unmatched__'` for the unmatched group). Required for `kind='board'`."},"date_from":{"type":["string","null"],"format":"date-time","description":"Calendar / Timeline — visible window start. Records whose date axis falls before this are excluded. ISO 8601."},"date_to":{"type":["string","null"],"format":"date-time","description":"Calendar / Timeline — visible window end. Records whose date axis falls after this are excluded. ISO 8601."}}},"QueryBroadcastsSchema":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/BroadcastsTypeSchema"},"status":{"$ref":"#/components/schemas/BroadcastsStatusSchema"},"search":{"type":"string","maxLength":256}},"description":"Query parameters for fetching broadcasts"},"BroadcastsTypeSchema":{"type":"string","enum":["ALL","MARKETING","TRANSACTIONAL"],"description":"The type of the broadcasts"},"BroadcastsStatusSchema":{"type":"string","enum":["ALL","DRAFT","SCHEDULED","SENDING","SENT","CANCELLED","FAILED","ACTIVE","PAUSED"],"description":"The status of the broadcasts"},"QueryBroadcastRecipientsSchema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/BroadcastRecipientsStatusSchema"},"is_skipped":{"type":"boolean"},"is_failed":{"type":"boolean"},"is_bounced":{"type":"boolean"},"is_sent":{"type":"boolean"},"is_delivered":{"type":"boolean"},"is_complained":{"type":"boolean"},"is_unsubscribed":{"type":"boolean"},"is_opened":{"type":"boolean"},"is_played":{"type":"boolean"},"integration_id":{"type":"string"},"contact_id":{"type":"string"},"user_id":{"type":"string"},"username":{"type":"string"},"email":{"type":"string"},"search":{"type":"string"},"sort_field":{"$ref":"#/components/schemas/QueryBroadcastRecipientsSortFieldSchema"},"sort_direction":{"$ref":"#/components/schemas/QueryBroadcastRecipientsSortDirectionSchema"}},"description":"Query parameters for fetching broadcast recipients"},"BroadcastRecipientsStatusSchema":{"type":"string","enum":["ALL","SENDING","PROCESSED"],"description":"The status of the broadcast recipients"},"QueryBroadcastRecipientsSortFieldSchema":{"type":"string","enum":["created_at","updated_at"],"description":"Field to sort broadcast recipients by"},"QueryBroadcastRecipientsSortDirectionSchema":{"type":"string","enum":["asc","desc"],"description":"Direction to sort broadcast recipients by"},"QueryBroadcastsInteractionsSchema":{"type":"object","properties":{"broadcast_id":{"type":"string"},"contact_id":{"type":"string"},"type":{"$ref":"#/components/schemas/BroadcastRecipientInteractionTypeSchema"},"value":{"type":"string"}},"description":"Query parameters for fetching broadcast interactions"},"BroadcastRecipientInteractionTypeSchema":{"type":"string","enum":["CLICK"],"description":"The type of the broadcast recipient interaction"},"QueryBroadcastAnalyticsSchema":{"type":"object","properties":{"from_date":{"type":["string","null"],"format":"date-time"},"to_date":{"type":["string","null"],"format":"date-time"}}},"QueryWorkflowAnalyticsSchema":{"type":"object","properties":{"from_date":{"type":["string","null"],"format":"date-time"},"to_date":{"type":["string","null"],"format":"date-time"}}},"QueryEmailIdentitiesSchema":{"type":"object","properties":{"search":{"type":"string","maxLength":256,"description":"Search identities by email or name"}},"description":"Query parameters for fetching email identities"},"QueryEmailDomainsSchema":{"type":"object","properties":{"search":{"type":"string","maxLength":256,"description":"Search domains by name"}},"description":"Query parameters for fetching email domains"},"ConnectionActionIdSchema":{"type":"string","enum":["SCHEDULER:ON_SCHEDULE","SCHEDULER:TIMEZONES_LIST","WORKFLOWS:WORKFLOWS_LIST","WORKFLOWS:WORKFLOW_ACTIONS","WORKFLOWS:CALL_WORKFLOW","TOOLS:HTTP_REQUEST","TOOLS:WEB_SEARCH","TOOLS:WEB_SCRAPING","TOOLS:OPENAPI_REQUEST","TOOLS:OPENAPI_OPERATIONS_LIST","TOOLS:OPENAPI_OPERATION_SCHEMA","FILES:DOWNLOAD_FILE","FILES:UPLOAD_FILE","FILES:CREATE_CSV","FILES:DELETE_FILE","FILES:MARKDOWN_TO_PDF","FILES:HTML_TO_PDF","AUDIENCE:GET_SEGMENTS","AUDIENCE:UPDATE_CONTACT_SEGMENTS","TABLES:CREATE_RECORD","TABLES:UPDATE_RECORD","TABLES:DELETE_RECORD","TABLES:SEARCH_RECORDS","TABLES:TABLES_LIST","TABLES:RECORDS_LIST","TABLES:RECORD_SCHEMA","KNOWLEDGE:SEARCH","KNOWLEDGE:GET_CHUNK","KNOWLEDGE:LIST_CONTENTS","KNOWLEDGE:GET_CONTENT","KNOWLEDGE:GET_CONTENT_TEXT","KNOWLEDGE:FIND_IN_CONTENT","KNOWLEDGE:REPLACE_IN_CONTENT","KNOWLEDGE:GET_STATS","KNOWLEDGE:ADD_CONTENT","KNOWLEDGE:UPDATE_CONTENT","KNOWLEDGE:REINDEX_CONTENT","KNOWLEDGE:DELETE_CONTENT","EMAILS:ON_EMAIL_STATUS_CHANGE","EMAILS:SEND_EMAIL","EMAILS:LIST_SENDERS","MCP:TOOLS_LIST","MCP:TOOL_SCHEMA","MCP:TOOL_CALL","GOOGLE_SHEETS:ON_SPREADSHEETS_NEW_ROW","GOOGLE_SHEETS:SPREADSHEETS_SEARCH","GOOGLE_SHEETS:SPREADSHEETS_LIST","GOOGLE_SHEETS:SPREADSHEETS_FILES_LIST","GOOGLE_SHEETS:WORKSHEETS_LIST","GOOGLE_SHEETS:SPREADSHEETS_APPEND_ROW","GOOGLE_SHEETS:SPREADSHEETS_UPDATE_ROW","GOOGLE_CALENDAR:ON_NEW_EVENT","GOOGLE_CALENDAR:CALENDARS_LIST","GOOGLE_CALENDAR:FREEBUSY_QUERY","GOOGLE_CALENDAR:EVENTS_SEARCH","GOOGLE_CALENDAR:EVENTS_GET","GOOGLE_CALENDAR:EVENTS_CREATE","GOOGLE_CALENDAR:EVENTS_UPDATE","GOOGLE_CALENDAR:EVENTS_DELETE","GOOGLE_CALENDAR:EVENTS_QUICK_ADD","OUTLOOK_CALENDAR:CALENDARS_LIST","OUTLOOK_CALENDAR:EVENTS_LIST","OUTLOOK_CALENDAR:FREEBUSY_QUERY","OUTLOOK_CALENDAR:EVENTS_SEARCH","OUTLOOK_CALENDAR:EVENTS_GET","OUTLOOK_CALENDAR:EVENTS_CREATE","OUTLOOK_CALENDAR:EVENTS_UPDATE","OUTLOOK_CALENDAR:EVENTS_DELETE","GOOGLE_DRIVE:FILES_SEARCH","GOOGLE_DRIVE:FILES_LIST","GOOGLE_DRIVE:FILES_GET","GOOGLE_DRIVE:FILES_DOWNLOAD","GOOGLE_DRIVE:FILES_CREATE","GOOGLE_DRIVE:FILES_UPDATE","GOOGLE_DRIVE:FILES_DELETE","GOOGLE_DRIVE:FOLDERS_CREATE","AIRTABLE:BASES_LIST","AIRTABLE:TABLES_LIST","AIRTABLE:TABLE_SCHEMA","AIRTABLE:RECORDS_SEARCH","AIRTABLE:RECORD_GET","AIRTABLE:RECORD_CREATE","AIRTABLE:RECORD_UPDATE","AIRTABLE:RECORD_DELETE","AIRTABLE:COLLABORATORS_LIST","NOTION:DATA_SOURCES_LIST","NOTION:DATA_SOURCE_SCHEMA","NOTION:USERS_LIST","NOTION:SEARCH","NOTION:RECORDS_SEARCH","NOTION:RECORD_GET","NOTION:RECORD_CREATE","NOTION:RECORD_UPDATE","NOTION:PAGES_SEARCH","NOTION:PAGES_AND_RECORDS_LIST","NOTION:PAGE_GET","NOTION:PAGE_CREATE","NOTION:PAGE_UPDATE","NOTION:PAGE_CONTENT_APPEND","NOTION:COMMENTS_LIST","NOTION:COMMENT_CREATE","LINEAR:TEAMS_LIST","LINEAR:STATES_LIST","LINEAR:USERS_LIST","LINEAR:LABELS_LIST","LINEAR:ISSUES_SEARCH","LINEAR:ISSUE_GET","LINEAR:ISSUE_CREATE","LINEAR:ISSUE_UPDATE","LINEAR:ISSUE_COMMENT_CREATE","TRELLO:BOARDS_LIST","TRELLO:BOARD_GET","TRELLO:LISTS_LIST","TRELLO:CARDS_SEARCH","TRELLO:CARD_GET","TRELLO:CARD_CREATE","TRELLO:CARD_UPDATE","TRELLO:CARD_MOVE","TRELLO:CARD_COMMENT","TRELLO:CARD_DELETE","TRELLO:MEMBERS_LIST","TRELLO:LABELS_LIST","HUBSPOT:CONTACTS_SEARCH","HUBSPOT:CONTACT_GET","HUBSPOT:CONTACT_CREATE","HUBSPOT:CONTACT_UPDATE","HUBSPOT:CONTACT_PROPERTIES_LIST","HUBSPOT:COMPANIES_SEARCH","HUBSPOT:COMPANY_GET","HUBSPOT:COMPANY_CREATE","HUBSPOT:COMPANY_UPDATE","HUBSPOT:COMPANY_PROPERTIES_LIST","HUBSPOT:DEALS_SEARCH","HUBSPOT:DEAL_GET","HUBSPOT:DEAL_CREATE","HUBSPOT:DEAL_UPDATE","HUBSPOT:DEAL_PROPERTIES_LIST","HUBSPOT:DEAL_PIPELINES_LIST","HUBSPOT:DEAL_STAGES_LIST","HUBSPOT:MEETINGS_SEARCH","HUBSPOT:MEETING_GET","HUBSPOT:MEETING_CREATE","HUBSPOT:MEETING_UPDATE","HUBSPOT:MEETING_DELETE","SALESFORCE:OBJECTS_LIST","SALESFORCE:LEADS_SEARCH","SALESFORCE:LEAD_GET","SALESFORCE:LEAD_CREATE","SALESFORCE:LEAD_UPDATE","SALESFORCE:LEAD_DELETE","SALESFORCE:CONTACTS_SEARCH","SALESFORCE:CONTACT_GET","SALESFORCE:CONTACT_CREATE","SALESFORCE:CONTACT_UPDATE","SALESFORCE:CONTACT_DELETE","SALESFORCE:ACCOUNTS_SEARCH","SALESFORCE:ACCOUNT_GET","SALESFORCE:ACCOUNT_CREATE","SALESFORCE:ACCOUNT_UPDATE","SALESFORCE:ACCOUNT_DELETE","SALESFORCE:OPPORTUNITIES_SEARCH","SALESFORCE:OPPORTUNITY_GET","SALESFORCE:OPPORTUNITY_CREATE","SALESFORCE:OPPORTUNITY_UPDATE","SALESFORCE:OPPORTUNITY_DELETE","ZOHO:MODULES_LIST","ZOHO:MODULE_FIELDS","ZOHO:RECORDS_SEARCH","ZOHO:RECORD_GET","ZOHO:RECORD_CREATE","ZOHO:RECORD_UPDATE","ZOHO:RECORD_DELETE","ZOHO:USERS_LIST","ZOHO:TAGS_LIST","ZOHO:PIPELINES_LIST","ZOHO:DEAL_STAGES_LIST","ZOHO:LEADS_SEARCH","ZOHO:LEAD_GET","ZOHO:LEAD_CREATE","ZOHO:LEAD_UPDATE","ZOHO:LEAD_DELETE","ZOHO:LEAD_CONVERT","ZOHO:CONTACTS_SEARCH","ZOHO:CONTACT_GET","ZOHO:CONTACT_CREATE","ZOHO:CONTACT_UPDATE","ZOHO:CONTACT_DELETE","ZOHO:CONTACT_TAGS_ADD","ZOHO:CONTACT_TAGS_REMOVE","ZOHO:ACCOUNTS_SEARCH","ZOHO:ACCOUNT_GET","ZOHO:ACCOUNT_CREATE","ZOHO:ACCOUNT_UPDATE","ZOHO:ACCOUNT_DELETE","ZOHO:DEALS_SEARCH","ZOHO:DEAL_GET","ZOHO:DEAL_CREATE","ZOHO:DEAL_UPDATE","ZOHO:DEAL_DELETE","ZOHO:CALENDAR_EVENTS_LIST","ZOHO:CALENDAR_EVENT_CREATE","ZOHO:CALENDAR_EVENT_UPDATE","ZOHO:CALENDAR_EVENT_DELETE","ZOHO:ATTACHMENTS_UPLOAD","ZOHO:ATTACHMENTS_LIST","ZOHO:ATTACHMENTS_DOWNLOAD","ZOHO:ATTACHMENTS_DELETE","ZOHO_BOOKINGS:WORKSPACES_LIST","ZOHO_BOOKINGS:SERVICES_LIST","ZOHO_BOOKINGS:STAFF_LIST","ZOHO_BOOKINGS:RESOURCES_LIST","ZOHO_BOOKINGS:AVAILABILITY_GET","ZOHO_BOOKINGS:APPOINTMENTS_SEARCH","ZOHO_BOOKINGS:APPOINTMENT_GET","ZOHO_BOOKINGS:APPOINTMENT_BOOK","ZOHO_BOOKINGS:APPOINTMENT_RESCHEDULE","ZOHO_BOOKINGS:APPOINTMENT_UPDATE","ZOHO_BOOKINGS:APPOINTMENT_CANCEL","ZOHO_BOOKINGS:CUSTOMER_CREATE","ZOHO_INVENTORY:ITEMS_SEARCH","ZOHO_INVENTORY:ITEM_GET","ZOHO_INVENTORY:ITEM_CREATE","ZOHO_INVENTORY:ITEM_UPDATE","ZOHO_INVENTORY:ITEM_IMAGE_UPLOAD","ZOHO_INVENTORY:ITEM_IMAGE_DELETE","ZOHO_INVENTORY:CONTACTS_SEARCH","ZOHO_INVENTORY:CONTACT_GET","ZOHO_INVENTORY:CONTACT_CREATE","ZOHO_INVENTORY:CONTACT_UPDATE","ZOHO_INVENTORY:SALES_ORDERS_SEARCH","ZOHO_INVENTORY:SALES_ORDER_GET","ZOHO_INVENTORY:SALES_ORDER_CREATE","ZOHO_INVENTORY:SALES_ORDER_UPDATE","ZOHO_INVENTORY:INVOICES_SEARCH","ZOHO_INVENTORY:INVOICE_GET","ZOHO_INVENTORY:INVOICE_CREATE","ZOHO_INVENTORY:INVOICE_SEND","ZOHO_CALENDAR:CALENDARS_LIST","ZOHO_CALENDAR:FREEBUSY_GET","ZOHO_CALENDAR:EVENTS_SEARCH","ZOHO_CALENDAR:EVENT_GET","ZOHO_CALENDAR:EVENT_CREATE","ZOHO_CALENDAR:EVENT_UPDATE","ZOHO_CALENDAR:EVENT_DELETE","GOHIGHLEVEL:CONTACTS_SEARCH","GOHIGHLEVEL:CONTACT_GET","GOHIGHLEVEL:CONTACT_CREATE","GOHIGHLEVEL:CONTACT_UPDATE","GOHIGHLEVEL:CONTACT_DELETE","GOHIGHLEVEL:CONTACT_TAGS_ADD","GOHIGHLEVEL:CONTACT_TAGS_REMOVE","GOHIGHLEVEL:OPPORTUNITIES_SEARCH","GOHIGHLEVEL:OPPORTUNITY_GET","GOHIGHLEVEL:OPPORTUNITY_CREATE","GOHIGHLEVEL:OPPORTUNITY_UPDATE","GOHIGHLEVEL:OPPORTUNITY_DELETE","GOHIGHLEVEL:PIPELINES_LIST","GOHIGHLEVEL:PIPELINE_STAGES_LIST","GOHIGHLEVEL:CALENDARS_LIST","GOHIGHLEVEL:CALENDAR_FREE_SLOTS","GOHIGHLEVEL:CALENDAR_BLOCKED_SLOTS","GOHIGHLEVEL:CALENDAR_EVENTS_LIST","GOHIGHLEVEL:CALENDAR_EVENT_CREATE","GOHIGHLEVEL:CALENDAR_EVENT_UPDATE","GOHIGHLEVEL:CALENDAR_EVENT_DELETE","GOHIGHLEVEL:CAMPAIGNS_LIST","GOHIGHLEVEL:CUSTOM_FIELDS","GOHIGHLEVEL:TAGS_LIST","GOHIGHLEVEL:COUNTRIES_LIST","GOHIGHLEVEL:USERS_LIST","CAL:SLOTS_GET","CAL:BOOKINGS_LIST","CAL:BOOKING_GET","CAL:BOOKING_CREATE","CAL:BOOKING_UPDATE","CAL:BOOKING_CANCEL","CAL:EVENTS_LIST","CALENDLY:AVAILABLE_TIMES_GET","CALENDLY:EVENTS_SEARCH","CALENDLY:EVENT_GET","CALENDLY:EVENT_CREATE","CALENDLY:EVENT_CANCEL","CALENDLY:SCHEDULING_LINK_CREATE","CALENDLY:EVENT_TYPES_LIST","CALENDLY:USERS_LIST","SLACK:ON_MENTION","SLACK:ON_CHANNEL_NEW_MESSAGE","SLACK:SEARCH","SLACK:CHANNELS_LIST","SLACK:CHANNELS_LIST_WITH_ANY","SLACK:CHANNELS_MESSAGES_LIST","SLACK:CHANNELS_SEND_MESSAGE","SLACK:CHANNELS_REPLY_MESSAGE","TELEGRAM:ON_NEW_MESSAGE","TELEGRAM:SEND_MESSAGE","INSTAGRAM:ON_NEW_MESSAGE","INSTAGRAM:SEND_MESSAGE","MESSENGER:ON_NEW_MESSAGE","MESSENGER:SEND_MESSAGE","MESSENGER:PAGES_LIST","TIKTOK:ON_NEW_MESSAGE","TIKTOK:SEND_MESSAGE","WHATSAPP:ON_NEW_MESSAGE","WHATSAPP:ON_MESSAGE_STATUS_CHANGE","WHATSAPP:SEND_MESSAGE","WHATSAPP:SEND_MESSAGE_TEMPLATE","WHATSAPP:PHONE_NUMBERS_LIST","WHATSAPP:TEMPLATES_LIST","GMAIL:ON_NEW_EMAIL","GMAIL:SEND_EMAIL","GMAIL:REPLY_EMAIL","GMAIL:FROM_EMAIL_LIST","GMAIL:LABELS_LIST","JAPIFON:ON_NEW_MESSAGE","JAPIFON:MESSAGE_SEND","TWILIO:ON_NEW_MESSAGE","TWILIO:SEND_MESSAGE","TWILIO:PHONE_NUMBERS_LIST","TELNYX:ON_NEW_MESSAGE","TELNYX:SEND_MESSAGE","TELNYX:PHONE_NUMBERS_LIST","RESEND:ON_NEW_EMAIL","RESEND:SEND_EMAIL","STRIPE:CUSTOMERS_SEARCH","STRIPE:CUSTOMER_GET","STRIPE:CUSTOMER_CREATE","STRIPE:CUSTOMER_UPDATE","STRIPE:CHECKOUT_SESSION_CREATE","STRIPE:BILLING_PORTAL_SESSION_CREATE","STRIPE:CURRENCIES_LIST","STRIPE:PRICES_LIST","STRIPE:PAYMENT_LINK_CREATE","STRIPE:PAYMENT_LINK_GET","STRIPE:PAYMENT_GET","STRIPE:PAYMENT_REFUND","STRIPE:PAYMENTS_LIST","STRIPE:SUBSCRIPTION_CREATE","STRIPE:SUBSCRIPTION_GET","STRIPE:SUBSCRIPTION_UPDATE","STRIPE:SUBSCRIPTION_CANCEL","STRIPE:SUBSCRIPTIONS_LIST","STRIPE:INVOICE_CREATE","STRIPE:INVOICE_GET","STRIPE:INVOICE_SEND","STRIPE:INVOICES_LIST","SHOPIFY:PRODUCTS_SEARCH","SHOPIFY:PRODUCT_GET","SHOPIFY:PRODUCT_VARIANTS_SEARCH","SHOPIFY:ORDERS_SEARCH","SHOPIFY:ORDER_GET","SHOPIFY:ORDER_CREATE","SHOPIFY:ORDER_UPDATE","SHOPIFY:CUSTOMERS_SEARCH","SHOPIFY:CUSTOMER_GET","SHOPIFY:CUSTOMER_CREATE","SHOPIFY:CUSTOMER_UPDATE","SHOPIFY:INVENTORY_LEVELS_LIST","ZENDESK:TICKET_SEARCH","ZENDESK:TICKET_GET","ZENDESK:TICKET_CREATE","ZENDESK:TICKET_UPDATE","ZENDESK:TICKET_REPLY","ZENDESK:TICKET_ADD_NOTE","ZENDESK:TICKET_COMMENTS_LIST","ZENDESK:TICKETS_LIST","ODOO:LEADS_SEARCH","ODOO:LEAD_GET","ODOO:LEAD_CREATE","ODOO:LEAD_UPDATE","ODOO:LEAD_DELETE","ODOO:LEAD_CONVERT","ODOO:OPPORTUNITIES_SEARCH","ODOO:OPPORTUNITY_GET","ODOO:OPPORTUNITY_CREATE","ODOO:OPPORTUNITY_UPDATE","ODOO:OPPORTUNITY_DELETE","ODOO:CONTACTS_SEARCH","ODOO:STAGES_LIST","ODOO:TAGS_LIST","ODOO:CALENDARS_LIST","ODOO:CALENDAR_EVENTS_LIST","ODOO:CALENDAR_EVENT_CREATE","ODOO:CALENDAR_EVENT_UPDATE","ODOO:CALENDAR_EVENT_DELETE","ODOO:RECORDS_SEARCH","ODOO:ATTACHMENTS_UPLOAD","ODOO:ATTACHMENTS_LIST","ODOO:ATTACHMENTS_DOWNLOAD","ODOO:ATTACHMENTS_DELETE","WOOCOMMERCE:PRODUCTS_SEARCH","WOOCOMMERCE:PRODUCT_GET","WOOCOMMERCE:PRODUCT_VARIATIONS_SEARCH","WOOCOMMERCE:CUSTOMERS_SEARCH","WOOCOMMERCE:CUSTOMER_GET","WOOCOMMERCE:CUSTOMER_CREATE","WOOCOMMERCE:CUSTOMER_UPDATE","WOOCOMMERCE:ORDERS_SEARCH","WOOCOMMERCE:ORDER_GET","WOOCOMMERCE:ORDER_CREATE","WOOCOMMERCE:ORDER_UPDATE","WOOCOMMERCE:ORDER_NOTE_CREATE","WOOCOMMERCE:COUPON_GET","WOOCOMMERCE:PRODUCT_CATEGORIES_LIST"]},"ConnectionActionInterfaceSchema":{"type":"object","properties":{"action_id":{"type":"string","maxLength":256},"connection_id":{"type":"string","maxLength":128},"input":{"$ref":"#/components/schemas/InputValuesSchema"},"resource_id":{"type":"string","maxLength":4096},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"maxItems":50}},"required":["action_id"],"description":"The interface of a connection action"},"InputValuesSchema":{"type":"object","additionalProperties":{},"description":"Values of the fields"},"QueryConnectionActionOptionsSchemaSchema":{"type":"object","properties":{"search":{"type":"string","maxLength":4096,"description":"Search query"},"value":{"type":"string","maxLength":4096,"description":"Filter by a single value"},"values":{"type":"array","items":{"type":"string","maxLength":4096},"maxItems":50,"description":"Filter by multiple values"}},"description":"Query connection action"},"ConnectionConfigSchema":{"anyOf":[{"$ref":"#/components/schemas/ConnectionPhoneManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionEmailsManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionOauthManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionOauthOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionHttpCredentialsManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionMcpManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionGoogleSheetsOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionGoogleCalendarOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionOutlookCalendarOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionGoogleDriveOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionAirtableOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionNotionOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionLinearOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionTrelloOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionHubspotOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionSalesforceOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionZohoOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionZohoBookingsOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionZohoInventoryOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionZohoCalendarOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionGohighlevelOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionCalOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionCalendlyOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionSlackOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionTelegramManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionInstagramOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionMessengerOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionTiktokOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionWhatsappOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionGmailOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionJapifonManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionTwilioManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionTelnyxManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionResendManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionStripeOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionShopifyOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionZendeskOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionOdooManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionWoocommerceManualConfigSchema"}],"description":"Configuration of a connection"},"ConnectionPhoneManualConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["PHONE"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["MANUAL"],"description":"The authentication method to use"},"phone":{"type":"string","description":"The phone number to send the verification code to","title":"Phone Number"},"code":{"type":"number","description":"The validation code","title":"Expires In"}},"required":["type","auth_method","phone"],"description":"Configuration of an Phone connection"},"ConnectionEmailsManualConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["EMAILS"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["MANUAL"],"description":"The authentication method to use"}},"required":["type","auth_method"],"description":"Configuration of an Emails connection"},"ConnectionOauthManualConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["OAUTH"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["MANUAL"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method","access_token"],"description":"Configuration of an OAuth connection"},"ConnectionOauthOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["OAUTH"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an OAuth connection"},"ConnectionHttpCredentialsManualConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["HTTP_CREDENTIALS"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["MANUAL"],"description":"The authentication method to use"},"auth_type":{"type":"string","description":"The type of HTTP authentication to use","title":"Authentication Type","enum":["bearer","basic","custom_header","oauth_client_credentials","oauth_custom"]},"token":{"type":"string","description":"The bearer token for authentication","title":"Bearer Token"},"username":{"type":"string","description":"Username for Basic authentication","title":"Username"},"password":{"type":"string","description":"Password for Basic authentication","title":"Password"},"header_name":{"type":"string","description":"The name of the custom header","title":"Header Name"},"header_value":{"type":"string","description":"The value for the custom header","title":"Header Value"},"token_url":{"type":"string","description":"Endpoint that issues access tokens.","title":"Token URL"},"client_id":{"type":"string"},"client_secret":{"type":"string"},"scope":{"type":"string","description":"Space-separated list of scopes to request.","title":"Scope"},"refresh_url":{"type":"string","description":"Optional. Separate endpoint for refresh. Falls back to the token URL when empty.","title":"Refresh URL"},"token_body_format":{"type":"string","description":"How the token endpoint expects the request body","title":"Token request body format","enum":["form-urlencoded","json"]},"token_body_fields":{"type":"string","description":"JSON object posted to the token URL. Provider-specific. Example for DataTree: {\"ClientId\":\"...\",\"ClientSecretKey\":\"...\"}.","title":"Token request body"},"token_response_format":{"type":"string","description":"How to read the access token out of the response. 'json' uses a JSON path. 'raw_string' treats the entire response body as the token (e.g. DataTree).","title":"Token response format","enum":["json","raw_string"]},"token_response_path":{"type":"string","description":"JSON path to the access token (e.g. 'access_token', 'data.token').","title":"Access token path"},"expires_in_seconds":{"type":"number","description":"Used when the response does not include an expiry. DataTree = 7200.","title":"Token TTL fallback (seconds)"},"refresh_token_response_path":{"type":"string","description":"JSON path to the refresh token. Defaults to 'refresh_token'.","title":"Refresh token path"},"expires_in_response_path":{"type":"string","description":"JSON path to the TTL. Defaults to 'expires_in'.","title":"Expires in path"},"auth_header_name":{"type":"string","description":"Defaults to 'Authorization'.","title":"Auth header name"},"auth_header_template":{"type":"string","description":"Use {{token}} as the placeholder. Defaults to 'Bearer {{token}}'.","title":"Auth header value template"},"access_token":{"type":"string","description":"The cached access token","title":"Access Token"},"refresh_token":{"type":"string","description":"The cached refresh token (if returned by the token endpoint)","title":"Refresh Token"},"next_refresh_at":{"type":"number","description":"Unix seconds when the cached token must be refreshed","title":"Next Refresh At"}},"required":["type","auth_method","auth_type"],"description":"Configuration of an HTTP Credentials connection"},"ConnectionMcpManualConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["MCP"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["MANUAL"],"description":"The authentication method to use"},"url":{"type":"string","description":"The URL of the MCP server","title":"URL"},"api_key":{"type":"string","description":"Access token or API key for authentication","title":"Access Token or API Key"},"headers":{"type":"string","description":"Additional headers as JSON key-value pairs","title":"Headers"}},"required":["type","auth_method","url"],"description":"Configuration of an MCP connection"},"ConnectionGoogleSheetsOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["GOOGLE_SHEETS"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Google Sheets connection"},"ConnectionGoogleCalendarOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["GOOGLE_CALENDAR"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Google Calendar connection"},"ConnectionOutlookCalendarOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["OUTLOOK_CALENDAR"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Outlook Calendar connection"},"ConnectionGoogleDriveOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["GOOGLE_DRIVE"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Google Drive connection"},"ConnectionAirtableOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["AIRTABLE"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Airtable connection"},"ConnectionNotionOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["NOTION"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Notion connection"},"ConnectionLinearOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["LINEAR"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Linear connection"},"ConnectionTrelloOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["TRELLO"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Trello connection"},"ConnectionHubspotOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["HUBSPOT"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an HubSpot connection"},"ConnectionSalesforceOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["SALESFORCE"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Salesforce connection"},"ConnectionZohoOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["ZOHO"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Zoho CRM connection"},"ConnectionZohoBookingsOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["ZOHO_BOOKINGS"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Zoho Bookings connection"},"ConnectionZohoInventoryOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["ZOHO_INVENTORY"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Zoho Inventory connection"},"ConnectionZohoCalendarOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["ZOHO_CALENDAR"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Zoho Calendar connection"},"ConnectionGohighlevelOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["GOHIGHLEVEL"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an GoHighLevel connection"},"ConnectionCalOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["CAL"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Cal.com connection"},"ConnectionCalendlyOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["CALENDLY"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Calendly connection"},"ConnectionSlackOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["SLACK"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Slack connection"},"ConnectionTelegramManualConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["TELEGRAM"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["MANUAL"],"description":"The authentication method to use"},"api_key":{"type":"string","description":"The bot token from @BotFather","title":"Telegram Bot Token"}},"required":["type","auth_method","api_key"],"description":"Configuration of an Telegram connection"},"ConnectionInstagramOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["INSTAGRAM"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Instagram connection"},"ConnectionMessengerOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["MESSENGER"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Messenger connection"},"ConnectionTiktokOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["TIKTOK"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an TikTok connection"},"ConnectionWhatsappOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["WHATSAPP"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an WhatsApp connection"},"ConnectionGmailOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["GMAIL"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Gmail connection"},"ConnectionJapifonManualConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["JAPIFON"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["MANUAL"],"description":"The authentication method to use"},"api_key":{"type":"string","description":"Your Japifon API Key","title":"API Key"}},"required":["type","auth_method","api_key"],"description":"Configuration of an Japifon connection"},"ConnectionTwilioManualConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["TWILIO"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["MANUAL"],"description":"The authentication method to use"},"account_sid":{"type":"string","description":"Your Twilio Account SID from the console","title":"Account SID"},"auth_token":{"type":"string","description":"Your Twilio Auth Token (keep this secret)","title":"Auth Token"}},"required":["type","auth_method","account_sid","auth_token"],"description":"Configuration of an Twilio connection"},"ConnectionTelnyxManualConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["TELNYX"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["MANUAL"],"description":"The authentication method to use"},"api_key":{"type":"string","description":"Your Telnyx API Key (API v2)","title":"API Key"}},"required":["type","auth_method","api_key"],"description":"Configuration of an Telnyx connection"},"ConnectionResendManualConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["RESEND"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["MANUAL"],"description":"The authentication method to use"},"api_key":{"type":"string","description":"The API key for Resend","title":"API Key"}},"required":["type","auth_method","api_key"],"description":"Configuration of an Resend connection"},"ConnectionStripeOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["STRIPE"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Stripe connection"},"ConnectionShopifyOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["SHOPIFY"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Shopify connection"},"ConnectionZendeskOauthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["ZENDESK"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["OAUTH"],"description":"The authentication method to use"},"access_token":{"type":"string","description":"The access token for OAuth authentication","title":"Access Token"},"refresh_token":{"type":"string","description":"The refresh token for OAuth authentication","title":"Refresh Token"},"expires_in":{"type":"number","description":"The expiration time of the access token","title":"Expires In"},"next_refresh_at":{"type":"number","description":"The timestamp when the access token will be refreshed","title":"Next Refresh At"},"scope":{"type":"string","description":"The scope of the access token","title":"Scope"},"api_url":{"type":"string"},"profile_url":{"type":"string"},"subdomain":{"type":"string"}},"required":["type","auth_method"],"description":"Configuration of an Zendesk connection"},"ConnectionOdooManualConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["ODOO"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["MANUAL"],"description":"The authentication method to use"},"url":{"type":"string","description":"Your Odoo instance URL","title":"Odoo URL"},"database":{"type":"string","description":"The name of your Odoo database","title":"Database Name"},"username":{"type":"string","description":"Your Odoo username or email","title":"Username / Email"},"api_key":{"type":"string","description":"API key from Odoo (Settings > Users > API Keys)","title":"API Key"}},"required":["type","auth_method","url","database","username","api_key"],"description":"Configuration of an Odoo CRM connection"},"ConnectionWoocommerceManualConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["WOOCOMMERCE"],"description":"The type of the connection"},"auth_method":{"type":"string","enum":["MANUAL"],"description":"The authentication method to use"},"store_url":{"type":"string","description":"Your WooCommerce store URL (must use HTTPS)","title":"Store URL"},"consumer_key":{"type":"string","description":"Generate from WooCommerce > Settings > Advanced > REST API (Read/Write)","title":"Consumer Key"},"consumer_secret":{"type":"string","description":"The Consumer Secret paired with your Consumer Key","title":"Consumer Secret"}},"required":["type","auth_method","store_url","consumer_key","consumer_secret"],"description":"Configuration of an WooCommerce connection"},"ConnectionConfigPartialSchema":{"anyOf":[{"$ref":"#/components/schemas/ConnectionPhoneManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionEmailsManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionOauthManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionOauthOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionHttpCredentialsManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionMcpManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionGoogleSheetsOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionGoogleCalendarOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionOutlookCalendarOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionGoogleDriveOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionAirtableOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionNotionOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionLinearOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionTrelloOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionHubspotOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionSalesforceOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionZohoOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionZohoBookingsOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionZohoInventoryOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionZohoCalendarOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionGohighlevelOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionCalOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionCalendlyOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionSlackOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionTelegramManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionInstagramOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionMessengerOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionTiktokOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionWhatsappOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionGmailOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionJapifonManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionTwilioManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionTelnyxManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionResendManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionStripeOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionShopifyOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionZendeskOauthConfigSchema"},{"$ref":"#/components/schemas/ConnectionOdooManualConfigSchema"},{"$ref":"#/components/schemas/ConnectionWoocommerceManualConfigSchema"}],"description":"Configuration of a connection"},"QueryConnectionsSchema":{"type":"object","properties":{"type":{"allOf":[{"$ref":"#/components/schemas/ConnectionTypeSchema"},{"description":"Filter connections by type"}]}},"description":"Query parameters for fetching connections"},"ChatSchema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":["string","null"],"description":"The title of the chat"},"model":{"type":"string","description":"The model used for the chat"},"tools":{"type":"array","items":{"$ref":"#/components/schemas/ModelToolSchema"},"description":"The tools available in the chat"},"features":{"$ref":"#/components/schemas/ChatFeaturesSchema"},"org_id":{"type":"string"},"members":{"type":"array","items":{"$ref":"#/components/schemas/ChatMemberSchema"},"description":"The members of the chat"},"temporary":{"type":"boolean","description":"Whether the chat is temporary and would be deleted after 24 hours of last activity"},"visibility":{"type":"string","enum":["PRIVATE","PUBLIC_READ","PUBLIC_WRITE"],"description":"The visibility of the chat"},"pinned":{"type":"boolean","description":"Whether the chat is pinned in the user interface"},"status":{"type":"string","enum":["RUNNING","COMPLETED","FAILED","CANCELED"],"description":"The status of the chat"},"state":{"$ref":"#/components/schemas/ChatStateSchema"},"link":{"type":"string","description":"The link to the chat in the integration"},"shared_url":{"type":["string","null"],"description":"The shared URL of the chat, if it is shared"},"last_message":{"$ref":"#/components/schemas/ChatMessageSchema"},"referral":{"$ref":"#/components/schemas/ChatReferralSchema"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","title","model","members","temporary","visibility","pinned","status","shared_url","created_at","updated_at"]},"ModelToolSchema":{"type":"object","properties":{"name":{"type":"string","maxLength":256,"description":"Name of the tool to called, can be a step key or custom tool"},"display_name":{"type":"string","maxLength":256,"description":"Display name of the tool, can be used in UI"},"action_name":{"type":"string","maxLength":256,"description":"The original name of the action this tool is based on, used for connection-based tools"},"description":{"type":"string","maxLength":2048,"description":"Description of the tool"},"icon":{"type":"string","maxLength":125,"description":"The name of the icon to use in the UI","oneOf":[{"$ref":"#/components/schemas/IconNameSchema"}]},"icon_url":{"type":"string","description":"URL of the icon to use in the UI"},"connection_id":{"type":"string","maxLength":256,"description":"For connection-bound tools (action runners), the id of the connection this tool executes against"},"parameters":{"allOf":[{"$ref":"#/components/schemas/FieldsSchema"},{"description":"Parameters for the tool call using an input schema definition"}]},"input":{"allOf":[{"$ref":"#/components/schemas/InputValuesSchema"},{"description":"For connection-bound tools, locked input values (e.g. a selected resource) that drive dynamic fields and are injected at execution"}]},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"},"description":"For connection-bound tools, dynamic field schemas loaded for the selected resource, merged into the parameters at build time"},"enabled":{"type":"boolean","description":"For tools that are enabled by default, set to false to opt out and disable them for this chat"},"callback":{"type":"string"},"validation":{"type":"string"}},"required":["name"]},"ChatFeaturesSchema":{"type":"object","properties":{"reasoning":{"$ref":"#/components/schemas/ModelFeatureReasoningSchema"},"mode":{"$ref":"#/components/schemas/ConnectionActionApprovalModeSchema"},"auto_discover":{"type":"boolean"},"web":{"type":"boolean"},"image_generation":{"type":"boolean"},"workbench":{"$ref":"#/components/schemas/ChatWorkbenchFeatureSchema"}},"description":"Per-chat features and run settings: model features plus approval mode, auto-discover, and org-chat tool toggles."},"ModelFeatureReasoningSchema":{"type":"object","properties":{"effort":{"$ref":"#/components/schemas/ModelFeatureReasoningEffortSchema"}},"required":["effort"],"description":"The reasoning capability of the model."},"ModelFeatureReasoningEffortSchema":{"type":"string","enum":["low","medium","high"],"description":"The effort level of the reasoning capability."},"ConnectionActionApprovalModeSchema":{"type":"string","enum":["auto","ask","never"],"description":"When the assistant must ask before running the action"},"ChatWorkbenchFeatureSchema":{"type":"object","properties":{"enabled":{"type":"boolean"},"network":{"$ref":"#/components/schemas/ChatWorkbenchNetworkSchema"}},"description":"Workbench: run code and tools in a sandbox."},"ChatWorkbenchNetworkSchema":{"type":"string","enum":["full","limited","none"],"description":"Workbench outbound network: full (open), limited (package registries only), or none (offline)."},"ChatMemberSchema":{"type":"object","properties":{"id":{"type":"string"},"role":{"$ref":"#/components/schemas/ChatMemberRoleSchema"},"user":{"$ref":"#/components/schemas/UserPublicSchema"},"session":{"$ref":"#/components/schemas/PublicSessionSchema"},"contact_channel":{"$ref":"#/components/schemas/PublicContactChannelSchema"}},"required":["id","role"],"description":"The member of the chat"},"ChatMemberRoleSchema":{"type":"string","enum":["ADMIN","MEMBER"],"description":"The role of the member in the chat"},"PublicSessionSchema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"description":"Data that is publicly accessible for a session"},"PublicContactChannelSchema":{"type":"object","properties":{"id":{"type":"string"},"type":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"user_id":{"type":"string","description":"The unique identifier for the contact channel, e.g Phone Number or User ID"},"avatar":{"type":["string","null"],"description":"The avatar for the contact channel, e.g X Avatar URL"},"name":{"type":["string","null"],"description":"The name for the contact channel, e.g Full Name"},"username":{"type":["string","null"],"description":"The username for the contact channel, e.g Username"},"email":{"type":["string","null"],"format":"email","description":"The email for the contact channel, e.g Email"},"phone":{"type":["string","null"],"description":"The phone number for the contact channel, e.g Phone Number"},"country":{"type":["string","null"],"description":"The country code associated with the contact channel, e.g US for United States"},"agent":{"type":["string","null"],"description":"The user agent associated with the contact channel"},"ip":{"type":["string","null"],"description":"The IP address associated with the contact channel"},"language":{"type":["string","null"],"description":"The language code associated with the contact channel, e.g en for English"},"link":{"type":"string","description":"A link to the contact channel, e.g a link to the social media profile"},"contact":{"$ref":"#/components/schemas/PublicContactSchema"}},"required":["id","type","user_id","avatar","name","username","email","phone","country","agent","ip","language","contact"],"description":"Schema for the public contact channel"},"PublicContactSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"blocked":{"type":"boolean"},"unsubscribed":{"type":"boolean"},"ai_replies_disabled":{"type":"boolean"},"is_admin":{"type":"boolean"}},"required":["id","name","blocked","unsubscribed","ai_replies_disabled","is_admin"],"description":"Schema for the contact"},"ChatStateSchema":{"type":"object","properties":{"id":{"type":"string"},"state":{"$ref":"#/components/schemas/ChatStateStatusSchema"},"integration_id":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"assistant":{"$ref":"#/components/schemas/PublicAssistantSchema"},"assistant_id":{"type":["string","null"],"description":"The ID of the assistant used in the chat"},"assistant_integration":{"$ref":"#/components/schemas/PublicAssistantIntegrationSchema"},"assistant_integration_id":{"type":["string","null"],"description":"The ID of the assistant integration used in the chat"},"conversation_id":{"type":"string","description":"The ID of the conversation associated with the chat"},"assigned_user":{"$ref":"#/components/schemas/UserLimitedSchema"},"assigned_at":{"type":["string","null"],"format":"date-time"},"assistant_config":{"$ref":"#/components/schemas/AssistantConfigSchema"},"ai_enabled":{"type":"boolean","description":"Whether AI is enabled for the chat"},"admin_unseen_count":{"type":"number","description":"The number of unseen messages in the chat"},"user_unseen_count":{"type":"number","description":"The number of unseen messages in the chat"},"follow_up_at":{"type":["string","null"],"format":"date-time","description":"Scheduled follow-up datetime"},"muted_until":{"type":["string","null"],"format":"date-time","description":"Mute expiry datetime (null = not muted)"},"csat_score":{"type":["integer","null"],"minimum":1,"maximum":5,"description":"Customer satisfaction score (1-5)"},"last_contact_message_at":{"type":["string","null"],"format":"date-time"}},"required":["id","state","integration_id","assistant_id","assistant_integration_id","conversation_id","ai_enabled","admin_unseen_count","user_unseen_count"],"description":"Schema for the chat state"},"ChatStateStatusSchema":{"type":"string","enum":["OPEN","SNOOZED","CLOSED"],"description":"The state status of the chat"},"PublicAssistantSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"enabled":{"type":"boolean"},"avatar_url":{"type":["string","null"]},"deleted":{"type":"boolean"},"config":{"$ref":"#/components/schemas/PublicAssistantConfigSchema"}},"required":["id","name","enabled","avatar_url","deleted","config"],"description":"Schema for a public assistant"},"PublicAssistantConfigSchema":{"type":"object","properties":{"conversation":{"$ref":"#/components/schemas/PublicAssistantConversationConfigSchema"}},"required":["conversation"],"description":"Schema for a public assistant configuration"},"PublicAssistantConversationConfigSchema":{"type":"object","properties":{"welcome_banner":{"type":"string","maxLength":256,"description":"Static greeting text displayed in the UI when users start a new conversation"},"suggested_messages":{"type":"array","items":{"type":"string","maxLength":64},"maxItems":5,"description":"Suggested messages displayed to users when they start a new conversation"},"auto_intro_message":{"type":"string","maxLength":256,"description":"First message automatically sent by the assistant only when a conversation begins via API call"},"enable_auto_csat":{"type":"boolean","description":"Whether the assistant should automatically score customer satisfaction (CSAT) when closing conversations"},"enable_ai_replies":{"type":"boolean","description":"Whether the AI generates replies. When false the assistant is human-only: incoming messages are still received and stored but the AI never responds, so a human answers."}},"description":"Schema for a public assistant conversation configuration"},"PublicAssistantIntegrationSchema":{"type":"object","properties":{"id":{"type":"string"},"enabled":{"type":"boolean"},"has_connection":{"type":"boolean"}},"required":["id","enabled","has_connection"],"description":"Schema for a public assistant integration"},"UserLimitedSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"email":{"type":"string","format":"email"},"avatar":{"type":["string","null"]},"seen_at":{"type":["string","null"],"format":"date-time"}},"required":["id","name","email","avatar","seen_at"],"description":"The assigned user for the conversation"},"AssistantConfigSchema":{"type":"object","properties":{"instructions":{"type":"string","maxLength":10240,"description":"The instructions for the assistant"},"language":{"$ref":"#/components/schemas/ModelLanguageSchema"},"model":{"type":"string","minLength":1,"maxLength":128,"description":"The model to use for the assistant"},"stt":{"$ref":"#/components/schemas/AssistantSttConfigSchema"},"tts":{"$ref":"#/components/schemas/AssistantTtsConfigSchema"},"conversation":{"$ref":"#/components/schemas/AssistantConversationConfigSchema"},"knowledge_scope":{"$ref":"#/components/schemas/KnowledgeModeSchema"},"timezone":{"type":"string","maxLength":64,"description":"IANA timezone for the assistant (e.g. \"America/New_York\")"}},"required":["language","model","stt","tts","conversation","knowledge_scope","timezone"],"description":"Schema for the configuration of an assistant"},"ModelLanguageSchema":{"type":"string","enum":["auto","en","es"],"description":"List of supported languages for the model in ISO 639-1 format or \"auto\""},"AssistantSttConfigSchema":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":128}},"required":["model"],"description":"Schema for the STT configuration of an assistant"},"AssistantTtsConfigSchema":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":128},"voice_id":{"type":"string","minLength":1,"maxLength":128}},"required":["model","voice_id"],"description":"Schema for the TTS configuration of an assistant"},"AssistantConversationConfigSchema":{"type":"object","properties":{"thread_mode":{"$ref":"#/components/schemas/AssistantThreadModeSchema"},"welcome_banner":{"type":"string","maxLength":256,"description":"Static greeting text displayed in the UI when users start a new conversation"},"suggested_messages":{"type":"array","items":{"type":"string","maxLength":64},"maxItems":5,"description":"Suggested messages displayed to users when they start a new conversation"},"auto_intro_message":{"type":"string","maxLength":256,"description":"First message automatically sent by the assistant only when a conversation begins via API call"},"enable_memories":{"type":"boolean","description":"Whether to enable the \"Manage Memories\" tool for the assistant"},"enable_end_conversation_tool":{"type":"boolean","description":"Whether to enable the \"Close Conversation\" tool for the assistant"},"enable_transfer_to_human_tool":{"type":"boolean","description":"Whether to enable the \"Transfer to Human\" tool for the assistant"},"enable_block_contact_tool":{"type":"boolean","description":"Whether to enable the \"Block Contact\" tool for the assistant"},"enable_ai_replies":{"type":"boolean","description":"Whether the AI generates replies. When false the assistant is human-only: incoming messages are still received and stored but the AI never responds, so a human answers."},"enable_auto_resolve":{"type":"boolean","description":"Whether inactive conversations should automatically resolve after a period of inactivity"},"enable_auto_follow_ups":{"type":"boolean","description":"Whether the assistant can automatically follow up on conversations"},"follow_up_instructions":{"type":"string","maxLength":10240,"description":"Business instructions that steer follow-up behavior (cadence, hours, stop rules, tone). Override the default follow-up guidance."},"enable_auto_csat":{"type":"boolean","description":"Whether the assistant should automatically score customer satisfaction (CSAT) when closing conversations"},"enable_private_chats":{"type":"boolean","description":"Whether to enable private chats that do not appear in the inbox"},"enable_update_contact_tool":{"type":"boolean","description":"Whether to enable the assistant to collect and update contact information (name, email, phone)"}},"required":["thread_mode","enable_memories","enable_transfer_to_human_tool"],"description":"Configuration options for the conversation thread of the assistant"},"AssistantThreadModeSchema":{"type":"string","enum":["new","continue"],"description":"The thread mode of the assistant, either \"new\" for new threads or \"continue\" for continuing existing threads"},"KnowledgeModeSchema":{"type":"string","enum":["all","restricted"],"description":"The knowledge scope of the assistant"},"ChatMessageSchema":{"type":"object","properties":{"id":{"type":"string"},"role":{"$ref":"#/components/schemas/ModelMessageRoleSchema"},"model":{"type":"string","description":"The model used for the message"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ModelMessageSchema"},"description":"The message content"},"member":{"$ref":"#/components/schemas/ChatMemberSchema"},"status":{"$ref":"#/components/schemas/ChatStatusSchema"},"error":{"type":"string","description":"Error message if the message failed"},"broadcast_id":{"type":"string","description":"ID of the broadcast this message originates from"},"is_broadcast_message":{"type":"boolean","description":"Whether this message was sent via a broadcast template"},"usage":{"$ref":"#/components/schemas/ModelUsageSchema"},"delivered_at":{"type":["string","null"],"format":"date-time","description":"When the message was delivered to the recipient"},"seen_at":{"type":["string","null"],"format":"date-time","description":"When the recipient saw the message"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","role","model","status","created_at","updated_at"],"description":"The chat message schema"},"ModelMessageSchema":{"oneOf":[{"$ref":"#/components/schemas/ModelSystemMessageSchema"},{"$ref":"#/components/schemas/ModelAssistantMessageSchema"},{"$ref":"#/components/schemas/ModelUserMessageSchema"},{"$ref":"#/components/schemas/ModelToolMessageSchema"},{"$ref":"#/components/schemas/ModelEventMessageSchema"},{"$ref":"#/components/schemas/ModelNoteMessageSchema"}],"discriminator":{"propertyName":"role","mapping":{"system":"#/components/schemas/ModelSystemMessageSchema","assistant":"#/components/schemas/ModelAssistantMessageSchema","user":"#/components/schemas/ModelUserMessageSchema","tool":"#/components/schemas/ModelToolMessageSchema","event":"#/components/schemas/ModelEventMessageSchema","note":"#/components/schemas/ModelNoteMessageSchema"}}},"ModelSystemMessageSchema":{"type":"object","properties":{"role":{"type":"string","enum":["system"]},"parts":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ModelTextPartSchema"}],"discriminator":{"propertyName":"type","mapping":{"text":"#/components/schemas/ModelTextPartSchema"}}}}},"required":["role","parts"],"description":"System message"},"ModelAssistantMessageSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the assistant message"},"role":{"type":"string","enum":["assistant"]},"parts":{"type":"array","items":{"$ref":"#/components/schemas/ModelAssistantMessagePartsSchema"}}},"required":["role","parts"],"description":"Assistant message"},"ModelAssistantMessagePartsSchema":{"oneOf":[{"$ref":"#/components/schemas/ModelTextPartSchema"},{"$ref":"#/components/schemas/ModelFilePartSchema"},{"$ref":"#/components/schemas/ModelToolCallPartSchema"},{"$ref":"#/components/schemas/ModelMessageReasoningSchema"},{"$ref":"#/components/schemas/ModelSourcePartSchema"}],"discriminator":{"propertyName":"type","mapping":{"text":"#/components/schemas/ModelTextPartSchema","file":"#/components/schemas/ModelFilePartSchema","tool_call":"#/components/schemas/ModelToolCallPartSchema","reasoning":"#/components/schemas/ModelMessageReasoningSchema","source":"#/components/schemas/ModelSourcePartSchema"}},"description":"Parts of the assistant message"},"ModelUserMessageSchema":{"type":"object","properties":{"role":{"type":"string","enum":["user"]},"parts":{"type":"array","items":{"$ref":"#/components/schemas/ModelUserPartsSchema"}},"name":{"type":"string","maxLength":512,"description":"Name of the user, used to give context on multiplayer chats"},"member_role":{"$ref":"#/components/schemas/ModelUserMessageMemberRoleSchema"},"timestamp":{"type":"string","maxLength":64,"description":"Formatted timestamp for the message, used for time-awareness in conversations"}},"required":["role","parts"],"description":"User message"},"ModelUserPartsSchema":{"oneOf":[{"$ref":"#/components/schemas/ModelTextPartSchema"},{"$ref":"#/components/schemas/ModelFilePartSchema"},{"$ref":"#/components/schemas/ModelImagePartSchema"},{"$ref":"#/components/schemas/ModelOptionSelectedPartSchema"},{"$ref":"#/components/schemas/ModelContactPartSchema"},{"$ref":"#/components/schemas/ModelLocationPartSchema"}],"discriminator":{"propertyName":"type","mapping":{"text":"#/components/schemas/ModelTextPartSchema","file":"#/components/schemas/ModelFilePartSchema","image":"#/components/schemas/ModelImagePartSchema","option_selected":"#/components/schemas/ModelOptionSelectedPartSchema","contact":"#/components/schemas/ModelContactPartSchema","location":"#/components/schemas/ModelLocationPartSchema"}},"description":"User message parts"},"ModelUserMessageMemberRoleSchema":{"type":"string","enum":["customer","staff","user"],"description":"Role of the message sender: customer/staff for assistant chats, user for regular chats"},"ModelToolMessageSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the assistant message"},"role":{"type":"string","enum":["tool"]},"parts":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ModelToolResultPartSchema"}],"discriminator":{"propertyName":"type","mapping":{"tool_result":"#/components/schemas/ModelToolResultPartSchema"}}}}},"required":["role","parts"],"description":"Tool message"},"ModelEventMessageSchema":{"type":"object","properties":{"role":{"type":"string","enum":["event"]},"parts":{"type":"array","items":{"$ref":"#/components/schemas/ModelEventMessagePartsSchema"}},"name":{"type":"string"},"member_role":{"$ref":"#/components/schemas/ModelUserMessageMemberRoleSchema"},"timestamp":{"type":"string","maxLength":64}},"required":["role","parts"]},"ModelEventMessagePartsSchema":{"oneOf":[{"$ref":"#/components/schemas/ModelEventAssignmentPartSchema"},{"$ref":"#/components/schemas/ModelEventStatusChangePartSchema"},{"$ref":"#/components/schemas/ModelEventAiStatusPartSchema"},{"$ref":"#/components/schemas/ModelEventMuteChangePartSchema"},{"$ref":"#/components/schemas/ModelEventFollowUpPartSchema"},{"$ref":"#/components/schemas/ModelEventAnalysisPartSchema"},{"$ref":"#/components/schemas/ModelEventReferralPartSchema"},{"$ref":"#/components/schemas/ModelEventApprovalDecisionPartSchema"},{"$ref":"#/components/schemas/ModelEventContactUpdatePartSchema"},{"$ref":"#/components/schemas/ModelEventConnectionConnectedPartSchema"}],"discriminator":{"propertyName":"type","mapping":{"event_assignment":"#/components/schemas/ModelEventAssignmentPartSchema","event_status_change":"#/components/schemas/ModelEventStatusChangePartSchema","event_ai_status":"#/components/schemas/ModelEventAiStatusPartSchema","event_mute_change":"#/components/schemas/ModelEventMuteChangePartSchema","event_follow_up":"#/components/schemas/ModelEventFollowUpPartSchema","event_analysis":"#/components/schemas/ModelEventAnalysisPartSchema","event_referral":"#/components/schemas/ModelEventReferralPartSchema","event_approval_decision":"#/components/schemas/ModelEventApprovalDecisionPartSchema","event_contact_update":"#/components/schemas/ModelEventContactUpdatePartSchema","event_connection_connected":"#/components/schemas/ModelEventConnectionConnectedPartSchema"}},"description":"Parts of the event message"},"ModelNoteMessageSchema":{"type":"object","properties":{"role":{"type":"string","enum":["note"]},"parts":{"type":"array","items":{"$ref":"#/components/schemas/ModelUserPartsSchema"}},"name":{"type":"string","maxLength":512,"description":"Name of the staff member who wrote the note"},"member_role":{"$ref":"#/components/schemas/ModelUserMessageMemberRoleSchema"},"timestamp":{"type":"string","maxLength":64,"description":"Formatted timestamp for the note, used for time-awareness in conversations"}},"required":["role","parts"]},"ChatStatusSchema":{"type":"string","enum":["RUNNING","COMPLETED","FAILED","CANCELED"],"description":"The chat status"},"ModelUsageSchema":{"type":"object","properties":{"input_tokens":{"type":"number","description":"Number of input tokens used by the model"},"output_tokens":{"type":"number","description":"Number of output tokens generated by the model"},"total_tokens":{"type":"number","description":"Total number of tokens used by the model"},"reasoning_tokens":{"type":"number","description":"Number of reasoning tokens used by the model"},"input_tokens_cache_read":{"type":"number","description":"Number of input tokens cached read by the model"},"input_tokens_cache_write":{"type":"number","description":"Number of input tokens cached written by the model"},"turns":{"type":"array","items":{"$ref":"#/components/schemas/ModelUsageTurnSchema"}}},"description":"The usage information for the message"},"ModelUsageTurnSchema":{"type":"object","properties":{"input_tokens":{"type":"number","description":"Number of input tokens used by the model"},"output_tokens":{"type":"number","description":"Number of output tokens generated by the model"},"total_tokens":{"type":"number","description":"Total number of tokens used by the model"},"reasoning_tokens":{"type":"number","description":"Number of reasoning tokens used by the model"},"input_tokens_cache_read":{"type":"number","description":"Number of input tokens cached read by the model"},"input_tokens_cache_write":{"type":"number","description":"Number of input tokens cached written by the model"}},"description":"The usage of a turn"},"UpdateChatSchema":{"type":"object","properties":{"title":{"type":["string","null"],"description":"The title of the chat"},"model":{"type":"string","description":"The model used for the chat"},"visibility":{"type":"string","enum":["PRIVATE","PUBLIC_READ","PUBLIC_WRITE"],"description":"The visibility of the chat"},"pinned":{"type":"boolean","description":"Whether the chat is pinned in the user interface"},"tools":{"type":"array","items":{"$ref":"#/components/schemas/ModelToolSchema"},"maxItems":100,"description":"The tools available in the chat"},"features":{"$ref":"#/components/schemas/ChatFeaturesSchema"}},"description":"The chat update schema"},"ForkChatSchema":{"type":"object","properties":{"message_id":{"type":"string","maxLength":256,"description":"The message to fork from (inclusive). The new chat copies the conversation up to and including this message."},"title":{"type":["string","null"],"maxLength":256,"description":"Optional title for the forked chat. Defaults to the source chat title."}},"required":["message_id"],"description":"Fork a chat from a given message into a new chat."},"UpdateChatStateSchema":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/ChatStateStatusSchema"},"ai_enabled":{"type":"boolean","description":"Whether AI is enabled for the chat"},"assistant_config":{"$ref":"#/components/schemas/AssistantConfigSchema"},"follow_up_at":{"type":["string","null"],"format":"date-time","description":"Scheduled follow-up datetime (set null to cancel)"},"muted_until":{"type":["string","null"],"format":"date-time","description":"Mute the chat until this datetime (set null to clear). Max 1 year in the future."},"csat_score":{"type":["integer","null"],"minimum":1,"maximum":5,"description":"Customer satisfaction score (1-5)"}},"description":"Schema for updating chat state"},"ChatStateInfoSchema":{"type":"object","properties":{"newest_chat_id":{"type":["string","null"]}},"required":["newest_chat_id"],"description":"Information about the chat linked in case another chat exists for this conversation"},"AssignConversationSchema":{"type":"object","properties":{"member_id":{"type":["string","null"],"description":"Member ID to assign. Set to null to unassign."}},"required":["member_id"],"description":"Schema for assigning or unassigning a conversation to/from an agent"},"ChatStateUnseenCountSchema":{"type":"object","properties":{"chat_id":{"type":"string"},"assigned_user_id":{"type":["string","null"]},"admin_unseen_count":{"type":"number"},"user_unseen_count":{"type":"number"},"muted_until":{"type":["string","null"],"format":"date-time"}},"required":["chat_id","assigned_user_id","admin_unseen_count","user_unseen_count","muted_until"],"description":"Unseen count for a chat"},"MessageDecideApprovalSchema":{"type":"object","properties":{"decision":{"$ref":"#/components/schemas/ConnectionActionApprovalDecisionSchema"},"reason":{"type":"string","maxLength":512,"description":"Optional explanation for the decision. When rejecting, this is surfaced back to the assistant."},"background":{"type":"boolean","description":"When true, the decision is recorded immediately and the approved tool runs in the background — the response returns the \"running\" state. Defaults to false, which blocks until the tool finishes executing and returns the final message."}},"required":["decision"],"description":"Accept or reject a pending approval on an assistant action"},"CreateChatMessageSchema":{"type":"object","properties":{"message":{"$ref":"#/components/schemas/ChatMessageUserPartsSchema"}},"required":["message"],"description":"The user message"},"ChatMessageUserPartsSchema":{"type":"array","items":{"$ref":"#/components/schemas/ModelUserPartsSchema"},"minItems":1,"description":"The user message to open the chat with"},"UpdateChatMessageSchema":{"type":"object","properties":{"message":{"$ref":"#/components/schemas/ChatMessageUserPartsSchema"}},"required":["message"],"description":"Edit the content of a message"},"RespondChatToolSchema":{"oneOf":[{"$ref":"#/components/schemas/RespondChatToolConnectionSchema"},{"$ref":"#/components/schemas/RespondChatToolApprovalSchema"}],"discriminator":{"propertyName":"type","mapping":{"connection":"#/components/schemas/RespondChatToolConnectionSchema","approval":"#/components/schemas/RespondChatToolApprovalSchema"}},"description":"A user response to an interactive tool, discriminated by response type."},"RespondChatToolConnectionSchema":{"type":"object","properties":{"type":{"type":"string","enum":["connection"]},"connection_id":{"type":"string","description":"The connected connection id (con_...)."}},"required":["type","connection_id"]},"RespondChatToolApprovalSchema":{"type":"object","properties":{"type":{"type":"string","enum":["approval"]},"decision":{"$ref":"#/components/schemas/ConnectionActionApprovalDecisionSchema"},"reason":{"type":"string","maxLength":512,"description":"Optional explanation for the decision. When rejecting, this is surfaced back to the assistant."},"background":{"type":"boolean","description":"When true, the decision is recorded immediately and the approved tool runs in the background — the response returns the \"running\" state. Defaults to false, which blocks until the tool finishes executing and returns the final message."}},"required":["type","decision"]},"ConversationMemorySchema":{"type":"object","properties":{"id":{"type":"string"},"chat_id":{"type":"string"},"summary":{"type":"string"},"key_points":{"type":"array","items":{"type":"string"}},"message_count":{"type":"number"},"summarized_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":["string","null"],"format":"date-time"}},"required":["id","chat_id","summary","key_points","message_count","summarized_at","created_at"],"description":"A conversation memory is a summary of a chat conversation, created automatically every 10 messages."},"ConnectionOAuthUrlSchema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"description":"OAuth provider authentication URL"},"CreateConnectionOAuthUrlSchema":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ConnectionTypeSchema"},"connection_id":{"type":"string","maxLength":128},"subdomain":{"type":"string","pattern":"^[a-z0-9-]+$","description":"The subdomain of the OAuth provider"},"external_redirect_url":{"type":"string","maxLength":2048}},"required":["type"],"description":"Create OAuth provider URL"},"ConnectionOAuthValidatedSchema":{"type":"object","properties":{"config":{"$ref":"#/components/schemas/ConnectionOAuthConfigSchema"},"user":{"$ref":"#/components/schemas/ConnectionOAuthUserSchema"}},"required":["config","user"],"description":"OAuth provider validated connection"},"ConnectionOAuthConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["OAUTH"],"description":"The type of the connection"},"access_token":{"type":"string","maxLength":8192,"description":"The access token for OAuth authentication"},"refresh_token":{"type":"string","maxLength":8192,"description":"The refresh token for OAuth authentication"},"expires_in":{"type":"number","minimum":0,"description":"The expiration time of the access token"},"next_refresh_at":{"type":"number","description":"The date when the access token will be refreshed"},"scope":{"type":"string","maxLength":2048,"description":"The scope of the access token"},"api_url":{"type":"string","maxLength":2048,"format":"uri","description":"The base URL for the API of the OAuth provider"},"subdomain":{"type":"string","maxLength":255,"description":"The subdomain for providers that use subdomain-based URLs"}},"required":["type","access_token"],"description":"Configuration of an OAuth connection"},"ConnectionOAuthUserSchema":{"type":"object","properties":{"external_id":{"type":"string"},"external_name":{"type":["string","null"]}},"required":["external_id","external_name"],"description":"OAuth provider user"},"ValidateConnectionOAuthSchema":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ConnectionTypeSchema"},"subdomain":{"type":"string","pattern":"^[a-z0-9-]+$","description":"The subdomain of the OAuth provider"},"validation_url":{"type":"string","maxLength":10000,"format":"uri","description":"The validation URL of the OAuth provider"}},"required":["type","validation_url"],"description":"OAuth provider authentication request"},"OrgDashboardAnalyticsSchema":{"type":"object","properties":{"total_contacts":{"type":"number"},"total_messages":{"type":"number"},"total_closed_conversations":{"type":"number"},"total_ongoing_conversations":{"type":"number"},"average_csat":{"type":["number","null"]},"total_csat_conversations":{"type":"number"}},"required":["total_contacts","total_messages","total_closed_conversations","total_ongoing_conversations","average_csat","total_csat_conversations"],"description":"Dashboard statistics for the organization"},"AssistantStatsItemSchema":{"type":"object","properties":{"assistant_id":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":["string","null"]},"total_conversations":{"type":"number"},"closed_by_ai":{"type":"number"},"closed_by_human":{"type":"number"},"transferred_to_human":{"type":"number"}},"required":["assistant_id","name","avatar_url","total_conversations","closed_by_ai","closed_by_human","transferred_to_human"]},"AgentStatsItemSchema":{"type":"object","properties":{"user":{"allOf":[{"$ref":"#/components/schemas/UserLimitedSchema"},{"description":"Schema for a limited user"}]},"closed_by_ai":{"type":"number"},"closed_by_human":{"type":"number"},"transferred_to_human":{"type":"number"}},"required":["user","closed_by_ai","closed_by_human","transferred_to_human"],"description":"Agent stats item"},"ChannelStatsItemSchema":{"type":"object","properties":{"integration_id":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"count":{"type":"number"}},"required":["integration_id","count"]},"ContactGrowthItemSchema":{"type":"object","properties":{"date":{"type":"string"},"new":{"type":"number"},"unsubscribed":{"type":"number"},"blocked":{"type":"number"},"total":{"type":"number"}},"required":["date","new","unsubscribed","blocked","total"]},"ContactsByChannelItemSchema":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"count":{"type":"number"}},"required":["type","count"]},"ContactSegmentStatsItemSchema":{"type":"object","properties":{"segment_id":{"type":"string"},"name":{"type":"string"},"color":{"$ref":"#/components/schemas/ColorNameSchema"},"count":{"type":"number"}},"required":["segment_id","name","count"]},"MetricSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"intervals":{"type":"array","items":{"$ref":"#/components/schemas/MetricsIntervalSchema"}}},"required":["id","name"]},"MetricItemSchema":{"type":"object","properties":{"date":{"type":["string","null"],"format":"date-time"},"amount":{"type":"number"}},"required":["date","amount"]},"OrgMetricTotalSchema":{"type":"object","properties":{"total":{"type":"number"}},"required":["total"]},"ResponseTimesSchema":{"type":"object","properties":{"avg_resolution_seconds":{"type":["number","null"]},"median_resolution_seconds":{"type":["number","null"]},"total_resolved":{"type":"number"},"avg_human_response_seconds":{"type":["number","null"]},"median_human_response_seconds":{"type":["number","null"]},"total_transfers":{"type":"number"}},"required":["avg_resolution_seconds","median_resolution_seconds","total_resolved","avg_human_response_seconds","median_human_response_seconds","total_transfers"],"description":"Resolution time and human response time analytics"},"ChatEventSchema":{"oneOf":[{"$ref":"#/components/schemas/ChatCreateEventSchema"},{"$ref":"#/components/schemas/ChatUpdateEventSchema"},{"$ref":"#/components/schemas/ChatTypingEventSchema"},{"$ref":"#/components/schemas/ChatMediaEventSchema"},{"$ref":"#/components/schemas/ChatMediaClearEventSchema"},{"$ref":"#/components/schemas/ChatDeleteEventSchema"},{"$ref":"#/components/schemas/ChatMessageEventSchema"},{"$ref":"#/components/schemas/ChatDeleteMessageEventSchema"},{"$ref":"#/components/schemas/ChatMessagePartEventSchema"},{"$ref":"#/components/schemas/ChatTierLimitsEventSchema"},{"$ref":"#/components/schemas/ChatToolLimitsEventSchema"},{"$ref":"#/components/schemas/ChatConversationMemoryUpdateEventSchema"},{"$ref":"#/components/schemas/ChatConversationMemoryDeleteEventSchema"}],"discriminator":{"propertyName":"type","mapping":{"create":"#/components/schemas/ChatCreateEventSchema","update":"#/components/schemas/ChatUpdateEventSchema","typing":"#/components/schemas/ChatTypingEventSchema","media":"#/components/schemas/ChatMediaEventSchema","media-clear":"#/components/schemas/ChatMediaClearEventSchema","delete":"#/components/schemas/ChatDeleteEventSchema","message":"#/components/schemas/ChatMessageEventSchema","delete-message":"#/components/schemas/ChatDeleteMessageEventSchema","message-part":"#/components/schemas/ChatMessagePartEventSchema","tier-limits":"#/components/schemas/ChatTierLimitsEventSchema","tool-limits":"#/components/schemas/ChatToolLimitsEventSchema","conversation-memory-update":"#/components/schemas/ChatConversationMemoryUpdateEventSchema","conversation-memory-delete":"#/components/schemas/ChatConversationMemoryDeleteEventSchema"}}},"ChatCreateEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["create"]},"data":{"$ref":"#/components/schemas/ChatSchema"},"identifier":{"type":["string","null"]}},"required":["type","data","identifier"],"description":"Event emitted when a chat is created"},"ChatUpdateEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["update"]},"data":{"$ref":"#/components/schemas/ChatSchema"}},"required":["type","data"],"description":"Event emitted when a chat is updated"},"ChatTypingEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["typing"]},"chat_id":{"type":"string"},"member_id":{"type":"string"}},"required":["type","chat_id","member_id"],"description":"Event emitted when a user is typing in a chat"},"ChatMediaEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["media"]},"chat_id":{"type":"string"},"member_id":{"type":"string"},"listener_id":{"type":"string"},"data":{"$ref":"#/components/schemas/ChatMediaEventDataSchema"}},"required":["type","chat_id","listener_id","data"],"description":"Event emitted when a chat media is processed"},"ChatMediaClearEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["media-clear"]},"chat_id":{"type":"string"},"listener_id":{"type":"string"}},"required":["type","chat_id","listener_id"],"description":"Event emitted when a chat media is cleared"},"ChatDeleteEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["delete"]},"chat_id":{"type":"string"}},"required":["type","chat_id"],"description":"Event emitted when a chat is deleted"},"ChatMessageEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["message"]},"chat_id":{"type":"string"},"data":{"$ref":"#/components/schemas/ChatMessageSchema"}},"required":["type","chat_id","data"],"description":"Event emitted when a message is sent in a chat"},"ChatDeleteMessageEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["delete-message"]},"chat_id":{"type":"string"},"message_id":{"type":"string"}},"required":["type","chat_id","message_id"],"description":"Event emitted when a message is deleted in a chat"},"ChatMessagePartEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["message-part"]},"chat_id":{"type":"string"},"message_id":{"type":"string"},"data":{"$ref":"#/components/schemas/ModelMessagePartSchema"}},"required":["type","chat_id","message_id","data"],"description":"Event emitted when a message part is sent in a chat"},"ChatTierLimitsEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tier-limits"]},"tier":{"$ref":"#/components/schemas/ModelTierSchema"},"data":{"$ref":"#/components/schemas/ChatLimitSchema"}},"required":["type","tier","data"],"description":"Event emitted when tier limits are updated for a chat"},"ModelTierSchema":{"type":"string","enum":["low","medium","high","max"]},"ChatLimitSchema":{"type":"object","properties":{"remaining":{"type":"number"},"next_reset_at":{"type":["string","null"],"format":"date-time"}},"required":["remaining","next_reset_at"],"description":"Schema for chat model limits"},"ChatToolLimitsEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["tool-limits"]},"tool":{"type":"string"},"data":{"$ref":"#/components/schemas/ChatLimitSchema"}},"required":["type","tool","data"],"description":"Event emitted when tool limits are updated for a chat"},"ChatConversationMemoryUpdateEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["conversation-memory-update"]},"chat_id":{"type":"string"},"data":{"$ref":"#/components/schemas/ConversationMemorySchema"}},"required":["type","chat_id","data"],"description":"Event emitted when a conversation memory (summary) is created or updated"},"ChatConversationMemoryDeleteEventSchema":{"type":"object","properties":{"type":{"type":"string","enum":["conversation-memory-delete"]},"chat_id":{"type":"string"},"memory_id":{"type":"string"}},"required":["type","chat_id","memory_id"],"description":"Event emitted when a conversation memory (summary) is deleted"},"DomainSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the domain"},"hostname":{"type":"string","description":"The hostname string (e.g., example.com)"},"org_id":{"type":"string","description":"Identifier of the org that owns this domain"},"verified":{"type":"boolean","description":"Whether the domain is verified"},"verified_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the domain was verified"},"created_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the domain was created"},"updated_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the domain was last updated"}},"required":["id","hostname","org_id","verified","verified_at","created_at","updated_at"],"description":"Detailed information about an org domain"},"CreateDomainSchema":{"type":"object","properties":{"hostname":{"type":"string","minLength":1,"maxLength":1024,"description":"The domain string (e.g., example.com)"}},"required":["hostname"],"description":"Schema for creating a new domain"},"DomainStatusSchema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/CloudflareCustomHostnameStatusSchema"},"verification_errors":{"type":"array","items":{"type":"string"}}},"required":["status","verification_errors"],"description":"Status information about an org domain"},"CloudflareCustomHostnameStatusSchema":{"type":"string","enum":["active","pending","active_redeploying","moved","pending_deletion","deleted","pending_blocked","pending_migration","pending_provisioned","test_pending","test_active","test_active_apex","test_blocked","test_failed","provisioned","blocked"]},"DnsProviderSchema":{"type":"object","properties":{"provider":{"type":["string","null"],"description":"Provider identifier (e.g. \"cloudflare\", \"godaddy\")"},"name":{"type":["string","null"],"description":"Display name of the DNS provider"},"logo_url":{"type":["string","null"],"description":"URL to the provider logo icon"},"dns_settings_url":{"type":["string","null"],"description":"Deep link to the DNS settings page for this domain"},"auto_config_url":{"type":["string","null"],"description":"Domain Connect URL for one-click auto-configuration (when supported)"}},"required":["provider","name","logo_url","dns_settings_url","auto_config_url"],"description":"Detected DNS provider information for a domain"},"VectorIndexInfoSchema":{"type":"object","properties":{"id":{"type":"string"},"model":{"type":"string"},"contents":{"type":"array","items":{"$ref":"#/components/schemas/VectorContentInfoSchema"}},"pending_count":{"type":"number","description":"Number of pending vectors"},"failed_count":{"type":"number","description":"Number of failed vectors"},"created_at":{"type":["string","null"],"format":"date-time"}},"required":["id","model","contents","pending_count","failed_count","created_at"],"description":"Vector index schema"},"VectorContentInfoSchema":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/VectorTypeSchema"},"contents_count":{"type":"number","description":"Total number of contents"},"chunks_count":{"type":"number"},"chunks_processed":{"type":"number"},"size_bytes":{"type":"number","description":"Total size in bytes"}},"required":["type","contents_count","chunks_count","chunks_processed","size_bytes"],"description":"Vector storage items info"},"VectorTypeSchema":{"type":"string","enum":["TEXT","FILE","URL"],"description":"Type of the vector content"},"VectorContentLimitedSchema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string","description":"Title of the vector"},"type":{"$ref":"#/components/schemas/VectorTypeSchema"},"content":{"$ref":"#/components/schemas/VectorContentConfigSchema"},"parent_content_id":{"type":"string","description":"Parent content ID"},"size":{"type":"number","description":"Size of the vector in bytes"},"chunks_processed":{"type":"number","description":"Number of chunks processed for the vector"},"chunks_count":{"type":"number","description":"Number of chunks in the vector"},"children":{"type":"array","items":{"$ref":"#/components/schemas/VectorContentChildSchema"},"description":"Children (for URL crawl parents)"},"error":{"type":["string","null"],"description":"Error message if vector processing failed"},"status":{"$ref":"#/components/schemas/VectorStatusSchema"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","title","type","content","size","chunks_processed","chunks_count","error","status","created_at","updated_at"],"description":"Schema for vector content"},"VectorContentConfigSchema":{"oneOf":[{"$ref":"#/components/schemas/VectorContentTextConfigSchema"},{"$ref":"#/components/schemas/VectorContentFileConfigSchema"},{"$ref":"#/components/schemas/VectorContentUrlConfigSchema"}],"discriminator":{"propertyName":"type","mapping":{"TEXT":"#/components/schemas/VectorContentTextConfigSchema","FILE":"#/components/schemas/VectorContentFileConfigSchema","URL":"#/components/schemas/VectorContentUrlConfigSchema"}},"description":"Content configuration schema for different vector input types"},"VectorContentTextConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["TEXT"]},"text":{"type":"string","minLength":1,"maxLength":2097152}},"required":["type"]},"VectorContentFileConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["FILE"]},"file":{"$ref":"#/components/schemas/FileSchema"}},"required":["type","file"]},"VectorContentUrlConfigSchema":{"type":"object","properties":{"type":{"type":"string","enum":["URL"]},"mode":{"$ref":"#/components/schemas/VectorContentUrlModeSchema"},"url":{"type":"string","maxLength":2048},"include_path_patterns":{"type":"array","items":{"type":"string","maxLength":2048},"maxItems":256,"description":"Include paths patterns","example":["/docs/*","/api/*"]},"exclude_path_patterns":{"type":"array","items":{"type":"string","maxLength":2048},"maxItems":256,"description":"Exclude paths patterns","example":["/admin/*","/private/*"]}},"required":["type","mode","url"]},"VectorContentUrlModeSchema":{"type":"string","enum":["CRAWL","SINGLE_URL"],"description":"Mode of URL content processing"},"VectorContentChildSchema":{"type":"object","properties":{"id":{"type":"string"},"status":{"$ref":"#/components/schemas/VectorStatusSchema"},"title":{"type":"string","description":"Title of the child content"},"content":{"$ref":"#/components/schemas/VectorContentConfigSchema"},"parent_content_id":{"type":"string","description":"Parent content ID"},"size":{"type":"number","description":"Size of the vector in bytes"},"chunks_processed":{"type":"number","description":"Number of chunks processed for the vector"},"chunks_count":{"type":"number","description":"Number of chunks in the vector"},"error":{"type":["string","null"],"description":"Error message if vector processing failed"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","status","title","content","size","chunks_processed","chunks_count","error","created_at","updated_at"],"description":"Child content reference"},"VectorStatusSchema":{"type":"string","enum":["PENDING","PROCESSING","PROCESSED","FAILED"],"description":"Status of vector processing"},"VectorContentSchema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string","description":"Title of the vector"},"type":{"$ref":"#/components/schemas/VectorTypeSchema"},"content":{"$ref":"#/components/schemas/VectorContentConfigSchema"},"parent_content_id":{"type":"string","description":"Parent content ID"},"text":{"type":["string","null"],"description":"Text content of the vector"},"size":{"type":"number","description":"Size of the vector in bytes"},"chunks_processed":{"type":"number","description":"Number of chunks processed for the vector"},"chunks_count":{"type":"number","description":"Number of chunks in the vector"},"children":{"type":"array","items":{"$ref":"#/components/schemas/VectorContentChildSchema"},"description":"Children (for URL crawl parents)"},"error":{"type":["string","null"],"description":"Error message if vector processing failed"},"status":{"$ref":"#/components/schemas/VectorStatusSchema"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","title","type","content","text","size","chunks_processed","chunks_count","error","status","created_at","updated_at"],"description":"Schema for vector content"},"CreateVectorContentSchema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":255},"content":{"$ref":"#/components/schemas/VectorContentConfigSchema"}},"required":["content"],"description":"Schema for creating a vector"},"UpdateVectorContentSchema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":255},"text":{"type":"string","minLength":1,"maxLength":2097152}},"description":"Schema for updating a vector"},"UpdateVectorContentUrlSchema":{"type":"object","properties":{"exclude_path_patterns":{"type":"array","items":{"type":"string","maxLength":2048},"maxItems":256,"description":"Exclude paths patterns","example":["/admin/*","/private/*"]},"include_path_patterns":{"type":"array","items":{"type":"string","maxLength":2048},"maxItems":256,"description":"Include paths patterns","example":["/docs/*","/api/*"]},"mode":{"$ref":"#/components/schemas/VectorContentUrlModeSchema"}},"description":"Schema for updating a vector"},"VectorChunkSchema":{"type":"object","properties":{"id":{"type":"string"},"content_id":{"type":"string"},"char_start":{"type":"number"},"char_end":{"type":"number"},"chunk_index":{"type":"number"},"status":{"$ref":"#/components/schemas/VectorChunkStatusSchema"},"error":{"type":["string","null"],"description":"Error message if vector chunk processing failed"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","content_id","char_start","char_end","chunk_index","status","error","created_at","updated_at"],"description":"Vector chunk schema"},"VectorChunkStatusSchema":{"type":"string","enum":["PENDING","PROCESSING","PROCESSED","FAILED"],"description":"Status of vector chunk processing"},"AssistantSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","description":"The name of the assistant"},"enabled":{"type":"boolean","description":"Whether the assistant is enabled"},"deleted":{"type":"boolean","description":"Whether the assistant has been soft-deleted"},"secret_key":{"type":["string","null"],"description":"The secret key to create session hashes"},"avatar_url":{"type":["string","null"],"description":"The URL of the avatar photo"},"config":{"$ref":"#/components/schemas/AssistantConfigSchema"},"integrations":{"type":"array","items":{"$ref":"#/components/schemas/AssistantIntegrationSchema"}},"actions":{"type":"array","items":{"$ref":"#/components/schemas/AssistantActionSchema"}},"contact_fields":{"type":"array","items":{"$ref":"#/components/schemas/AssistantContactFieldSchema"}},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","name","enabled","deleted","secret_key","avatar_url","config","integrations","actions","contact_fields","created_at","updated_at"],"description":"Schema for an assistant"},"AssistantIntegrationSchema":{"type":"object","properties":{"id":{"type":"string"},"enabled":{"type":"boolean"},"integration_id":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"assistant_id":{"type":"string"},"connection_id":{"type":["string","null"]},"config":{"$ref":"#/components/schemas/AssistantIntegrationConfigSchema"},"error":{"type":["string","null"]},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","enabled","integration_id","assistant_id","connection_id","config","error","created_at","updated_at"],"description":"Schema for an assistant integration"},"AssistantIntegrationConfigSchema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/InputValuesWithDefinitionsSchema"},"description":"Configuration object for the assistant integration"},"InputValuesWithDefinitionsSchema":{"type":"object","properties":{"input":{"$ref":"#/components/schemas/InputValuesSchema"},"definitions":{"type":"array","items":{"$ref":"#/components/schemas/DynamicFieldsSchema"}}},"required":["input"],"description":"The input values with their dynamic field definitions"},"AssistantActionSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the action"},"enabled":{"type":"boolean","description":"Whether the action is enabled"},"name":{"type":["string","null"],"description":"The name of the action"},"instructions":{"type":["string","null"],"description":"The instructions for the action"},"action_id":{"type":"string","description":"The ID of the action, e.g. \"TOOLS:HTTP_REQUEST\"","examples":["TOOLS:HTTP_REQUEST","TOOLS:WEB_SEARCH","TOOLS:WEB_SCRAPING"]},"assistant_id":{"type":"string","description":"The ID of the assistant","examples":["ast_XXX"]},"connection_id":{"type":["string","null"],"description":"The ID of the connection to use for the action if required","examples":["con_XXX"]},"config":{"$ref":"#/components/schemas/InputValuesWithDefinitionsSchema"},"approval_mode":{"$ref":"#/components/schemas/ConnectionActionApprovalModeSchema"},"position":{"type":"integer","description":"The position of the action within its group. Bucketed in multiples of 100, e.g. 100, 101, 102 for the first group, 200, 201, 202 for the second"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","enabled","name","instructions","action_id","assistant_id","connection_id","config","approval_mode","position","created_at","updated_at"],"description":"Schema for an assistant action"},"AssistantContactFieldSchema":{"type":"object","properties":{"mode":{"$ref":"#/components/schemas/AssistantContactFieldModeSchema"},"field":{"$ref":"#/components/schemas/TableFieldSchema"},"created_at":{"type":["string","null"],"format":"date-time"}},"required":["mode","field","created_at"],"description":"A contact-property field this assistant is allowed to see or update. Embeds the full TableField so callers do not have to remap individual props."},"AssistantContactFieldModeSchema":{"type":"string","enum":["none","read","write"],"description":"read: AI sees the property in its context but cannot update it. write: AI sees AND can update via the update_contact tool."},"TableFieldSchema":{"oneOf":[{"$ref":"#/components/schemas/TableSystemFieldSchema"},{"$ref":"#/components/schemas/TableCustomFieldSchema"}],"discriminator":{"propertyName":"kind","mapping":{"system":"#/components/schemas/TableSystemFieldSchema","custom":"#/components/schemas/TableCustomFieldSchema"}}},"TableSystemFieldSchema":{"type":"object","properties":{"id":{"type":"string"},"table_id":{"type":"string"},"key":{"type":"string"},"type":{"$ref":"#/components/schemas/TableFieldTypeSchema"},"schema":{"$ref":"#/components/schemas/FieldSchema"},"readonly":{"type":"boolean"},"kind":{"type":"string","enum":["system"]}},"required":["id","table_id","key","type","schema","readonly","kind"]},"TableFieldTypeSchema":{"type":"string","enum":["string","number","boolean","date","datetime","enum","file","record","contact","user","chat","segment","assistant"]},"TableCustomFieldSchema":{"type":"object","properties":{"id":{"type":"string"},"table_id":{"type":"string"},"key":{"type":"string"},"type":{"$ref":"#/components/schemas/TableFieldTypeSchema"},"schema":{"$ref":"#/components/schemas/FieldSchema"},"readonly":{"type":"boolean"},"kind":{"type":"string","enum":["custom"]},"config":{"$ref":"#/components/schemas/TableFieldConfigSchema"},"connection_id":{"type":["string","null"]},"unique":{"type":"boolean"},"ai_mode":{"$ref":"#/components/schemas/TableFieldAiModeSchema"},"on_target_delete":{"$ref":"#/components/schemas/TableFieldOnTargetDeleteSchema"},"archived":{"type":"boolean"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","table_id","key","type","schema","readonly","kind","config","connection_id","unique","ai_mode","on_target_delete","archived","created_at","updated_at"]},"TableFieldConfigSchema":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/InputValuesWithDefinitionsSchema"},"description":"Per-feature config map keyed by feature name (e.g. `button`, `auto_fill`, `sync`). Each value carries `input` + optional `definitions`."},"TableFieldAiModeSchema":{"type":"string","enum":["none","auto_fill"]},"TableFieldOnTargetDeleteSchema":{"type":"string","enum":["restrict","clear","cascade"],"description":"What happens when the referenced target is deleted (ref-typed fields only). `restrict` forbids deleting the target while any cell still points to it. `clear` allows the delete and drops those field values on remaining rows. `cascade` also deletes table rows that reference the target via this field."},"CreateAssistantSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":1024,"description":"The name of the assistant"},"enabled":{"type":"boolean","description":"Whether the assistant is enabled"},"avatar_id":{"type":["string","null"],"description":"The ID of the avatar file id"},"generate_secret_key":{"type":"boolean","description":"When true, generates a secret key immediately (same as POST …/rotate-secret-key). When omitted or false, no secret key is stored until you rotate."},"config":{"$ref":"#/components/schemas/CreateAssistantConfigSchema"},"contact_fields":{"type":"array","items":{"$ref":"#/components/schemas/UpdateAssistantContactFieldEntrySchema"},"maxItems":32}},"required":["name"],"description":"Schema for creating a new assistant"},"CreateAssistantConfigSchema":{"type":"object","properties":{"instructions":{"type":"string","maxLength":10240,"description":"The instructions for the assistant"},"language":{"$ref":"#/components/schemas/ModelLanguageSchema"},"model":{"type":"string","minLength":1,"maxLength":128,"description":"The model to use for the assistant"},"stt":{"$ref":"#/components/schemas/AssistantSttConfigSchema"},"tts":{"$ref":"#/components/schemas/AssistantTtsConfigSchema"},"conversation":{"$ref":"#/components/schemas/AssistantConversationConfigSchema"},"knowledge_scope":{"$ref":"#/components/schemas/KnowledgeModeSchema"},"timezone":{"type":"string","maxLength":64,"description":"IANA timezone for the assistant (e.g. \"America/New_York\")"}},"description":"Schema for creating or updating the configuration of an assistant"},"UpdateAssistantContactFieldEntrySchema":{"type":"object","properties":{"field_id":{"type":"string"},"mode":{"$ref":"#/components/schemas/AssistantContactFieldModeSchema"}},"required":["field_id","mode"],"description":"Single entry for the contact-properties whitelist sync."},"UpdateAssistantSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":1024,"description":"The name of the assistant"},"enabled":{"type":"boolean","description":"Whether the assistant is enabled"},"avatar_id":{"type":["string","null"],"description":"The ID of the avatar file id"},"contact_fields":{"type":"array","items":{"$ref":"#/components/schemas/UpdateAssistantContactFieldEntrySchema"},"maxItems":32},"config":{"$ref":"#/components/schemas/UpdateAssistantConfigSchema"}},"description":"Schema for updating an existing assistant"},"UpdateAssistantConfigSchema":{"type":"object","properties":{"instructions":{"type":"string","maxLength":10240,"description":"The instructions for the assistant"},"language":{"$ref":"#/components/schemas/ModelLanguageSchema"},"model":{"type":"string","minLength":1,"maxLength":128,"description":"The model to use for the assistant"},"stt":{"$ref":"#/components/schemas/AssistantSttConfigSchema"},"tts":{"$ref":"#/components/schemas/AssistantTtsConfigSchema"},"conversation":{"$ref":"#/components/schemas/AssistantConversationConfigSchema"},"knowledge_scope":{"$ref":"#/components/schemas/KnowledgeModeSchema"},"timezone":{"type":"string","maxLength":64,"description":"IANA timezone for the assistant (e.g. \"America/New_York\")"}},"description":"Schema for updating the configuration of an assistant"},"DuplicateAssistantSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"target_org_id":{"type":"string"},"include_actions":{"type":"boolean"},"include_integrations":{"type":"boolean"},"include_agents":{"type":"boolean"},"include_knowledge":{"type":"boolean"}},"description":"Schema for duplicating an assistant"},"CreateAssistantIntegrationSchema":{"type":"object","properties":{"enabled":{"type":"boolean"},"integration_id":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"connection_id":{"type":"string"},"config":{"$ref":"#/components/schemas/AssistantIntegrationConfigSchema"}},"required":["enabled","integration_id","connection_id","config"],"description":"Schema for creating a new assistant integration"},"UpdateAssistantIntegrationSchema":{"type":"object","properties":{"enabled":{"type":"boolean"},"connection_id":{"type":"string"},"config":{"$ref":"#/components/schemas/AssistantIntegrationConfigSchema"}},"description":"Schema for updating an existing assistant integration"},"CreateAssistantActionSchema":{"type":"object","properties":{"enabled":{"type":"boolean"},"name":{"type":["string","null"],"maxLength":64,"description":"The name of the action, e.g. \"Send email\""},"instructions":{"type":["string","null"],"maxLength":2048,"description":"Extra instructions for the action"},"action_id":{"$ref":"#/components/schemas/ConnectionActionIdSchema"},"connection_id":{"type":["string","null"],"description":"The ID of the connection to use for the action if required, e.g. \"con_XXX\"","examples":["con_XXX"]},"config":{"$ref":"#/components/schemas/InputValuesWithDefinitionsSchema"},"approval_mode":{"$ref":"#/components/schemas/ConnectionActionApprovalModeSchema"}},"required":["enabled","action_id","config"],"description":"Schema for creating a new assistant action"},"ReorderAssistantActionsSchema":{"type":"object","properties":{"positions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"position":{"type":"integer","minimum":0}},"required":["id","position"]},"maxItems":64,"description":"New explicit position for each action being reordered"}},"required":["positions"],"description":"Schema for reordering assistant actions"},"UpdateAssistantActionSchema":{"type":"object","properties":{"enabled":{"type":"boolean"},"name":{"type":["string","null"],"maxLength":64,"description":"The name of the action, e.g. \"Send email\""},"instructions":{"type":["string","null"],"maxLength":2048,"description":"Extra instructions for the action"},"connection_id":{"type":["string","null"],"description":"The ID of the connection to use for the action if required, e.g. \"con_XXX\"","examples":["con_XXX"]},"config":{"$ref":"#/components/schemas/InputValuesWithDefinitionsSchema"},"approval_mode":{"$ref":"#/components/schemas/ConnectionActionApprovalModeSchema"}},"description":"Schema for updating an existing assistant action"},"AssistantAvailableVectorContentSchema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string","description":"Title of the vector"},"type":{"$ref":"#/components/schemas/VectorTypeSchema"},"status":{"$ref":"#/components/schemas/VectorStatusSchema"},"linked":{"type":"boolean"}},"required":["id","title","type","status","linked"],"description":"Schema for vector content"},"OrgVariableSchema":{"type":"object","properties":{"key":{"type":"string","maxLength":128,"pattern":"^[a-zA-Z_][a-zA-Z_0-9]*$","description":"The key of the org variable"},"value":{"type":"string","maxLength":2048,"description":"The value of the org variable"},"secret":{"type":"boolean","description":"Indicates if the variable is a secret","example":true}},"required":["key"],"description":"Detailed information about a variable in your org"},"CreateOrgVariableSchema":{"type":"object","properties":{"key":{"type":"string","maxLength":128,"pattern":"^[a-zA-Z_][a-zA-Z_0-9]*$","description":"The key of the org variable"},"value":{"type":"string","maxLength":2048,"description":"The value of the org variable"},"secret":{"type":"boolean","description":"Indicates if the variable is a secret","example":true}},"required":["key"],"description":"Detailed information about a variable in your org"},"UpdateOrgVariableSchema":{"type":"object","properties":{"key":{"type":"string","maxLength":128,"pattern":"^[a-zA-Z_][a-zA-Z_0-9]*$","description":"The key of the org variable"},"value":{"type":"string","maxLength":2048,"description":"The value of the org variable"},"secret":{"type":"boolean","description":"Indicates if the variable is a secret","example":true}},"description":"Detailed information about a variable in your org"},"AuditLogSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique audit log entry ID"},"action":{"$ref":"#/components/schemas/AuditLogActionSchema"},"actor":{"allOf":[{"$ref":"#/components/schemas/UserLimitedSchema"},{"description":"The user who performed the action"}]},"user":{"allOf":[{"$ref":"#/components/schemas/UserLimitedSchema"},{"description":"The user who performed the action"}]},"assistant":{"allOf":[{"$ref":"#/components/schemas/PublicAssistantSchema"},{"description":"Affected assistant ID"}]},"workflow":{"$ref":"#/components/schemas/WorkflowPublicSchema"},"connection":{"$ref":"#/components/schemas/ConnectionPublicSchema"},"broadcast":{"$ref":"#/components/schemas/BroadcastPublicSchema"},"member":{"$ref":"#/components/schemas/OrgMemberWithLimitedUserSchema"},"org":{"$ref":"#/components/schemas/OrgPublicSchema"},"metadata":{"$ref":"#/components/schemas/AuditLogMetadataSchema"},"source":{"$ref":"#/components/schemas/AuditLogSourceSchema"},"ip":{"type":["string","null"],"description":"IP address of the actor"},"country":{"type":["string","null"],"description":"Country code of the actor"},"agent":{"type":["string","null"],"description":"Browser user-agent string"},"created_at":{"type":"string","format":"date-time","description":"When the action was performed"}},"required":["id","action","source","ip","country","agent","created_at"]},"AuditLogActionSchema":{"type":"string","enum":["org.updated","org.deleted","org.disabled","org.enabled","org.restored","org.transferred","org.transferred_to","org.detached","org.detached_from","org.sub_org_created","org.sub_org_updated","org.sub_org_member_joined","org.sub_org_member_role_changed","member.invited","member.joined","member.removed","member.left","member.role_changed","role.created","role.updated","role.deleted","role.assigned","role.unassigned","assistant.created","assistant.updated","assistant.deleted","assistant.restored","assistant.duplicated","assistant.duplicated_from","action.created","action.deleted","action.enabled","action.disabled","integration.created","integration.deleted","integration.updated","integration.enabled","integration.disabled","broadcast.created","broadcast.deleted","broadcast.activated","broadcast.paused","domain.created","domain.deleted","email.domain.created","email.domain.deleted","sso.profile.created","sso.profile.updated","sso.profile.deleted","sso.profile.sessions.revoked","sso.domain.create_code_requested","sso.domain.delete_code_requested","sso.domain.created","sso.domain.updated","sso.domain.deleted","email.identity.created","email.identity.deleted","chat.deleted","workflow.created","workflow.deleted","workflow.restored","connection.created","connection.updated","connection.deleted","api_key.created","api_key.deleted"],"description":"The action that was performed"},"WorkflowPublicSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the workflow"},"name":{"type":"string","description":"Name of the workflow"},"access":{"$ref":"#/components/schemas/WorkflowAccessTypeSchema"},"org_id":{"type":"string","description":"Organization ID associated with the workflow"}},"required":["id","name","access","org_id"],"description":"Affected workflow ID"},"WorkflowAccessTypeSchema":{"type":"string","enum":["PRIVATE","PUBLIC_WRITE","PUBLIC_READ"],"description":"Access level of the workflow"},"ConnectionPublicSchema":{"type":"object","properties":{"id":{"type":"string","description":"Connection ID"},"type":{"$ref":"#/components/schemas/ConnectionTypeSchema"},"name":{"type":["string","null"],"description":"Connection name"}},"required":["id","type","name"],"description":"Affected connection"},"BroadcastPublicSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the broadcast"},"name":{"type":"string","description":"Name of the broadcast"}},"required":["id","name"],"description":"Affected broadcast"},"OrgMemberWithLimitedUserSchema":{"type":"object","properties":{"id":{"type":"string","description":"Member ID"},"role":{"$ref":"#/components/schemas/OrgMemberRoleSchema"},"user":{"allOf":[{"$ref":"#/components/schemas/UserLimitedSchema"},{"description":"Schema for a limited user"}]}},"required":["id","role","user"],"description":"Affected member"},"OrgMemberRoleSchema":{"type":"string","enum":["ADMIN","DEVELOPER","MANAGER","STAFF"],"description":"Role of the org member within the org"},"OrgPublicSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the org"},"name":{"type":"string","description":"Name of the org"},"verified":{"type":"boolean","description":"Verification status of the org"},"logo_url":{"type":["string","null"],"description":"URL of the organization logo"},"plan":{"$ref":"#/components/schemas/OrgSubscriptionPlanSchema"},"config":{"$ref":"#/components/schemas/OrgConfigSchema"},"features":{"$ref":"#/components/schemas/OrgFeaturesConfigSchema"},"parent_org_id":{"type":"string","description":"ID of the parent organization if this is a sub-org"}},"required":["id","name","verified","logo_url"],"description":"Public information about an org (organization)"},"OrgSubscriptionPlanSchema":{"type":"string","enum":["free","business"],"description":"Type of subscription plan"},"OrgConfigSchema":{"type":"object","properties":{"email":{"type":"string","maxLength":128,"format":"email","description":"Organization contact email"},"address":{"type":"string","maxLength":128,"description":"Physical address"},"terms_url":{"type":"string","maxLength":1024,"format":"uri","description":"Terms of service URL"},"privacy_url":{"type":"string","maxLength":1024,"format":"uri","description":"Privacy policy URL"},"access":{"$ref":"#/components/schemas/OrgAccessConfigSchema"},"modules":{"$ref":"#/components/schemas/OrgModulesConfigSchema"}},"description":"Organization configuration settings"},"OrgAccessConfigSchema":{"type":"object","properties":{"session_ttl_seconds":{"anyOf":[{"type":"number","enum":[0]},{"type":"integer","minimum":60,"maximum":315360000}],"description":"Session lifetime in seconds for SSO logins. Use 0 to disable expiration (session never expires). Any non-zero value must be at least 60 seconds. Defaults to 0 (disabled)."},"allow_google":{"type":"boolean","description":"Whether Google sign-in is allowed for users whose email matches an SSO domain on this org (verified, with or without IdP). Defaults to true when unset."},"allow_microsoft":{"type":"boolean","description":"Whether Microsoft sign-in is allowed for users whose email matches an SSO domain on this org (verified, with or without IdP). Defaults to true when unset."},"allow_email_code":{"type":"boolean","description":"Whether email code sign-in is allowed for users whose email matches an SSO domain on this org (verified, with or without IdP). Defaults to true when unset."},"allow_invites":{"type":"boolean","description":"Whether org admins can manually invite new members. Org-wide toggle, does not require a verified domain. Defaults to true when unset."}},"description":"Org-wide access policy. Governs how users authenticate and join the org. Only applies when at least one verified SSO is enabled."},"OrgModulesConfigSchema":{"type":"object","properties":{"enable_inbox":{"type":"boolean"},"enable_analytics":{"type":"boolean"},"enable_assistants":{"type":"boolean"},"enable_knowledge_base":{"type":"boolean"},"enable_broadcasts":{"type":"boolean"},"enable_workflows":{"type":"boolean"},"enable_audience":{"type":"boolean"},"enable_tables":{"type":"boolean"},"enable_balance_credits":{"type":"boolean"}},"description":"Per-module visibility toggles. Honored on sub-orgs only; ignored on parent orgs. Missing keys default to enabled on the client."},"OrgFeaturesConfigSchema":{"type":"object","properties":{"enterprise":{"type":"boolean"},"allow_overdraft":{"type":"boolean"},"workflows":{"type":"boolean"},"enable_japifon":{"type":"boolean"},"slack_access":{"type":"boolean"},"emails":{"type":"boolean"},"templates":{"type":"boolean"},"org_chats":{"type":"boolean"}},"description":"Org gate-keeping features configuration"},"AuditLogMetadataSchema":{"oneOf":[{"$ref":"#/components/schemas/AuditLogOrgActionMemberInviteSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionMemberJoinSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionMemberRemoveSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionMemberLeftSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionMemberRoleChangeSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionRoleSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionRoleUpdatedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionRoleAssignmentSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionConnectionSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionConnectionUpdatedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionAssistantSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionAssistantUpdatedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionAssistantRestoreSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionAssistantDuplicatedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionAssistantDuplicatedFromSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionWorkflowSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionApiKeySchema"},{"$ref":"#/components/schemas/AuditLogOrgActionActionSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionIntegrationSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionIntegrationUpdatedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionBroadcastSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionDomainSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionEmailDomainSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionEmailIdentitySchema"},{"$ref":"#/components/schemas/AuditLogOrgActionSsoProfileSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionSsoProfileUpdatedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionSsoProfileSessionsRevokedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionSsoDomainSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionSsoDomainUpdatedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionSsoDomainCreateCodeRequestedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionSsoDomainDeleteCodeRequestedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionChatSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionOrgUpdateSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionOrgDeleteSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionOrgDisableSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionOrgEnableSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionOrgRestoreSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionOrgTransferSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionOrgTransferredToSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionOrgDetachSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionOrgDetachedFromSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionSubOrgCreatedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionSubOrgUpdatedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionSubOrgMemberJoinedSchema"},{"$ref":"#/components/schemas/AuditLogOrgActionSubOrgMemberRoleChangedSchema"}],"discriminator":{"propertyName":"action","mapping":{"member.invited":"#/components/schemas/AuditLogOrgActionMemberInviteSchema","member.joined":"#/components/schemas/AuditLogOrgActionMemberJoinSchema","member.removed":"#/components/schemas/AuditLogOrgActionMemberRemoveSchema","member.left":"#/components/schemas/AuditLogOrgActionMemberLeftSchema","member.role_changed":"#/components/schemas/AuditLogOrgActionMemberRoleChangeSchema","role.created":"#/components/schemas/AuditLogOrgActionRoleSchema","role.deleted":"#/components/schemas/AuditLogOrgActionRoleSchema","role.updated":"#/components/schemas/AuditLogOrgActionRoleUpdatedSchema","role.assigned":"#/components/schemas/AuditLogOrgActionRoleAssignmentSchema","role.unassigned":"#/components/schemas/AuditLogOrgActionRoleAssignmentSchema","connection.created":"#/components/schemas/AuditLogOrgActionConnectionSchema","connection.deleted":"#/components/schemas/AuditLogOrgActionConnectionSchema","connection.updated":"#/components/schemas/AuditLogOrgActionConnectionUpdatedSchema","assistant.created":"#/components/schemas/AuditLogOrgActionAssistantSchema","assistant.deleted":"#/components/schemas/AuditLogOrgActionAssistantSchema","assistant.updated":"#/components/schemas/AuditLogOrgActionAssistantUpdatedSchema","assistant.restored":"#/components/schemas/AuditLogOrgActionAssistantRestoreSchema","assistant.duplicated":"#/components/schemas/AuditLogOrgActionAssistantDuplicatedSchema","assistant.duplicated_from":"#/components/schemas/AuditLogOrgActionAssistantDuplicatedFromSchema","workflow.created":"#/components/schemas/AuditLogOrgActionWorkflowSchema","workflow.deleted":"#/components/schemas/AuditLogOrgActionWorkflowSchema","workflow.restored":"#/components/schemas/AuditLogOrgActionWorkflowSchema","api_key.created":"#/components/schemas/AuditLogOrgActionApiKeySchema","api_key.deleted":"#/components/schemas/AuditLogOrgActionApiKeySchema","action.created":"#/components/schemas/AuditLogOrgActionActionSchema","action.deleted":"#/components/schemas/AuditLogOrgActionActionSchema","action.enabled":"#/components/schemas/AuditLogOrgActionActionSchema","action.disabled":"#/components/schemas/AuditLogOrgActionActionSchema","integration.created":"#/components/schemas/AuditLogOrgActionIntegrationSchema","integration.deleted":"#/components/schemas/AuditLogOrgActionIntegrationSchema","integration.enabled":"#/components/schemas/AuditLogOrgActionIntegrationSchema","integration.disabled":"#/components/schemas/AuditLogOrgActionIntegrationSchema","integration.updated":"#/components/schemas/AuditLogOrgActionIntegrationUpdatedSchema","broadcast.created":"#/components/schemas/AuditLogOrgActionBroadcastSchema","broadcast.deleted":"#/components/schemas/AuditLogOrgActionBroadcastSchema","broadcast.activated":"#/components/schemas/AuditLogOrgActionBroadcastSchema","broadcast.paused":"#/components/schemas/AuditLogOrgActionBroadcastSchema","domain.created":"#/components/schemas/AuditLogOrgActionDomainSchema","domain.deleted":"#/components/schemas/AuditLogOrgActionDomainSchema","email.domain.created":"#/components/schemas/AuditLogOrgActionEmailDomainSchema","email.domain.deleted":"#/components/schemas/AuditLogOrgActionEmailDomainSchema","email.identity.created":"#/components/schemas/AuditLogOrgActionEmailIdentitySchema","email.identity.deleted":"#/components/schemas/AuditLogOrgActionEmailIdentitySchema","sso.profile.created":"#/components/schemas/AuditLogOrgActionSsoProfileSchema","sso.profile.deleted":"#/components/schemas/AuditLogOrgActionSsoProfileSchema","sso.profile.updated":"#/components/schemas/AuditLogOrgActionSsoProfileUpdatedSchema","sso.profile.sessions.revoked":"#/components/schemas/AuditLogOrgActionSsoProfileSessionsRevokedSchema","sso.domain.created":"#/components/schemas/AuditLogOrgActionSsoDomainSchema","sso.domain.deleted":"#/components/schemas/AuditLogOrgActionSsoDomainSchema","sso.domain.updated":"#/components/schemas/AuditLogOrgActionSsoDomainUpdatedSchema","sso.domain.create_code_requested":"#/components/schemas/AuditLogOrgActionSsoDomainCreateCodeRequestedSchema","sso.domain.delete_code_requested":"#/components/schemas/AuditLogOrgActionSsoDomainDeleteCodeRequestedSchema","chat.deleted":"#/components/schemas/AuditLogOrgActionChatSchema","org.updated":"#/components/schemas/AuditLogOrgActionOrgUpdateSchema","org.deleted":"#/components/schemas/AuditLogOrgActionOrgDeleteSchema","org.disabled":"#/components/schemas/AuditLogOrgActionOrgDisableSchema","org.enabled":"#/components/schemas/AuditLogOrgActionOrgEnableSchema","org.restored":"#/components/schemas/AuditLogOrgActionOrgRestoreSchema","org.transferred":"#/components/schemas/AuditLogOrgActionOrgTransferSchema","org.transferred_to":"#/components/schemas/AuditLogOrgActionOrgTransferredToSchema","org.detached":"#/components/schemas/AuditLogOrgActionOrgDetachSchema","org.detached_from":"#/components/schemas/AuditLogOrgActionOrgDetachedFromSchema","org.sub_org_created":"#/components/schemas/AuditLogOrgActionSubOrgCreatedSchema","org.sub_org_updated":"#/components/schemas/AuditLogOrgActionSubOrgUpdatedSchema","org.sub_org_member_joined":"#/components/schemas/AuditLogOrgActionSubOrgMemberJoinedSchema","org.sub_org_member_role_changed":"#/components/schemas/AuditLogOrgActionSubOrgMemberRoleChangedSchema"}},"description":"Action-specific metadata"},"AuditLogOrgActionMemberInviteSchema":{"type":"object","properties":{"action":{"type":"string","enum":["member.invited"]},"email":{"type":"string","description":"Email address of the invited user"},"name":{"type":"string","description":"Name of the invited user"},"role":{"$ref":"#/components/schemas/OrgMemberRoleSchema"}},"required":["action","email","role"]},"AuditLogOrgActionMemberJoinSchema":{"type":"object","properties":{"action":{"type":"string","enum":["member.joined"]},"member_id":{"type":"string","description":"ID of the member who joined"},"user_id":{"type":"string","description":"ID of the user who joined"},"email":{"type":"string","description":"Email address of the user who joined"},"name":{"type":"string","description":"Name of the user who joined"},"role":{"$ref":"#/components/schemas/OrgMemberRoleSchema"}},"required":["action","member_id","user_id","email","role"]},"AuditLogOrgActionMemberRemoveSchema":{"type":"object","properties":{"action":{"type":"string","enum":["member.removed"]},"member_id":{"type":"string","description":"ID of the member who was removed"},"user_id":{"type":"string","description":"ID of the user who was removed"},"email":{"type":"string","description":"Email address of the removed member"},"name":{"type":"string","description":"Name of the removed member"},"role":{"$ref":"#/components/schemas/OrgMemberRoleSchema"}},"required":["action","member_id","user_id","role"]},"AuditLogOrgActionMemberLeftSchema":{"type":"object","properties":{"action":{"type":"string","enum":["member.left"]},"email":{"type":"string","description":"Email of the member who left"},"name":{"type":"string","description":"Name of the member who left"},"role":{"$ref":"#/components/schemas/OrgMemberRoleSchema"},"member_id":{"type":"string","description":"ID of the member who left"},"user_id":{"type":"string","description":"ID of the user who left"}},"required":["action","email","role","member_id","user_id"]},"AuditLogOrgActionMemberRoleChangeSchema":{"type":"object","properties":{"action":{"type":"string","enum":["member.role_changed"]},"member_id":{"type":"string","description":"ID of the member who had their role changed"},"user_id":{"type":"string","description":"ID of the user who had their role changed"},"email":{"type":"string","description":"Email of the member whose role changed"},"name":{"type":"string","description":"Name of the member whose role changed"},"from_role":{"$ref":"#/components/schemas/OrgMemberRoleSchema"},"to_role":{"$ref":"#/components/schemas/OrgMemberRoleSchema"}},"required":["action","member_id","user_id","email","from_role","to_role"]},"AuditLogOrgActionRoleSchema":{"type":"object","properties":{"action":{"type":"string","enum":["role.created","role.deleted"]},"role_id":{"type":"string","description":"ID of the custom role"},"role_name":{"type":"string","description":"Name of the custom role"}},"required":["action","role_id","role_name"]},"AuditLogOrgActionRoleUpdatedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["role.updated"]},"role_id":{"type":"string","description":"ID of the custom role"},"role_name":{"type":"string","description":"Name of the custom role"},"changes":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogChangeSchema"},"description":"Field-level diff of the role update"}},"required":["action","role_id","role_name","changes"]},"AuditLogChangeSchema":{"type":"object","properties":{"field":{"type":"string","description":"Dot-path name of the changed field (e.g. \"enabled\" or \"config.issuer_url\")."},"old_value":{},"new_value":{},"truncated":{"type":"boolean","description":"True if either value was truncated. Preview-only — not suitable for exact comparison."}},"required":["field"]},"AuditLogOrgActionRoleAssignmentSchema":{"type":"object","properties":{"action":{"type":"string","enum":["role.assigned","role.unassigned"]},"role_id":{"type":"string","description":"ID of the custom role"},"role_name":{"type":"string","description":"Name of the custom role"}},"required":["action","role_id","role_name"]},"AuditLogOrgActionConnectionSchema":{"type":"object","properties":{"action":{"type":"string","enum":["connection.created","connection.deleted"]},"connection_type":{"allOf":[{"$ref":"#/components/schemas/ConnectionTypeSchema"},{"description":"Type of the connection (e.g. whatsapp, slack)"}]},"connection_name":{"type":"string","description":"Display name of the connection"},"connection_id":{"type":"string","description":"ID of the connection"},"external_name":{"type":"string","description":"External name of the connection"},"external_id":{"type":"string","description":"External ID of the connection"}},"required":["action","connection_type","connection_id"]},"AuditLogOrgActionConnectionUpdatedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["connection.updated"]},"connection_type":{"allOf":[{"$ref":"#/components/schemas/ConnectionTypeSchema"},{"description":"Type of the connection (e.g. whatsapp, slack)"}]},"connection_name":{"type":"string","description":"Display name of the connection"},"connection_id":{"type":"string","description":"ID of the connection"},"external_name":{"type":"string","description":"External name of the connection"},"external_id":{"type":"string","description":"External ID of the connection"},"changes":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogChangeSchema"},"description":"Field-level diff of the connection update"}},"required":["action","connection_type","connection_id","changes"]},"AuditLogOrgActionAssistantSchema":{"type":"object","properties":{"action":{"type":"string","enum":["assistant.created","assistant.deleted"]},"assistant_name":{"type":"string","description":"Name of the assistant"},"assistant_id":{"type":"string","description":"ID of the assistant"}},"required":["action","assistant_id"]},"AuditLogOrgActionAssistantUpdatedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["assistant.updated"]},"assistant_name":{"type":"string","description":"Name of the assistant"},"assistant_id":{"type":"string","description":"ID of the assistant"},"changes":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogChangeSchema"},"description":"Field-level diff of the assistant update"}},"required":["action","assistant_id","changes"]},"AuditLogOrgActionAssistantRestoreSchema":{"type":"object","properties":{"action":{"type":"string","enum":["assistant.restored"]},"assistant_name":{"type":"string","description":"Name of the restored assistant"},"assistant_id":{"type":"string","description":"ID of the restored assistant"}},"required":["action","assistant_name","assistant_id"]},"AuditLogOrgActionAssistantDuplicatedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["assistant.duplicated"]},"assistant_id":{"type":"string","description":"ID of the source assistant"},"assistant_name":{"type":"string","description":"Name of the source assistant"},"new_assistant_id":{"type":"string","description":"ID of the duplicated assistant"},"new_assistant_name":{"type":"string","description":"Name of the duplicated assistant"},"target_org_id":{"type":"string","description":"ID of the target org (only for cross-org)"},"target_org_name":{"type":"string","description":"Name of the target org (only for cross-org)"}},"required":["action","assistant_id","new_assistant_id"]},"AuditLogOrgActionAssistantDuplicatedFromSchema":{"type":"object","properties":{"action":{"type":"string","enum":["assistant.duplicated_from"]},"assistant_id":{"type":"string","description":"ID of the new duplicated assistant"},"assistant_name":{"type":"string","description":"Name of the new duplicated assistant"},"new_assistant_id":{"type":"string","description":"ID of the new duplicated assistant"},"new_assistant_name":{"type":"string","description":"Name of the new duplicated assistant"},"source_org_id":{"type":"string","description":"ID of the source org"},"source_org_name":{"type":"string","description":"Name of the source org"}},"required":["action","assistant_id","new_assistant_id"]},"AuditLogOrgActionWorkflowSchema":{"type":"object","properties":{"action":{"type":"string","enum":["workflow.created","workflow.deleted","workflow.restored"]},"workflow_name":{"type":"string","description":"Name of the workflow"},"workflow_id":{"type":"string","description":"ID of the workflow"}},"required":["action","workflow_id"]},"AuditLogOrgActionApiKeySchema":{"type":"object","properties":{"action":{"type":"string","enum":["api_key.created","api_key.deleted"]},"key_name":{"type":"string","description":"Name of the API key"},"api_key_id":{"type":"string","description":"ID of the API key"}},"required":["action","api_key_id"]},"AuditLogOrgActionActionSchema":{"type":"object","properties":{"action":{"type":"string","enum":["action.created","action.deleted","action.enabled","action.disabled"]},"action_name":{"type":"string","description":"Name of the action"},"action_id":{"type":"string","description":"ID of the assistant action"},"action_type":{"allOf":[{"$ref":"#/components/schemas/ConnectionActionIdSchema"},{"description":"Type of the connection action"}]},"assistant_name":{"type":"string","description":"Name of the assistant"},"assistant_id":{"type":"string","description":"ID of the assistant"},"connection_id":{"type":"string","description":"ID of the connection"},"connection_type":{"allOf":[{"$ref":"#/components/schemas/ConnectionTypeSchema"},{"description":"Type of the connection"}]},"connection_name":{"type":"string","description":"Display name of the connection"},"external_id":{"type":"string","description":"External ID of the connection"},"external_name":{"type":"string","description":"External name of the connection"}},"required":["action","action_id","action_type","assistant_id"]},"AuditLogOrgActionIntegrationSchema":{"type":"object","properties":{"action":{"type":"string","enum":["integration.created","integration.deleted","integration.enabled","integration.disabled"]},"integration_id":{"type":"string","description":"ID of the assistant integration"},"integration_type":{"allOf":[{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},{"description":"Type of the integration"}]},"assistant_name":{"type":"string","description":"Name of the assistant"},"assistant_id":{"type":"string","description":"ID of the assistant"},"connection_id":{"type":"string","description":"ID of the connection"},"connection_type":{"allOf":[{"$ref":"#/components/schemas/ConnectionTypeSchema"},{"description":"Type of the connection"}]},"connection_name":{"type":"string","description":"Display name of the connection"},"external_id":{"type":"string","description":"External ID of the connection"},"external_name":{"type":"string","description":"External name of the connection"}},"required":["action","integration_id","integration_type","assistant_id"]},"AuditLogOrgActionIntegrationUpdatedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["integration.updated"]},"integration_id":{"type":"string","description":"ID of the assistant integration"},"integration_type":{"allOf":[{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},{"description":"Type of the integration"}]},"assistant_name":{"type":"string","description":"Name of the assistant"},"assistant_id":{"type":"string","description":"ID of the assistant"},"connection_id":{"type":"string","description":"ID of the connection"},"connection_type":{"allOf":[{"$ref":"#/components/schemas/ConnectionTypeSchema"},{"description":"Type of the connection"}]},"connection_name":{"type":"string","description":"Display name of the connection"},"external_id":{"type":"string","description":"External ID of the connection"},"external_name":{"type":"string","description":"External name of the connection"},"changes":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogChangeSchema"},"description":"Field-level diff of the integration update"}},"required":["action","integration_id","integration_type","assistant_id","changes"]},"AuditLogOrgActionBroadcastSchema":{"type":"object","properties":{"action":{"type":"string","enum":["broadcast.created","broadcast.deleted","broadcast.activated","broadcast.paused"]},"broadcast_name":{"type":"string","description":"Name of the broadcast"},"broadcast_id":{"type":"string","description":"ID of the broadcast"}},"required":["action","broadcast_id"]},"AuditLogOrgActionDomainSchema":{"type":"object","properties":{"action":{"type":"string","enum":["domain.created","domain.deleted"]},"domain_id":{"type":"string","description":"ID of the org domain"},"hostname":{"type":"string","description":"Domain hostname"}},"required":["action","domain_id","hostname"]},"AuditLogOrgActionEmailDomainSchema":{"type":"object","properties":{"action":{"type":"string","enum":["email.domain.created","email.domain.deleted"]},"domain_id":{"type":"string","description":"ID of the email domain"},"domain_name":{"type":"string","description":"Domain name"}},"required":["action","domain_id","domain_name"]},"AuditLogOrgActionEmailIdentitySchema":{"type":"object","properties":{"action":{"type":"string","enum":["email.identity.created","email.identity.deleted"]},"email_id":{"type":"string","description":"ID of the email identity"},"email_address":{"type":"string","description":"Email address"}},"required":["action","email_id","email_address"]},"AuditLogOrgActionSsoProfileSchema":{"type":"object","properties":{"action":{"type":"string","enum":["sso.profile.created","sso.profile.deleted"]},"sso_profile_id":{"type":"string","description":"ID of the SSO profile"},"provider":{"$ref":"#/components/schemas/SsoProviderSchema"},"name":{"type":"string","description":"Human-readable name of the SSO profile"}},"required":["action","sso_profile_id","provider"]},"SsoProviderSchema":{"type":"string","enum":["SAML","OIDC"],"description":"Identity provider protocol"},"AuditLogOrgActionSsoProfileUpdatedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["sso.profile.updated"]},"sso_profile_id":{"type":"string","description":"ID of the SSO profile"},"provider":{"$ref":"#/components/schemas/SsoProviderSchema"},"name":{"type":"string","description":"Human-readable name of the SSO profile"},"changes":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogChangeSchema"},"description":"Field-level diff of the SSO profile update"}},"required":["action","sso_profile_id","provider","changes"]},"AuditLogOrgActionSsoProfileSessionsRevokedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["sso.profile.sessions.revoked"]},"sso_profile_id":{"type":"string","description":"ID of the SSO profile"},"revoked":{"type":"integer","description":"Number of sessions revoked"}},"required":["action","sso_profile_id","revoked"]},"AuditLogOrgActionSsoDomainSchema":{"type":"object","properties":{"action":{"type":"string","enum":["sso.domain.created","sso.domain.deleted"]},"domain_id":{"type":"string","description":"ID of the SSO domain"},"domain":{"type":"string","description":"Email domain name"}},"required":["action","domain_id","domain"]},"AuditLogOrgActionSsoDomainUpdatedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["sso.domain.updated"]},"domain_id":{"type":"string","description":"ID of the SSO domain"},"domain":{"type":"string","description":"Email domain name"},"changes":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogChangeSchema"},"description":"Field-level diff of the SSO domain update"}},"required":["action","domain_id","domain","changes"]},"AuditLogOrgActionSsoDomainCreateCodeRequestedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["sso.domain.create_code_requested"]},"domain":{"type":"string","description":"Email domain the admin attempted to claim"}},"required":["action","domain"]},"AuditLogOrgActionSsoDomainDeleteCodeRequestedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["sso.domain.delete_code_requested"]},"domain_id":{"type":"string","description":"ID of the SSO domain being removed"},"domain":{"type":"string","description":"Email domain being removed"}},"required":["action","domain_id","domain"]},"AuditLogOrgActionChatSchema":{"type":"object","properties":{"action":{"type":"string","enum":["chat.deleted"]},"chat_id":{"type":"string","description":"ID of the deleted chat"}},"required":["action","chat_id"]},"AuditLogOrgActionOrgUpdateSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.updated"]},"changes":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogChangeSchema"},"description":"Field-level diff of the org update"}},"required":["action","changes"]},"AuditLogOrgActionOrgDeleteSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.deleted"]}},"required":["action"]},"AuditLogOrgActionOrgDisableSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.disabled"]}},"required":["action"]},"AuditLogOrgActionOrgEnableSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.enabled"]}},"required":["action"]},"AuditLogOrgActionOrgRestoreSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.restored"]}},"required":["action"]},"AuditLogOrgActionOrgTransferSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.transferred"]},"sub_org_name":{"type":"string","description":"Name of the org that was attached"},"sub_org_id":{"type":"string","description":"ID of the org that was attached"}},"required":["action","sub_org_name","sub_org_id"]},"AuditLogOrgActionOrgTransferredToSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.transferred_to"]},"parent_org_name":{"type":"string","description":"Name of the parent org we were attached to"},"parent_org_id":{"type":"string","description":"ID of the parent org we were attached to"}},"required":["action","parent_org_name","parent_org_id"]},"AuditLogOrgActionOrgDetachSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.detached"]},"sub_org_name":{"type":"string","description":"Name of the org that was detached"},"sub_org_id":{"type":"string","description":"ID of the org that was detached"}},"required":["action","sub_org_name","sub_org_id"]},"AuditLogOrgActionOrgDetachedFromSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.detached_from"]},"parent_org_name":{"type":"string","description":"Name of the parent org we were detached from"},"parent_org_id":{"type":"string","description":"ID of the parent org we were detached from"}},"required":["action","parent_org_name","parent_org_id"]},"AuditLogOrgActionSubOrgCreatedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.sub_org_created"]},"sub_org_name":{"type":"string","description":"Name of the created sub-organization"},"sub_org_id":{"type":"string","description":"ID of the created sub-organization"}},"required":["action","sub_org_name","sub_org_id"]},"AuditLogOrgActionSubOrgUpdatedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.sub_org_updated"]},"sub_org_name":{"type":"string","description":"Name of the updated sub-organization"},"sub_org_id":{"type":"string","description":"ID of the updated sub-organization"},"changes":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogChangeSchema"},"description":"Field-level diff of the sub-org update"}},"required":["action","sub_org_name","sub_org_id","changes"]},"AuditLogOrgActionSubOrgMemberJoinedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.sub_org_member_joined"]},"sub_org_name":{"type":"string","description":"Name of the sub-organization"},"sub_org_id":{"type":"string","description":"ID of the sub-organization"},"email":{"type":"string","description":"Email of the member who joined"},"name":{"type":"string","description":"Name of the member who joined"},"user_id":{"type":"string","description":"ID of the user who joined"},"role":{"$ref":"#/components/schemas/OrgMemberRoleSchema"}},"required":["action","sub_org_name","sub_org_id","email","user_id","role"]},"AuditLogOrgActionSubOrgMemberRoleChangedSchema":{"type":"object","properties":{"action":{"type":"string","enum":["org.sub_org_member_role_changed"]},"sub_org_name":{"type":"string","description":"Name of the sub-organization"},"sub_org_id":{"type":"string","description":"ID of the sub-organization"},"email":{"type":"string","description":"Email of the member whose role changed"},"name":{"type":"string","description":"Name of the member whose role changed"},"user_id":{"type":"string","description":"ID of the user whose role changed"},"from_role":{"$ref":"#/components/schemas/OrgMemberRoleSchema"},"to_role":{"$ref":"#/components/schemas/OrgMemberRoleSchema"}},"required":["action","sub_org_name","sub_org_id","email","user_id","from_role","to_role"]},"AuditLogSourceSchema":{"type":"string","enum":["app","admin","api","system","ai"],"description":"Where the action originated from (app, admin, api, system, ai)"},"FileDataSchema":{"type":"object","properties":{"data":{"type":"string","description":"URL, Raw or Base64 encoded file data.","example":"SGVsbG8sIHdvcmxkIQ=="},"type":{"type":"string","maxLength":128,"description":"Mime type of the file, if not provided it will be inferred.","example":"application/pdf"},"name":{"type":"string","minLength":1,"description":"Name of the file.","example":"document.pdf"},"encoding":{"type":"string","enum":["base64","raw"],"description":"Encoding of the file data when it's a direct input, by default base64 is expected.","example":"base64"}},"required":["data"],"description":"Data payload for creating a file"},"FileAllowedTypesSchema":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":255,"default":["*/*"],"description":"The allowed mime types for the file field (e.g. image/*, application/pdf)"},"CreateFileSchema":{"type":"object","properties":{"file":{"anyOf":[{"type":"string","format":"binary"},{"$ref":"#/components/schemas/FileDataSchema"},{"type":"string"}],"description":"File to be uploaded. It can be a file object, a base64 encoded string, or a file data object containing base64 data, name, and type."},"file_url":{"type":"string","description":"URL of the file to be uploaded","example":"https://example.com/files/document.pdf"},"allowed_types":{"$ref":"#/components/schemas/FileAllowedTypesSchema"}}},"SubOrgUsageItemSchema":{"type":"object","properties":{"org_id":{"type":"string","description":"Unique identifier of the sub-organization"},"org_name":{"type":"string","description":"Name of the sub-organization"},"event_name":{"$ref":"#/components/schemas/MeterEventIdSchema"},"amount_credits":{"type":"number","description":"Total credits consumed in the time bucket"},"amount_monetary":{"type":"number","description":"Total monetary amount in the time bucket"},"date":{"type":["string","null"],"format":"date-time","description":"Start of the time bucket"}},"required":["org_id","org_name","event_name","amount_credits","amount_monetary","date"],"description":"Usage data for a single sub-organization in a time bucket"},"SubOrgSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the sub-organization"},"name":{"type":"string","description":"Name of the sub-organization"},"logo_url":{"type":["string","null"],"description":"URL of the sub-organization logo"},"plan":{"$ref":"#/components/schemas/OrgSubscriptionPlanSchema"},"balance":{"type":"number","description":"Current credit balance"},"promo_balance":{"type":"number","description":"Current promotional credit balance"},"billing":{"$ref":"#/components/schemas/BillingConfigSchema"},"members":{"type":"array","items":{"$ref":"#/components/schemas/OrgMemberSchema"},"description":"Members of the sub-organization"},"features":{"$ref":"#/components/schemas/OrgFeaturesConfigSchema"},"config":{"$ref":"#/components/schemas/OrgConfigSchema"},"spending_cap_used":{"type":"number","description":"Amount spent in the current month"},"created_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the sub-organization was created"}},"required":["id","name","logo_url","plan","balance","promo_balance","billing","members","spending_cap_used","created_at"],"description":"Summary information about a sub-organization"},"BillingConfigSchema":{"type":"object","properties":{"auto_recharge":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Flag to enable/disable auto reload"},"recharge_threshold":{"type":"number","minimum":5,"maximum":500,"description":"Threshold to auto reload credits at"},"recharge_amount":{"type":"number","minimum":5,"maximum":500,"description":"Amount to auto reload credits by"}},"required":["enabled","recharge_threshold","recharge_amount"]},"use_parent_balance":{"type":"boolean","description":"Use the parent balance when it's a sub-org"},"spending_cap":{"$ref":"#/components/schemas/SpendingCapConfigSchema"},"payment_method":{"$ref":"#/components/schemas/PaymentMethodSchema"},"last_low_balance_notification_at":{"type":["string","null"],"format":"date-time"},"last_out_of_balance_notification_at":{"type":["string","null"],"format":"date-time"},"last_spending_cap_notification_at":{"type":["string","null"],"format":"date-time"}},"required":["auto_recharge"],"description":"Schema for updating payment configuration"},"SpendingCapConfigSchema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Flag to enable/disable the monthly spending cap"},"amount":{"type":"number","minimum":0,"maximum":100000,"description":"Monthly spending limit in USD"},"reset_at":{"type":["string","null"],"format":"date-time","description":"Timestamp of last accumulator reset"}},"required":["enabled","amount"],"description":"Schema for spending cap configuration"},"PaymentMethodSchema":{"type":"object","properties":{"type":{"type":"string"},"payment_method_id":{"type":"string"},"brand":{"type":"string"},"last4":{"type":"string"},"inactive":{"type":"boolean"},"failed_at":{"type":"string","format":"date-time"},"failed_message":{"type":"string"}},"required":["type","payment_method_id"],"description":"Schema for a payment method"},"OrgMemberSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the org member"},"name":{"type":["string","null"],"description":"Name of the org member"},"email":{"type":"string","format":"email","description":"Email address of the org member"},"avatar":{"type":["string","null"],"description":"Avatar URL of the org member"},"role":{"$ref":"#/components/schemas/OrgMemberRoleSchema"},"status":{"$ref":"#/components/schemas/OrgMemberStatusSchema"},"org_id":{"type":"string","description":"Identifier of the org to which the member belongs"},"user_id":{"type":"string","description":"Identifier of the user associated with the org member"},"preferences":{"$ref":"#/components/schemas/OrgMemberPreferencesSchema"},"roles":{"type":"array","items":{"$ref":"#/components/schemas/CustomRoleSchema"},"description":"Custom roles assigned to the member"},"created_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the org member was created"},"updated_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the org member was last updated"},"seen_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the user was last seen"}},"required":["id","name","email","avatar","role","status","org_id","user_id","preferences","roles","created_at","updated_at","seen_at"],"description":"Detailed information about an org member"},"OrgMemberStatusSchema":{"type":"string","enum":["ACTIVE","INACTIVE"],"description":"Status of the org member"},"OrgMemberPreferencesSchema":{"type":"object","properties":{"notifications":{"$ref":"#/components/schemas/OrgMemberNotificationsSchema"},"canned_responses":{"type":"array","items":{"$ref":"#/components/schemas/OrgMemberCannedResponseSchema"},"maxItems":20,"description":"Saved reply snippets for the assist composer"}},"required":["notifications"],"description":"Preferences of the org member"},"OrgMemberNotificationsSchema":{"type":"object","properties":{"assigned_to_me":{"$ref":"#/components/schemas/OrgMemberNotificationSchema"}},"required":["assigned_to_me"],"description":"Notifications of the org member"},"OrgMemberNotificationSchema":{"type":"object","properties":{"enabled":{"type":"boolean"},"notified_at":{"type":["string","null"],"format":"date-time"}},"required":["enabled"],"description":"Notification of the org member"},"OrgMemberCannedResponseSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","maxLength":128},"text":{"type":"string","minLength":1,"maxLength":1000}},"required":["id","text"],"description":"A saved reply snippet the member can insert into the composer"},"CustomRoleSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"color":{"$ref":"#/components/schemas/ColorNameSchema"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/OrgPermissionSchema"}}},"required":["id","name","description","color","permissions"],"description":"A user-created org role and its permissions"},"OrgPermissionSchema":{"type":"string","enum":["org:write","admin:write","members:read","members:invite","members:write","members.roles.system:write","inbox:read","inbox:write","analytics:read","contacts:read","contacts:write","segments:write","broadcasts:read","broadcasts:write","assistants:read","assistants:write","assistants.agents:write","knowledge:read","knowledge:write","workflows:write","connections:write","keys:write","tables:read","tables:write","tables.records:write","audit_logs:read","sso:write","domains:write","emails:write","billing:write","variables:write","templates:write","orgs:write"],"description":"An org permission (`resource:action`)."},"CreateSubOrgSchema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":64},"referral_code":{"type":"string","maxLength":128},"logo_id":{"type":["string","null"],"maxLength":128},"features":{"$ref":"#/components/schemas/OrgDelegatableFeaturesConfigSchema"},"billing":{"type":"object","properties":{"auto_recharge":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Flag to enable/disable auto reload"},"recharge_threshold":{"type":"number","minimum":5,"maximum":500,"description":"Threshold to auto reload credits at"},"recharge_amount":{"type":"number","minimum":5,"maximum":500,"description":"Amount to auto reload credits by"}},"required":["enabled","recharge_threshold","recharge_amount"]},"use_parent_balance":{"type":"boolean","description":"Use the parent balance when it's a sub-org"},"spending_cap":{"$ref":"#/components/schemas/SpendingCapConfigSchema"},"payment_method":{"$ref":"#/components/schemas/PaymentMethodSchema"},"last_low_balance_notification_at":{"type":["string","null"],"format":"date-time"},"last_out_of_balance_notification_at":{"type":["string","null"],"format":"date-time"},"last_spending_cap_notification_at":{"type":["string","null"],"format":"date-time"}}}},"required":["name"],"description":"Schema for creating a sub-organization"},"OrgDelegatableFeaturesConfigSchema":{"type":"object","properties":{"allow_overdraft":{"type":"boolean"},"workflows":{"type":"boolean"},"enable_japifon":{"type":"boolean"}},"description":"Delegatable features configuration for sub-orgs"},"UpdateSubOrgSchema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":64},"logo_id":{"type":["string","null"],"maxLength":128,"description":"Logo file id; pass null to clear"},"config":{"$ref":"#/components/schemas/OrgConfigSchema"},"features":{"allOf":[{"$ref":"#/components/schemas/OrgDelegatableFeaturesConfigSchema"},{"description":"[Deprecated] Legacy feature-delegation field. Ignored by the server; kept for backward compatibility. Feature flags are now managed exclusively by platform admins."}]}},"description":"Schema for updating a sub-organization from the parent. Accepts an optional `name`, a partial `config` (deep-merged on the server), an optional `logo_id`, and a deprecated `features` field that is ignored."},"TransferSubOrgSchema":{"type":"object","properties":{"features":{"$ref":"#/components/schemas/OrgDelegatableFeaturesConfigSchema"}},"description":"Schema for transferring an org to become a sub-organization"},"JoinSubOrgSchema":{"type":"object","properties":{"role":{"allOf":[{"$ref":"#/components/schemas/OrgMemberRoleSchema"},{"description":"Role to assign when joining the sub-organization"}]}},"required":["role"],"description":"Schema for joining a sub-organization with a chosen role"},"OrgSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the org"},"name":{"type":"string","description":"Name of the org"},"verified":{"type":"boolean","description":"Verification status of the org"},"role":{"$ref":"#/components/schemas/OrgSystemRoleSchema"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/OrgResolvedPermissionSchema"},"description":"Effective permissions of the current user within the organization (`*` = full admin access)"},"disabled":{"type":"boolean","description":"Whether the org is disabled by the system"},"type":{"$ref":"#/components/schemas/OrgTypeSchema"},"plan":{"$ref":"#/components/schemas/OrgSubscriptionPlanSchema"},"balance":{"type":"number","description":"Current balance of the org"},"promo_balance":{"type":"number","description":"Current promotional balance of the org"},"promo_balance_reset_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the promotional balance was last reset"},"billing":{"$ref":"#/components/schemas/BillingConfigSchema"},"logo_url":{"type":["string","null"],"description":"URL of the organization logo"},"deleted":{"type":"boolean","description":"Deletion status of the org"},"features":{"$ref":"#/components/schemas/OrgFeaturesConfigSchema"},"config":{"$ref":"#/components/schemas/OrgConfigSchema"},"parent_org":{"$ref":"#/components/schemas/OrgPublicSchema"},"spending_cap_used":{"type":"number","description":"Amount spent in the current month against the spending cap"},"created_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the org was created"},"updated_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the org was last updated"}},"required":["id","name","verified","disabled","type","plan","balance","promo_balance","promo_balance_reset_at","billing","logo_url","deleted","spending_cap_used","created_at","updated_at"],"description":"Detailed information about an org (organization)"},"OrgSystemRoleSchema":{"type":"string","enum":["ADMIN","DEVELOPER","MANAGER","STAFF"],"description":"A system role"},"OrgResolvedPermissionSchema":{"type":"string","enum":["org:write","admin:write","members:read","members:invite","members:write","members.roles.system:write","inbox:read","inbox:write","analytics:read","contacts:read","contacts:write","segments:write","broadcasts:read","broadcasts:write","assistants:read","assistants:write","assistants.agents:write","knowledge:read","knowledge:write","workflows:write","connections:write","keys:write","tables:read","tables:write","tables.records:write","audit_logs:read","sso:write","domains:write","emails:write","billing:write","variables:write","templates:write","orgs:write","*"],"description":"A member's effective org permission: a `resource:action`, or `*` for full (admin) access."},"OrgTypeSchema":{"type":"string","enum":["PERSONAL","TEAM"],"description":"Type of the organization"},"UpdateBillingConfigSchema":{"type":"object","properties":{"auto_recharge":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Flag to enable/disable auto reload"},"recharge_threshold":{"type":"number","minimum":5,"maximum":500,"description":"Threshold to auto reload credits at"},"recharge_amount":{"type":"number","minimum":5,"maximum":500,"description":"Amount to auto reload credits by"}},"required":["enabled","recharge_threshold","recharge_amount"]},"use_parent_balance":{"type":"boolean","description":"Use the parent balance when it's a sub-org"},"spending_cap":{"$ref":"#/components/schemas/SpendingCapConfigSchema"}},"required":["auto_recharge"],"description":"Schema for updating payment configuration"},"CreateRunSchema":{"type":"object","properties":{"input":{"$ref":"#/components/schemas/InputValuesSchema"},"stream":{"type":"boolean","description":"Indicates if the run should stream output to the client as it becomes available via SSE (Server-Sent Events)"},"background":{"type":"boolean","description":"Indicates if the run should be executed in the background and return the run information immediately"},"workflow_version_id":{"$ref":"#/components/schemas/WorkflowVersionIdSchema"},"from_step_key":{"type":"string","maxLength":128,"description":"Step key to start the run from"},"identifier":{"type":"string","maxLength":256,"description":"Temporary WebSocket identifier used to track run status before creation completes"}},"description":"Data to create a new run"},"WorkflowVersionIdSchema":{"anyOf":[{"type":"string","enum":["draft","latest"]},{"type":"string"},{"type":"number"}],"description":"ID of the workflow version. Use \"latest\", \"draft\" or \"version number\" for a specific version","example":"latest"},"ReplayRunSchema":{"type":"object","properties":{"from_step_key":{"type":"string","maxLength":128,"description":"Key of the workflow step to replay"},"input":{"$ref":"#/components/schemas/InputValuesSchema"},"stream":{"type":"boolean","description":"Indicates if the step should stream output to the client as it becomes available via SSE (Server-Sent Events)"},"background":{"type":"boolean","description":"Indicates if the step should be executed in the background and return the run information immediately"},"identifier":{"type":"string","maxLength":256,"description":"Temporary WebSocket identifier used to track replay status before creation completes"}},"required":["from_step_key"],"description":"Data to replay a workflow step"},"SegmentSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"color":{"$ref":"#/components/schemas/ColorNameSchema"},"contacts_count":{"type":"number"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","name","color","contacts_count","created_at","updated_at"],"description":"Schema for the segment"},"CreateSegmentSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"description":"Name of the segment"},"color":{"$ref":"#/components/schemas/ColorNameSchema"}},"required":["name"],"description":"Schema for creating a segment"},"UpdateSegmentSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"description":"Name of the segment"},"color":{"$ref":"#/components/schemas/ColorNameSchema"}},"description":"Schema for updating a segment"},"ActivitySchema":{"type":"object","properties":{"id":{"type":"string"},"type":{"$ref":"#/components/schemas/ActivityTypeSchema"},"actor":{"allOf":[{"$ref":"#/components/schemas/UserLimitedSchema"},{"description":"Schema for a limited user"}]},"assistant":{"$ref":"#/components/schemas/ActivityAssistantSchema"},"segment":{"$ref":"#/components/schemas/SegmentSchema"},"broadcast":{"allOf":[{"$ref":"#/components/schemas/BroadcastPublicSchema"},{"description":"Public information about a broadcast"}]},"comment":{"type":["string","null"],"description":"Comment body when type='comment' (null/undefined otherwise)"},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/FileSchema"},"description":"Files attached to the comment when type='comment'"},"file":{"$ref":"#/components/schemas/FileSchema"},"metadata":{"$ref":"#/components/schemas/ActivityMetadataSchema"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","type","created_at","updated_at"],"description":"Schema for a timeline activity event"},"ActivityAssistantSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":["string","null"]}},"required":["id","name","avatar_url"],"description":"Schema for an assistant actor in an activity"},"ActivityMetadataSchema":{"oneOf":[{"$ref":"#/components/schemas/ContactUpdatedMetadataSchema"}],"discriminator":{"propertyName":"type","mapping":{"contact_updated":"#/components/schemas/ContactUpdatedMetadataSchema"}},"description":"Activity metadata payload. Discriminated by `type`, which mirrors the parent activity row `type`."},"ContactUpdatedMetadataSchema":{"type":"object","properties":{"type":{"type":"string","enum":["contact_updated"]},"changes":{"type":"array","items":{"$ref":"#/components/schemas/ContactUpdatedChangeSchema"},"minItems":1}},"required":["type","changes"],"description":"Metadata payload for the `contact_updated` activity type"},"ContactUpdatedChangeSchema":{"type":"object","properties":{"key":{"type":"string","description":"Field key. Built-in fields use `name`/`email`/`phone`. Custom contact properties are prefixed with `properties.` (e.g. `properties.dob`)."},"old_value":{},"new_value":{}},"required":["key"],"description":"A single field change recorded on a contact_updated activity"},"DuplicateContactGroupSchema":{"type":"object","properties":{"primary":{"$ref":"#/components/schemas/ContactSchema"},"duplicates":{"type":"array","items":{"$ref":"#/components/schemas/ContactSchema"}},"matched_on":{"type":"array","items":{"$ref":"#/components/schemas/DuplicateChannelMatchSchema"}},"detected_at":{"type":["string","null"],"format":"date-time"}},"required":["primary","duplicates","matched_on","detected_at"],"description":"A group of contacts in an org that appear to be the same person"},"ContactSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"blocked":{"type":"boolean"},"blocked_at":{"type":"string","format":"date-time"},"unsubscribed":{"type":"boolean"},"unsubscribed_at":{"type":"string","format":"date-time"},"unsubscribe_reason":{"type":"string"},"unsubscribe_feedback":{"type":"string"},"ai_replies_disabled":{"type":"boolean"},"ai_replies_disabled_at":{"type":"string","format":"date-time"},"is_admin":{"type":"boolean"},"channels":{"type":"array","items":{"$ref":"#/components/schemas/ContactChannelSchema"}},"segments":{"type":"array","items":{"$ref":"#/components/schemas/SegmentLimitedSchema"}},"properties":{"type":"object","additionalProperties":{}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","name","blocked","unsubscribed","ai_replies_disabled","is_admin","channels","segments","properties","created_at","updated_at"],"description":"Schema for the contact"},"ContactChannelSchema":{"type":"object","properties":{"id":{"type":"string"},"type":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"user_id":{"type":"string","description":"The unique identifier for the contact channel, e.g Phone Number or User ID"},"avatar":{"type":["string","null"],"description":"The avatar for the contact channel, e.g X Avatar URL"},"name":{"type":["string","null"],"description":"The name for the contact channel, e.g Full Name"},"username":{"type":["string","null"],"description":"The username for the contact channel, e.g Username"},"email":{"type":["string","null"],"description":"The email for the contact channel, e.g Email"},"phone":{"type":["string","null"],"description":"The phone number for the contact channel, e.g Phone Number"},"country":{"type":["string","null"],"description":"The country code associated with the contact channel, e.g US for United States"},"agent":{"type":["string","null"],"description":"The user agent associated with the contact channel"},"ip":{"type":["string","null"],"description":"The IP address associated with the contact channel"},"language":{"type":["string","null"],"description":"The language code associated with the contact channel, e.g en for English"},"link":{"type":"string","description":"A link to the contact channel, e.g a link to the social media profile"},"platform_data":{"$ref":"#/components/schemas/ContactChannelPlatformDataSchema"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","type","user_id","avatar","name","username","email","phone","country","agent","ip","language","platform_data","created_at","updated_at"],"description":"Schema for the contact channel"},"ContactChannelPlatformDataSchema":{"type":"object","properties":{},"description":"Schema for the platform-specific data of a contact channel"},"SegmentLimitedSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"color":{"$ref":"#/components/schemas/ColorNameSchema"},"contacts_count":{"type":"number"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","name","color","contacts_count","created_at","updated_at"],"description":"Schema for the segment"},"DuplicateChannelMatchSchema":{"type":"object","properties":{"type":{"type":"string","description":"Channel type (e.g. email, whatsapp_bot)"},"user_id":{"type":"string","description":"External user identifier on the channel"}},"required":["type","user_id"]},"MergeContactsResultSchema":{"type":"object","properties":{"merged":{"$ref":"#/components/schemas/ContactSchema"},"merged_contact_ids":{"type":"array","items":{"type":"string"}}},"required":["merged","merged_contact_ids"]},"MergeContactsSchema":{"type":"object","properties":{"source_contact_ids":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":50,"description":"Contacts to merge into the primary. Omit to merge all auto-detected duplicates."}}},"CreateContactSchema":{"type":"object","properties":{"segment_ids":{"type":"array","items":{"type":"string"},"maxItems":10,"description":"The ID of the segment to add the contact to"},"channel":{"$ref":"#/components/schemas/ContactChannelOptionSchema"}},"required":["channel"],"description":"Schema for creating a contact"},"ContactChannelOptionSchema":{"type":"object","properties":{"user_id":{"type":"string","maxLength":1024,"description":"The user ID of the contact channel"},"name":{"type":["string","null"],"maxLength":256,"description":"The name for the contact channel (e.g. John Doe)"},"email":{"type":"string","maxLength":256,"description":"The email for the contact channel (e.g. user@example.com)"},"phone":{"type":"string","maxLength":256,"description":"The phone number for the contact channel (e.g. +1234567890)"},"contact_id":{"type":"string","description":"The ID of the contact used only for dry run response, ignored in the request"},"properties":{"type":"object","additionalProperties":{},"description":"Map of contact property key → value to set on the contact after creation/match. Pass null/[] to clear."}},"description":"Schema for creating a contact channel option"},"ContactStatsSchema":{"type":"object","properties":{"total":{"type":"number"},"subscribed":{"type":"number"},"unsubscribed":{"type":"number"},"blocked":{"type":"number"}},"required":["total","subscribed","unsubscribed","blocked"],"description":"Contact subscription stats"},"ContactsImportedSchema":{"type":"object","properties":{"created_ids":{"type":"array","items":{"type":"string"}},"updated_ids":{"type":"array","items":{"type":"string"}}},"required":["created_ids","updated_ids"],"description":"Schema for the created contacts"},"CreateContactsSchema":{"type":"object","properties":{"segment_ids":{"type":"array","items":{"type":"string"},"maxItems":10,"description":"The ID of the segment to add the contacts to"},"channels":{"type":"array","items":{"$ref":"#/components/schemas/ContactChannelOptionSchema"},"maxItems":50000}},"required":["channels"],"description":"Schema for creating multiple contacts"},"ContactsImportedDryRunSchema":{"type":"object","properties":{"created":{"type":"array","items":{"$ref":"#/components/schemas/ContactChannelOptionSchema"}},"updated":{"type":"array","items":{"$ref":"#/components/schemas/ContactChannelOptionSchema"}},"invalid":{"type":"array","items":{"$ref":"#/components/schemas/ContactChannelOptionSchema"}}},"required":["created","updated","invalid"],"description":"Schema for the created and updated contacts"},"DeleteContactsSchema":{"type":"object","properties":{"contact_ids":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":1000,"description":"Array of contact IDs to delete"}},"required":["contact_ids"],"description":"Schema for bulk deleting contacts"},"UpdateContactSchema":{"type":"object","properties":{"name":{"type":["string","null"],"maxLength":512,"description":"Name of the contact"},"blocked":{"type":"boolean","description":"Whether the contact is blocked"},"unsubscribed":{"type":"boolean","description":"Whether the contact is unsubscribed"},"ai_replies_disabled":{"type":"boolean","description":"Whether the assistant should stop auto-replying to this contact (human-handled only)"}},"description":"Schema for updating a contact"},"ContactLastSeenSchema":{"type":"object","properties":{"id":{"type":"string"},"last_contact_at":{"type":["string","null"],"format":"date-time"}},"required":["id","last_contact_at"],"description":"Last time the contact interacted via a message"},"AddContactChannelSchema":{"type":"object","properties":{"name":{"type":["string","null"],"maxLength":256,"description":"The name for the contact channel"},"email":{"type":["string","null"],"maxLength":256,"format":"email","description":"The email for the contact channel"},"phone":{"type":["string","null"],"maxLength":256,"description":"The phone number for the contact channel"},"username":{"type":["string","null"],"maxLength":256,"description":"The username for the contact channel"}},"description":"Schema for adding a custom channel to an existing contact. At least one field must be provided."},"ContactChannelStatsSchema":{"type":"object","properties":{"chats":{"type":"number"},"broadcast_recipients":{"type":"number"}},"required":["chats","broadcast_recipients"],"description":"Related entity counts for a contact channel. Used to warn before deletion."},"UpdateContactChannelSchema":{"type":"object","properties":{"avatar":{"type":["string","null"],"maxLength":2048,"format":"uri","description":"The avatar for the contact channel, e.g X Avatar URL"},"name":{"type":["string","null"],"maxLength":256,"description":"The name for the contact channel, e.g Full Name"},"phone":{"type":["string","null"],"maxLength":256,"description":"The phone number for the contact channel, e.g Phone Number"},"username":{"type":["string","null"],"maxLength":256,"description":"The username for the contact channel, e.g Username"},"email":{"type":["string","null"],"maxLength":256,"format":"email","description":"The email for the contact channel, e.g Email"}},"description":"Schema for updating a contact channel"},"ContactFileSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the file"},"file_path":{"type":"string","maxLength":2048,"description":"Path to the file in the storage system"},"file_filename":{"type":"string","maxLength":255,"description":"Name of the file","example":"document.pdf"},"file_size":{"type":"number","description":"Size of the file in bytes","example":1024},"file_mimetype":{"type":"string","maxLength":255,"description":"MIME type of the file","example":"application/pdf"},"file_url":{"type":"string","maxLength":2048,"description":"URL to access the file"},"created_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the file was created"},"source":{"$ref":"#/components/schemas/ContactFileSourceSchema"},"user":{"allOf":[{"$ref":"#/components/schemas/UserLimitedSchema"},{"description":"Staff member who linked the file to the contact. Null when the file came from the contact themselves or was generated by the assistant."}]}},"required":["id","file_path","file_filename","file_size","file_mimetype","file_url","created_at","source"],"description":"A file in a contact collection, with its origin metadata"},"ContactFileSourceSchema":{"type":"string","enum":["direct","comment","chat"],"description":"Where the file came from in the contact: a direct upload, attached to a comment, or sent in a chat"},"ContactCommentSchema":{"type":"object","properties":{"id":{"type":"string"},"actor":{"allOf":[{"$ref":"#/components/schemas/UserLimitedSchema"},{"description":"User who posted the comment"}]},"contact_id":{"type":"string"},"comment":{"type":["string","null"]},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/FileSchema"},"description":"Files attached to the comment"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","contact_id","comment","attachments","created_at","updated_at"],"description":"Schema for a contact comment"},"CreateContactCommentSchema":{"type":"object","properties":{"comment":{"type":"string","maxLength":2048,"description":"The content of the comment (max 2048 characters)"},"attachments":{"type":"array","items":{"type":"string"},"maxItems":20,"description":"Array of file IDs to attach to the comment"}},"description":"Schema for creating a contact comment"},"UpdateContactCommentSchema":{"type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":2048,"description":"The content of the comment (max 2048 characters)"},"attachments":{"type":"array","items":{"type":"string"},"maxItems":20,"description":"Array of file IDs to attach to the comment (replaces existing attachments)"}},"description":"Schema for updating a contact comment"},"MemorySchema":{"type":"object","properties":{"id":{"type":"string"},"user_id":{"type":"string"},"contact_id":{"type":"string"},"content":{"type":"string","maxLength":200},"type":{"$ref":"#/components/schemas/MemoryTypeSchema"},"importance":{"type":"number","minimum":0,"maximum":1},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","content","type","importance","created_at","updated_at"],"description":"A memory is a piece of information that the assistant can use to help the user."},"MemoryTypeSchema":{"type":"string","enum":["FACT","PREFERENCE","GOAL","EXPERIENCE"],"description":"The type of memory."},"CreateContactChannelChatSchema":{"type":"object","properties":{"assistant_id":{"type":"string","description":"The assistant that will handle this chat"},"title":{"type":["string","null"],"maxLength":256,"description":"The title of the chat"},"message":{"allOf":[{"$ref":"#/components/schemas/ChatMessageUserPartsSchema"},{"description":"Optional initial message. Authored as the contact, not the admin."}]},"tools":{"type":"array","items":{"$ref":"#/components/schemas/ModelToolSchema"},"maxItems":100,"description":"Per-chat tool overrides. The assistant's actions are enabled by default; include an entry with the resolved tool name and enabled:false to turn one off for this chat."}},"required":["assistant_id"]},"SendContactChannelChatMessageSchema":{"type":"object","properties":{"message":{"allOf":[{"$ref":"#/components/schemas/ChatMessageUserPartsSchema"},{"description":"The message content, authored as the contact."}]}},"required":["message"]},"TableSchema":{"type":"object","properties":{"id":{"type":"string"},"type":{"$ref":"#/components/schemas/TableTypeSchema"},"name":{"type":["string","null"],"description":"The name of the table.","example":"Companies"},"description":{"type":["string","null"],"description":"The description of the table.","example":"Companies are organizations that own and manage other organizations."},"record_prefix":{"type":["string","null"],"description":"The prefix of the record.","example":"LEAD"},"display_field_id":{"type":["string","null"],"description":"The id of the display field."},"archived":{"type":"boolean","description":"Whether the table is archived."},"fields":{"type":"array","items":{"$ref":"#/components/schemas/TableFieldSchema"}},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","type","name","description","record_prefix","display_field_id","archived","fields","created_at","updated_at"]},"CreateTableSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name (e.g. \"Companies\"). 1-128 chars."},"record_prefix":{"type":"string","minLength":1,"maxLength":16,"pattern":"^[A-Z][A-Z0-9]{0,15}$","description":"Uppercase alphanumeric prefix used to render record IDs (e.g. `LEAD` → `LEAD-42`). Unique per org. 1-16 chars."},"description":{"type":"string","maxLength":512,"description":"Optional long-form description of what the table represents."}},"required":["name","record_prefix"]},"UpdateTableSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name (e.g. \"Companies\"). 1-128 chars."},"record_prefix":{"type":"string","minLength":1,"maxLength":16,"pattern":"^[A-Z][A-Z0-9]{0,15}$","description":"Uppercase alphanumeric prefix used to render record IDs (e.g. `LEAD` → `LEAD-42`). Unique per org. 1-16 chars."},"description":{"type":["string","null"],"maxLength":512,"description":"Optional long-form description of what the table represents."},"display_field_id":{"type":["string","null"],"maxLength":128,"description":"Encoded id of the TableField whose value renders as the record headline. Must belong to this table and not be archived. Pass `null` to clear."},"archived":{"type":"boolean","description":"Visibility flag. Archived tables are hidden from default lists. No effect on records, fields, or behavior; reversible at any time."}}},"DuplicateTableSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name (e.g. \"Companies\"). 1-128 chars."},"record_prefix":{"type":"string","minLength":1,"maxLength":16,"pattern":"^[A-Z][A-Z0-9]{0,15}$","description":"Uppercase alphanumeric prefix used to render record IDs (e.g. `LEAD` → `LEAD-42`). Unique per org. 1-16 chars."}},"required":["name","record_prefix"],"description":"Schema for duplicating a table."},"CreateTableFieldSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"schema":{"$ref":"#/components/schemas/TableFieldFieldSchema"},"config":{"$ref":"#/components/schemas/TableFieldConfigSchema"},"connection_id":{"type":"string","maxLength":128},"unique":{"type":"boolean"},"readonly":{"type":"boolean"},"ai_mode":{"$ref":"#/components/schemas/TableFieldAiModeSchema"},"on_target_delete":{"$ref":"#/components/schemas/TableFieldOnTargetDeleteSchema"},"before":{"type":"string","maxLength":1024},"after":{"type":"string","maxLength":1024}},"required":["key","schema"]},"TableFieldFieldSchema":{"oneOf":[{"$ref":"#/components/schemas/FieldFileSchema"},{"$ref":"#/components/schemas/FieldNumberSchema"},{"$ref":"#/components/schemas/FieldStringSchema"},{"$ref":"#/components/schemas/FieldBooleanSchema"},{"$ref":"#/components/schemas/FieldDateSchema"},{"$ref":"#/components/schemas/FieldDateTimeSchema"},{"$ref":"#/components/schemas/FieldTimeSchema"},{"$ref":"#/components/schemas/FieldEnumSchema"},{"$ref":"#/components/schemas/FieldContentSchema"},{"$ref":"#/components/schemas/FieldConnectionSchema"},{"$ref":"#/components/schemas/FieldRecordSchema"},{"$ref":"#/components/schemas/FieldContactSchema"},{"$ref":"#/components/schemas/FieldUserSchema"},{"$ref":"#/components/schemas/FieldChatSchema"},{"$ref":"#/components/schemas/FieldSegmentSchema"},{"$ref":"#/components/schemas/FieldAssistantSchema"},{"$ref":"#/components/schemas/FieldObjectSchema"}],"discriminator":{"propertyName":"type","mapping":{"file":"#/components/schemas/FieldFileSchema","number":"#/components/schemas/FieldNumberSchema","string":"#/components/schemas/FieldStringSchema","boolean":"#/components/schemas/FieldBooleanSchema","date":"#/components/schemas/FieldDateSchema","datetime":"#/components/schemas/FieldDateTimeSchema","time":"#/components/schemas/FieldTimeSchema","enum":"#/components/schemas/FieldEnumSchema","content":"#/components/schemas/FieldContentSchema","connection":"#/components/schemas/FieldConnectionSchema","record":"#/components/schemas/FieldRecordSchema","contact":"#/components/schemas/FieldContactSchema","user":"#/components/schemas/FieldUserSchema","chat":"#/components/schemas/FieldChatSchema","segment":"#/components/schemas/FieldSegmentSchema","assistant":"#/components/schemas/FieldAssistantSchema","object":"#/components/schemas/FieldObjectSchema"}},"description":"A table field schema"},"MoveTableFieldSchema":{"type":"object","properties":{"field_id":{"type":"string","maxLength":128},"after":{"type":"string","maxLength":1024},"before":{"type":"string","maxLength":1024}},"required":["field_id"]},"UpdateTableFieldSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"schema":{"$ref":"#/components/schemas/TableFieldFieldSchema"},"config":{"$ref":"#/components/schemas/TableFieldConfigSchema"},"connection_id":{"type":["string","null"],"maxLength":128},"unique":{"type":"boolean"},"readonly":{"type":"boolean","description":"Whether the field is readonly."},"archived":{"type":"boolean","description":"Whether the field is archived."},"ai_mode":{"$ref":"#/components/schemas/TableFieldAiModeSchema"},"on_target_delete":{"$ref":"#/components/schemas/TableFieldOnTargetDeleteSchema"}}},"ImportTableRecordsResultSchema":{"type":"object","properties":{"created":{"type":"number","description":"Rows imported successfully."},"failed":{"type":"number","description":"Rows that were rejected."},"errors":{"type":"array","items":{"type":"object","properties":{"row":{"type":"number","description":"1-based row number (the header is row 1)."},"message":{"type":"string"}},"required":["row","message"]},"description":"Per-row failures. Successful rows still commit."}},"required":["created","failed","errors"]},"ImportTableRecordsSchema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"mapping":{"type":"string","maxLength":8192,"description":"Optional JSON object mapping a CSV header to a field key, e.g. {\"Full Name\":\"name\"}."}},"required":["file"]},"TableRecordSchema":{"type":"object","properties":{"id":{"type":"string"},"table_id":{"type":"string"},"archived":{"type":"boolean","description":"Whether the record is archived."},"position":{"type":["string","null"],"description":"The position of the record in the view."},"values":{"type":"array","items":{"$ref":"#/components/schemas/TableRecordValueSchema"},"description":"The values of the record."}},"required":["id","table_id","archived","position","values"]},"TableRecordValueSchema":{"oneOf":[{"$ref":"#/components/schemas/TableRecordValueStringSchema"},{"$ref":"#/components/schemas/TableRecordValueNumberSchema"},{"$ref":"#/components/schemas/TableRecordValueBooleanSchema"},{"$ref":"#/components/schemas/TableRecordValueDateSchema"},{"$ref":"#/components/schemas/TableRecordValueDatetimeSchema"},{"$ref":"#/components/schemas/TableRecordValueEnumSchema"},{"$ref":"#/components/schemas/TableRecordValueFileSchema"},{"$ref":"#/components/schemas/TableRecordValueRecordSchema"},{"$ref":"#/components/schemas/TableRecordValueContactSchema"},{"$ref":"#/components/schemas/TableRecordValueUserSchema"},{"$ref":"#/components/schemas/TableRecordValueChatSchema"},{"$ref":"#/components/schemas/TableRecordValueSegmentSchema"},{"$ref":"#/components/schemas/TableRecordValueAssistantSchema"}],"discriminator":{"propertyName":"type","mapping":{"string":"#/components/schemas/TableRecordValueStringSchema","number":"#/components/schemas/TableRecordValueNumberSchema","boolean":"#/components/schemas/TableRecordValueBooleanSchema","date":"#/components/schemas/TableRecordValueDateSchema","datetime":"#/components/schemas/TableRecordValueDatetimeSchema","enum":"#/components/schemas/TableRecordValueEnumSchema","file":"#/components/schemas/TableRecordValueFileSchema","record":"#/components/schemas/TableRecordValueRecordSchema","contact":"#/components/schemas/TableRecordValueContactSchema","user":"#/components/schemas/TableRecordValueUserSchema","chat":"#/components/schemas/TableRecordValueChatSchema","segment":"#/components/schemas/TableRecordValueSegmentSchema","assistant":"#/components/schemas/TableRecordValueAssistantSchema"}}},"TableRecordValueStringSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["string"]},"value":{"type":"string","maxLength":50000}},"required":["id","key","type","value"]},"TableRecordValueNumberSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["number"]},"value":{"type":"number"}},"required":["id","key","type","value"]},"TableRecordValueBooleanSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["boolean"]},"value":{"type":"boolean"}},"required":["id","key","type","value"]},"TableRecordValueDateSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["date"]},"value":{"type":["string","null"],"format":"date-time"}},"required":["id","key","type","value"]},"TableRecordValueDatetimeSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["datetime"]},"value":{"type":["string","null"],"format":"date-time"}},"required":["id","key","type","value"]},"TableRecordValueEnumSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["enum"]},"value":{"anyOf":[{"type":"string","maxLength":2048},{"type":"array","items":{"type":"string","maxLength":2048}}]}},"required":["id","key","type","value"]},"TableRecordValueFileSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["file"]},"value":{"anyOf":[{"type":"string","maxLength":2048},{"type":"array","items":{"type":"string","maxLength":2048}}]},"display":{"anyOf":[{"$ref":"#/components/schemas/FileSchema"},{"type":"array","items":{"$ref":"#/components/schemas/FileSchema"}}]}},"required":["id","key","type","value"]},"TableRecordValueRecordSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["record"]},"value":{"anyOf":[{"type":"string","maxLength":2048},{"type":"array","items":{"type":"string","maxLength":2048}}]},"display":{"anyOf":[{"$ref":"#/components/schemas/TableRecordLimitedSchema"},{"type":"array","items":{"$ref":"#/components/schemas/TableRecordLimitedSchema"}}]}},"required":["id","key","type","value"]},"TableRecordLimitedSchema":{"type":"object","properties":{"id":{"type":"string"},"table_id":{"type":"string"},"display":{"oneOf":[{"$ref":"#/components/schemas/TableRecordValueSchema"},{"type":"null"}]}},"required":["id","table_id","display"],"description":"Compact reference to a record from another table, used when one record points at another via a `record`-typed field."},"TableRecordValueContactSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["contact"]},"value":{"anyOf":[{"type":"string","maxLength":2048},{"type":"array","items":{"type":"string","maxLength":2048}}]},"display":{"anyOf":[{"$ref":"#/components/schemas/ContactSchema"},{"type":"array","items":{"$ref":"#/components/schemas/ContactSchema"}}]}},"required":["id","key","type","value"]},"TableRecordValueUserSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["user"]},"value":{"anyOf":[{"type":"string","maxLength":2048},{"type":"array","items":{"type":"string","maxLength":2048}}]},"display":{"anyOf":[{"allOf":[{"$ref":"#/components/schemas/UserLimitedSchema"},{"description":"Schema for a limited user"}]},{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/UserLimitedSchema"},{"description":"Schema for a limited user"}]}}]}},"required":["id","key","type","value"]},"TableRecordValueChatSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["chat"]},"value":{"anyOf":[{"type":"string","maxLength":2048},{"type":"array","items":{"type":"string","maxLength":2048}}]},"display":{"anyOf":[{"$ref":"#/components/schemas/ChatLimitedSchema"},{"type":"array","items":{"$ref":"#/components/schemas/ChatLimitedSchema"}}]}},"required":["id","key","type","value"]},"ChatLimitedSchema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":["string","null"]},"status":{"type":"string","enum":["RUNNING","COMPLETED","FAILED","CANCELED"]},"state":{"$ref":"#/components/schemas/ChatLimitedStateSchema"},"created_at":{"type":["string","null"],"format":"date-time"}},"required":["id","title","status","created_at"],"description":"Compact chat reference for embedding in other resources (table value display, ref cells, etc.). Carries the minimum the FE needs to render a chat chip: title, status indicator, state subset (ai_enabled, muted, follow-up, unread), and created date."},"ChatLimitedStateSchema":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/ChatStateStatusSchema"},"ai_enabled":{"type":"boolean"},"admin_unseen_count":{"type":"number"},"muted_until":{"type":["string","null"],"format":"date-time"},"follow_up_at":{"type":["string","null"],"format":"date-time"}},"required":["state","ai_enabled","admin_unseen_count","muted_until","follow_up_at"]},"TableRecordValueSegmentSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["segment"]},"value":{"anyOf":[{"type":"string","maxLength":2048},{"type":"array","items":{"type":"string","maxLength":2048}}]},"display":{"anyOf":[{"$ref":"#/components/schemas/SegmentLimitedSchema"},{"type":"array","items":{"$ref":"#/components/schemas/SegmentLimitedSchema"}}]}},"required":["id","key","type","value"]},"TableRecordValueAssistantSchema":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["assistant"]},"value":{"anyOf":[{"type":"string","maxLength":2048},{"type":"array","items":{"type":"string","maxLength":2048}}]},"display":{"anyOf":[{"$ref":"#/components/schemas/AssistantLimitedSchema"},{"type":"array","items":{"$ref":"#/components/schemas/AssistantLimitedSchema"}}]}},"required":["id","key","type","value"]},"AssistantLimitedSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":["string","null"]},"deleted":{"type":"boolean"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","name","avatar_url","deleted","created_at","updated_at"],"description":"Compact assistant reference for embedding in other resources (table value display, ref cells, etc.). `deleted` lets the FE render soft-deleted assistants as non-clickable while still showing the name and avatar."},"CreateTableRecordSchema":{"type":"object","properties":{"values":{"$ref":"#/components/schemas/SetTableRecordValuesSchema"},"view_id":{"type":"string","maxLength":128,"description":"The view to place the record in."},"after":{"type":"string","maxLength":1024,"description":"The neighbor to sort the record after."},"before":{"type":"string","maxLength":1024,"description":"The neighbor to sort the record before."}}},"SetTableRecordValuesSchema":{"type":"object","additionalProperties":{},"description":"Map of field key → value. Multi-value fields accept arrays; pass null or [] to clear."},"BulkTableRecordsSchema":{"type":"object","properties":{"create":{"type":"array","items":{"$ref":"#/components/schemas/CreateTableRecordSchema"}},"patch":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":128},"values":{"$ref":"#/components/schemas/SetTableRecordValuesSchema"},"archived":{"type":"boolean"}},"required":["id"]}},"delete":{"type":"array","items":{"type":"string","maxLength":128}}}},"UpdateTableRecordSchema":{"type":"object","properties":{"values":{"$ref":"#/components/schemas/SetTableRecordValuesSchema"},"archived":{"type":"boolean"}}},"DuplicateTableRecordSchema":{"type":"object","properties":{"view_id":{"type":"string","maxLength":128,"description":"When set, the duplicate is placed immediately after the source record in this view manual order."}},"description":"Schema for duplicating a record."},"TableRecordCommentSchema":{"type":"object","properties":{"id":{"type":"string"},"actor":{"allOf":[{"$ref":"#/components/schemas/UserLimitedSchema"},{"description":"User who posted the comment"}]},"record_id":{"type":"string"},"comment":{"type":["string","null"]},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/FileSchema"},"description":"Files attached to the comment"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","record_id","comment","attachments","created_at","updated_at"],"description":"Schema for a table record comment"},"CreateTableRecordCommentSchema":{"type":"object","properties":{"comment":{"type":"string","maxLength":2048,"description":"The content of the comment (max 2048 characters)"},"attachments":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":20,"description":"Array of file IDs to attach to the comment"}},"description":"Schema for creating a table record comment"},"UpdateTableRecordCommentSchema":{"type":"object","properties":{"comment":{"type":"string","minLength":1,"maxLength":2048,"description":"The content of the comment (max 2048 characters)"},"attachments":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":20,"description":"Array of file IDs to attach to the comment (replaces existing attachments)"}},"description":"Schema for updating a table record comment"},"TableViewSchema":{"type":"object","properties":{"id":{"type":"string"},"table_id":{"type":"string"},"table_type":{"$ref":"#/components/schemas/TableTypeSchema"},"name":{"type":["string","null"]},"description":{"type":["string","null"]},"color":{"allOf":[{"$ref":"#/components/schemas/ColorNameSchema"},{"type":["string","null"]}]},"kind":{"$ref":"#/components/schemas/TableViewKindSchema"},"config":{"$ref":"#/components/schemas/TableViewConfigSchema"},"sort":{"$ref":"#/components/schemas/TableViewSortSchema"},"filter":{"$ref":"#/components/schemas/FilterSchema"},"position":{"type":"integer"},"is_default":{"type":"boolean"},"show_in_sidebar":{"type":"boolean"},"archived":{"type":"boolean"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"}},"required":["id","table_id","table_type","name","description","color","kind","config","sort","filter","position","is_default","show_in_sidebar","archived","created_at","updated_at"]},"TableViewKindSchema":{"type":"string","enum":["table","board","calendar","timeline"]},"TableViewConfigSchema":{"type":"object","properties":{"shared":{"$ref":"#/components/schemas/TableViewSharedConfigSchema"},"board":{"$ref":"#/components/schemas/TableViewBoardConfigSchema"},"table":{"$ref":"#/components/schemas/TableViewTableConfigSchema"},"calendar":{"$ref":"#/components/schemas/TableViewCalendarConfigSchema"},"timeline":{"$ref":"#/components/schemas/TableViewTimelineConfigSchema"}}},"TableViewSharedConfigSchema":{"type":"object","properties":{"open_items_in":{"type":"string","enum":["side_peek","center_peek","full_page"]}}},"TableViewBoardConfigSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"hide_empty_groups":{"type":"boolean"},"card_fields":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"}},"columns":{"type":"array","items":{"$ref":"#/components/schemas/TableViewBoardColumnSchema"},"maxItems":512},"date":{"$ref":"#/components/schemas/TableViewBoardDateConfigSchema"},"number":{"$ref":"#/components/schemas/TableViewBoardNumberConfigSchema"},"card_color":{"$ref":"#/components/schemas/TableViewBoardCardColorSchema"}}},"TableViewBoardColumnSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":256},"visible":{"type":"boolean"}},"required":["key","visible"]},"TableViewBoardDateConfigSchema":{"type":"object","properties":{"granularity":{"$ref":"#/components/schemas/TableViewBoardDateConfigGranularitySchema"},"sort":{"$ref":"#/components/schemas/TableViewBoardDateConfigSortSchema"}}},"TableViewBoardDateConfigGranularitySchema":{"type":"string","enum":["relative","day","week","month","year"],"description":"Granularity for the date buckets."},"TableViewBoardDateConfigSortSchema":{"type":"string","enum":["oldest_first","newest_first"],"description":"Sort order for the date buckets."},"TableViewBoardNumberConfigSchema":{"type":"object","properties":{"from":{"type":"number"},"to":{"type":"number"},"step":{"type":"number","exclusiveMinimum":0},"sort":{"type":"string","enum":["asc","desc"]}}},"TableViewBoardCardColorSchema":{"type":"string","enum":["none","bordered","background"],"description":"How board cards are tinted by their group color."},"TableViewTableConfigSchema":{"type":"object","properties":{"columns":{"type":"array","items":{"$ref":"#/components/schemas/TableViewTableColumnSchema"},"maxItems":106}}},"TableViewTableColumnSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"visible":{"type":"boolean"},"sticky":{"type":"boolean"},"width":{"type":"integer","minimum":30,"maximum":2000}},"required":["key","visible","sticky"]},"TableViewCalendarConfigSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"show_as":{"type":"string","enum":["month","week"]},"show_weekends":{"type":"boolean"}}},"TableViewTimelineConfigSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"end_key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"}}},"TableViewSortSchema":{"type":["object","null"],"properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"direction":{"type":"string","enum":["asc","desc"]}},"required":["key","direction"]},"FilterSchema":{"anyOf":[{"$ref":"#/components/schemas/FilterRuleSchema"},{"$ref":"#/components/schemas/FilterGroupSchema"},{"type":"null"}]},"FilterRuleSchema":{"type":"object","properties":{"type":{"type":"string","enum":["rule"]},"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"operator":{"$ref":"#/components/schemas/FilterOperatorSchema"},"value":{}},"required":["type","key","operator"]},"FilterOperatorSchema":{"type":"string","enum":["contains","not_contains","eq","neq","gt","lt","gte","lte","before","after","on_or_before","on_or_after","in","not_in","is_empty","is_not_empty"]},"FilterGroupSchema":{"type":"object","properties":{"type":{"type":"string","enum":["group"]},"combinator":{"$ref":"#/components/schemas/FilterCombinatorSchema"},"children":{"type":"array","items":{"$ref":"#/components/schemas/FilterSchema"}}},"required":["type","combinator","children"]},"FilterCombinatorSchema":{"type":"string","enum":["and","or"]},"CreateTableViewSchema":{"type":"object","properties":{"table_id":{"type":"string","maxLength":128},"name":{"type":"string","minLength":1,"maxLength":128},"description":{"type":"string","maxLength":512},"color":{"$ref":"#/components/schemas/ColorNameSchema"},"kind":{"$ref":"#/components/schemas/TableViewKindSchema"},"config":{"$ref":"#/components/schemas/TableViewConfigSchema"},"sort":{"$ref":"#/components/schemas/TableViewSortSchema"},"filter":{"$ref":"#/components/schemas/FilterSchema"}},"required":["table_id","kind"]},"UpdateTableViewSchema":{"type":"object","properties":{"name":{"type":["string","null"],"minLength":1,"maxLength":128},"description":{"type":["string","null"],"maxLength":512},"color":{"allOf":[{"$ref":"#/components/schemas/ColorNameSchema"},{"type":["string","null"]}]},"config":{"$ref":"#/components/schemas/TableViewConfigSchema"},"sort":{"$ref":"#/components/schemas/TableViewSortSchema"},"filter":{"$ref":"#/components/schemas/FilterSchema"},"show_in_sidebar":{"type":"boolean"},"archived":{"type":"boolean"}}},"ReorderTableViewsSchema":{"type":"object","properties":{"positions":{"$ref":"#/components/schemas/ReorderTableViewsSchemaPositions"}},"required":["positions"]},"ReorderTableViewsSchemaPositions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":128},"position":{"type":"integer","minimum":0,"description":"New position for the view."}},"required":["id","position"]},"description":"New positions for the views."},"DuplicateTableViewSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"description":"Name for the duplicate. If omitted, the copy has no name (locale fallback is shown)."}},"description":"Schema for duplicating a view."},"ViewFieldSchema":{"oneOf":[{"$ref":"#/components/schemas/ViewScalarFieldSchema"},{"$ref":"#/components/schemas/ViewRefOneFieldSchema"}],"discriminator":{"propertyName":"kind","mapping":{"scalar":"#/components/schemas/ViewScalarFieldSchema","ref-1":"#/components/schemas/ViewRefOneFieldSchema"}}},"ViewScalarFieldSchema":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"readonly":{"type":"boolean"},"sortable":{"type":"boolean"},"groupable_in":{"type":"array","items":{"$ref":"#/components/schemas/TableViewKindSchema"}},"kind":{"type":"string","enum":["scalar"]},"type":{"$ref":"#/components/schemas/ViewScalarFieldTypeSchema"},"items":{"type":"array","items":{"$ref":"#/components/schemas/FieldEnumItemSchema"}}},"required":["key","readonly","sortable","groupable_in","kind","type"]},"ViewScalarFieldTypeSchema":{"type":"string","enum":["string","number","boolean","date","datetime","enum"]},"ViewRefOneFieldSchema":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"readonly":{"type":"boolean"},"sortable":{"type":"boolean"},"groupable_in":{"type":"array","items":{"$ref":"#/components/schemas/TableViewKindSchema"}},"kind":{"type":"string","enum":["ref-1"]},"type":{"$ref":"#/components/schemas/ViewRefOneFieldTypeSchema"}},"required":["key","readonly","sortable","groupable_in","kind","type"]},"ViewRefOneFieldTypeSchema":{"type":"string","enum":["user","record","contact","chat","file","assistant","segment"]},"TableViewGroupsResponseSchema":{"type":"object","properties":{"groups":{"type":"array","items":{"$ref":"#/components/schemas/TableViewGroupSchema"}},"capabilities":{"$ref":"#/components/schemas/TableViewGroupsCapabilitiesSchema"}},"required":["groups","capabilities"]},"TableViewGroupSchema":{"oneOf":[{"type":"object","properties":{"key":{"type":"string"},"type":{"type":"string","enum":["unmatched"]}},"required":["key","type"]},{"type":"object","properties":{"key":{"type":"string"},"type":{"type":"string","enum":["enum"]},"enum":{"$ref":"#/components/schemas/FieldEnumItemSchema"}},"required":["key","type","enum"]},{"type":"object","properties":{"key":{"type":"string"},"type":{"type":"string","enum":["user"]},"user":{"$ref":"#/components/schemas/UserPublicSchema"}},"required":["key","type","user"]},{"type":"object","properties":{"key":{"type":"string"},"type":{"type":"string","enum":["date_relative"]},"date_relative":{"$ref":"#/components/schemas/TableViewGroupDateRelativeSchema"}},"required":["key","type","date_relative"]},{"type":"object","properties":{"key":{"type":"string"},"type":{"type":"string","enum":["date_granular"]},"date_granular":{"$ref":"#/components/schemas/TableViewGroupDateGranularSchema"}},"required":["key","type","date_granular"]},{"type":"object","properties":{"key":{"type":"string"},"type":{"type":"string","enum":["number"]},"number":{"$ref":"#/components/schemas/TableViewGroupNumberSchema"}},"required":["key","type","number"]},{"type":"object","properties":{"key":{"type":"string"},"type":{"type":"string","enum":["boolean"]},"boolean":{"$ref":"#/components/schemas/TableViewGroupBooleanSchema"}},"required":["key","type","boolean"]},{"type":"object","properties":{"key":{"type":"string"},"type":{"type":"string","enum":["string"]},"string":{"$ref":"#/components/schemas/TableViewGroupStringSchema"}},"required":["key","type","string"]}]},"TableViewGroupDateRelativeSchema":{"type":"object","properties":{"token":{"type":"string","enum":["future","today","yesterday","last_7_days","last_30_days","this_month","last_month","older"]}},"required":["token"]},"TableViewGroupDateGranularSchema":{"type":"object","properties":{"date":{"type":"string"},"granularity":{"type":"string","enum":["relative","day","week","month","year"]}},"required":["date","granularity"]},"TableViewGroupNumberSchema":{"type":"object","properties":{"from":{"type":"number"},"to":{"type":"number"}},"required":["from","to"]},"TableViewGroupBooleanSchema":{"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"]},"TableViewGroupStringSchema":{"type":"object","properties":{"value":{"type":"string"}},"required":["value"]},"TableViewGroupsCapabilitiesSchema":{"type":"object","properties":{"reorderable_columns":{"type":"boolean"},"movable_items":{"type":"boolean"},"axis":{"$ref":"#/components/schemas/ViewFieldSchema"}},"required":["reorderable_columns","movable_items","axis"]},"MoveTableViewGroupSchema":{"type":"object","properties":{"group_key":{"type":"string","minLength":1,"maxLength":256},"after":{"type":"string","minLength":1,"maxLength":256},"before":{"type":"string","minLength":1,"maxLength":256}},"required":["group_key"]},"MoveTableViewItemSchema":{"type":"object","properties":{"item_id":{"type":"string","maxLength":128},"group_value":{"type":["string","null"],"maxLength":1024,"description":"Board only — new group_by value. Pass `null` for the unmatched group. Omit to leave the field value unchanged."},"after":{"type":"string","maxLength":1024,"description":"Neighbor item id this one should come after. Required for `kind='board'`."},"before":{"type":"string","maxLength":1024,"description":"Neighbor item id this one should come before. Required for `kind='board'`."}},"required":["item_id"]},"BroadcastSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"$ref":"#/components/schemas/BroadcastTypeSchema"},"status":{"$ref":"#/components/schemas/BroadcastStatusSchema"},"show_in_inbox":{"type":"boolean"},"scheduled_at":{"type":["string","null"],"format":"date-time"},"started_at":{"type":["string","null"],"format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"},"contacts_count":{"type":"number"},"recipients_count":{"type":"number"},"skipped_count":{"type":"number"},"sent_count":{"type":"number"},"failed_count":{"type":"number"},"bounced_count":{"type":"number"},"delivered_count":{"type":"number"},"opened_count":{"type":"number"},"played_count":{"type":"number"},"click_count":{"type":"number"},"complained_count":{"type":"number"},"unsubscribed_count":{"type":"number"},"error_message":{"type":["string","null"]},"segments":{"type":"array","items":{"$ref":"#/components/schemas/SegmentLimitedSchema"}},"fields":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastFieldSchema"}},"send_to_all":{"type":"boolean"},"templates":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastTemplateSchema"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","name","type","status","show_in_inbox","scheduled_at","started_at","completed_at","contacts_count","recipients_count","skipped_count","sent_count","failed_count","bounced_count","delivered_count","opened_count","played_count","click_count","complained_count","unsubscribed_count","error_message","segments","fields","send_to_all","templates","created_at","updated_at"],"description":"Schema for a broadcast"},"BroadcastTypeSchema":{"type":"string","enum":["MARKETING","TRANSACTIONAL"],"description":"The mode of the broadcast: MARKETING (bulk to many people) or TRANSACTIONAL (single-recipient trigger across channels)"},"BroadcastStatusSchema":{"type":"string","enum":["DRAFT","SCHEDULED","SENDING","SENT","CANCELLED","FAILED","ACTIVE","PAUSED"],"description":"The status of the broadcast"},"BroadcastFieldSchema":{"type":"object","properties":{"id":{"type":"string"},"broadcast_id":{"type":"string"},"key":{"type":"string"},"default_value":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"}},"required":["id","broadcast_id","key","default_value","created_at"],"description":"A broadcast field"},"BroadcastTemplateSchema":{"type":"object","properties":{"id":{"type":"string"},"broadcast_id":{"type":"string"},"connection_id":{"type":["string","null"]},"integration_id":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"recipients_count":{"type":"number"},"config":{"$ref":"#/components/schemas/BroadcastTemplateConfigSchema"},"error":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","broadcast_id","connection_id","integration_id","recipients_count","config","error","created_at","updated_at"],"description":"Schema for a broadcast template"},"BroadcastTemplateConfigSchema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/InputValuesWithDefinitionsSchema"},"description":"Configuration object for the broadcast template"},"CreateBroadcastSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255,"description":"The name of the broadcast"},"type":{"allOf":[{"$ref":"#/components/schemas/BroadcastTypeSchema"},{"description":"The mode of the broadcast. Defaults to MARKETING. Cannot be changed after creation."}]},"show_in_inbox":{"type":"boolean","description":"Whether the broadcast appears as a conversation in Inbox"},"scheduled_at":{"type":["string","null"],"format":"date-time","description":"When to send the broadcast. Use null to send immediately."},"segment_ids":{"type":"array","items":{"type":"string"},"maxItems":10,"description":"The segments to include in the broadcast"},"send_to_all":{"type":"boolean","description":"Whether to send the broadcast to all contacts or only to the segments"}},"required":["name"],"description":"Schema for creating a broadcast"},"BroadcastRecipientSchema":{"type":"object","properties":{"id":{"type":"string"},"broadcast_id":{"type":"string"},"broadcast_name":{"type":"string"},"template_id":{"type":["string","null"]},"integration_id":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"contact":{"$ref":"#/components/schemas/ContactSchema"},"user_id":{"type":["string","null"]},"name":{"type":["string","null"]},"username":{"type":["string","null"]},"phone":{"type":["string","null"]},"email":{"type":["string","null"]},"status":{"$ref":"#/components/schemas/BroadcastRecipientStatusSchema"},"source":{"$ref":"#/components/schemas/BroadcastRecipientSourceSchema"},"is_skipped":{"type":["boolean","null"]},"is_skipped_at":{"type":["string","null"],"format":"date-time"},"is_failed":{"type":["boolean","null"]},"is_failed_at":{"type":["string","null"],"format":"date-time"},"is_bounced":{"type":["boolean","null"]},"is_bounced_at":{"type":["string","null"],"format":"date-time"},"is_sent":{"type":["boolean","null"]},"is_sent_at":{"type":["string","null"],"format":"date-time"},"is_delivered":{"type":["boolean","null"]},"is_delivered_at":{"type":["string","null"],"format":"date-time"},"is_complained":{"type":["boolean","null"]},"is_complained_at":{"type":["string","null"],"format":"date-time"},"is_unsubscribed":{"type":["boolean","null"]},"is_unsubscribed_at":{"type":["string","null"],"format":"date-time"},"is_opened":{"type":["boolean","null"]},"is_opened_at":{"type":["string","null"],"format":"date-time"},"is_played":{"type":["boolean","null"]},"is_played_at":{"type":["string","null"],"format":"date-time"},"error_message":{"type":["string","null"]},"external_message_id":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","broadcast_id","broadcast_name","template_id","integration_id","user_id","name","username","phone","email","status","source","is_skipped","is_skipped_at","is_failed","is_failed_at","is_bounced","is_bounced_at","is_sent","is_sent_at","is_delivered","is_delivered_at","is_complained","is_complained_at","is_unsubscribed","is_unsubscribed_at","is_opened","is_opened_at","is_played","is_played_at","error_message","external_message_id","created_at","updated_at"],"description":"Schema for a broadcast recipient"},"BroadcastRecipientStatusSchema":{"type":"string","enum":["SENDING","PROCESSED"],"description":"The status of the broadcast recipient"},"BroadcastRecipientSourceSchema":{"type":["string","null"],"enum":["API","MANUAL","INBOX",null],"description":"How the recipient was triggered (transactional only)"},"BroadcastRecipientInteractionSchema":{"type":"object","properties":{"id":{"type":"string"},"type":{"$ref":"#/components/schemas/BroadcastRecipientInteractionTypeSchema"},"label":{"type":["string","null"]},"value":{"type":"string"},"broadcast_id":{"type":"string"},"recipient_id":{"type":"string"},"created_at":{"type":"string","format":"date-time"}},"required":["id","type","label","value","broadcast_id","recipient_id","created_at"],"description":"Schema for a broadcast recipient interaction"},"UpdateBroadcastSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255,"description":"The name of the broadcast"},"show_in_inbox":{"type":"boolean","description":"Whether the broadcast appears as a conversation in Inbox"},"scheduled_at":{"type":["string","null"],"format":"date-time","description":"When to send the broadcast. Use null to send immediately."},"segment_ids":{"type":"array","items":{"type":"string"},"maxItems":10,"description":"The segments to include in the broadcast"},"send_to_all":{"type":"boolean","description":"Whether to send the broadcast to all contacts or only to the segments"}},"description":"Schema for updating a broadcast"},"SendBroadcastTestSchema":{"type":"object","properties":{"user_id":{"type":"string","maxLength":1024,"description":"The user ID of the contact channel"},"name":{"type":["string","null"],"maxLength":256,"description":"The name for the contact channel (e.g. John Doe)"},"email":{"type":"string","maxLength":256,"description":"The email for the contact channel (e.g. user@example.com)"},"phone":{"type":"string","maxLength":256,"description":"The phone number for the contact channel (e.g. +1234567890)"},"properties":{"$ref":"#/components/schemas/BroadcastFieldValue"},"template_ids":{"type":"array","items":{"type":"string"},"description":"Optional list of template IDs to test. If omitted, all templates are tested."}},"description":"Schema for sending a broadcast test"},"BroadcastFieldValue":{"type":"object","additionalProperties":{"type":"string","maxLength":2048},"description":"A record of field keys and values per broadcast contact"},"DuplicateBroadcastSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}},"description":"Schema for duplicating a broadcast"},"CreateBroadcastTemplateSchema":{"type":"object","properties":{"connection_id":{"type":["string","null"]},"integration_id":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"config":{"$ref":"#/components/schemas/BroadcastTemplateConfigSchema"}},"required":["integration_id","config"],"description":"Schema for creating a broadcast template"},"UpdateBroadcastTemplateSchema":{"type":"object","properties":{"connection_id":{"type":["string","null"]},"config":{"$ref":"#/components/schemas/BroadcastTemplateConfigSchema"}},"description":"Schema for updating a broadcast template"},"BroadcastFieldEntrySchema":{"type":"object","properties":{"id":{"type":"string"},"broadcast_id":{"type":"string"},"user_id":{"type":["string","null"]},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"values":{"$ref":"#/components/schemas/BroadcastFieldValue"}},"required":["id","broadcast_id","user_id","email","phone","values"],"description":"A broadcast field entry (per-contact field values)"},"UpdateBroadcastFieldEntriesResultSchema":{"type":"object","properties":{"fields_count":{"type":"number"},"entries_count":{"type":"number"}},"required":["fields_count","entries_count"]},"UpdateBroadcastFieldEntriesSchema":{"type":"object","properties":{"entries":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string","maxLength":1024,"description":"The user ID of the contact channel"},"email":{"type":"string","maxLength":256,"description":"The email for the contact channel (e.g. user@example.com)"},"phone":{"type":"string","maxLength":256,"description":"The phone number for the contact channel (e.g. +1234567890)"},"values":{"$ref":"#/components/schemas/BroadcastFieldValue"}},"required":["values"]},"maxItems":50000}},"required":["entries"],"description":"Schema for importing broadcast field entries"},"UpdateBroadcastFieldEntriesDryRunSchema":{"type":"object","properties":{"valid":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastFieldEntryDryRunItemSchema"}},"invalid":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastFieldEntryDryRunItemSchema"}}},"required":["valid","invalid"],"description":"Dry run result classifying entries as valid or invalid"},"BroadcastFieldEntryDryRunItemSchema":{"type":"object","properties":{"user_id":{"type":"string","maxLength":1024,"description":"The user ID of the contact channel"},"email":{"type":"string","maxLength":256,"description":"The email for the contact channel (e.g. user@example.com)"},"phone":{"type":"string","maxLength":256,"description":"The phone number for the contact channel (e.g. +1234567890)"}},"description":"An entry item for broadcast field dry run"},"CreateBroadcastFieldSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]*$"},"default_value":{"type":"string","maxLength":2048}},"required":["key","default_value"],"description":"Schema for creating a broadcast field"},"UpdateBroadcastFieldSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]*$"},"default_value":{"type":"string","maxLength":2048}},"description":"Schema for updating a broadcast field"},"BroadcastRecipientCountSchema":{"type":"object","properties":{"integration_id":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"recipients_count":{"type":"number"}},"required":["integration_id","recipients_count"],"description":"Schema for the destination of the broadcast recipient"},"TriggerBroadcastResponseSchema":{"type":"object","properties":{"recipients":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastRecipientSchema"}}},"required":["recipients"],"description":"Result of triggering a transactional broadcast. One BroadcastRecipient row per template fired."},"TriggerBroadcastSchema":{"type":"object","properties":{"contact_channel_id":{"type":"string","description":"Tier 1 (most specific): exact ContactChannel id. Skips contact resolution and channel-availability filter since the caller has chosen the channel."},"contact_id":{"type":"string","description":"Tier 2: known Contact id. Channel is inferred per template at send time."},"phone":{"type":"string","maxLength":256,"description":"Raw phone. When no contact is resolved by contact_channel_id/contact_id, it find-or-creates a contact by phone. When a contact is resolved, it overrides the phone used for this send only (the contact and its channels are not modified)."},"email":{"type":"string","maxLength":256,"description":"Raw email. When no contact is resolved by contact_channel_id/contact_id, it find-or-creates a contact by email. When a contact is resolved, it overrides the email used for this send only (the contact and its channels are not modified)."},"name":{"type":"string","maxLength":256,"description":"Optional display name override for this send only. Takes precedence over the resolved channel and contact name. Does not resolve or create a contact on its own and does not modify the contact."},"variables":{"allOf":[{"$ref":"#/components/schemas/BroadcastFieldValue"},{"description":"Values for the broadcast fields. Variables override the contact's stored field values. Any broadcast field you omit falls back to its configured default value."}]},"template_ids":{"type":"array","items":{"type":"string"},"description":"Optional subset of broadcast templates to fire. Omit to fire all templates on the broadcast."},"background":{"type":"boolean","description":"When false (default), the call awaits the send and returns external_message_id per template. When true, the call enqueues and returns immediately."}},"description":"Schema for firing one trigger on a transactional broadcast. Recipient identifier fields are at the root. Fans out across the broadcast templates to a single recipient."},"BroadcastAnalyticsItemSchema":{"type":"object","properties":{"broadcast_id":{"type":"string"},"broadcast_name":{"type":"string"},"sent_at":{"type":["string","null"]},"total":{"type":"number"},"sent":{"type":"number"},"delivered":{"type":"number"},"opened":{"type":"number"},"failed":{"type":"number"},"bounced":{"type":"number"},"skipped":{"type":"number"},"delivery_rate":{"type":"number"},"open_rate":{"type":"number"}},"required":["broadcast_id","broadcast_name","sent_at","total","sent","delivered","opened","failed","bounced","skipped","delivery_rate","open_rate"]},"WorkflowAnalyticsItemSchema":{"type":"object","properties":{"workflow_id":{"type":"string"},"workflow_name":{"type":"string"},"total_runs":{"type":"number"},"completed":{"type":"number"},"failed":{"type":"number"},"canceled":{"type":"number"},"success_rate":{"type":"number"}},"required":["workflow_id","workflow_name","total_runs","completed","failed","canceled","success_rate"]},"EmailIdentitySchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the email identity"},"email":{"type":"string","description":"Email address of the identity"},"name":{"type":["string","null"],"description":"Display name for the identity"},"status":{"$ref":"#/components/schemas/EmailIdentityStatusSchema"},"domain":{"$ref":"#/components/schemas/EmailDomainSchema"},"is_default":{"type":"boolean","description":"Whether this is the default identity for the org"},"click_tracking":{"type":"boolean","description":"Whether click tracking is enabled for this identity"},"open_tracking":{"type":"boolean","description":"Whether open tracking is enabled for this identity"},"verified_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the identity was verified"},"created_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the identity was created"},"updated_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the identity was last updated"}},"required":["id","email","name","status","domain","is_default","click_tracking","open_tracking","verified_at","created_at","updated_at"],"description":"An email identity"},"EmailIdentityStatusSchema":{"type":"string","enum":["PENDING","VERIFIED","FAILED"],"description":"Verification status of an email identity"},"EmailDomainSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the email domain"},"domain":{"type":"string","description":"The domain name"},"dkim_status":{"$ref":"#/components/schemas/EmailDomainDkimStatusSchema"},"dkim_tokens":{"type":["array","null"],"items":{"$ref":"#/components/schemas/EmailDomainDkimTokenSchema"},"description":"DKIM CNAME records to add to DNS"},"verified_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the domain was verified"},"created_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the domain was created"},"updated_at":{"type":["string","null"],"format":"date-time","description":"Timestamp when the domain was last updated"}},"required":["id","domain","dkim_status","dkim_tokens","verified_at","created_at","updated_at"],"description":"Linked email domain"},"EmailDomainDkimStatusSchema":{"type":"string","enum":["PENDING","VERIFIED","FAILED"],"description":"DKIM verification status of an email domain"},"EmailDomainDkimTokenSchema":{"type":"object","properties":{"name":{"type":"string","description":"CNAME record name"},"value":{"type":"string","description":"CNAME record value"}},"required":["name","value"],"description":"A DKIM CNAME record for domain verification"},"CreateEmailIdentitySchema":{"type":"object","properties":{"email":{"type":"string","maxLength":512,"format":"email","description":"Email address to add as an identity"},"name":{"type":"string","maxLength":255,"description":"Display name for the identity"}},"required":["email"],"description":"Schema for adding a new email identity"},"UpdateEmailIdentitySchema":{"type":"object","properties":{"name":{"type":"string","maxLength":255,"description":"Display name for the identity"},"is_default":{"type":"boolean","description":"Set as the default identity for the org"},"click_tracking":{"type":"boolean","description":"Enable or disable click tracking"},"open_tracking":{"type":"boolean","description":"Enable or disable open tracking"}},"description":"Schema for updating an email identity"},"CreateEmailDomainSchema":{"type":"object","properties":{"domain":{"type":"string","minLength":1,"maxLength":512,"description":"Domain name to verify for DKIM"}},"required":["domain"],"description":"Schema for adding a new email domain"},"UpdateEmailDomainSchema":{"type":"object","properties":{},"description":"Schema for updating email domain settings"},"EmailDomainProviderSchema":{"type":"object","properties":{"provider":{"type":["string","null"],"description":"Provider identifier (e.g. \"cloudflare\", \"godaddy\")"},"name":{"type":["string","null"],"description":"Display name of the DNS provider"},"logo_url":{"type":["string","null"],"description":"URL to the provider logo icon"},"dns_settings_url":{"type":["string","null"],"description":"Deep link to the DNS settings page for this domain"},"auto_config_url":{"type":["string","null"],"description":"Domain Connect URL for one-click auto-configuration (when supported)"}},"required":["provider","name","logo_url","dns_settings_url","auto_config_url"],"description":"Detected DNS provider information for a domain"},"ConnectionActionsSchema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ConnectionActionSchema"},"description":"Connection actions"},"ConnectionActionSchema":{"type":"object","properties":{"id":{"type":"string"},"type":{"$ref":"#/components/schemas/ConnectionActionTypeSchema"},"name":{"type":"string"},"description":{"type":"string"},"input":{"$ref":"#/components/schemas/FieldsSchema"},"output":{"$ref":"#/components/schemas/FieldSchema"},"icon":{"type":"string","maxLength":125,"description":"The name of the icon to use in the UI","oneOf":[{"$ref":"#/components/schemas/IconNameSchema"}]},"icon_url":{"type":"string"},"system":{"type":"boolean","description":"Whether this action is a system action"},"disabled":{"type":"boolean","description":"Whether this action is disabled"},"assistant_action":{"type":"boolean","description":"Whether this action can be used with assistants"},"org_action":{"type":"boolean","description":"Whether this action is exposed in the Org Chat copilot"},"connection":{"$ref":"#/components/schemas/ConnectionActionConnectionSchema"},"required_features":{"type":"array","items":{"$ref":"#/components/schemas/OrgFeatureSchema"},"maxItems":50},"write":{"type":"boolean","description":"Whether this action is a write action"}},"required":["id","type","name"],"description":"Connection action"},"ConnectionActionTypeSchema":{"type":"string","enum":["action","trigger","none"],"description":"Type of the action"},"ConnectionActionConnectionSchema":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ConnectionTypeSchema"},"optional":{"type":"boolean"}},"required":["type"],"description":"Connection action connection"},"OrgFeatureSchema":{"type":"string","enum":["enterprise","allow_overdraft","workflows","enable_japifon","slack_access","emails","templates","org_chats"],"description":"Org gate-keeping feature type"},"ConnectionSchema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the connection"},"type":{"$ref":"#/components/schemas/ConnectionTypeSchema"},"name":{"type":["string","null"],"description":"Optional name for the connection","example":"My Encompass Connection"},"external_name":{"type":["string","null"],"description":"Optional external name for the connection"},"external_id":{"type":["string","null"],"description":"Optional external identifier for the connection"},"status":{"$ref":"#/components/schemas/ConnectionStatusSchema"},"status_error":{"type":["string","null"],"description":"Optional error message if the connection is in error state"},"config":{"type":"object","properties":{},"additionalProperties":{},"description":"Configuration of a connection","oneOf":[{"$ref":"#/components/schemas/ConnectionConfigSchema"}]},"email_identity":{"$ref":"#/components/schemas/EmailIdentitySchema"},"created_at":{"type":["string","null"],"format":"date-time","description":"Timestamp of when the connection was created"},"updated_at":{"type":["string","null"],"format":"date-time","description":"Timestamp of when the connection was last updated"}},"required":["id","type","name","external_name","external_id","status","status_error","config","created_at","updated_at"],"description":"Detailed information about a connection"},"ConnectionStatusSchema":{"type":"string","enum":["ACTIVE","INACTIVE"]},"CreateConnectionSchema":{"type":"object","properties":{"name":{"type":"string","maxLength":256,"description":"Name for the new connection","example":"My New Connection"},"config":{"type":"object","properties":{},"additionalProperties":{},"description":"Configuration of a connection","oneOf":[{"$ref":"#/components/schemas/ConnectionConfigSchema"}]}},"required":["config"]},"UpdateConnectionSchema":{"type":"object","properties":{"name":{"type":"string","maxLength":256,"description":"Name for the new connection","example":"My New Connection"},"config":{"type":"object","properties":{},"additionalProperties":{},"description":"Configuration of a partial connection","oneOf":[{"$ref":"#/components/schemas/ConnectionConfigPartialSchema"}]}}}},"parameters":{}},"paths":{"/chats/{chat_id}":{"patch":{"summary":"Update Chat","description":"Update a specific chat by its ID.","tags":["Chats"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateChatSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatSchema"}}}}}},"get":{"summary":"Get Chat","description":"Get a specific chat by its ID.","tags":["Chats"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatSchema"}}}}}},"delete":{"summary":"Delete Chat","description":"Delete a specific chat by its ID.","tags":["Chats"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/chats/{chat_id}/typing":{"post":{"tags":["Chats"],"summary":"Report Chat Typing","description":"Report that a user is typing in a chat.","parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/chats/{chat_id}/fork":{"post":{"tags":["Chats"],"summary":"Fork Chat","description":"Fork a personal or org chat from a given message into a new chat owned by the caller. Copies the conversation up to and including the message, along with the model, tools, features and linked files.","parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForkChatSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ForkChatSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatSchema"}}}}}}},"/chats/{chat_id}/cancel":{"post":{"tags":["Chats"],"summary":"Cancel Chat Generation","description":"Cancel the generation of a chat.","parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/chats/{chat_id}/state":{"patch":{"summary":"Update Chat State","description":"Update the state of a specific chat by its ID.","tags":["Chats State"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatStateSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateChatStateSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatSchema"}}}}}}},"/chats/{chat_id}/state/info":{"get":{"summary":"Get Chat State Info","description":"Get the state info of a specific chat by its ID.","tags":["Chats State"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatStateInfoSchema"}}}}}}},"/chats/{chat_id}/state/assign":{"patch":{"summary":"Assign Conversation","description":"Assign or unassign a conversation to/from an agent.","tags":["Chats State"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignConversationSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AssignConversationSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatStateSchema"}}}}}}},"/chats/{chat_id}/state/unseen":{"post":{"summary":"Mark Chat as Unseen","description":"Mark a specific chat as unseen by its ID.","tags":["Chats State"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatStateUnseenCountSchema"}}}}}}},"/chats/{chat_id}/messages/{message_id}/approvals/{tool_call_id}":{"post":{"summary":"Decide Action Approval","description":"Decide on a specific action approval for a message.","tags":["Chats Messages"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Message ID","name":"message_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the tool call to decide on.","name":"tool_call_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageDecideApprovalSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MessageDecideApprovalSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessageSchema"}}}}}}},"/chats/{chat_id}/messages":{"get":{"summary":"Get Chat Messages","description":"Get a list of messages for a specific chat.","tags":["Chats Messages"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"},{"schema":{"type":["string","null"],"format":"date-time","description":"The date to start fetching messages from"},"required":false,"description":"The date to start fetching messages from","name":"from_date","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessageSchema"}}}}}}},"post":{"summary":"Create Chat Message","description":"Create a new message for a specific chat.","tags":["Chats Messages"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChatMessageSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateChatMessageSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessageSchema"}}}}}}},"/chats/{chat_id}/messages/{message_id}":{"get":{"summary":"Get Chat Message","description":"Get a specific message by its ID.","tags":["Chats Messages"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Message ID","name":"message_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessageSchema"}}}}}},"delete":{"summary":"Delete Chat Message","description":"Delete a specific message by its ID.","tags":["Chats Messages"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Message ID","name":"message_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}},"patch":{"summary":"Edit Chat Message","description":"Edit the text content of a specific message.","tags":["Chats Messages"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Message ID","name":"message_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChatMessageSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateChatMessageSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessageSchema"}}}}}}},"/chats/{chat_id}/messages/{message_id}/tools/{tool_call_id}/respond":{"post":{"summary":"Respond to Interactive Tool","description":"Submit a user response to an interactive tool (e.g. connecting an app).","tags":["Chats Messages"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Message ID","name":"message_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the tool call being responded to.","name":"tool_call_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RespondChatToolSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RespondChatToolSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessageSchema"}}}}}}},"/chats/{chat_id}/files":{"get":{"summary":"Get Chat Files","description":"Retrieve all files shared in this chat.","tags":["Chats Files"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"},{"schema":{"type":"string","maxLength":256,"description":"Search files by filename","example":"document.pdf"},"required":false,"description":"Search files by filename","name":"search","in":"query"},{"schema":{"type":"string","description":"Filter by MIME type (prefix match)","example":"image/"},"required":false,"description":"Filter by MIME type (prefix match)","name":"mimetype","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FileSchema"}}}}}}}},"/chats/{chat_id}/memories":{"get":{"summary":"Get conversation summaries","description":"Retrieve all conversation summaries for a chat, created automatically every 10 messages.","tags":["Chats Memories"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConversationMemorySchema"}}}}}}},"delete":{"summary":"Clear conversation summaries","description":"Delete all conversation summaries for a chat. This does not delete messages, only the summaries.","tags":["Chats Memories"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/chats/{chat_id}/memories/{memory_id}":{"delete":{"summary":"Delete a conversation summary","description":"Delete a specific conversation summary by ID.","tags":["Chats Memories"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Memory ID","name":"memory_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/connections/oauth/url":{"post":{"summary":"Create OAuth Provider URL","description":"Create a URL to authenticate with an OAuth provider for a specific organization.","tags":["Orgs Connections"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConnectionOAuthUrlSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateConnectionOAuthUrlSchema"}}}},"responses":{"200":{"description":"The URL to redirect the user to for OAuth authentication.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionOAuthUrlSchema"}}}}}}},"/orgs/{org_id}/connections/oauth/validate":{"post":{"summary":"Authenticate OAuth Provider","description":"Authenticate with an OAuth provider to create a new connection.","tags":["Orgs Connections"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateConnectionOAuthSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ValidateConnectionOAuthSchema"}}}},"responses":{"200":{"description":"The access token to authenticate with the OAuth provider.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionOAuthValidatedSchema"}}}}}}},"/orgs/{org_id}/analytics/dashboard":{"get":{"summary":"Get Org Dashboard Analytics","description":"Get the analytics for the specified organization.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"}],"responses":{"200":{"description":"The analytics for the specified organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgDashboardAnalyticsSchema"}}}}}}},"/orgs/{org_id}/analytics/assistants":{"get":{"summary":"Get Assistant Stats","description":"Get per-assistant performance statistics for the specified organization.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"from_date","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"to_date","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"Per-assistant performance statistics for the specified organization.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssistantStatsItemSchema"}}}}}}}},"/orgs/{org_id}/analytics/agents":{"get":{"summary":"Get Agent Stats","description":"Get per-agent performance statistics for the specified organization.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"from_date","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"to_date","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"Per-agent performance statistics for the specified organization.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentStatsItemSchema"}}}}}}}},"/orgs/{org_id}/analytics/channels":{"get":{"summary":"Get Channel Distribution","description":"Get conversation counts grouped by channel (integration_id) for the specified organization.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"from_date","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"to_date","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"Channel distribution stats for the specified organization.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ChannelStatsItemSchema"}}}}}}}},"/orgs/{org_id}/analytics/contacts/growth":{"get":{"summary":"Get Contact Growth","description":"Get new and unsubscribed contact counts over time with running total.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"from_date","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"to_date","in":"query"},{"schema":{"type":"string","enum":["day","week","month"],"default":"day"},"required":false,"name":"interval","in":"query"},{"schema":{"$ref":"#/components/schemas/TimezoneValueSchema"},"required":false,"description":"IANA timezone identifier (e.g. America/New_York)","name":"timezone","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactGrowthItemSchema"}}}}}}}},"/orgs/{org_id}/analytics/contacts/by-channel":{"get":{"summary":"Get Contacts by Channel","description":"Get contact count per channel type.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"from_date","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"to_date","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactsByChannelItemSchema"}}}}}}}},"/orgs/{org_id}/analytics/contacts/top-segments":{"get":{"summary":"Get Top Segments","description":"Get top segments by contact count.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"from_date","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"to_date","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactSegmentStatsItemSchema"}}}}}}}},"/orgs/{org_id}/analytics/metrics/types":{"get":{"summary":"Get Org Metric Types","description":"Get the types of metrics for the specified organization.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"The types of metrics for the specified organization.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MetricSchema"}}}}}}}},"/orgs/{org_id}/analytics/metrics":{"get":{"summary":"Get Org Metrics","description":"Get the metrics for the specified organization.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"},{"schema":{"$ref":"#/components/schemas/OrgMetricIdSchema"},"required":true,"name":"metric","in":"query"},{"schema":{"$ref":"#/components/schemas/MetricsIntervalSchema"},"required":false,"name":"interval","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"from_date","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"to_date","in":"query"},{"schema":{"$ref":"#/components/schemas/TimezoneValueSchema"},"required":false,"description":"IANA timezone identifier (e.g. America/New_York)","name":"timezone","in":"query"},{"schema":{"type":"string","maxLength":128},"required":false,"name":"assistant_id","in":"query"},{"schema":{"type":"string","maxLength":128},"required":false,"name":"workflow_id","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"The metrics for the specified organization.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MetricItemSchema"}}}}}}}},"/orgs/{org_id}/analytics/metrics/total":{"get":{"summary":"Get Org Metric Total","description":"Get the total of metrics for the specified organization.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"},{"schema":{"$ref":"#/components/schemas/OrgMetricIdSchema"},"required":true,"name":"metric","in":"query"},{"schema":{"$ref":"#/components/schemas/MetricsIntervalSchema"},"required":false,"name":"interval","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"from_date","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"to_date","in":"query"},{"schema":{"$ref":"#/components/schemas/TimezoneValueSchema"},"required":false,"description":"IANA timezone identifier (e.g. America/New_York)","name":"timezone","in":"query"},{"schema":{"type":"string","maxLength":128},"required":false,"name":"assistant_id","in":"query"},{"schema":{"type":"string","maxLength":128},"required":false,"name":"workflow_id","in":"query"}],"responses":{"200":{"description":"The total of metrics for the specified organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgMetricTotalSchema"}}}}}}},"/orgs/{org_id}/analytics/response-times":{"get":{"summary":"Get Response Times","description":"Get average and median resolution time and human response time after transfer.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"from_date","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"to_date","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseTimesSchema"}}}}}}},"/orgs/{org_id}/inbox":{"get":{"summary":"Get Org Inbox Chats","description":"Get a list of inbox chats for a specific org.","tags":["Orgs Inbox"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string","maxLength":256,"description":"Search term to filter chats"},"required":false,"description":"Search term to filter chats","name":"search","in":"query"},{"schema":{"type":"string","maxLength":128},"required":false,"name":"assistant_id","in":"query"},{"schema":{"type":"string","maxLength":128},"required":false,"name":"assistant_integration_id","in":"query"},{"schema":{"$ref":"#/components/schemas/ConnectionIntegrationIdSchema"},"required":false,"description":"ID of the connection integration","name":"integration_id","in":"query"},{"schema":{"type":"string","maxLength":128},"required":false,"name":"conversation_id","in":"query"},{"schema":{"type":"string","maxLength":128},"required":false,"name":"contact_id","in":"query"},{"schema":{"type":"string","maxLength":128},"required":false,"name":"segment_id","in":"query"},{"schema":{"type":"string","maxLength":128},"required":false,"name":"assigned_user_id","in":"query"},{"schema":{"$ref":"#/components/schemas/OrgChatsStatusSchema"},"required":false,"name":"status","in":"query"},{"schema":{"$ref":"#/components/schemas/OrgChatsStateSchema"},"required":false,"name":"state","in":"query"},{"schema":{"$ref":"#/components/schemas/OrgChatsAiStatusSchema"},"required":false,"name":"ai_status","in":"query"},{"schema":{"$ref":"#/components/schemas/OrgChatsFilterSchema"},"required":false,"description":"Filter for chats","name":"filter","in":"query"},{"schema":{"$ref":"#/components/schemas/OrgChatsReferralTypeSchema"},"required":false,"name":"referral_type","in":"query"},{"schema":{"$ref":"#/components/schemas/OrgChatsCsatMaxSchema"},"required":false,"description":"Filter chats with CSAT score less than or equal to this value. 0 means no filter.","name":"csat_max","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ChatSchema"}}}}}}}},"/orgs/{org_id}/inbox/ws":{"get":{"summary":"Chat Org Inbox WebSocket","description":"Get a WebSocket for chat events for an organization inbox.","tags":["Orgs Inbox"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatEventSchema"}}}}}}},"/orgs/{org_id}/domains":{"get":{"summary":"Get Domains","description":"Get a list of domains for a specific org.","tags":["Orgs Domains"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string","maxLength":256,"description":"Search domains by domain string"},"required":false,"description":"Search domains by domain string","name":"search","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainSchema"}}}}}}},"post":{"summary":"Create Domain","description":"Add a new domain to an org.","tags":["Orgs Domains"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDomainSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateDomainSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainSchema"}}}}}}},"/orgs/{org_id}/domains/{domain_id}":{"get":{"summary":"Get a Domain","description":"Get a specific domain by its ID.","tags":["Orgs Domains"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Domain ID","name":"domain_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainSchema"}}}}}},"delete":{"summary":"Delete Domain","description":"Delete a domain from an org.","tags":["Orgs Domains"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Domain ID","name":"domain_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/domains/{domain_id}/status":{"post":{"summary":"Get Domain Status","description":"Get the status of a domain.","tags":["Orgs Domains"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Domain ID","name":"domain_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainStatusSchema"}}}}}}},"/orgs/{org_id}/domains/{domain_id}/verify":{"post":{"summary":"Verify Domain","description":"Verify a domain. This will check DNS records or HTTP verification file.","tags":["Orgs Domains"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Domain ID","name":"domain_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainSchema"}}}}}}},"/orgs/{org_id}/domains/{domain_id}/provider":{"get":{"summary":"Get Domain DNS Provider","description":"Detect the DNS provider for a custom domain via NS lookup.","tags":["Orgs Domains"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Domain ID","name":"domain_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DnsProviderSchema"}}}}}}},"/orgs/{org_id}/knowledge/index":{"get":{"summary":"Get Vector Index","description":"Fetch the vector index for the organization.","tags":["Orgs Knowledge"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"responses":{"200":{"description":"The vector index details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VectorIndexInfoSchema"}}}}}}},"/orgs/{org_id}/knowledge/main-index":{"get":{"summary":"Get Vector Index","description":"Fetch the vector index for the organization.","tags":["Orgs Knowledge"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"responses":{"200":{"description":"The vector index details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VectorIndexInfoSchema"}}}}}}},"/orgs/{org_id}/knowledge/contents":{"get":{"summary":"Get Contents","description":"Fetch all contents for the organization.","tags":["Orgs Knowledge"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string","maxLength":256},"required":false,"name":"search","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryVectorContentTypeSchema"},"required":false,"name":"type","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryVectorContentStatusSchema"},"required":false,"name":"status","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"An array of contents.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VectorContentLimitedSchema"}}}}}}},"post":{"summary":"Create Content","description":"Create a new content for the organization.","tags":["Orgs Knowledge"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"The content information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVectorContentSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateVectorContentSchema"}}}},"responses":{"200":{"description":"The created content.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VectorContentLimitedSchema"}}}}}}},"/orgs/{org_id}/knowledge/contents/{content_id}":{"get":{"summary":"Get Content","description":"Fetch a specific content by ID.","tags":["Orgs Knowledge"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the content","name":"content_id","in":"path"}],"responses":{"200":{"description":"The content details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VectorContentSchema"}}}}}},"patch":{"summary":"Update Content","description":"Update an existing content.","tags":["Orgs Knowledge"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the content","name":"content_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVectorContentSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateVectorContentSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VectorContentLimitedSchema"}}}}}},"delete":{"summary":"Delete Content","description":"Delete an existing content.","tags":["Orgs Knowledge"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the content","name":"content_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/knowledge/contents/{content_id}/url":{"patch":{"summary":"Update Content URL","description":"Update the URL of an existing content.","tags":["Orgs Knowledge"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the content","name":"content_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVectorContentUrlSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateVectorContentUrlSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VectorContentLimitedSchema"}}}}}}},"/orgs/{org_id}/knowledge/contents/{content_id}/children":{"post":{"summary":"Create Child Content","description":"Create a new child content for the organization.","tags":["Orgs Knowledge"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the content","name":"content_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVectorContentSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateVectorContentSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VectorContentSchema"}}}}}}},"/orgs/{org_id}/knowledge/contents/{content_id}/reindex":{"post":{"summary":"Reindex Content","description":"Reindex an existing content.","tags":["Orgs Knowledge"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the content","name":"content_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VectorContentSchema"}}}}}}},"/orgs/{org_id}/knowledge/contents/{content_id}/chunks":{"get":{"summary":"Get Content Chunks","description":"Fetch all chunks for a specific content.","tags":["Orgs Knowledge"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the content","name":"content_id","in":"path"},{"schema":{"$ref":"#/components/schemas/QueryVectorChunkStatusSchema"},"required":false,"name":"status","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"An array of vector chunks.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VectorChunkSchema"}}}}}}}},"/orgs/{org_id}/knowledge/contents/{content_id}/chunks/{chunk_id}":{"get":{"summary":"Get Content Chunk","description":"Fetch a specific content chunk by ID.","tags":["Orgs Knowledge"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the content","name":"content_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the content chunk","name":"chunk_id","in":"path"}],"responses":{"200":{"description":"The content chunk details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VectorChunkSchema"}}}}}}},"/orgs/{org_id}/assistants":{"get":{"summary":"Get Assistants","description":"Fetch all assistants for a specific org.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string","maxLength":256,"description":"Search assistants by name."},"required":false,"description":"Search assistants by name.","name":"search","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"An array of assistants.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssistantSchema"}}}}}}},"post":{"summary":"Create Assistant","description":"Create a new assistant for a specific org.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"The assistant information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssistantSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateAssistantSchema"}}}},"responses":{"200":{"description":"The created assistant.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantSchema"}}}}}}},"/orgs/{org_id}/assistants/{assistant_id}":{"get":{"summary":"Get Assistant","description":"Fetch a specific assistant by ID.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"}],"responses":{"200":{"description":"The assistant details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantSchema"}}}}}},"patch":{"summary":"Update Assistant","description":"Update an existing assistant.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"}],"requestBody":{"description":"The assistant information to update.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAssistantSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateAssistantSchema"}}}},"responses":{"200":{"description":"The updated assistant.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantSchema"}}}}}},"delete":{"summary":"Delete Assistant","description":"Delete an existing assistant.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"}],"responses":{"200":{"description":"Returns null on successful deletion.","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/assistants/{assistant_id}/rotate-secret-key":{"post":{"summary":"Rotate Assistant Secret Key","description":"Rotate the secret key for a specific assistant.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"}],"responses":{"200":{"description":"The updated assistant with a new secret key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantSchema"}}}}}}},"/orgs/{org_id}/assistants/{assistant_id}/duplicate":{"post":{"summary":"Duplicate an Assistant","description":"Duplicate an assistant including its actions, agents, and knowledge links. Integrations are not cloned. When duplicating to a different org, connections, agents, and knowledge links are excluded.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateAssistantSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DuplicateAssistantSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantSchema"}}}}}}},"/orgs/{org_id}/assistants/{assistant_id}/integrations":{"get":{"summary":"Get Assistant Integrations","description":"Fetch all integrations for a specific assistant.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"An array of assistant integrations.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssistantIntegrationSchema"}}}}}}},"post":{"summary":"Create Assistant Integration","description":"Create a new integration for a specific assistant.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"}],"requestBody":{"description":"The assistant integration information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssistantIntegrationSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateAssistantIntegrationSchema"}}}},"responses":{"200":{"description":"The created assistant integration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantIntegrationSchema"}}}}}}},"/orgs/{org_id}/assistants/{assistant_id}/integrations/{integration_id}":{"get":{"summary":"Get Assistant Integration","description":"Fetch a specific assistant integration by ID.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant integration","name":"integration_id","in":"path"}],"responses":{"200":{"description":"The assistant integration details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantIntegrationSchema"}}}}}},"patch":{"summary":"Update Assistant Integration","description":"Update an existing assistant integration.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant integration","name":"integration_id","in":"path"}],"requestBody":{"description":"The assistant integration information to update.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAssistantIntegrationSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateAssistantIntegrationSchema"}}}},"responses":{"200":{"description":"The updated assistant integration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantIntegrationSchema"}}}}}},"delete":{"summary":"Delete Assistant Integration","description":"Delete an existing assistant integration.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant integration","name":"integration_id","in":"path"}],"responses":{"200":{"description":"Returns null on successful deletion.","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/assistants/{assistant_id}/actions":{"get":{"summary":"Get Assistant Actions","description":"Fetch all actions for a specific assistant.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"An array of assistant actions.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssistantActionSchema"}}}}}}},"post":{"summary":"Create Assistant Action","description":"Create a new action for a specific assistant.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"}],"requestBody":{"description":"The assistant action information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssistantActionSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateAssistantActionSchema"}}}},"responses":{"200":{"description":"The created assistant action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantActionSchema"}}}}}}},"/orgs/{org_id}/assistants/{assistant_id}/actions/{action_id}":{"get":{"summary":"Get Assistant Action","description":"Fetch a specific assistant action by ID.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant action","name":"action_id","in":"path"}],"responses":{"200":{"description":"The assistant action details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantActionSchema"}}}}}},"patch":{"summary":"Update Assistant Action","description":"Update an existing assistant action.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant action","name":"action_id","in":"path"}],"requestBody":{"description":"The assistant action information to update.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAssistantActionSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateAssistantActionSchema"}}}},"responses":{"200":{"description":"The updated assistant action.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantActionSchema"}}}}}},"delete":{"summary":"Delete Assistant Action","description":"Delete an existing assistant action.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant action","name":"action_id","in":"path"}],"responses":{"200":{"description":"Returns null on successful deletion.","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/assistants/{assistant_id}/actions/reorder":{"patch":{"summary":"Reorder Assistant Actions","description":"Reorder the actions of a specific assistant.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"requestBody":{"description":"Ordered list of assistant action IDs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReorderAssistantActionsSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ReorderAssistantActionsSchema"}}}},"responses":{"200":{"description":"The reordered assistant actions.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssistantActionSchema"}}}}}}}},"/orgs/{org_id}/assistants/{assistant_id}/knowledge/contents/search":{"get":{"summary":"Search Available Contents","description":"Search for available contents that can be linked to the assistant.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"string","maxLength":256},"required":false,"name":"search","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryVectorContentTypeSchema"},"required":false,"name":"type","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryVectorContentStatusSchema"},"required":false,"name":"status","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"An array of available vector contents.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssistantAvailableVectorContentSchema"}}}}}}}},"/orgs/{org_id}/assistants/{assistant_id}/knowledge/contents":{"get":{"summary":"Get Contents","description":"Fetch all contents for the organization.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"string","maxLength":256},"required":false,"name":"search","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryVectorContentTypeSchema"},"required":false,"name":"type","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryVectorContentStatusSchema"},"required":false,"name":"status","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"An array of contents.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VectorContentLimitedSchema"}}}}}}}},"/orgs/{org_id}/assistants/{assistant_id}/knowledge/contents/{content_id}":{"post":{"summary":"Link Knowledge Content to Assistant","description":"Link an existing knowledge content to an assistant.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the content","name":"content_id","in":"path"}],"responses":{"200":{"description":"The limited vector content linked to the assistant.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VectorContentLimitedSchema"}}}}}},"delete":{"summary":"Unlink Knowledge Content from Assistant","description":"Unlink an existing knowledge content from an assistant.","tags":["Orgs Assistants"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the assistant","name":"assistant_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the content","name":"content_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/variables":{"get":{"summary":"Get Org Variables","description":"Fetch all variables for a specific org.","tags":["Orgs Variables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"An array of org variables.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrgVariableSchema"}}}}}}},"patch":{"summary":"Update Org Variables","description":"Update variables for a specific org.","tags":["Orgs Variables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"requestBody":{"description":"An array of org variables to update.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrgVariableSchema"}}},"multipart/form-data":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrgVariableSchema"}}}}},"responses":{"200":{"description":"An array of updated org variables.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrgVariableSchema"}}}}}}},"post":{"summary":"Create Org Variable","description":"Create a variable for a specific org.","tags":["Orgs Variables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"The new variable information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrgVariableSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateOrgVariableSchema"}}}},"responses":{"200":{"description":"The created org variable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgVariableSchema"}}}}}}},"/orgs/{org_id}/variables/{key}":{"patch":{"summary":"Rename Org Variable","description":"Rename a variable for a specific org.","tags":["Orgs Variables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The key of the variable to rename.","name":"key","in":"path"}],"requestBody":{"description":"The new variable information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrgVariableSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateOrgVariableSchema"}}}},"responses":{"200":{"description":"The updated org variables.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgVariableSchema"}}}}}},"delete":{"summary":"Delete Org Variable","description":"Delete a variable for a specific org.","tags":["Orgs Variables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The key of the variable to delete.","name":"key","in":"path"}],"responses":{"200":{"description":"The deleted org variable.","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/audit-logs":{"get":{"summary":"Get Audit Logs","description":"Fetch all audit logs for a specific org.","tags":["Orgs Audit-Logs"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"$ref":"#/components/schemas/AuditLogActionFilterSchema"},"required":false,"description":"Filter by action type","name":"action","in":"query"},{"schema":{"type":["string","null"],"format":"date-time","description":"Filter logs from this date (inclusive), YYYY-MM-DD"},"required":false,"description":"Filter logs from this date (inclusive), YYYY-MM-DD","name":"from","in":"query"},{"schema":{"type":["string","null"],"format":"date-time","description":"Filter logs until this date (inclusive), YYYY-MM-DD"},"required":false,"description":"Filter logs until this date (inclusive), YYYY-MM-DD","name":"to","in":"query"},{"schema":{"type":"string","maxLength":128,"description":"Filter by user who performed the action"},"required":false,"description":"Filter by user who performed the action","name":"user_id","in":"query"},{"schema":{"type":"string","maxLength":128,"description":"Filter by affected assistant"},"required":false,"description":"Filter by affected assistant","name":"assistant_id","in":"query"},{"schema":{"type":"string","maxLength":128,"description":"Filter by affected workflow"},"required":false,"description":"Filter by affected workflow","name":"workflow_id","in":"query"},{"schema":{"type":"string","maxLength":128,"description":"Filter by affected connection"},"required":false,"description":"Filter by affected connection","name":"connection_id","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"An array of audit log entries.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogSchema"}}}}}}}},"/orgs/{org_id}/files":{"get":{"summary":"List Files","description":"Retrieve a list of files.","tags":["Orgs Files"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FileSchema"}}}}}}},"post":{"summary":"Create File","description":"Create a new file.","tags":["Orgs Files"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/CreateFileSchema"},{"type":"object","properties":{"visibility":{"$ref":"#/components/schemas/FileVisibilitySchema"}}}],"description":"CreateOrgFileSchema"}},"multipart/form-data":{"schema":{"allOf":[{"$ref":"#/components/schemas/CreateFileSchema"},{"type":"object","properties":{"visibility":{"$ref":"#/components/schemas/FileVisibilitySchema"}}}],"description":"CreateOrgFileSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSchema"}}}}}}},"/orgs/{org_id}/files/{file_id}":{"get":{"summary":"Get File","description":"Retrieve a specific file.","tags":["Orgs Files"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"File ID","name":"file_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSchema"}}}}}},"delete":{"summary":"Delete File","description":"Delete a specific file.","tags":["Orgs Files"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"File ID","name":"file_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/orgs/usage":{"get":{"summary":"Get Consolidated Sub-Organizations Usage","description":"Returns aggregated meter usage across all sub-organizations for the specified date range and interval.","tags":["Orgs Orgs"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":["string","null"],"format":"date-time","description":"Start date for the usage period"},"required":false,"description":"Start date for the usage period","name":"from_date","in":"query"},{"schema":{"type":["string","null"],"format":"date-time","description":"End date for the usage period"},"required":false,"description":"End date for the usage period","name":"to_date","in":"query"},{"schema":{"$ref":"#/components/schemas/MeterIntervalSchema"},"required":true,"description":"Meter interval for the usage chart","name":"interval","in":"query"},{"schema":{"$ref":"#/components/schemas/MeterEventIdSchema"},"required":false,"description":"Meter ID for the organization","name":"type","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"Per-sub-organization usage grouped by event type and time bucket.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubOrgUsageItemSchema"}}}}}}}},"/orgs/{org_id}/orgs":{"get":{"summary":"List Sub-Organizations","description":"Returns all sub-organizations belonging to the specified organization.","tags":["Orgs Orgs"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"List of sub-organizations with their plan, balance, members, and features.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubOrgSchema"}}}}}}},"post":{"summary":"Create Sub-Organization","description":"Creates a new sub-organization belonging to the specified organization.","tags":["Orgs Orgs"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSubOrgSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateSubOrgSchema"}}}},"responses":{"200":{"description":"Created sub-organization with its plan, balance, members, and features.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubOrgSchema"}}}}}}},"/orgs/{org_id}/orgs/{sub_org_id}":{"get":{"summary":"Get Sub-Organization","description":"Returns a single sub-organization by ID belonging to the specified parent organization.","tags":["Orgs Orgs"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the parent organization","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the sub-organization","name":"sub_org_id","in":"path"}],"responses":{"200":{"description":"The sub-organization with its plan, balance, members, and features.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubOrgSchema"}}}}}},"patch":{"summary":"Update Sub-Organization","description":"Updates a sub-organization from the parent. Accepts a partial `config` (deep-merged server-side, includes `modules` visibility toggles) and an optional `logo_id`. Feature flags are not writable from this endpoint.","tags":["Orgs Orgs"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the parent organization","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the sub-organization","name":"sub_org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSubOrgSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateSubOrgSchema"}}}},"responses":{"200":{"description":"The updated sub-organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubOrgSchema"}}}}}},"delete":{"summary":"Detach Sub-Organization","description":"Detaches a sub-organization from the parent, making it a standalone organization. The sub-organization retains its current features and data.","tags":["Orgs Orgs"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the parent organization","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the sub-organization","name":"sub_org_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}},"post":{"summary":"Transfer Organization","description":"Transfers an existing standalone organization to become a sub-organization of the specified parent. The requesting user must be an admin of both organizations.","tags":["Orgs Orgs"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the parent organization","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the sub-organization","name":"sub_org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferSubOrgSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/TransferSubOrgSchema"}}}},"responses":{"200":{"description":"The transferred organization with updated parent and features.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubOrgSchema"}}}}}}},"/orgs/{org_id}/orgs/{sub_org_id}/join":{"post":{"summary":"Join Sub-Organization","description":"Adds the authenticated parent org admin as a member of the specified sub-organization with the given role.","tags":["Orgs Orgs"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the parent organization","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the sub-organization","name":"sub_org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinSubOrgSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/JoinSubOrgSchema"}}}},"responses":{"200":{"description":"The sub-organization after the user has been added as a member.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubOrgSchema"}}}}}}},"/orgs/{org_id}/orgs/{sub_org_id}/role":{"patch":{"summary":"Change Role in Sub-Organization","description":"Changes the role of the authenticated user in the specified sub-organization.","tags":["Orgs Orgs"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the parent organization","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the sub-organization","name":"sub_org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinSubOrgSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/JoinSubOrgSchema"}}}},"responses":{"200":{"description":"The sub-organization after the role has been updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubOrgSchema"}}}}}}},"/orgs/{org_id}/orgs/{sub_org_id}/billing":{"patch":{"summary":"Update Sub-Organization Billing Config","description":"Updates billing configuration for a sub-organization, including spending cap. Only parent organization admins can call this endpoint.","tags":["Orgs Orgs"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the parent organization","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the sub-organization","name":"sub_org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBillingConfigSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateBillingConfigSchema"}}}},"responses":{"200":{"description":"The sub-organization with updated billing config.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgSchema"}}}}}}},"/orgs/{org_id}/workflows/runs":{"get":{"summary":"Get Runs","description":"Retrieve a list of runs.","tags":["Orgs Workflows"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"boolean"},"required":false,"name":"expand","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryRunOriginSchema"},"required":false,"description":"Origin of the run","name":"origin","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryRunStatusSchema"},"required":false,"description":"Status of the run","name":"status","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RunSchema"}}}}}}}},"/orgs/{org_id}/workflows/{workflow_id}/runs":{"get":{"summary":"Get Workflow Runs","description":"Retrieve a list of runs for a specific workflow.","tags":["Orgs Workflows"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the workflow","name":"workflow_id","in":"path"},{"schema":{"type":"boolean"},"required":false,"name":"expand","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryRunOriginSchema"},"required":false,"description":"Origin of the run","name":"origin","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryRunStatusSchema"},"required":false,"description":"Status of the run","name":"status","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RunSchema"}}}}}}},"post":{"summary":"Run a Workflow","description":"Run a specific workflow by its ID.","tags":["Orgs Workflows"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the workflow","name":"workflow_id","in":"path"},{"schema":{"type":"boolean"},"required":false,"name":"expand","in":"query"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRunSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateRunSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunSchema"}}}}}}},"/orgs/{org_id}/workflows/{workflow_id}/runs/{run_id}":{"get":{"summary":"Get a Workflow Run","description":"Retrieve details of a specific workflow run.","tags":["Orgs Workflows"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the workflow","name":"workflow_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the workflow run.","name":"run_id","in":"path"},{"schema":{"type":"boolean"},"required":false,"name":"expand","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunSchema"}}}}}}},"/orgs/{org_id}/workflows/{workflow_id}/runs/{run_id}/replay":{"post":{"summary":"Replay a Workflow Run","description":"Replay a specific workflow run.","tags":["Orgs Workflows"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the workflow","name":"workflow_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the workflow run.","name":"run_id","in":"path"},{"schema":{"type":"boolean"},"required":false,"name":"expand","in":"query"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayRunSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ReplayRunSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunSchema"}}}}}}},"/orgs/{org_id}/workflows/{workflow_id}/runs/{run_id}/cancel":{"post":{"summary":"Cancel a Workflow Run","description":"Cancel a workflow run that is currently running.","tags":["Orgs Workflows"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the workflow","name":"workflow_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the workflow run.","name":"run_id","in":"path"},{"schema":{"type":"boolean"},"required":false,"name":"expand","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunSchema"}}}}}}},"/orgs/{org_id}/segments":{"get":{"summary":"Get Segments","description":"Get a list of segments for a specific org.","tags":["Orgs Segments"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string","maxLength":256,"description":"Search segments by name"},"required":false,"description":"Search segments by name","name":"search","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SegmentSchema"}}}}}}},"post":{"summary":"Create a Segment","description":"Create a new segment for the organization.","tags":["Orgs Segments"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSegmentSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateSegmentSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SegmentSchema"}}}}}}},"/orgs/{org_id}/segments/{segment_id}":{"get":{"summary":"Get a Segment","description":"Get a specific segment by its ID.","tags":["Orgs Segments"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Segment ID","name":"segment_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SegmentSchema"}}}}}},"patch":{"summary":"Update a Segment","description":"Update a specific segment by its ID.","tags":["Orgs Segments"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Segment ID","name":"segment_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSegmentSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateSegmentSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SegmentSchema"}}}}}},"delete":{"summary":"Delete a Segment","description":"Delete a segment and all associated contact segment relationships. Contacts will not be deleted.","tags":["Orgs Segments"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Segment ID","name":"segment_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/activities":{"get":{"summary":"List activities","description":"Retrieve an activity timeline for the org, sorted by creation date (newest first). Filter by any combination of contact, table, record, actor, assistant, or segment.","tags":["Orgs Activities"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"$ref":"#/components/schemas/ActivityTypeSchema"},"required":false,"description":"Schema for the type of an activity event","name":"type","in":"query"},{"schema":{"type":"string","description":"Filter to activities scoped to this contact."},"required":false,"description":"Filter to activities scoped to this contact.","name":"contact_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities scoped to this table."},"required":false,"description":"Filter to activities scoped to this table.","name":"table_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities scoped to this table record."},"required":false,"description":"Filter to activities scoped to this table record.","name":"record_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities performed by this user."},"required":false,"description":"Filter to activities performed by this user.","name":"actor_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities performed by this assistant."},"required":false,"description":"Filter to activities performed by this assistant.","name":"assistant_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities involving this segment."},"required":false,"description":"Filter to activities involving this segment.","name":"segment_id","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActivitySchema"}}}}}}}},"/orgs/{org_id}/contacts/duplicates":{"get":{"summary":"List duplicate contact groups","description":"Paginated list of contacts in this org that share at least one external channel. Each group has a recommended primary and the duplicates that would be merged into it.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DuplicateContactGroupSchema"}}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/duplicates":{"get":{"summary":"List duplicates of a contact","description":"Returns every contact in the same org that shares at least one external channel with the contact in the URL.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactSchema"}}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/merge":{"post":{"summary":"Merge contacts","description":"Merge other contacts INTO the contact in the URL. If `source_contact_ids` is provided, those exact contacts are merged in; otherwise every auto-detected duplicate is merged. Source contacts are deleted.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergeContactsSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MergeContactsSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergeContactsResultSchema"}}}}}}},"/orgs/{org_id}/contacts/fields":{"get":{"summary":"List contact fields","description":"List of custom contact fields","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TableFieldSchema"}}}}}}}},"/orgs/{org_id}/contacts":{"get":{"summary":"Get Contacts","description":"Get a list of contacts for a specific org.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string","maxLength":256,"description":"Search contacts by name"},"required":false,"description":"Search contacts by name","name":"search","in":"query"},{"schema":{"type":"boolean","description":"Whether the contact is unsubscribed"},"required":false,"description":"Whether the contact is unsubscribed","name":"unsubscribed","in":"query"},{"schema":{"type":"string","description":"Search contacts by user ID match"},"required":false,"description":"Search contacts by user ID match","name":"user_id","in":"query"},{"schema":{"type":"string","maxLength":256,"description":"Search contacts by name match"},"required":false,"description":"Search contacts by name match","name":"name","in":"query"},{"schema":{"type":"string","maxLength":256,"description":"Search contacts by username match"},"required":false,"description":"Search contacts by username match","name":"username","in":"query"},{"schema":{"type":"string","maxLength":256,"format":"email","description":"Search contacts by email match"},"required":false,"description":"Search contacts by email match","name":"email","in":"query"},{"schema":{"type":"string","maxLength":128,"description":"Search contacts by segment ID match"},"required":false,"description":"Search contacts by segment ID match","name":"segment_id","in":"query"},{"schema":{"type":"boolean","description":"Exclude admin contacts"},"required":false,"description":"Exclude admin contacts","name":"exclude_admins","in":"query"},{"schema":{"$ref":"#/components/schemas/ContactStatusSchema"},"required":false,"description":"Filter contacts by subscription status","name":"status","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactSchema"}}}}}}},"post":{"summary":"Create a Contact","description":"Create a new contact for the organization.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateContactSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactSchema"}}}}}}},"/orgs/{org_id}/contacts/stats":{"get":{"summary":"Get Contact Stats","description":"Get contact subscription stats (total, subscribed, unsubscribed, blocked).","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactStatsSchema"}}}}}}},"/orgs/{org_id}/contacts/bulk":{"post":{"summary":"Create Multiple Contacts","description":"Create multiple contacts for the organization in bulk.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactsSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateContactsSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactsImportedSchema"}}}}}},"delete":{"summary":"Delete Multiple Contacts","description":"Delete multiple contacts and all associated channels and notes.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteContactsSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DeleteContactsSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/contacts/bulk/dry":{"post":{"summary":"Dry Run Create Multiple Contacts","description":"Dry run create multiple contacts for the organization in bulk.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactsSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateContactsSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactsImportedDryRunSchema"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}":{"get":{"summary":"Get a Contact","description":"Get a specific contact by its ID.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactSchema"}}}}}},"patch":{"summary":"Update a Contact","description":"Update a specific contact by its ID.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateContactSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateContactSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactSchema"}}}}}},"delete":{"summary":"Delete a contact","description":"Delete a contact and all associated channels and notes.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/last-seen":{"get":{"summary":"Get Contact Last Seen","description":"Get the timestamp of the last message from or to this contact.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactLastSeenSchema"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/activities":{"get":{"summary":"List contact activities","description":"Retrieve the activity timeline for a contact, sorted by creation date (newest first).","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"$ref":"#/components/schemas/ActivityTypeSchema"},"required":false,"description":"Schema for the type of an activity event","name":"type","in":"query"},{"schema":{"type":"string","description":"Filter to activities scoped to this contact."},"required":false,"description":"Filter to activities scoped to this contact.","name":"contact_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities scoped to this table."},"required":false,"description":"Filter to activities scoped to this table.","name":"table_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities scoped to this table record."},"required":false,"description":"Filter to activities scoped to this table record.","name":"record_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities performed by this user."},"required":false,"description":"Filter to activities performed by this user.","name":"actor_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities performed by this assistant."},"required":false,"description":"Filter to activities performed by this assistant.","name":"assistant_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities involving this segment."},"required":false,"description":"Filter to activities involving this segment.","name":"segment_id","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActivitySchema"}}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/segments":{"get":{"summary":"Get Contact Segments","description":"Get all segments for a specific contact.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SegmentLimitedSchema"}}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/segments/{segment_id}":{"post":{"summary":"Add Segment to Contact","description":"Add a segment to a contact.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Segment ID","name":"segment_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactSchema"}}}}}},"delete":{"summary":"Remove Segment from Contact","description":"Remove a segment from a contact.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Segment ID","name":"segment_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/channels":{"post":{"summary":"Add a custom channel to a contact","description":"Add a new custom channel to an existing contact. At least one field (name, email, phone, or username) must be provided.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddContactChannelSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AddContactChannelSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactChannelSchema"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/channels/{channel_id}/stats":{"get":{"summary":"Get related entity counts for a contact channel","description":"Returns the number of chats and broadcast recipients linked to this channel. Use before deletion to warn the user about impact.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Channel ID","name":"channel_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactChannelStatsSchema"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/channels/{channel_id}":{"patch":{"summary":"Update a contact channel (only for custom channels)","description":"Update a contact channel. Only channels of type 'custom' can be updated. For other channel types, the channel information is managed by the integration and cannot be modified directly.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Channel ID","name":"channel_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateContactChannelSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateContactChannelSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactChannelSchema"}}}}}},"delete":{"summary":"Delete a contact channel","description":"Delete a contact channel.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Channel ID","name":"channel_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/files":{"get":{"summary":"Get Contact Files","description":"Retrieve all files for this contact, including chat files and direct uploads.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string","maxLength":256,"description":"Search files by filename","example":"document.pdf"},"required":false,"description":"Search files by filename","name":"search","in":"query"},{"schema":{"type":"string","maxLength":1024,"description":"Filter by MIME type (prefix match)","example":"image/"},"required":false,"description":"Filter by MIME type (prefix match)","name":"mimetype","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactFileSchema"}}}}}}},"post":{"summary":"Upload Contact File","description":"Upload a file to a contact.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFileSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateFileSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactFileSchema"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/files/{file_id}":{"delete":{"summary":"Delete Contact File","description":"Delete a file from a contact. If the file belongs to a note with no text and is the last attachment, the note is deleted too.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"File ID","name":"file_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/comments":{"get":{"summary":"List contact comments","description":"Retrieve all comments for a contact, sorted by creation date (newest first).","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactCommentSchema"}}}}}}},"post":{"summary":"Create a contact comment","description":"Add a new comment to a contact.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactCommentSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateContactCommentSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactCommentSchema"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/comments/{activity_id}":{"get":{"summary":"Get a contact comment","description":"Retrieve a specific comment for a contact.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Activity ID","name":"activity_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactCommentSchema"}}}}}},"patch":{"summary":"Update a contact comment","description":"Update the content of an existing comment.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Activity ID","name":"activity_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateContactCommentSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateContactCommentSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactCommentSchema"}}}}}},"delete":{"summary":"Delete a contact comment","description":"Remove a comment from a contact.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Activity ID","name":"activity_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/memories":{"get":{"summary":"Get contact memories","description":"Retrieve all memories associated with a contact, sorted by importance.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MemorySchema"}}}}}}},"delete":{"summary":"Clear all contact memories","description":"Delete all memories associated with a contact.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/memories/{memory_id}":{"delete":{"summary":"Delete a specific contact memory","description":"Delete a single memory by ID for a contact.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Memory ID","name":"memory_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/channels/{channel_id}/chats":{"post":{"summary":"Create a chat on a contact channel","description":"Start a new chat with a contact on one of its custom channels. The chat is seeded with the contact channel as the sole member; the admin is not a chat member. Any initial message is authored as the contact.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Channel ID","name":"channel_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateContactChannelChatSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateContactChannelChatSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatSchema"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/channels/{channel_id}/chats/{chat_id}/messages":{"post":{"summary":"Send a message as a contact on a channel","description":"Post a message into an existing chat, authored as the contact (not as the admin). Only custom channels are supported.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Channel ID","name":"channel_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendContactChannelChatMessageSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SendContactChannelChatMessageSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessageSchema"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/channels/{channel_id}/chats/{chat_id}/messages/{message_id}/approvals/{tool_call_id}":{"post":{"summary":"Decide Action Approval as a contact on a channel","description":"Decide on a pending action approval, recorded as the contact (not as the admin / API key). Only custom channels are supported. Use this from custom integrations so the decision is attributed to the right chat member.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Channel ID","name":"channel_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the message with the pending approval.","name":"message_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the tool call to decide on.","name":"tool_call_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageDecideApprovalSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MessageDecideApprovalSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessageSchema"}}}}}}},"/orgs/{org_id}/contacts/{contact_id}/channels/{channel_id}/chats/{chat_id}/messages/{message_id}/tools/{tool_call_id}/respond":{"post":{"summary":"Respond to Interactive Tool as a contact on a channel","description":"Submit a user response to an interactive tool (e.g. an action approval), recorded as the contact (not as the admin / API key). Only custom channels are supported. Use this from custom integrations so the response is attributed to the right chat member.","tags":["Orgs Contacts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Contact ID","name":"contact_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Channel ID","name":"channel_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Chat ID","name":"chat_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the message with the pending tool.","name":"message_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the tool call being responded to.","name":"tool_call_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RespondChatToolSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RespondChatToolSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessageSchema"}}}}}}},"/orgs/{org_id}/tables":{"get":{"summary":"List tables","description":"List the tables defined for an org.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"$ref":"#/components/schemas/TableTypeSchema"},"required":false,"name":"type","in":"query"},{"schema":{"type":"string","maxLength":256,"description":"Search tables by name."},"required":false,"description":"Search tables by name.","name":"search","in":"query"},{"schema":{"$ref":"#/components/schemas/TableStatusSchema"},"required":false,"description":"Filter by visibility. `ACTIVE` excludes archived (default), `ARCHIVED` returns only archived, `ALL` returns both.","name":"status","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TableSchema"}}}}}}},"post":{"summary":"Create a table","description":"Create a new table.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTableSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateTableSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableSchema"}}}}}}},"/orgs/{org_id}/tables/{table_id}":{"get":{"summary":"Get a table","description":"Get a single table by id.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableSchema"}}}}}},"patch":{"summary":"Update a table","description":"Update a table.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTableSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateTableSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableSchema"}}}}}},"delete":{"summary":"Delete a table","description":"Permanently delete a table. Irreversible: cascades all records, fields, and refs.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/tables/{table_id}/duplicate":{"post":{"summary":"Duplicate a table","description":"Duplicate a table structure: its fields and views. Records are not copied. Not available for system tables.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateTableSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DuplicateTableSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableSchema"}}}}}}},"/orgs/{org_id}/tables/{table_id}/fields":{"get":{"summary":"List table fields","description":"List the fields defined on a table, ordered by position.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TableFieldSchema"}}}}}}},"post":{"summary":"Create a table field","description":"Create a new field on a table. Pass `before` / `after` (a sibling field key) to slot it at a global position; omit both to append.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTableFieldSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateTableFieldSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableFieldSchema"}}}}}}},"/orgs/{org_id}/tables/{table_id}/fields/move":{"post":{"summary":"Reorder a table field","description":"Move a field to a new global position. Pass `field_id` for the field being moved and `after` / `before` for the neighbor field key. Resequences the table and returns the updated field.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveTableFieldSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MoveTableFieldSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableFieldSchema"}}}}}}},"/orgs/{org_id}/tables/{table_id}/fields/{field_id}":{"get":{"summary":"Get a table field","description":"Get a single field by id.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Field ID","name":"field_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableFieldSchema"}}}}}},"patch":{"summary":"Update a table field","description":"Update a field. `type` and `key` can both be changed. Changing the type preserves existing values in place (they go dormant in their original column and return if the type is reverted); same-storage types reuse the value directly. System fields stay immutable.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Field ID","name":"field_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTableFieldSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateTableFieldSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableFieldSchema"}}}}}},"delete":{"summary":"Delete a table field","description":"Permanently delete a field. Cascades all values. Blocked if the field is the table display field.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Field ID","name":"field_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/tables/{table_id}/records/export":{"get":{"summary":"Export records","description":"Export a table's records as a CSV file. Reflects the same `status` and `search` filters as the list endpoint. Synchronous and capped — over the limit the request is rejected with `EXPORT/OVER_SYNC_LIMIT`.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"},{"schema":{"$ref":"#/components/schemas/TableStatusSchema"},"required":false,"description":"Filter by visibility. `ACTIVE` excludes archived (default), `ARCHIVED` returns only archived, `ALL` returns both.","name":"status","in":"query"},{"schema":{"type":"string","maxLength":256,"description":"Restrict the export to records matching this search."},"required":false,"description":"Restrict the export to records matching this search.","name":"search","in":"query"},{"schema":{"type":"string","enum":["csv"],"description":"Export format. Only `csv` is currently supported."},"required":false,"description":"Export format. Only `csv` is currently supported.","name":"format","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/tables/{table_id}/records/import":{"post":{"summary":"Import records","description":"Import records from a CSV or XLSX file. Headers map to field keys (override per column with `mapping`). Synchronous and capped — over the limit the request is rejected with `IMPORT/OVER_SYNC_LIMIT`. Partial success: valid rows commit, failed rows are returned per row.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportTableRecordsSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ImportTableRecordsSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportTableRecordsResultSchema"}}}}}}},"/orgs/{org_id}/tables/{table_id}/records":{"get":{"summary":"List records","description":"List the records in a table.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"},{"schema":{"$ref":"#/components/schemas/TableStatusSchema"},"required":false,"description":"Filter by visibility. `ACTIVE` excludes archived (default), `ARCHIVED` returns only archived, `ALL` returns both.","name":"status","in":"query"},{"schema":{"type":"string","maxLength":256,"description":"Search records by display-field value."},"required":false,"description":"Search records by display-field value.","name":"search","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TableRecordSchema"}}}}}}},"post":{"summary":"Create a record","description":"Create a new record in a table.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTableRecordSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateTableRecordSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableRecordSchema"}}}}}}},"/orgs/{org_id}/tables/{table_id}/records/bulk":{"post":{"summary":"Bulk record operations","description":"Apply a batch of create / patch / delete operations in a single request.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkTableRecordsSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/BulkTableRecordsSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"created":{"type":"number"},"updated":{"type":"number"},"deleted":{"type":"number"}},"required":["created","updated","deleted"]}}}}}}},"/orgs/{org_id}/records/{record_id}":{"get":{"summary":"Get a record","description":"Get a single record by id. The table is resolved from the record and asserted to belong to this org.","tags":["Orgs Records"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Record ID","name":"record_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableRecordSchema"}}}}}},"patch":{"summary":"Update a record","description":"Update record values and/or archived flag.","tags":["Orgs Records"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Record ID","name":"record_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTableRecordSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateTableRecordSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableRecordSchema"}}}}}},"delete":{"summary":"Delete a record","description":"Permanently delete a record. Blocked if referenced by restrict-mode fields; cascades referenced rows on cascade-mode fields.","tags":["Orgs Records"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Record ID","name":"record_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/records/{record_id}/fields/{field_id_or_key}":{"patch":{"summary":"Set a single record field value","description":"Upsert one field value on a record. The path accepts an encoded field id or the field key.","tags":["Orgs Records"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Record ID","name":"record_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Encoded field ID or field key","name":"field_id_or_key","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"value":{}}}},"multipart/form-data":{"schema":{"type":"object","properties":{"value":{}}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableRecordSchema"}}}}}}},"/orgs/{org_id}/tables/{table_id}/records/{record_id}/duplicate":{"post":{"summary":"Duplicate a record","description":"Duplicate a record in a table. Unique-field values are not copied (left empty on the duplicate). Not available for system tables.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Record ID","name":"record_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateTableRecordSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DuplicateTableRecordSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableRecordSchema"}}}}}}},"/orgs/{org_id}/records/{record_id}/comments":{"get":{"summary":"List record comments","description":"Retrieve all comments for a record, sorted by creation date (newest first). Contacts- and conversations-table records resolve to the underlying contact.","tags":["Orgs Records"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Record ID","name":"record_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TableRecordCommentSchema"}}}}}}},"post":{"summary":"Create a record comment","description":"Add a new comment to a table record.","tags":["Orgs Records"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Record ID","name":"record_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTableRecordCommentSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateTableRecordCommentSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableRecordCommentSchema"}}}}}}},"/orgs/{org_id}/records/{record_id}/comments/{activity_id}":{"get":{"summary":"Get a record comment","description":"Retrieve a specific comment by id.","tags":["Orgs Records"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Record ID","name":"record_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Activity ID","name":"activity_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableRecordCommentSchema"}}}}}},"patch":{"summary":"Update a record comment","description":"Update the content or attachments of an existing comment.","tags":["Orgs Records"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Record ID","name":"record_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Activity ID","name":"activity_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTableRecordCommentSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateTableRecordCommentSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableRecordCommentSchema"}}}}}},"delete":{"summary":"Delete a record comment","description":"Remove a comment from a record.","tags":["Orgs Records"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Record ID","name":"record_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Activity ID","name":"activity_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/records/{record_id}/activities":{"get":{"summary":"List record activities","description":"Retrieve the activity timeline for a record, sorted by creation date (newest first). Contacts- and conversations-table records resolve to the underlying contact.","tags":["Orgs Records"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Record ID","name":"record_id","in":"path"},{"schema":{"$ref":"#/components/schemas/ActivityTypeSchema"},"required":false,"description":"Schema for the type of an activity event","name":"type","in":"query"},{"schema":{"type":"string","description":"Filter to activities scoped to this contact."},"required":false,"description":"Filter to activities scoped to this contact.","name":"contact_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities scoped to this table."},"required":false,"description":"Filter to activities scoped to this table.","name":"table_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities scoped to this table record."},"required":false,"description":"Filter to activities scoped to this table record.","name":"record_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities performed by this user."},"required":false,"description":"Filter to activities performed by this user.","name":"actor_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities performed by this assistant."},"required":false,"description":"Filter to activities performed by this assistant.","name":"assistant_id","in":"query"},{"schema":{"type":"string","description":"Filter to activities involving this segment."},"required":false,"description":"Filter to activities involving this segment.","name":"segment_id","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActivitySchema"}}}}}}}},"/orgs/{org_id}/views":{"get":{"summary":"List org views","description":"Non-archived views in the org, ordered by `position`. Pass `table_type=contacts` for the Audience tab strip, `table_type=chats` for Inbox, `table_type=custom` for user-created tables. Omit to fetch all. Per-table tab order lives under `/tables/:table_id/views`.","tags":["Orgs Views"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"$ref":"#/components/schemas/TableTypeSchema"},"required":false,"name":"table_type","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TableViewSchema"}}}}}}},"post":{"summary":"Create a view","description":"Create a view on a table. `table_id` may be a regular table id or a system-table keyword (`contacts`, `chats`, `users`) — system tables are lazy-created on first interaction.","tags":["Orgs Views"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTableViewSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateTableViewSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableViewSchema"}}}}}}},"/orgs/{org_id}/views/{view_id}":{"get":{"summary":"Get a view","description":"Get a single view by id.","tags":["Orgs Views"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"View ID","name":"view_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableViewSchema"}}}}}},"patch":{"summary":"Update a view","description":"Update a view. `sort` is re-validated against the table's field catalog when present.","tags":["Orgs Views"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"View ID","name":"view_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTableViewSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateTableViewSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableViewSchema"}}}}}},"delete":{"summary":"Delete a view","description":"Permanently delete a view. Blocked if this is the only view on the table.","tags":["Orgs Views"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"View ID","name":"view_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/tables/{table_id}/views":{"get":{"summary":"List table views","description":"List the views defined on a table, ordered by tab-strip `position`.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TableViewSchema"}}}}}}}},"/orgs/{org_id}/tables/{table_id}/views/positions":{"patch":{"summary":"Reorder this table's tab strip","description":"Bulk-update the position of multiple views on one table in one transaction.","tags":["Orgs Tables"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Table ID","name":"table_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReorderTableViewsSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ReorderTableViewsSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TableViewSchema"}}}}}}}},"/orgs/{org_id}/views/{view_id}/duplicate":{"post":{"summary":"Duplicate a view","description":"Duplicate a view within the same table. The copy is appended to the tab strip and is never the default view.","tags":["Orgs Views"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"View ID","name":"view_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateTableViewSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DuplicateTableViewSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableViewSchema"}}}}}}},"/orgs/{org_id}/views/{view_id}/fields":{"get":{"summary":"List fields available on a view","description":"Every field the view's entity exposes (built-ins + dynamic TableField rows) with its `type`, `readonly`, `sortable`, and `groupable_in` capability flags. Drives the FE's axis / sort / filter / column pickers and the inline cell editor dispatch from one payload.","tags":["Orgs Views"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"View ID","name":"view_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ViewFieldSchema"}}}}}}}},"/orgs/{org_id}/views/{view_id}/groups":{"get":{"summary":"List groups (columns) for a view","description":"Returns the board column descriptors (enum items, boolean buckets, date / number ranges, distinct strings) plus capability flags — `reorderable_columns` enables column-header DnD, `movable_items` enables card DnD between columns (only meaningful for enum / user / boolean axes), `axis` carries the resolved field for the FE header. No pagination — bounded by `MAX_BOARD_COLUMNS`. Throws 400 for kinds that have no groups (table / calendar / timeline).","tags":["Orgs Views"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"View ID","name":"view_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableViewGroupsResponseSchema"}}}}}}},"/orgs/{org_id}/views/{view_id}/groups/move":{"post":{"summary":"Reorder a group (board column)","description":"Move a board column to a new position. Pass `group_key` for the column being moved and `after` / `before` for the neighbor group keys. The new full column order is persisted on `view.config.board.columns`. Returns the updated view.","tags":["Orgs Views"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"View ID","name":"view_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveTableViewGroupSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MoveTableViewGroupSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableViewSchema"}}}}}}},"/orgs/{org_id}/views/{view_id}/items":{"get":{"summary":"List records for a view","description":"Paginated records for the view, applying its sort + per-view manual positions.","tags":["Orgs Views"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"View ID","name":"view_id","in":"path"},{"schema":{"$ref":"#/components/schemas/TableStatusSchema"},"required":false,"description":"Filter by visibility. `ACTIVE` excludes archived (default), `ARCHIVED` returns only archived, `ALL` returns both.","name":"status","in":"query"},{"schema":{"type":"string","maxLength":256},"required":false,"name":"search","in":"query"},{"schema":{"type":"string","maxLength":1024,"description":"Board only — the group key whose records to return. Use a key from `GET /views/:view_id/groups` (an enum option value, or `'__unmatched__'` for the unmatched group). Required for `kind='board'`."},"required":false,"description":"Board only — the group key whose records to return. Use a key from `GET /views/:view_id/groups` (an enum option value, or `'__unmatched__'` for the unmatched group). Required for `kind='board'`.","name":"group","in":"query"},{"schema":{"type":["string","null"],"format":"date-time","description":"Calendar / Timeline — visible window start. Records whose date axis falls before this are excluded. ISO 8601."},"required":false,"description":"Calendar / Timeline — visible window start. Records whose date axis falls before this are excluded. ISO 8601.","name":"date_from","in":"query"},{"schema":{"type":["string","null"],"format":"date-time","description":"Calendar / Timeline — visible window end. Records whose date axis falls after this are excluded. ISO 8601."},"required":false,"description":"Calendar / Timeline — visible window end. Records whose date axis falls after this are excluded. ISO 8601.","name":"date_to","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TableRecordSchema"}}}}}}}},"/orgs/{org_id}/views/{view_id}/move":{"post":{"summary":"Move an item in a view","description":"Drag-reorder an item in any view kind. Updates the item's per-view manual position between `after` and `before`. For board views, optionally set `group_value` to drag the card between columns — the runner writes the new axis value back to the row (rejected for readonly fields and for axes that can't take drop-writes, e.g. date / number ranges).","tags":["Orgs Views"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"View ID","name":"view_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveTableViewItemSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/MoveTableViewItemSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/broadcasts":{"get":{"summary":"Get Broadcasts","description":"Get a list of broadcasts for a specific org.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"$ref":"#/components/schemas/BroadcastsTypeSchema"},"required":false,"description":"The type of the broadcasts","name":"type","in":"query"},{"schema":{"$ref":"#/components/schemas/BroadcastsStatusSchema"},"required":false,"description":"The status of the broadcasts","name":"status","in":"query"},{"schema":{"type":"string","maxLength":256},"required":false,"name":"search","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastSchema"}}}}}}},"post":{"summary":"Create a Broadcast","description":"Create a new broadcast for the organization.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBroadcastSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateBroadcastSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastSchema"}}}}}}},"/orgs/{org_id}/broadcasts/recipients":{"get":{"summary":"Get Org Broadcast Recipients","description":"Get recipients for a specific org.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"$ref":"#/components/schemas/BroadcastRecipientsStatusSchema"},"required":false,"description":"The status of the broadcast recipients","name":"status","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_skipped","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_failed","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_bounced","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_sent","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_delivered","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_complained","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_unsubscribed","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_opened","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_played","in":"query"},{"schema":{"type":"string"},"required":false,"name":"integration_id","in":"query"},{"schema":{"type":"string"},"required":false,"name":"contact_id","in":"query"},{"schema":{"type":"string"},"required":false,"name":"user_id","in":"query"},{"schema":{"type":"string"},"required":false,"name":"username","in":"query"},{"schema":{"type":"string"},"required":false,"name":"email","in":"query"},{"schema":{"type":"string"},"required":false,"name":"search","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryBroadcastRecipientsSortFieldSchema"},"required":false,"description":"Field to sort broadcast recipients by","name":"sort_field","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryBroadcastRecipientsSortDirectionSchema"},"required":false,"description":"Direction to sort broadcast recipients by","name":"sort_direction","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastRecipientSchema"}}}}}}}},"/orgs/{org_id}/broadcasts/interactions":{"get":{"summary":"Get Broadcasts Interactions","description":"Get a list of interactions for a specific broadcast.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":false,"name":"broadcast_id","in":"query"},{"schema":{"type":"string"},"required":false,"name":"contact_id","in":"query"},{"schema":{"$ref":"#/components/schemas/BroadcastRecipientInteractionTypeSchema"},"required":false,"description":"The type of the broadcast recipient interaction","name":"type","in":"query"},{"schema":{"type":"string"},"required":false,"name":"value","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastRecipientInteractionSchema"}}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}":{"get":{"summary":"Get a Broadcast","description":"Get a specific broadcast by its ID.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastSchema"}}}}}},"patch":{"summary":"Update a Broadcast","description":"Update a specific broadcast by its ID. Only draft broadcasts can be updated.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastSchema"}}}}}},"delete":{"summary":"Delete a Broadcast","description":"Delete a broadcast. Cannot delete broadcasts that are currently sending.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/send/test":{"post":{"summary":"Send a Broadcast Test","description":"Send a broadcast test. Can only send tests for broadcasts in DRAFT, CANCELLED or FAILED status.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendBroadcastTestSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/SendBroadcastTestSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendBroadcastTestSchema"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/duplicate":{"post":{"summary":"Duplicate a Broadcast","description":"Duplicate a broadcast including its segments and templates. The new broadcast will be in DRAFT status.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateBroadcastSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/DuplicateBroadcastSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastSchema"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/templates":{"get":{"summary":"Get Broadcast Templates","description":"Get all templates for a specific broadcast.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastTemplateSchema"}}}}}}},"post":{"summary":"Create a Broadcast Template","description":"Create a new template for a broadcast. The broadcast must be in DRAFT status.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBroadcastTemplateSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateBroadcastTemplateSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastTemplateSchema"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/templates/{template_id}":{"get":{"summary":"Get a Broadcast Template","description":"Get a specific template by its ID.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Template ID","name":"template_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastTemplateSchema"}}}}}},"patch":{"summary":"Update a Broadcast Template","description":"Update an existing template. The broadcast must be in DRAFT status.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Template ID","name":"template_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastTemplateSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastTemplateSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastTemplateSchema"}}}}}},"delete":{"summary":"Delete a Broadcast Template","description":"Delete a template. The broadcast must be in DRAFT status. Templates cannot be deleted after a broadcast starts.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Template ID","name":"template_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/fields/entries":{"get":{"summary":"Get Broadcast Field Entries","description":"List field entries for a broadcast.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastFieldEntrySchema"}}}}}}},"patch":{"summary":"Update Broadcast Field Entries","description":"Update field entries for broadcast recipients. Replaces any existing entries for this broadcast.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastFieldEntriesSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastFieldEntriesSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastFieldEntriesResultSchema"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/fields/entries/dry":{"patch":{"summary":"Dry Run Update Broadcast Field Entries","description":"Dry run to classify entries as valid or invalid without importing anything.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastFieldEntriesSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastFieldEntriesSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastFieldEntriesDryRunSchema"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/fields":{"get":{"summary":"Get Broadcast Fields","description":"List all fields for a broadcast.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastFieldSchema"}}}}}}},"post":{"summary":"Create Broadcast Field","description":"Create a new field for a broadcast.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBroadcastFieldSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateBroadcastFieldSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastFieldSchema"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/fields/{field_id}":{"get":{"summary":"Get Broadcast Field","description":"Get a specific field for a broadcast.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Field ID","name":"field_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastFieldSchema"}}}}}},"patch":{"summary":"Update Broadcast Field","description":"Update a specific field for a broadcast.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Field ID","name":"field_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastFieldSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateBroadcastFieldSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastFieldSchema"}}}}}},"delete":{"summary":"Delete Broadcast Field","description":"Delete a field and all its entries from a broadcast.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Field ID","name":"field_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/schedule":{"post":{"summary":"Schedule a Marketing Broadcast","description":"Queue a marketing broadcast for delivery. Fires immediately when the broadcast has no scheduled_at, otherwise waits for the scheduled time. Can only be called on broadcasts in DRAFT, CANCELLED or FAILED status.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastSchema"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/cancel":{"post":{"summary":"Cancel a Broadcast","description":"Cancel a broadcast. Can only cancel broadcasts in SCHEDULED or SENDING status.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastSchema"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/recipients":{"get":{"summary":"Get Broadcast Recipients","description":"Get recipients for a specific broadcast.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"},{"schema":{"$ref":"#/components/schemas/BroadcastRecipientsStatusSchema"},"required":false,"description":"The status of the broadcast recipients","name":"status","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_skipped","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_failed","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_bounced","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_sent","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_delivered","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_complained","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_unsubscribed","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_opened","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"is_played","in":"query"},{"schema":{"type":"string"},"required":false,"name":"integration_id","in":"query"},{"schema":{"type":"string"},"required":false,"name":"contact_id","in":"query"},{"schema":{"type":"string"},"required":false,"name":"user_id","in":"query"},{"schema":{"type":"string"},"required":false,"name":"username","in":"query"},{"schema":{"type":"string"},"required":false,"name":"email","in":"query"},{"schema":{"type":"string"},"required":false,"name":"search","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryBroadcastRecipientsSortFieldSchema"},"required":false,"description":"Field to sort broadcast recipients by","name":"sort_field","in":"query"},{"schema":{"$ref":"#/components/schemas/QueryBroadcastRecipientsSortDirectionSchema"},"required":false,"description":"Direction to sort broadcast recipients by","name":"sort_direction","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastRecipientSchema"}}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/recipients/counts":{"get":{"summary":"Get Broadcast Integration Recipient Counts","description":"Get integration recipient counts for a specific broadcast.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastRecipientCountSchema"}}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/recipients/{recipient_id}":{"get":{"summary":"Get Broadcast Recipient","description":"Get a specific recipient for a broadcast.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Recipient ID","name":"recipient_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastRecipientSchema"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/send":{"post":{"summary":"Send a Transactional Broadcast","description":"Fire a transactional broadcast for a single recipient. Fans out across the broadcast templates: one BroadcastRecipient row is created per template (sent or skipped).","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerBroadcastSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/TriggerBroadcastSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerBroadcastResponseSchema"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/activate":{"post":{"summary":"Activate a Transactional Broadcast","description":"Activate a transactional broadcast so it can accept triggers. Allowed from DRAFT or PAUSED. Requires at least one template.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastSchema"}}}}}}},"/orgs/{org_id}/broadcasts/{broadcast_id}/pause":{"post":{"summary":"Pause a Transactional Broadcast","description":"Pause an active transactional broadcast. Triggers are rejected until the broadcast is activated again. Configuration is preserved.","tags":["Orgs Broadcasts"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"Org ID","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"Broadcast ID","name":"broadcast_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastSchema"}}}}}}},"/orgs/{org_id}/analytics/broadcasts":{"get":{"summary":"Get Broadcast Analytics","description":"Get aggregated delivery and engagement stats per broadcast.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"from_date","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"to_date","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BroadcastAnalyticsItemSchema"}}}}}}}},"/orgs/{org_id}/analytics/workflows":{"get":{"summary":"Get Workflow Analytics","description":"Get aggregated run stats per workflow.","tags":["Orgs Analytics"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"from_date","in":"query"},{"schema":{"type":["string","null"],"format":"date-time"},"required":false,"name":"to_date","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkflowAnalyticsItemSchema"}}}}}}}},"/orgs/{org_id}/emails/identities":{"get":{"summary":"Get Email Identities","description":"Get a list of email identities for a specific org.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string","maxLength":256,"description":"Search identities by email or name"},"required":false,"description":"Search identities by email or name","name":"search","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailIdentitySchema"}}}}}}},"post":{"summary":"Create an Email Identity","description":"Add a new email identity for the organization.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEmailIdentitySchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateEmailIdentitySchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailIdentitySchema"}}}}}}},"/orgs/{org_id}/emails/identities/{identity_id}":{"get":{"summary":"Get an Email Identity","description":"Get a specific email identity by its ID.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the email identity","name":"identity_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailIdentitySchema"}}}}}},"patch":{"summary":"Update an Email Identity","description":"Update the name or default status of an email identity.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the email identity","name":"identity_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmailIdentitySchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateEmailIdentitySchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailIdentitySchema"}}}}}},"delete":{"summary":"Delete an Email Identity","description":"Delete an email identity and remove the identity from SES.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the email identity","name":"identity_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/emails/identities/{identity_id}/verify":{"post":{"summary":"Verify an Email Identity","description":"Check the current verification status of an email identity.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the email identity","name":"identity_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailIdentitySchema"}}}}}}},"/orgs/{org_id}/emails/identities/{identity_id}/resend":{"post":{"summary":"Resend Verification Email","description":"Resend the verification email for a pending identity.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the email identity","name":"identity_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/emails/domains":{"get":{"summary":"Get Email Domains","description":"Get a list of email domains for a specific org.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string","maxLength":256,"description":"Search domains by name"},"required":false,"description":"Search domains by name","name":"search","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/EmailDomainSchema"},{"description":"An email domain with DKIM verification"}]}}}}}}},"post":{"summary":"Add an Email Domain","description":"Add a new email domain for DKIM verification. Returns the DKIM TXT record to add to DNS.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEmailDomainSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateEmailDomainSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/EmailDomainSchema"},{"description":"An email domain with DKIM verification"}]}}}}}}},"/orgs/{org_id}/emails/domains/{domain_id}":{"get":{"summary":"Get an Email Domain","description":"Get a specific email domain by its ID.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID or domain name of the email domain","name":"domain_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/EmailDomainSchema"},{"description":"An email domain with DKIM verification"}]}}}}}},"patch":{"summary":"Update Email Domain Settings","description":"Update tracking configuration for an email domain.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID or domain name of the email domain","name":"domain_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmailDomainSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateEmailDomainSchema"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/EmailDomainSchema"},{"description":"An email domain with DKIM verification"}]}}}}}},"delete":{"summary":"Delete an Email Domain","description":"Delete an email domain and remove the identity from SES. Senders linked to this domain will be unlinked.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID or domain name of the email domain","name":"domain_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"null"}}}}}}},"/orgs/{org_id}/emails/domains/{domain_id}/verify":{"post":{"summary":"Verify an Email Domain","description":"Check the current DKIM verification status of an email domain.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID or domain name of the email domain","name":"domain_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/EmailDomainSchema"},{"description":"An email domain with DKIM verification"}]}}}}}}},"/orgs/{org_id}/emails/domains/{domain_id}/provider":{"get":{"summary":"Get DNS Provider","description":"Detect the DNS provider for a domain via NS lookup. Returns provider info including logo, DNS settings URL, and auto-configure URL when supported.","tags":["Orgs Emails"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID or domain name of the email domain","name":"domain_id","in":"path"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailDomainProviderSchema"}}}}}}},"/connections/actions":{"get":{"summary":"Get the actions for a connection","description":"Get the actions for a connection","tags":["Connections Actions"],"responses":{"200":{"description":"The actions for a connection","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionActionsSchema"}}}}}}},"/orgs/{org_id}/connections/actions/options":{"post":{"summary":"Get the options for an action","tags":["Orgs Connections"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string","maxLength":4096,"description":"Search query"},"required":false,"description":"Search query","name":"search","in":"query"},{"schema":{"type":"string","maxLength":4096,"description":"Filter by a single value"},"required":false,"description":"Filter by a single value","name":"value","in":"query"},{"schema":{"type":"array","items":{"type":"string","maxLength":4096},"maxItems":50,"description":"Filter by multiple values"},"required":false,"description":"Filter by multiple values","name":"values","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConnectionActionInterfaceSchema"}]}},"multipart/form-data":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConnectionActionInterfaceSchema"}]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FieldEnumItemSchema"}}}}}}}},"/orgs/{org_id}/connections/actions/fields":{"post":{"summary":"Get the fields for an action","tags":["Orgs Connections"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"}],"requestBody":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConnectionActionInterfaceSchema"}]}},"multipart/form-data":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConnectionActionInterfaceSchema"}]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldsSchema"}}}}}}},"/orgs/{org_id}/connections":{"get":{"summary":"Get Org Connections","description":"Retrieve a list of connections for the specified app.","tags":["Orgs Connections"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"allOf":[{"$ref":"#/components/schemas/ConnectionTypeSchema"},{"description":"Filter connections by type"}]},"required":false,"description":"Filter connections by type","name":"type","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Page number","name":"page","in":"query"},{"schema":{"type":"number"},"required":false,"description":"Number of items to take","name":"take","in":"query"},{"schema":{"type":"string"},"required":false,"description":"Next page token (Only used on special endpoints)","name":"next","in":"query"}],"responses":{"200":{"description":"A list of connections.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConnectionSchema"}}}}}}},"post":{"summary":"Create User Connection","description":"Create a new connection for the specified app.","tags":["Orgs Connections"],"parameters":[{"schema":{"type":"string"},"required":true,"name":"org_id","in":"path"}],"requestBody":{"description":"The details of the connection to create.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConnectionSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateConnectionSchema"}}}},"responses":{"200":{"description":"The newly created connection.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionSchema"}}}}}}},"/orgs/{org_id}/connections/{connection_id}":{"get":{"summary":"Get a Connection","description":"Retrieve details of a specific connection.","tags":["Orgs Connections"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the connection","name":"connection_id","in":"path"}],"responses":{"200":{"description":"The details of the connection.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionSchema"}}}}}},"patch":{"summary":"Update a Connection","description":"Update the details of an existing connection.","tags":["Orgs Connections"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the connection","name":"connection_id","in":"path"}],"requestBody":{"description":"The updated details of the connection.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateConnectionSchema"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UpdateConnectionSchema"}}}},"responses":{"200":{"description":"The updated connection.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionSchema"}}}}}},"delete":{"summary":"Delete a Connection","description":"Delete an existing connection.","tags":["Orgs Connections"],"parameters":[{"schema":{"type":"string"},"required":true,"description":"The ID of the org","name":"org_id","in":"path"},{"schema":{"type":"string"},"required":true,"description":"The ID of the connection","name":"connection_id","in":"path"}],"responses":{"200":{"description":"No content.","content":{"application/json":{"schema":{"type":"null"}}}}}}}},"webhooks":{}}