{"openapi":"3.1.0","info":{"title":"Komo API","version":"1","description":"Komo's public REST API. Authenticate with an API key from Settings → API keys, sent as `x-api-key: pk_…:sk_…` or `Authorization: Bearer pk_…:sk_…`. The hosted MCP server at /mcp wraps this same surface for AI clients."},"paths":{"/api/api-keys":{"get":{"summary":"List Api Keys","description":"List all API keys for the authenticated user\n\nArgs:\n    user_id: Authenticated user ID from JWT or API key\n    api_key_service: API key service instance\n\nReturns:\n    List[APIKeyResponse]: List of API keys (without the actual key values)","operationId":"list_api_keys_api_api_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/APIKeyResponse"},"type":"array","title":"Response List Api Keys Api Api Keys Get"}}}}}},"post":{"summary":"Create Api Key","description":"Create a new API key for the authenticated user\n\nArgs:\n    request: API key creation request with title, description, and expiration\n    user_id: Authenticated user ID from JWT or API key\n    api_key_service: API key service instance\n\nReturns:\n    APIKeyCreateResponse: The newly created API key details including the key value","operationId":"create_api_key_api_api_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKeyCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKeyCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/api-keys/{key_id}/revoke":{"patch":{"summary":"Revoke Api Key","description":"Revoke an API key\n\nArgs:\n    key_id: The ID of the API key to revoke\n    user_id: Authenticated user ID from JWT or API key\n    api_key_service: API key service instance\n\nReturns:\n    dict: Success message","operationId":"revoke_api_key_api_api_keys__key_id__revoke_patch","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/api-keys/{key_id}":{"delete":{"summary":"Delete Api Key","description":"Permanently delete an API key\n\nArgs:\n    key_id: The ID of the API key to delete\n    user_id: Authenticated user ID from JWT or API key\n    api_key_service: API key service instance\n\nReturns:\n    dict: Success message","operationId":"delete_api_key_api_api_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/structured-research/parallel":{"post":{"tags":["structured-research"],"summary":"Parallel Proxy","description":"Proxy endpoint for Parallel AI API\nCreates a task group and returns connection info for SSE streaming","operationId":"parallel_proxy_api_structured_research_parallel_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParallelProxyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["structured-research"],"summary":"Cancel Parallel Task","description":"Cancel a Parallel AI task group (client-side only)","operationId":"cancel_parallel_task_api_structured_research_parallel_delete","parameters":[{"name":"taskgroup_id","in":"query","required":true,"schema":{"type":"string","title":"Taskgroup Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/structured-research/parallel/stream":{"get":{"tags":["structured-research"],"summary":"Parallel Stream","description":"SSE stream endpoint for Parallel AI task group events\nProxies events from Parallel AI to the frontend","operationId":"parallel_stream_api_structured_research_parallel_stream_get","parameters":[{"name":"taskgroup_id","in":"query","required":true,"schema":{"type":"string","title":"Taskgroup Id"}},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/structured-research/findall/ingest":{"post":{"tags":["structured-research"],"summary":"Findall Ingest","description":"Convert natural language sourcing query into structured schema via Parallel FindAll","operationId":"findall_ingest_api_structured_research_findall_ingest_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindAllIngestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/structured-research/findall/runs":{"post":{"tags":["structured-research"],"summary":"Findall Create Run","description":"Create a FindAll run to discover and evaluate candidates","operationId":"findall_create_run_api_structured_research_findall_runs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindAllCreateRunRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/structured-research/findall/runs/{findall_id}/events":{"get":{"tags":["structured-research"],"summary":"Findall Stream Events","description":"SSE proxy for FindAll run events — streams candidate discovery in real time","operationId":"findall_stream_events_api_structured_research_findall_runs__findall_id__events_get","parameters":[{"name":"findall_id","in":"path","required":true,"schema":{"type":"string","title":"Findall Id"}},{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/structured-research/findall/runs/{findall_id}/save":{"post":{"tags":["structured-research"],"summary":"Findall Save As Session","description":"Fetch FindAll results and save as an enrichment session","operationId":"findall_save_as_session_api_structured_research_findall_runs__findall_id__save_post","parameters":[{"name":"findall_id","in":"path","required":true,"schema":{"type":"string","title":"Findall Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindAllSaveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/structured-research/findall/runs/{findall_id}/init-session":{"post":{"tags":["structured-research"],"summary":"Findall Init Session","description":"Create a session immediately when a FindAll run starts (for auto-save)","operationId":"findall_init_session_api_structured_research_findall_runs__findall_id__init_session_post","parameters":[{"name":"findall_id","in":"path","required":true,"schema":{"type":"string","title":"Findall Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindAllInitSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/structured-research/findall/sessions/{session_id}/candidates":{"post":{"tags":["structured-research"],"summary":"Findall Upsert Candidates","description":"Upsert candidate rows into session during streaming","operationId":"findall_upsert_candidates_api_structured_research_findall_sessions__session_id__candidates_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindAllUpsertCandidatesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/structured-research/findall/runs/{findall_id}/extend":{"post":{"tags":["structured-research"],"summary":"Findall Extend Run","description":"Extend FindAll run with additional candidates","operationId":"findall_extend_run_api_structured_research_findall_runs__findall_id__extend_post","parameters":[{"name":"findall_id","in":"path","required":true,"schema":{"type":"string","title":"Findall Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindAllExtendRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/structured-research/findall/runs/{findall_id}/enrich":{"post":{"tags":["structured-research"],"summary":"Findall Enrich Run","description":"Enrich FindAll run with additional columns","operationId":"findall_enrich_run_api_structured_research_findall_runs__findall_id__enrich_post","parameters":[{"name":"findall_id","in":"path","required":true,"schema":{"type":"string","title":"Findall Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindAllEnrichRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/usage/tier-limits":{"get":{"summary":"Get Tier Limits","description":"Get tier limits configuration.\n\nPublic endpoint - no authentication required.\nReturns the current quota limits for each tier.\n\nResponse format:\n{\n    \"tier_limits\": {\n        \"free\": {\n            \"search\": 10,\n            \"research\": 2,\n            \"ask\": 5,\n            \"task\": 0\n        },\n        \"paid\": {\n            \"search\": 999999,\n            \"research\": 999999,\n            \"ask\": 999999,\n            \"task\": 999999\n        }\n    }\n}","operationId":"get_tier_limits_api_usage_tier_limits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TierLimitsResponse"}}}}}}},"/api/usage/summary":{"get":{"summary":"Get Usage Summary Endpoint","description":"Get usage summary for the current user.\n\nReturns daily usage statistics and remaining quotas for all request types.\n\nResponse format:\n{\n    \"user_tier\": \"free\",\n    \"usage\": {\n        \"search\": {\n            \"current\": 5,\n            \"limit\": 10,\n            \"remaining\": 5,\n            \"blocked\": false\n        },\n        \"research\": {\n            \"current\": 1,\n            \"limit\": 2,\n            \"remaining\": 1,\n            \"blocked\": false\n        },\n        \"ask\": {\n            \"current\": 0,\n            \"limit\": 0,\n            \"remaining\": null,\n            \"blocked\": true\n        },\n        \"task\": {\n            \"current\": 0,\n            \"limit\": 0,\n            \"remaining\": null,\n            \"blocked\": true\n        }\n    }\n}","operationId":"get_usage_summary_endpoint_api_usage_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageSummaryResponse"}}}}}}},"/api/inbox/composio/connect-url":{"post":{"tags":["inbox"],"summary":"Create Inbox Composio Connect Url","operationId":"create_inbox_composio_connect_url_api_inbox_composio_connect_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboxComposioConnectUrlRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_InboxAuthUrlResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox/accounts":{"get":{"tags":["inbox"],"summary":"List Inbox Accounts","operationId":"list_inbox_accounts_api_inbox_accounts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_List_InboxAccountResponse__"}}}}}},"post":{"tags":["inbox"],"summary":"Create Inbox Account","operationId":"create_inbox_account_api_inbox_accounts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboxAccountCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_InboxAccountResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox/accounts/{inbox_account_id}":{"patch":{"tags":["inbox"],"summary":"Update Inbox Account","operationId":"update_inbox_account_api_inbox_accounts__inbox_account_id__patch","parameters":[{"name":"inbox_account_id","in":"path","required":true,"schema":{"type":"string","title":"Inbox Account Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboxAccountUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_InboxAccountResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["inbox"],"summary":"Delete Inbox Account","operationId":"delete_inbox_account_api_inbox_accounts__inbox_account_id__delete","parameters":[{"name":"inbox_account_id","in":"path","required":true,"schema":{"type":"string","title":"Inbox Account Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BasicSuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox/accounts/{inbox_account_id}/resync":{"post":{"tags":["inbox"],"summary":"Resync Inbox Account","description":"Manually re-run the mailbox import + CRM seeding with the account's\ncurrent preferences. Subscription-gated like connect — a re-sync spends\n(provider fetch, CRM enrichment, classification).","operationId":"resync_inbox_account_api_inbox_accounts__inbox_account_id__resync_post","parameters":[{"name":"inbox_account_id","in":"path","required":true,"schema":{"type":"string","title":"Inbox Account Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_InboxAccountResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbox/accounts/{inbox_account_id}/status":{"get":{"tags":["inbox"],"summary":"Get Inbox Account Status","operationId":"get_inbox_account_status_api_inbox_accounts__inbox_account_id__status_get","parameters":[{"name":"inbox_account_id","in":"path","required":true,"schema":{"type":"string","title":"Inbox Account Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_InboxAccountStatusResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/{account_record_id}/notes":{"get":{"tags":["crm-records"],"summary":"List Account Notes","operationId":"list_account_notes_api_crm_accounts__account_record_id__notes_get","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["crm-records"],"summary":"Create Account Note","operationId":"create_account_note_api_crm_accounts__account_record_id__notes_post","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/{account_record_id}/tasks":{"get":{"tags":["crm-records"],"summary":"List Account Tasks","operationId":"list_account_tasks_api_crm_accounts__account_record_id__tasks_get","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["crm-records"],"summary":"Create Account Task","operationId":"create_account_task_api_crm_accounts__account_record_id__tasks_post","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/{account_record_id}/meetings":{"get":{"tags":["crm-records"],"summary":"List Account Meetings","operationId":"list_account_meetings_api_crm_accounts__account_record_id__meetings_get","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["crm-records"],"summary":"Create Account Meeting","operationId":"create_account_meeting_api_crm_accounts__account_record_id__meetings_post","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/{account_record_id}/files":{"get":{"tags":["crm-records"],"summary":"List Account Files","operationId":"list_account_files_api_crm_accounts__account_record_id__files_get","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["crm-records"],"summary":"Create Account File","operationId":"create_account_file_api_crm_accounts__account_record_id__files_post","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileLinkCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/import-csv/preview":{"post":{"tags":["crm-records"],"summary":"Preview Accounts Csv","description":"Return the parsed header row, the first 5 data rows, and a suggested\nmapping. The UI uses this for the column-mapping step so the user can\nconfirm before committing to the full import.","operationId":"preview_accounts_csv_api_crm_accounts_import_csv_preview_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_preview_accounts_csv_api_crm_accounts_import_csv_preview_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/import-csv/preview":{"post":{"tags":["crm-records"],"summary":"Preview Contacts Csv","operationId":"preview_contacts_csv_api_crm_contacts_import_csv_preview_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_preview_contacts_csv_api_crm_contacts_import_csv_preview_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/import-csv":{"post":{"tags":["crm-records"],"summary":"Import Accounts Csv","description":"Commit a CSV import.\n\n- ``mapping_json`` is a JSON object mapping CSV header → canonical field\n  (``name``, ``domain``, ``website``). If omitted, we use the auto-suggested\n  mapping. Any header NOT in the canonical set is persisted as a custom\n  column under ``fields`` / ``custom_data``.\n- Dedup: rows whose normalised domain matches an existing account are\n  skipped (or updated when ``update_existing=true``). Rows without name AND\n  domain are skipped as ``insufficient_fields``.","operationId":"import_accounts_csv_api_crm_accounts_import_csv_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_accounts_csv_api_crm_accounts_import_csv_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/import-csv":{"post":{"tags":["crm-records"],"summary":"Import Contacts Csv","description":"Commit a CSV import for contacts. Auto-links to an existing account\nby ``account_domain`` if present, otherwise by ``account`` (name fuzzy\nmatch on the user's accounts).","operationId":"import_contacts_csv_api_crm_contacts_import_csv_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_contacts_csv_api_crm_contacts_import_csv_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/export.csv":{"get":{"tags":["crm-records"],"summary":"Export Accounts Csv","description":"Stream every account as a CSV for CRM-to-enrichment round-trips.","operationId":"export_accounts_csv_api_crm_accounts_export_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["crm-records"],"summary":"Export Selected Accounts Csv","description":"Stream selected accounts as CSV without putting long ID lists in the URL.","operationId":"export_selected_accounts_csv_api_crm_accounts_export_csv_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportSelection"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/export.csv":{"get":{"tags":["crm-records"],"summary":"Export Contacts Csv","operationId":"export_contacts_csv_api_crm_contacts_export_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["crm-records"],"summary":"Export Selected Contacts Csv","operationId":"export_selected_contacts_csv_api_crm_contacts_export_csv_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportSelection"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts":{"get":{"tags":["crm"],"summary":"List Accounts","operationId":"list_accounts_api_crm_accounts_get","parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"domain","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Domain"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":25000,"minimum":1,"default":50,"title":"Page Size"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"sort_dir","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(asc|desc)$"},{"type":"null"}],"title":"Sort Dir"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["crm"],"summary":"Create Account","operationId":"create_account_api_crm_accounts_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMAccountCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["crm"],"summary":"Patch Account","operationId":"patch_account_api_crm_accounts_patch","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMAccountUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/{account_record_id}":{"patch":{"tags":["crm"],"summary":"Patch Account By Id","operationId":"patch_account_by_id_api_crm_accounts__account_record_id__patch","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMAccountUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["crm"],"summary":"Get Account","operationId":"get_account_api_crm_accounts__account_record_id__get","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["crm"],"summary":"Delete Account","operationId":"delete_account_api_crm_accounts__account_record_id__delete","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/columns":{"get":{"tags":["crm"],"summary":"List Account Columns","operationId":"list_account_columns_api_crm_accounts_columns_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["crm"],"summary":"Add Account Column","operationId":"add_account_column_api_crm_accounts_columns_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMColumnRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/{account_record_id}/enrich":{"post":{"tags":["crm"],"summary":"Enrich Account","operationId":"enrich_account_api_crm_accounts__account_record_id__enrich_post","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/{account_record_id}/columns/enrich":{"post":{"tags":["crm"],"summary":"Enrich Account Columns","operationId":"enrich_account_columns_api_crm_accounts__account_record_id__columns_enrich_post","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountColumnEnrichRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/bulk-enrich":{"post":{"tags":["crm"],"summary":"Bulk Enrich Accounts","operationId":"bulk_enrich_accounts_api_crm_accounts_bulk_enrich_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkEnrichAccountsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/{account_record_id}/activity":{"get":{"tags":["crm"],"summary":"Get Account Activity","description":"Return chronological activity for an account.\n\nFor now this is email-only — synced inbox messages where either the sender\nor one of the recipients matches a contact on this account, or the email\ndomain matches the account's domain. Meetings and tasks will be added when\nwe have data sources for them.","operationId":"get_account_activity_api_crm_accounts__account_record_id__activity_get","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/{account_record_id}/summary/refresh":{"post":{"tags":["crm"],"summary":"Refresh Account Summary","description":"Generate a narrative summary for the account from recent activity + the\ncompany profile. The result is persisted on the account row; subsequent\ncalls return the cached value unless a new email has been received since\nthe previous run (or the caller passes `force=True`).","operationId":"refresh_account_summary_api_crm_accounts__account_record_id__summary_refresh_post","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountSummaryRefreshRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts":{"get":{"tags":["crm"],"summary":"List Contacts","operationId":"list_contacts_api_crm_contacts_get","parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"email","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Email"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":25000,"minimum":1,"default":50,"title":"Page Size"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"sort_dir","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(asc|desc)$"},{"type":"null"}],"title":"Sort Dir"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["crm"],"summary":"Create Contact","operationId":"create_contact_api_crm_contacts_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMContactCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["crm"],"summary":"Patch Contact","operationId":"patch_contact_api_crm_contacts_patch","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMContactUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/columns":{"get":{"tags":["crm"],"summary":"List Contact Columns","operationId":"list_contact_columns_api_crm_contacts_columns_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["crm"],"summary":"Add Contact Column","operationId":"add_contact_column_api_crm_contacts_columns_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMColumnRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/{contact_id}":{"patch":{"tags":["crm"],"summary":"Patch Contact By Id","operationId":"patch_contact_by_id_api_crm_contacts__contact_id__patch","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMContactUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["crm"],"summary":"Get Contact","operationId":"get_contact_api_crm_contacts__contact_id__get","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["crm"],"summary":"Delete Contact","operationId":"delete_contact_api_crm_contacts__contact_id__delete","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/{contact_id}/enrich":{"post":{"tags":["crm"],"summary":"Enrich Contact","operationId":"enrich_contact_api_crm_contacts__contact_id__enrich_post","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/{contact_id}/columns/enrich":{"post":{"tags":["crm"],"summary":"Enrich Contact Columns","operationId":"enrich_contact_columns_api_crm_contacts__contact_id__columns_enrich_post","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactColumnEnrichRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/bulk-enrich":{"post":{"tags":["crm"],"summary":"Bulk Enrich Contacts","operationId":"bulk_enrich_contacts_api_crm_contacts_bulk_enrich_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkEnrichContactsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/{contact_id}/activity":{"get":{"tags":["crm"],"summary":"Get Contact Activity","operationId":"get_contact_activity_api_crm_contacts__contact_id__activity_get","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/{contact_id}/summary/refresh":{"post":{"tags":["crm"],"summary":"Refresh Contact Summary","operationId":"refresh_contact_summary_api_crm_contacts__contact_id__summary_refresh_post","parameters":[{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactSummaryRefreshRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists":{"get":{"tags":["crm"],"summary":"List Lists","operationId":"list_lists_api_crm_lists_get","parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Search"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"page","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":500,"minimum":1},{"type":"null"}],"title":"Page Size"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"sort_dir","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(asc|desc)$"},{"type":"null"}],"title":"Sort Dir"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["crm"],"summary":"Create List","operationId":"create_list_api_crm_lists_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMListCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/findall":{"post":{"tags":["crm"],"summary":"Create Findall Run","operationId":"create_findall_run_api_crm_lists__list_id__findall_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMFindAllRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/columns":{"get":{"tags":["crm"],"summary":"List Member Columns","operationId":"list_member_columns_api_crm_lists__list_id__columns_get","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["crm"],"summary":"Add List Column","operationId":"add_list_column_api_crm_lists__list_id__columns_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMColumnRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/rows/{row_id}/enrich":{"post":{"tags":["crm"],"summary":"Enrich List Row","operationId":"enrich_list_row_api_crm_lists__list_id__rows__row_id__enrich_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}},{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/rows/{row_id}/save":{"post":{"tags":["crm"],"summary":"Save List Row","operationId":"save_list_row_api_crm_lists__list_id__rows__row_id__save_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}},{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMListRowSaveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns":{"get":{"tags":["crm"],"summary":"List Campaigns","operationId":"list_campaigns_api_crm_campaigns_get","parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Search"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"page","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":500,"minimum":1},{"type":"null"}],"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["crm"],"summary":"Create Campaign","operationId":"create_campaign_api_crm_campaigns_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["crm"],"summary":"Patch Campaign","operationId":"patch_campaign_api_crm_campaigns_patch","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/sender-insights":{"get":{"tags":["crm"],"summary":"Campaign Sender Insights","description":"Cross-campaign per-sender rollup: how loaded and how productive each\nLinkedIn seat and each inbox is across every campaign sending from it.\nA campaign has exactly one sender per channel, so each executed run is\nattributed by its step's channel — email runs to the campaign's inbox,\neverything else to its LinkedIn seat.","operationId":"campaign_sender_insights_api_crm_campaigns_sender_insights_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/crm/campaigns/{campaign_id}":{"get":{"tags":["crm"],"summary":"Get Campaign","operationId":"get_campaign_api_crm_campaigns__campaign_id__get","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["crm"],"summary":"Delete Campaign","operationId":"delete_campaign_api_crm_campaigns__campaign_id__delete","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/schedule":{"get":{"tags":["crm"],"summary":"Get Campaign Schedule","description":"Upcoming queued sends ordered by their actual scheduled time.","operationId":"get_campaign_schedule_api_crm_campaigns__campaign_id__schedule_get","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/lists":{"put":{"tags":["crm"],"summary":"Replace Campaign Lists","description":"Replace the set of lists feeding this campaign with `request.list_ids`.\n\nAllowed for draft + paused campaigns; blocked while `active` because\nswapping lists mid-flight would race with `enroll_recipients_actor`.","operationId":"replace_campaign_lists_api_crm_campaigns__campaign_id__lists_put","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignListsReplace"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/steps":{"post":{"tags":["crm"],"summary":"Add Campaign Step","operationId":"add_campaign_step_api_crm_campaigns__campaign_id__steps_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignStepCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/steps/{step_id}":{"patch":{"tags":["crm"],"summary":"Update Campaign Step","operationId":"update_campaign_step_api_crm_campaigns__campaign_id__steps__step_id__patch","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"step_id","in":"path","required":true,"schema":{"type":"string","title":"Step Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignStepUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["crm"],"summary":"Delete Campaign Step","operationId":"delete_campaign_step_api_crm_campaigns__campaign_id__steps__step_id__delete","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"step_id","in":"path","required":true,"schema":{"type":"string","title":"Step Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/start":{"post":{"tags":["crm"],"summary":"Start Campaign","operationId":"start_campaign_api_crm_campaigns__campaign_id__start_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/pause":{"post":{"tags":["crm"],"summary":"Pause Campaign","operationId":"pause_campaign_api_crm_campaigns__campaign_id__pause_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/contacts/sync":{"post":{"tags":["crm"],"summary":"Sync Campaign Contacts","description":"Materialize attached list members into campaign recipients.\n\nThis powers the campaign contact-pack UI before launch: users can review,\napprove, or reject the people sourced by input lists before the worker\nsends anything. The enrollment helper is idempotent and skips members that\nalready have a recipient row, including rejected recipients.","operationId":"sync_campaign_contacts_api_crm_campaigns__campaign_id__contacts_sync_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/contacts":{"get":{"tags":["crm"],"summary":"List Campaign Contacts","operationId":"list_campaign_contacts_api_crm_campaigns__campaign_id__contacts_get","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Page Size"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by recipient status; omit or use 'all' for no filter","title":"Status"},"description":"Filter by recipient status; omit or use 'all' for no filter"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Search"}},{"name":"pending_reply","in":"query","required":false,"schema":{"type":"boolean","description":"Only recipients with an AI reply awaiting approval","default":false,"title":"Pending Reply"},"description":"Only recipients with an AI reply awaiting approval"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/contacts/{recipient_id}/reject":{"post":{"tags":["crm"],"summary":"Reject Campaign Contact","operationId":"reject_campaign_contact_api_crm_campaigns__campaign_id__contacts__recipient_id__reject_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"recipient_id","in":"path","required":true,"schema":{"type":"string","title":"Recipient Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/contacts/{recipient_id}/messages":{"get":{"tags":["crm"],"summary":"List Campaign Contact Messages","description":"Returns the full chat thread for a recipient.\n\nFor LinkedIn conversations we pull the FULL live history from Unipile (the\nlocal crm_chat_messages mirror only holds what our webhooks/scanner\ncaptured); falls back to the mirror for email or if Unipile is unavailable.","operationId":"list_campaign_contact_messages_api_crm_campaigns__campaign_id__contacts__recipient_id__messages_get","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"recipient_id","in":"path","required":true,"schema":{"type":"string","title":"Recipient Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/contacts/{recipient_id}/pending-reply":{"get":{"tags":["crm"],"summary":"Get Campaign Contact Pending Reply","description":"The AI-drafted reply awaiting approval for this recipient, if any.\n\nWhen a campaign has ``followup_review_mode`` on, the multi-turn follow-up\nagent parks its generated reply as a pending ``approval_items`` draft instead\nof sending. The conversation panel renders this as an editable \"Proposed\nreply\" card with approve / edit / reject.","operationId":"get_campaign_contact_pending_reply_api_crm_campaigns__campaign_id__contacts__recipient_id__pending_reply_get","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"recipient_id","in":"path","required":true,"schema":{"type":"string","title":"Recipient Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/contacts/{recipient_id}/override":{"post":{"tags":["crm"],"summary":"Override Campaign Recipient","description":"Manual override of the agent's decision — set status (e.g. force\n'completed'), outcome, or both. The Conversation tab uses this when\nthe user wants to take over from the agent.","operationId":"override_campaign_recipient_api_crm_campaigns__campaign_id__contacts__recipient_id__override_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"recipient_id","in":"path","required":true,"schema":{"type":"string","title":"Recipient Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignRecipientOverride"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/contacts/{recipient_id}/send":{"post":{"tags":["crm"],"summary":"Send Manual Message","description":"Manual send into a conversation — bypasses the agent. Persists to\ncrm_chat_messages immediately and dispatches the actual send via the\nsame path the agent would use (Voyager-first for LinkedIn, Nylas for\nemail). Schedules a future agent re-evaluation.","operationId":"send_manual_message_api_crm_campaigns__campaign_id__contacts__recipient_id__send_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"recipient_id","in":"path","required":true,"schema":{"type":"string","title":"Recipient Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManualSendRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/contacts/{recipient_id}/approve":{"post":{"tags":["crm"],"summary":"Approve Campaign Contact","description":"Promote a pending_review recipient to queued so the next tick picks them up.","operationId":"approve_campaign_contact_api_crm_campaigns__campaign_id__contacts__recipient_id__approve_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"recipient_id","in":"path","required":true,"schema":{"type":"string","title":"Recipient Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/insights":{"get":{"tags":["crm"],"summary":"Campaign Insights","operationId":"campaign_insights_api_crm_campaigns__campaign_id__insights_get","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":14,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/runs":{"get":{"tags":["crm"],"summary":"Campaign Runs","operationId":"campaign_runs_api_crm_campaigns__campaign_id__runs_get","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/draft-from-prompt":{"post":{"tags":["crm"],"summary":"Draft Campaign From Prompt","description":"Generate a campaign draft (name, goal, tone, step sequence) from a\nshort prompt. The frontend uses this to power the \"Create with AI\" path\non the create modal — the result populates the wizard, the user reviews\nand edits, then submits via POST /campaigns.","operationId":"draft_campaign_from_prompt_api_crm_campaigns_draft_from_prompt_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignDraftFromPromptRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/recipients":{"post":{"tags":["crm"],"summary":"Add Campaign Recipient","operationId":"add_campaign_recipient_api_crm_campaigns__campaign_id__recipients_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignRecipientCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/campaigns/{campaign_id}/drafts":{"post":{"tags":["crm"],"summary":"Create Campaign Draft","operationId":"create_campaign_draft_api_crm_campaigns__campaign_id__drafts_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignDraftCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/people-search":{"post":{"tags":["crm"],"summary":"People Search","description":"Apollo People Search via the no-cookies RapidAPI passthrough.\n\nThe upstream is GET with comma-separated query params, so we flatten\nthe frontend's array filters here. Response shape is\n``{ data: { people: [...] } }`` where each person carries\n``employment_history`` (array; first item is current employer when\n``current=True``).","operationId":"people_search_api_crm_people_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMPeopleSearchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/people-search/import":{"post":{"tags":["crm"],"summary":"Import People To List","description":"Bulk-add persons (from People Search results, etc.) as standalone list members.","operationId":"import_people_to_list_api_crm_lists__list_id__people_search_import_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMListPeopleImportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/members/import-crm":{"post":{"tags":["crm"],"summary":"Import Crm Records To List","description":"Bulk-add selected CRM accounts/contacts to an existing list.","operationId":"import_crm_records_to_list_api_crm_lists__list_id__members_import_crm_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMListRecordImportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/contacts":{"post":{"tags":["crm"],"summary":"Manual Add Contact To List","description":"Manual single-person add to a list without creating CRM contact/account records.","operationId":"manual_add_contact_to_list_api_crm_lists__list_id__contacts_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CRMListManualContact"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["crm"],"summary":"List List Contacts","description":"Return people attached to a list.\n\nList members are first-class rows. Some legacy/replied members may have a\ncontact_record_id; those are hydrated from crm_contacts. Unlinked members\nare returned in the same table shape without creating CRM records.","operationId":"list_list_contacts_api_crm_lists__list_id__contacts_get","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":1,"default":1000,"title":"Limit"}},{"name":"page","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":5000,"minimum":1},{"type":"null"}],"title":"Page Size"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"sort_dir","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(asc|desc)$"},{"type":"null"}],"title":"Sort Dir"}},{"name":"include_total","in":"query","required":false,"schema":{"type":"boolean","description":"When false, skip the blocking exact count and return a lower-bound total plus has_more from an extra fetched row.","default":true,"title":"Include Total"},"description":"When false, skip the blocking exact count and return a lower-bound total plus has_more from an extra fetched row."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/import-csv":{"post":{"tags":["crm"],"summary":"Import Csv To List","description":"Parse a CSV with header row and bulk-import as standalone list members.\nRecognized headers (case-insensitive, dashes/underscores tolerated):\nemail, name, first_name, last_name, title, company, company_domain,\nlinkedin, linkedin_url, location.","operationId":"import_csv_to_list_api_crm_lists__list_id__import_csv_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_csv_to_list_api_crm_lists__list_id__import_csv_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/export.csv":{"get":{"tags":["crm"],"summary":"Export List To Csv","description":"Stream the list's members back as a CSV file.","operationId":"export_list_to_csv_api_crm_lists__list_id__export_csv_get","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/contacts/count":{"get":{"tags":["crm"],"summary":"Count List Contacts","description":"Return the exact member count for a list without hydrating row data.","operationId":"count_list_contacts_api_crm_lists__list_id__contacts_count_get","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/members/{member_id}":{"get":{"tags":["crm"],"summary":"Get List Member","description":"Return one list member, hydrating the CRM contact only when linked.","operationId":"get_list_member_api_crm_lists__list_id__members__member_id__get","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/members/{member_id}/columns/enrich":{"post":{"tags":["crm"],"summary":"Enrich List Member Columns","operationId":"enrich_list_member_columns_api_crm_lists__list_id__members__member_id__columns_enrich_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListMemberColumnEnrichRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/members/{member_id}/find-email":{"post":{"tags":["crm"],"summary":"Find List Member Email Endpoint","description":"Kick off an Apify email lookup for a single list member.\n\nReturns immediately with ``{ \"member_id\": ... }``. The Dramatiq actor\nwrites the result back to ``crm_list_members.email``; the frontend\ndetects the new value via the existing list-contacts polling refetch.","operationId":"find_list_member_email_endpoint_api_crm_lists__list_id__members__member_id__find_email_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/usage":{"get":{"tags":["crm"],"summary":"Get Lists Campaign Usage","description":"Cheap pre-delete check: which campaigns reference these lists.\n\nThe delete dialog calls this on open so 'used by campaign X' is shown\nupfront instead of being discovered via the 409 on the actual delete\n(which stays as the backstop).","operationId":"get_lists_campaign_usage_api_crm_lists_usage_get","parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"string","maxLength":2000,"description":"Comma-separated crm_list ids","title":"Ids"},"description":"Comma-separated crm_list ids"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}":{"delete":{"tags":["crm"],"summary":"Delete List","operationId":"delete_list_api_crm_lists__list_id__delete","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/members/bulk-delete":{"post":{"tags":["crm"],"summary":"Delete List Members","operationId":"delete_list_members_api_crm_lists__list_id__members_bulk_delete_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteListMembersRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/{account_record_id}/contacts/{contact_id}":{"delete":{"tags":["crm"],"summary":"Unlink Contact From Account","operationId":"unlink_contact_from_account_api_crm_accounts__account_record_id__contacts__contact_id__delete","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}},{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/{account_record_id}/contacts/bulk-unlink":{"post":{"tags":["crm"],"summary":"Bulk Unlink Contacts From Account","operationId":"bulk_unlink_contacts_from_account_api_crm_accounts__account_record_id__contacts_bulk_unlink_post","parameters":[{"name":"account_record_id","in":"path","required":true,"schema":{"type":"string","title":"Account Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUnlinkContactsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/bulk-delete":{"post":{"tags":["crm"],"summary":"Bulk Delete Accounts","operationId":"bulk_delete_accounts_api_crm_accounts_bulk_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDeleteAccountsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/bulk-delete":{"post":{"tags":["crm"],"summary":"Bulk Delete Contacts","operationId":"bulk_delete_contacts_api_crm_contacts_bulk_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDeleteContactsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/accounts/merge":{"post":{"tags":["crm"],"summary":"Merge Accounts","operationId":"merge_accounts_api_crm_accounts_merge_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergeRecordsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/contacts/merge":{"post":{"tags":["crm"],"summary":"Merge Contacts","operationId":"merge_contacts_api_crm_contacts_merge_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergeRecordsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts":{"get":{"tags":["linkedin"],"summary":"List Linkedin Accounts","operationId":"list_linkedin_accounts_api_linkedin_accounts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["linkedin"],"summary":"Connect Linkedin Account","description":"Create a LinkedIn account row and enqueue the connect worker.\n\nOn the Unipile path (``config.linkedin_backend_is_unipile``) this delegates\nto :func:`_connect_via_unipile`, which provisions a row in ``connecting``\nstate and returns a Hosted-Auth URL — no password ever touches Redis and no\nPlaywright worker is enqueued. On the legacy path the original\nIPRoyal/Playwright flow runs unchanged: the password is held only in Redis\n(key `linkedin:password:<id>`, TTL 5 min) while the worker logs in; never\npersisted to the DB.","operationId":"connect_linkedin_account_api_linkedin_accounts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInConnectRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/unipile/callback":{"post":{"tags":["linkedin"],"summary":"Unipile Callback","description":"Hosted-Auth ``notify_url`` callback (KOM-109 Stage 1, no JWT).\n\nUnipile POSTs ``{status, account_id, name}`` where ``name`` is the\n``linkedin_accounts.id`` we passed as ``internal_id`` when requesting the\nhosted link. On ``CREATION_SUCCESS`` we persist ``unipile_account_id`` and\nflip the row to ``connected``; on any other status we record ``auth_failed``\n+ the raw status. Always returns 200 quickly.","operationId":"unipile_callback_api_linkedin_accounts_unipile_callback_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/linkedin-accounts/unipile/webhooks/account-status":{"post":{"tags":["linkedin"],"summary":"Unipile Webhook Account Status","description":"Account-status webhook (source ``accounts``) → mirror onto our row.","operationId":"unipile_webhook_account_status_api_linkedin_accounts_unipile_webhooks_account_status_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/linkedin-accounts/unipile/webhooks/messaging":{"post":{"tags":["linkedin"],"summary":"Unipile Webhook Messaging","description":"Messaging webhook (source ``messaging``) → inbound-reply detection.","operationId":"unipile_webhook_messaging_api_linkedin_accounts_unipile_webhooks_messaging_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/linkedin-accounts/unipile/webhooks/relations":{"post":{"tags":["linkedin"],"summary":"Unipile Webhook Relations","description":"Relations webhook (source ``users``) → mark accepted invites in ledger.","operationId":"unipile_webhook_relations_api_linkedin_accounts_unipile_webhooks_relations_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/linkedin-accounts/{account_row_id}/reconnect":{"post":{"tags":["linkedin"],"summary":"Reconnect Linkedin Account","description":"Re-authenticate an existing Unipile-backed LinkedIn account (KOM-109).\n\nIssues a Hosted-Auth wizard URL with ``type_='reconnect'`` against the row's\n``unipile_account_id`` so the user re-grants access without losing the row\n(campaigns/lists/ledger stay attached). The row is flipped back to\n``connecting``; the callback re-confirms ``connected``.","operationId":"reconnect_linkedin_account_api_linkedin_accounts__account_row_id__reconnect_post","parameters":[{"name":"account_row_id","in":"path","required":true,"schema":{"type":"string","title":"Account Row Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/cookies":{"post":{"tags":["linkedin"],"summary":"Connect Linkedin Account Via Cookies","description":"Connect a LinkedIn account from pre-extracted auth cookies.\n\nThe cookie-paste fallback for when mobile-auth (``POST /linkedin-accounts``)\ncan't reach a success state — e.g. LinkedIn put a per-account\nautomation hold, the user's email has 2FA without a stored TOTP\nsecret, or any other CHALLENGE the worker can't resolve unattended.\n\nNo password is involved at any point. The user signs in to\nlinkedin.com themselves in their own browser, copies the ``li_at`` and\n``JSESSIONID`` cookies via DevTools, and pastes them here. We probe\nVoyager once to confirm the cookies are valid, then encrypt + store\nthe session in the standard ``encrypted_storage_state`` shape so\nevery downstream consumer (Voyager send, doctor, etc.) is unaware\nthe session came from a paste instead of a login.","operationId":"connect_linkedin_account_via_cookies_api_linkedin_accounts_cookies_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInCookiesConnectRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{account_row_id}/2fa":{"post":{"tags":["linkedin"],"summary":"Submit Linkedin 2Fa","description":"Hand a 2FA code off to the running Playwright worker via Redis.","operationId":"submit_linkedin_2fa_api_linkedin_accounts__account_row_id__2fa_post","parameters":[{"name":"account_row_id","in":"path","required":true,"schema":{"type":"string","title":"Account Row Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInTwoFARequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{account_row_id}":{"patch":{"tags":["linkedin"],"summary":"Update Linkedin Account","description":"Update editable fields on a LinkedIn account (display name, daily caps).","operationId":"update_linkedin_account_api_linkedin_accounts__account_row_id__patch","parameters":[{"name":"account_row_id","in":"path","required":true,"schema":{"type":"string","title":"Account Row Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["linkedin"],"summary":"Delete Linkedin Account","operationId":"delete_linkedin_account_api_linkedin_accounts__account_row_id__delete","parameters":[{"name":"account_row_id","in":"path","required":true,"schema":{"type":"string","title":"Account Row Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{account_row_id}/disconnect":{"post":{"tags":["linkedin"],"summary":"Disconnect Linkedin Account","operationId":"disconnect_linkedin_account_api_linkedin_accounts__account_row_id__disconnect_post","parameters":[{"name":"account_row_id","in":"path","required":true,"schema":{"type":"string","title":"Account Row Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/linkedin/scrape":{"post":{"tags":["linkedin"],"summary":"Start Linkedin Sales Nav Scrape","description":"Enqueue the Sales Nav scraper for an already-created list.","operationId":"start_linkedin_sales_nav_scrape_api_crm_lists__list_id__linkedin_scrape_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesNavScrapeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{row_id}/actions/invite":{"post":{"summary":"Send Invitation","description":"Send a connection invitation (draws the seat's shared invite budget).","operationId":"send_invitation_api_linkedin_accounts__row_id__actions_invite_post","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{row_id}/actions/message":{"post":{"summary":"Send Message","description":"Send a DM (new chat or reply) or an InMail (draws the seat's shared\nmessage budget). Optionally with a file attachment or LinkedIn voice\nnote (``attachment_url`` + ``voice_message``).","operationId":"send_message_api_linkedin_accounts__row_id__actions_message_post","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{row_id}/actions/profile":{"post":{"summary":"Get Profile","description":"Fetch a LinkedIn profile; with ``visit=true`` the view is visible to the\nowner and counts as a send-class action (message budget + pacing gate).","operationId":"get_profile_api_linkedin_accounts__row_id__actions_profile_post","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/linkedin__actions_api__ProfileRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{row_id}/posts/{post_id}/comment":{"post":{"summary":"Comment On Post","description":"Comment on a post (public engagement — message budget + pacing gate).","operationId":"comment_on_post_api_linkedin_accounts__row_id__posts__post_id__comment_post","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}},{"name":"post_id","in":"path","required":true,"schema":{"type":"string","title":"Post Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{row_id}/posts/{post_id}/react":{"post":{"summary":"React To Post","description":"React to a post. Low-risk engagement: billed and gate-paced, ledgered,\nbut does not draw the invite/message budgets.","operationId":"react_to_post_api_linkedin_accounts__row_id__posts__post_id__react_post","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}},{"name":"post_id","in":"path","required":true,"schema":{"type":"string","title":"Post Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{row_id}/chats":{"get":{"summary":"List Chats","description":"List the seat's LinkedIn chats (inbox), newest-first.","operationId":"list_chats_api_linkedin_accounts__row_id__chats_get","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{row_id}/chats/{chat_id}/messages":{"get":{"summary":"List Chat Messages","description":"List messages in one chat, newest-first (cursor pages back).","operationId":"list_chat_messages_api_linkedin_accounts__row_id__chats__chat_id__messages_get","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}},{"name":"chat_id","in":"path","required":true,"schema":{"type":"string","title":"Chat Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{row_id}/relations":{"get":{"summary":"List Relations","description":"List the seat's 1st-degree connections (cursor pages forward).","operationId":"list_relations_api_linkedin_accounts__row_id__relations_get","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{row_id}/invitations/sent":{"get":{"summary":"List Sent Invitations","description":"List pending invitations this seat has sent (who hasn't accepted yet).","operationId":"list_sent_invitations_api_linkedin_accounts__row_id__invitations_sent_get","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{row_id}/search/people":{"post":{"summary":"Search People","description":"Run a LinkedIn people search through the connected seat (classic on any\naccount; sales_navigator / recruiter require that subscription on the\nseat). Billed per returned result at the LinkedIn lead-search rate;\nunused reservation is refunded.","operationId":"search_people_api_linkedin_accounts__row_id__search_people_post","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleSearchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/linkedin-accounts/{row_id}/users/{identifier}/posts":{"get":{"summary":"List User Posts","description":"List a user's recent posts (read-only; resolve identifier → provider_id\nhappens inside Unipile for public identifiers).","operationId":"list_user_posts_api_linkedin_accounts__row_id__users__identifier__posts_get","parameters":[{"name":"row_id","in":"path","required":true,"schema":{"type":"string","title":"Row Id"}},{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/signal-agent":{"patch":{"tags":["signal-agents"],"summary":"Update Signal Agent","description":"Merge partial updates into a Signal Agent's source_payload.\n\nOnly the keys explicitly present in the request body are touched —\neverything else (signals nested config, run history) is preserved.","operationId":"update_signal_agent_api_crm_lists__list_id__signal_agent_patch","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignalAgentUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/signal-agent/pause":{"post":{"tags":["signal-agents"],"summary":"Pause Signal Agent","description":"Mark a Signal Agent as paused so the scheduler skips it.\n\nThe sweeper filter (`status IN ('active','ready','queued')`) naturally\nexcludes 'paused', so we don't need to touch any worker code.\nResume puts it back to 'ready' which the scheduler will pick up on its\nnext sweep.","operationId":"pause_signal_agent_api_crm_lists__list_id__signal_agent_pause_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/{list_id}/signal-agent/resume":{"post":{"tags":["signal-agents"],"summary":"Resume Signal Agent","description":"Take a paused Signal Agent back to 'ready' so the scheduler resumes it.","operationId":"resume_signal_agent_api_crm_lists__list_id__signal_agent_resume_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/signal-agents/generate-config":{"post":{"tags":["signal-agents"],"summary":"Generate Signal Agent Config","description":"Research the user's company and synthesize a full Signal Agent config\n(targeting fields + editable company snapshot) from a plain-English\ndescription. Reuses the account's cached company research when the same\ndomain was researched before (``from_cache: true`` in the response).","operationId":"generate_signal_agent_config_api_crm_lists_signal_agents_generate_config_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/signal_agents__api__GenerateConfigRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/signal-agents/resolve-company":{"post":{"tags":["signal-agents"],"summary":"Resolve Signal Agent Company","description":"Resolve a company name/domain into ``{name, domain, linkedin_url}``\nso users can add competitors without hunting down LinkedIn URLs — the\nresolved ``linkedin_url`` is what feeds the agent's competitor signal.","operationId":"resolve_signal_agent_company_api_crm_lists_signal_agents_resolve_company_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveCompanyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lists/signal-agents/latest-runs":{"get":{"tags":["signal-agents"],"summary":"Signal Agent Latest Runs","description":"Return the latest FINISHED run per Signal Agent list for this account.\n\nOne PostgREST embedded query (per-parent order+limit → lateral join), no\nN+1. In-progress runs (status='running') are excluded so the summary line\nalways describes the last completed/failed run — the list's own ``status``\ncolumn already conveys \"running\", and \"agent is running with no finished\nrun here\" is exactly the frontend's first-run-in-progress hint.","operationId":"signal_agent_latest_runs_api_crm_lists_signal_agents_latest_runs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/crm/lists/{list_id}/signal-agent/run-now":{"post":{"tags":["signal-agents"],"summary":"Signal Agent Run Now","description":"Enqueue a Signal Agent run immediately.\n\nv2 has no LinkedIn-account dependency — karimgreek and Apify run\nserver-side under the vendor's own account pools. The endpoint uses the\nsame tokenized DB claim as the scheduled sweeper and sends the actor.\n\nIntentionally fires for 'failed' and 'needs_credits' agents too — the\nclaim CAS works from any non-running status, so this doubles as the\nuser-facing Retry for a failed run (a successful run flips the agent\nback to 'ready'; failure stays visible until one succeeds).","operationId":"signal_agent_run_now_api_crm_lists__list_id__signal_agent_run_now_post","parameters":[{"name":"list_id","in":"path","required":true,"schema":{"type":"string","title":"List Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"APIKeyCreateRequest":{"properties":{"title":{"type":"string","maxLength":255,"minLength":1,"title":"Title","description":"Human-readable title for the API key"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description for the API key"},"expires_in_days":{"anyOf":[{"type":"integer","maximum":365.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Expires In Days","description":"Number of days until expiration (max 365)"}},"type":"object","required":["title"],"title":"APIKeyCreateRequest","description":"Request model for creating a new API key"},"APIKeyCreateResponse":{"properties":{"key_id":{"type":"string","format":"uuid","title":"Key Id"},"public_key":{"type":"string","title":"Public Key"},"secret_key":{"type":"string","title":"Secret Key"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"type":"string","title":"Status"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["key_id","public_key","secret_key","title","description","status","expires_at","created_at"],"title":"APIKeyCreateResponse","description":"Response model for newly created API key (includes both keys)"},"APIKeyResponse":{"properties":{"key_id":{"type":"string","format":"uuid","title":"Key Id"},"public_key":{"type":"string","title":"Public Key"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"type":"string","title":"Status"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["key_id","public_key","title","description","status","expires_at","last_used_at","created_at"],"title":"APIKeyResponse","description":"Response model for API key information (without the secret key)"},"AccountColumnEnrichRequest":{"properties":{"columns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Columns"}},"type":"object","title":"AccountColumnEnrichRequest"},"AccountSummaryRefreshRequest":{"properties":{"force":{"type":"boolean","title":"Force","default":false}},"type":"object","title":"AccountSummaryRefreshRequest"},"AddTeamMemberRequest":{"properties":{"user_id":{"type":"string","title":"User Id","description":"User ID to add to team"},"role":{"type":"string","pattern":"^(owner|member)$","title":"Role","description":"Account role","default":"member"}},"type":"object","required":["user_id"],"title":"AddTeamMemberRequest"},"AgentCreateRequest":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"system_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Prompt"},"configured_mcps":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Configured Mcps","default":[]},"custom_mcps":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Custom Mcps","default":[]},"agentpress_tools":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Agentpress Tools","default":{}},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default","default":false},"workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar"},"avatar_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Color"},"profile_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Image Url"}},"type":"object","required":["name"],"title":"AgentCreateRequest"},"AgentResponse":{"properties":{"agent_id":{"type":"string","title":"Agent Id"},"account_id":{"type":"string","title":"Account Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"system_prompt":{"type":"string","title":"System Prompt"},"configured_mcps":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Configured Mcps"},"custom_mcps":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Custom Mcps"},"agentpress_tools":{"additionalProperties":true,"type":"object","title":"Agentpress Tools"},"is_default":{"type":"boolean","title":"Is Default"},"workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar"},"avatar_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Color"},"profile_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Image Url"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"is_public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Public","default":false},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags","default":[]},"current_version_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Version Id"},"version_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version Count","default":1},"current_version":{"anyOf":[{"$ref":"#/components/schemas/AgentVersionResponse"},{"type":"null"}]},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"triggers":{"items":{"$ref":"#/components/schemas/AgentTriggerSummary"},"type":"array","title":"Triggers"}},"type":"object","required":["agent_id","account_id","name","system_prompt","configured_mcps","custom_mcps","agentpress_tools","is_default","created_at"],"title":"AgentResponse"},"AgentStartRequest":{"properties":{"model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Name"},"enable_thinking":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enable Thinking","default":false},"reasoning_effort":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning Effort","default":"low"},"stream":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stream","default":true},"enable_context_manager":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enable Context Manager","default":false},"agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"},"sandbox_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sandbox Enabled"}},"type":"object","title":"AgentStartRequest"},"AgentTriggerSummary":{"properties":{"trigger_id":{"type":"string","title":"Trigger Id"},"agent_id":{"type":"string","title":"Agent Id"},"trigger_type":{"type":"string","title":"Trigger Type"},"provider_id":{"type":"string","title":"Provider Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"is_active":{"type":"boolean","title":"Is Active"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["trigger_id","agent_id","trigger_type","provider_id","is_active","created_at","updated_at"],"title":"AgentTriggerSummary"},"AgentUpdateRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"system_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Prompt"},"configured_mcps":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Configured Mcps"},"custom_mcps":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Custom Mcps"},"agentpress_tools":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Agentpress Tools"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"},"workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar"},"avatar_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Color"},"profile_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Image Url"}},"type":"object","title":"AgentUpdateRequest"},"AgentVersionResponse":{"properties":{"version_id":{"type":"string","title":"Version Id"},"agent_id":{"type":"string","title":"Agent Id"},"version_number":{"type":"integer","title":"Version Number"},"version_name":{"type":"string","title":"Version Name"},"system_prompt":{"type":"string","title":"System Prompt"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"configured_mcps":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Configured Mcps"},"custom_mcps":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Custom Mcps"},"agentpress_tools":{"additionalProperties":true,"type":"object","title":"Agentpress Tools"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"}},"type":"object","required":["version_id","agent_id","version_number","version_name","system_prompt","configured_mcps","custom_mcps","agentpress_tools","is_active","created_at","updated_at"],"title":"AgentVersionResponse"},"AgentsResponse":{"properties":{"agents":{"items":{"$ref":"#/components/schemas/AgentResponse"},"type":"array","title":"Agents"},"pagination":{"$ref":"#/components/schemas/PaginationInfo"}},"type":"object","required":["agents","pagination"],"title":"AgentsResponse"},"ApprovalAction":{"properties":{"review_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Notes"}},"type":"object","title":"ApprovalAction"},"ApprovalActionSelect":{"properties":{"review_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Notes"},"action_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action Id"},"payload_edits":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload Edits"}},"type":"object","title":"ApprovalActionSelect"},"ApprovalCreate":{"properties":{"item_type":{"type":"string","maxLength":80,"minLength":1,"title":"Item Type","default":"message_draft"},"source_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Type"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"channel":{"type":"string","pattern":"^(email|linkedin|manual)$","title":"Channel","default":"email"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"body":{"type":"string","minLength":1,"title":"Body"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"}},"type":"object","required":["body"],"title":"ApprovalCreate"},"ApprovalDecision":{"properties":{"ids":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Ids"},"status":{"type":"string","pattern":"^(approved|rejected|exception)$","title":"Status"},"edited_subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edited Subject"},"edited_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edited Body"},"decision_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision Note"},"send":{"type":"boolean","title":"Send","default":false}},"type":"object","required":["ids","status"],"title":"ApprovalDecision"},"ApprovalExceptionAction":{"properties":{"message":{"type":"string","minLength":1,"title":"Message"}},"type":"object","required":["message"],"title":"ApprovalExceptionAction"},"AutoTopupSettings":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":false},"pack_key":{"type":"string","title":"Pack Key","default":"refill"},"threshold_credits":{"type":"integer","title":"Threshold Credits","default":0},"last_auto_topup_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Auto Topup At"},"last_auto_topup_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Auto Topup Status"}},"type":"object","title":"AutoTopupSettings","description":"User-visible auto top-up preferences.\n\nenabled: opt-in toggle (off by default).\npack_key: which pack to charge — must be one of CREDIT_PACKAGES keys.\nthreshold_credits: trigger when balance drops to/below this many credits.\n    0 (default) means \"auto-buy when the balance hits zero\".\nlast_auto_topup_at / last_auto_topup_status: read-only telemetry for the\n    settings UI (populated on GET from the latest auto-topup\n    credit_purchases row; ignored on PUT). Status is one of\n    'succeeded' | 'failed' | 'pending'."},"BasicSuccessResponse":{"properties":{"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"BasicSuccessResponse"},"BatchApprovalAction":{"properties":{"approval_ids":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Approval Ids"},"action":{"type":"string","pattern":"^(approve|reject)$","title":"Action"},"review_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Notes"}},"type":"object","required":["approval_ids","action"],"title":"BatchApprovalAction"},"Body_compose_inbox_email_api_inbox_compose_post":{"properties":{"inbox_account_id":{"type":"string","title":"Inbox Account Id"},"to":{"type":"string","title":"To"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"body":{"type":"string","title":"Body"},"cc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cc"},"bcc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bcc"},"is_html":{"type":"boolean","title":"Is Html","default":false},"attachment":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Attachment"}},"type":"object","required":["inbox_account_id","to","body"],"title":"Body_compose_inbox_email_api_inbox_compose_post"},"Body_create_file_api_sandboxes__sandbox_id__files_post":{"properties":{"path":{"type":"string","title":"Path"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["path","file"],"title":"Body_create_file_api_sandboxes__sandbox_id__files_post"},"Body_extract_document_endpoint_api_documents_extract_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_extract_document_endpoint_api_documents_extract_post"},"Body_import_accounts_csv_api_crm_accounts_import_csv_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"mapping_json":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mapping Json"},"update_existing":{"type":"boolean","title":"Update Existing","default":false}},"type":"object","required":["file"],"title":"Body_import_accounts_csv_api_crm_accounts_import_csv_post"},"Body_import_contacts_csv_api_crm_contacts_import_csv_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"mapping_json":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mapping Json"},"update_existing":{"type":"boolean","title":"Update Existing","default":false}},"type":"object","required":["file"],"title":"Body_import_contacts_csv_api_crm_contacts_import_csv_post"},"Body_import_csv_to_list_api_crm_lists__list_id__import_csv_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_import_csv_to_list_api_crm_lists__list_id__import_csv_post"},"Body_initiate_agent_with_files_api_agent_initiate_post":{"properties":{"prompt":{"type":"string","title":"Prompt"},"model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Name"},"enable_thinking":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enable Thinking","default":false},"reasoning_effort":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning Effort","default":"low"},"stream":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stream","default":true},"enable_context_manager":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enable Context Manager","default":false},"agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"},"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"},"is_agent_builder":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Agent Builder","default":false},"target_agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Agent Id"},"sandbox_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sandbox Enabled"},"data_room_document_ids":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Room Document Ids"},"data_room_folder_ids":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Room Folder Ids"},"data_room_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Room Scope"},"crm_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Account Id"},"crm_contact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Contact Id"}},"type":"object","required":["prompt"],"title":"Body_initiate_agent_with_files_api_agent_initiate_post"},"Body_preview_accounts_csv_api_crm_accounts_import_csv_preview_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_preview_accounts_csv_api_crm_accounts_import_csv_preview_post"},"Body_preview_contacts_csv_api_crm_contacts_import_csv_preview_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_preview_contacts_csv_api_crm_contacts_import_csv_preview_post"},"Body_reply_to_inbox_email_api_inbox_emails__email_id__reply_post":{"properties":{"body":{"type":"string","title":"Body"},"to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To"},"cc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cc"},"bcc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bcc"},"is_html":{"type":"boolean","title":"Is Html","default":false},"attachment":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Attachment"}},"type":"object","required":["body"],"title":"Body_reply_to_inbox_email_api_inbox_emails__email_id__reply_post"},"Body_submit_feedback_api_feedback_post":{"properties":{"message":{"type":"string","title":"Message"},"page_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Url"},"images":{"anyOf":[{"items":{"type":"string","format":"binary"},"type":"array"},{"type":"null"}],"title":"Images"}},"type":"object","required":["message"],"title":"Body_submit_feedback_api_feedback_post"},"Body_transcribe_audio_api_transcription_post":{"properties":{"audio_file":{"type":"string","format":"binary","title":"Audio File"}},"type":"object","required":["audio_file"],"title":"Body_transcribe_audio_api_transcription_post"},"Body_update_memory_settings_api_memory_settings_put":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"Body_update_memory_settings_api_memory_settings_put"},"Body_update_thread_memory_settings_api_memory_thread__thread_id__settings_put":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"Body_update_thread_memory_settings_api_memory_thread__thread_id__settings_put"},"Body_upload_agent_profile_image_api_agents_profile_image_upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_agent_profile_image_api_agents_profile_image_upload_post"},"Body_upload_documents_api_data_room_documents_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_upload_documents_api_data_room_documents_post"},"Body_upload_documents_api_structured_research_sessions__session_id__documents_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_upload_documents_api_structured_research_sessions__session_id__documents_post"},"Body_upload_file_to_agent_kb_api_knowledge_base_agents__agent_id__upload_file_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_file_to_agent_kb_api_knowledge_base_agents__agent_id__upload_file_post"},"BrowserSessionResponse":{"properties":{"id":{"type":"string","title":"Id"},"domain":{"type":"string","title":"Domain"},"session_data":{"additionalProperties":true,"type":"object","title":"Session Data"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Agent"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","domain","session_data","user_agent","created_at","updated_at"],"title":"BrowserSessionResponse"},"BulkDeleteAccountsRequest":{"properties":{"account_ids":{"items":{"type":"string"},"type":"array","title":"Account Ids"}},"type":"object","title":"BulkDeleteAccountsRequest"},"BulkDeleteContactsRequest":{"properties":{"contact_ids":{"items":{"type":"string"},"type":"array","title":"Contact Ids"}},"type":"object","title":"BulkDeleteContactsRequest"},"BulkDeleteProfilesRequest":{"properties":{"profile_ids":{"items":{"type":"string"},"type":"array","title":"Profile Ids"}},"type":"object","required":["profile_ids"],"title":"BulkDeleteProfilesRequest"},"BulkDeleteProfilesResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"deleted_count":{"type":"integer","title":"Deleted Count"},"failed_profiles":{"items":{"type":"string"},"type":"array","title":"Failed Profiles","default":[]},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","deleted_count","message"],"title":"BulkDeleteProfilesResponse"},"BulkEnrichAccountsRequest":{"properties":{"account_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Account Ids"}},"type":"object","required":["account_ids"],"title":"BulkEnrichAccountsRequest"},"BulkEnrichContactsRequest":{"properties":{"contact_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Contact Ids"}},"type":"object","required":["contact_ids"],"title":"BulkEnrichContactsRequest"},"BulkUnlinkContactsRequest":{"properties":{"contact_ids":{"items":{"type":"string"},"type":"array","title":"Contact Ids"}},"type":"object","title":"BulkUnlinkContactsRequest"},"CRMAccountCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"status":{"type":"string","title":"Status","default":"active"},"fields":{"additionalProperties":true,"type":"object","title":"Fields"},"custom_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Custom Data"},"cell_metadata":{"additionalProperties":true,"type":"object","title":"Cell Metadata"},"sources":{"additionalProperties":{"items":{"$ref":"#/components/schemas/SourcePayload"},"type":"array"},"type":"object","title":"Sources"}},"type":"object","required":["name"],"title":"CRMAccountCreate"},"CRMAccountUpdate":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Fields"},"custom_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Custom Data"},"cell_metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Cell Metadata"},"sources":{"anyOf":[{"additionalProperties":{"items":{"$ref":"#/components/schemas/SourcePayload"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Sources"}},"type":"object","title":"CRMAccountUpdate"},"CRMColumnRequest":{"properties":{"label":{"type":"string","maxLength":120,"minLength":1,"title":"Label"},"data_type":{"type":"string","title":"Data Type","default":"text"},"criteria":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Criteria"}},"type":"object","required":["label"],"title":"CRMColumnRequest"},"CRMContactCreate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"status":{"type":"string","title":"Status","default":"active"},"fields":{"additionalProperties":true,"type":"object","title":"Fields"},"custom_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Custom Data"},"cell_metadata":{"additionalProperties":true,"type":"object","title":"Cell Metadata"},"sources":{"additionalProperties":{"items":{"$ref":"#/components/schemas/SourcePayload"},"type":"array"},"type":"object","title":"Sources"}},"type":"object","title":"CRMContactCreate"},"CRMContactUpdate":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"fields":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Fields"},"custom_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Custom Data"},"cell_metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Cell Metadata"},"sources":{"anyOf":[{"additionalProperties":{"items":{"$ref":"#/components/schemas/SourcePayload"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Sources"}},"type":"object","title":"CRMContactUpdate"},"CRMFindAllRequest":{"properties":{"objective":{"type":"string","minLength":1,"title":"Objective"},"entity_type":{"type":"string","minLength":1,"title":"Entity Type","default":"companies"},"match_conditions":{"items":{"$ref":"#/components/schemas/FindAllCondition"},"type":"array","title":"Match Conditions"},"generator":{"type":"string","title":"Generator","default":"base"},"match_limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Match Limit","default":20}},"type":"object","required":["objective","match_conditions"],"title":"CRMFindAllRequest"},"CRMListCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"objective":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Objective"},"entity_type":{"type":"string","pattern":"^(company|person|custom)$","title":"Entity Type","default":"company"},"source":{"type":"string","pattern":"^(findall|linkedin_sales_nav|people_search|csv_upload|manual|signal_monitoring)$","title":"Source","default":"findall"},"source_payload":{"additionalProperties":true,"type":"object","title":"Source Payload"},"linkedin_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin Account Id"}},"type":"object","required":["name"],"title":"CRMListCreate"},"CRMListManualContact":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"company_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Domain"},"linkedin_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin Url"}},"type":"object","title":"CRMListManualContact"},"CRMListPeopleImportRequest":{"properties":{"persons":{"items":{"$ref":"#/components/schemas/CRMListPersonImport"},"type":"array","minItems":1,"title":"Persons"},"source":{"type":"string","pattern":"^(people_search|linkedin_sales_nav|csv_upload|manual)$","title":"Source","default":"people_search"}},"type":"object","required":["persons"],"title":"CRMListPeopleImportRequest"},"CRMListPersonImport":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"company_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Domain"},"linkedin_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin Url"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"company_logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Logo Url"},"raw":{"additionalProperties":true,"type":"object","title":"Raw"}},"type":"object","title":"CRMListPersonImport","description":"A single person record being added to a list (Apollo result, manual add, or CSV row)."},"CRMListRecordImportRequest":{"properties":{"account_ids":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Account Ids"},"contact_ids":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Contact Ids"}},"type":"object","title":"CRMListRecordImportRequest"},"CRMListRowSaveRequest":{"properties":{"object_type":{"anyOf":[{"type":"string","pattern":"^(account|contact)$"},{"type":"null"}],"title":"Object Type"}},"type":"object","title":"CRMListRowSaveRequest"},"CRMPeopleSearchRequest":{"properties":{"q_keywords":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q Keywords"},"person_titles":{"items":{"type":"string"},"type":"array","title":"Person Titles"},"person_seniorities":{"items":{"type":"string"},"type":"array","title":"Person Seniorities"},"person_locations":{"items":{"type":"string"},"type":"array","title":"Person Locations"},"organization_locations":{"items":{"type":"string"},"type":"array","title":"Organization Locations"},"organization_num_employees_ranges":{"items":{"type":"string"},"type":"array","title":"Organization Num Employees Ranges"},"q_organization_domains_list":{"items":{"type":"string"},"type":"array","title":"Q Organization Domains List"},"page":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Page","default":1},"per_page":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Per Page","default":25}},"type":"object","title":"CRMPeopleSearchRequest"},"CRMViewCreate":{"properties":{"object_type":{"type":"string","minLength":1,"title":"Object Type"},"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"filters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Filters"},"column_visibility":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Column Visibility"},"sort_state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sort State"}},"type":"object","required":["object_type","name"],"title":"CRMViewCreate"},"CRMViewUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Name"},"filters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Filters"},"column_visibility":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Column Visibility"},"sort_state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Sort State"},"sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sort Order"}},"type":"object","title":"CRMViewUpdate"},"CampaignCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"type":"string","title":"Status","default":"draft"},"list_ids":{"items":{"type":"string"},"type":"array","title":"List Ids"},"linkedin_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin Account Id"},"inbox_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inbox Account Id"},"goal":{"anyOf":[{"type":"string","pattern":"^(start_conversations|book_demos)$"},{"type":"null"}],"title":"Goal"},"tone":{"anyOf":[{"type":"string","pattern":"^(professional|conversational|direct)$"},{"type":"null"}],"title":"Tone"},"daily_invite_limit":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Daily Invite Limit"},"daily_message_limit":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":0.0},{"type":"null"}],"title":"Daily Message Limit"},"daily_email_limit":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":0.0},{"type":"null"}],"title":"Daily Email Limit"},"exclude_first_degree":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exclude First Degree"},"review_mode":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Review Mode"},"followup_review_mode":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Followup Review Mode"},"followup_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Followup Enabled"},"followup_max_nudges":{"anyOf":[{"type":"integer","maximum":10.0,"minimum":0.0},{"type":"null"}],"title":"Followup Max Nudges"}},"type":"object","required":["name"],"title":"CampaignCreate"},"CampaignDraftCreate":{"properties":{"campaign_recipient_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign Recipient Id"},"inbox_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inbox Account Id"},"channel":{"type":"string","pattern":"^(email|linkedin)$","title":"Channel","default":"email"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"body":{"type":"string","minLength":1,"title":"Body"},"to":{"items":{"type":"string"},"type":"array","title":"To"},"cc":{"items":{"type":"string"},"type":"array","title":"Cc"},"bcc":{"items":{"type":"string"},"type":"array","title":"Bcc"},"approval_required":{"type":"boolean","title":"Approval Required","default":true},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["body"],"title":"CampaignDraftCreate"},"CampaignDraftFromPromptRequest":{"properties":{"prompt":{"type":"string","maxLength":2000,"minLength":4,"title":"Prompt"},"has_linkedin_sender":{"type":"boolean","title":"Has Linkedin Sender","default":true},"has_inbox_sender":{"type":"boolean","title":"Has Inbox Sender","default":false}},"type":"object","required":["prompt"],"title":"CampaignDraftFromPromptRequest"},"CampaignListsReplace":{"properties":{"list_ids":{"items":{"type":"string"},"type":"array","title":"List Ids"}},"type":"object","title":"CampaignListsReplace"},"CampaignRecipientCreate":{"properties":{"contact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Id"},"account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"status":{"type":"string","title":"Status","default":"queued"},"personalization":{"additionalProperties":true,"type":"object","title":"Personalization"}},"type":"object","title":"CampaignRecipientCreate"},"CampaignRecipientOverride":{"properties":{"status":{"anyOf":[{"type":"string","pattern":"^(pending_review|queued|active|waiting_for_acceptance|paused|replied|completed|rejected|failed)$"},{"type":"null"}],"title":"Status"},"outcome":{"anyOf":[{"type":"string","pattern":"^(converted|not_interested|wrong_fit|no_budget|has_solution|bad_timing|unresponsive|unknown)$"},{"type":"null"}],"title":"Outcome"}},"type":"object","title":"CampaignRecipientOverride"},"CampaignStepCreate":{"properties":{"step_type":{"type":"string","pattern":"^(connect_invitation|connect_invitation_with_note|message|voice_message|visit_profile|email)$","title":"Step Type","default":"message"},"generation_mode":{"type":"string","pattern":"^(template|ai_icebreaker)$","title":"Generation Mode","default":"template"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"delay_days":{"type":"integer","maximum":365.0,"minimum":0.0,"title":"Delay Days","default":0},"delay_minutes":{"type":"integer","maximum":43200.0,"minimum":0.0,"title":"Delay Minutes","default":0},"attachment_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attachment Url"},"gif_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gif Url"},"voice_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice Url"},"insert_after_step_order":{"anyOf":[{"type":"integer","minimum":-1.0},{"type":"null"}],"title":"Insert After Step Order"}},"type":"object","title":"CampaignStepCreate"},"CampaignStepUpdate":{"properties":{"step_type":{"anyOf":[{"type":"string","pattern":"^(connect_invitation|connect_invitation_with_note|message|voice_message|visit_profile|email)$"},{"type":"null"}],"title":"Step Type"},"generation_mode":{"anyOf":[{"type":"string","pattern":"^(template|ai_icebreaker)$"},{"type":"null"}],"title":"Generation Mode"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"delay_days":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":0.0},{"type":"null"}],"title":"Delay Days"},"delay_minutes":{"anyOf":[{"type":"integer","maximum":43200.0,"minimum":0.0},{"type":"null"}],"title":"Delay Minutes"},"attachment_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attachment Url"},"gif_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gif Url"},"voice_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice Url"}},"type":"object","title":"CampaignStepUpdate"},"CampaignUpdate":{"properties":{"id":{"type":"string","title":"Id"},"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"type":"string","pattern":"^(draft|active|paused|completed)$"},{"type":"null"}],"title":"Status"},"goal":{"anyOf":[{"type":"string","pattern":"^(start_conversations|book_demos)$"},{"type":"null"}],"title":"Goal"},"tone":{"anyOf":[{"type":"string","pattern":"^(professional|conversational|direct)$"},{"type":"null"}],"title":"Tone"},"daily_invite_limit":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Daily Invite Limit"},"daily_message_limit":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":0.0},{"type":"null"}],"title":"Daily Message Limit"},"daily_email_limit":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":0.0},{"type":"null"}],"title":"Daily Email Limit"},"exclude_first_degree":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exclude First Degree"},"review_mode":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Review Mode"},"followup_review_mode":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Followup Review Mode"},"followup_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Followup Enabled"},"followup_max_nudges":{"anyOf":[{"type":"integer","maximum":10.0,"minimum":0.0},{"type":"null"}],"title":"Followup Max Nudges"},"linkedin_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin Account Id"},"inbox_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Inbox Account Id"}},"type":"object","required":["id"],"title":"CampaignUpdate"},"CancelRequest":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Reason"}},"type":"object","title":"CancelRequest","description":"Optional cancel context. ``reason`` is one of the frontend picker\nvalues (too_expensive / missing_features / not_enough_value /\njust_testing / other) but any short string is accepted — it lands in\nStripe ``cancellation_details`` and the structured log, no DB column."},"CellRange":{"properties":{"start_row":{"type":"integer","minimum":0.0,"title":"Start Row"},"end_row":{"type":"integer","minimum":0.0,"title":"End Row"},"start_col":{"type":"integer","minimum":0.0,"title":"Start Col"},"end_col":{"type":"integer","minimum":0.0,"title":"End Col"}},"type":"object","required":["start_row","end_row","start_col","end_col"],"title":"CellRange","description":"Cell range for enrichment"},"CheckoutRequest":{"properties":{"tier":{"type":"string","title":"Tier"},"success_url":{"type":"string","title":"Success Url"},"cancel_url":{"type":"string","title":"Cancel Url"}},"type":"object","required":["tier","success_url","cancel_url"],"title":"CheckoutRequest"},"CommentRequest":{"properties":{"text":{"type":"string","maxLength":1250,"minLength":1,"title":"Text"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["text"],"title":"CommentRequest"},"CompanyContextCompetitor":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"domain":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Domain"},"linkedin_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Linkedin Url"}},"type":"object","required":["name"],"title":"CompanyContextCompetitor"},"CompanyContextFounder":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"linkedin_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Linkedin Url"}},"type":"object","required":["name"],"title":"CompanyContextFounder"},"CompanyContextUpdate":{"properties":{"company_name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Company Name"},"company_url":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Company Url"},"summary":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Summary"},"founders":{"items":{"$ref":"#/components/schemas/CompanyContextFounder"},"type":"array","title":"Founders"},"own_company_linkedin_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Own Company Linkedin Url"},"competitors":{"items":{"$ref":"#/components/schemas/CompanyContextCompetitor"},"type":"array","title":"Competitors"},"source_description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Source Description"}},"type":"object","title":"CompanyContextUpdate","description":"Editable company snapshot shown on the agent config pages.\n\nDisplay/config metadata only — the worker never reads it. LinkedIn URL\nresolution for scraping still flows exclusively through the gated\n``competitor_companies`` / ``own_company_urls`` fields."},"ComposioCredentialsResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"toolkits":{"items":{"$ref":"#/components/schemas/ComposioToolkitGroup"},"type":"array","title":"Toolkits"},"total_profiles":{"type":"integer","title":"Total Profiles"}},"type":"object","required":["success","toolkits","total_profiles"],"title":"ComposioCredentialsResponse"},"ComposioMcpUrlResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"mcp_url":{"type":"string","title":"Mcp Url"},"profile_name":{"type":"string","title":"Profile Name"},"toolkit_name":{"type":"string","title":"Toolkit Name"},"warning":{"type":"string","title":"Warning"}},"type":"object","required":["success","mcp_url","profile_name","toolkit_name","warning"],"title":"ComposioMcpUrlResponse"},"ComposioProfileSummary":{"properties":{"profile_id":{"type":"string","title":"Profile Id"},"profile_name":{"type":"string","title":"Profile Name"},"display_name":{"type":"string","title":"Display Name"},"toolkit_slug":{"type":"string","title":"Toolkit Slug"},"toolkit_name":{"type":"string","title":"Toolkit Name"},"is_connected":{"type":"boolean","title":"Is Connected"},"is_default":{"type":"boolean","title":"Is Default"},"created_at":{"type":"string","title":"Created At"},"has_mcp_url":{"type":"boolean","title":"Has Mcp Url"}},"type":"object","required":["profile_id","profile_name","display_name","toolkit_slug","toolkit_name","is_connected","is_default","created_at","has_mcp_url"],"title":"ComposioProfileSummary"},"ComposioToolkitGroup":{"properties":{"toolkit_slug":{"type":"string","title":"Toolkit Slug"},"toolkit_name":{"type":"string","title":"Toolkit Name"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"},"profiles":{"items":{"$ref":"#/components/schemas/ComposioProfileSummary"},"type":"array","title":"Profiles"}},"type":"object","required":["toolkit_slug","toolkit_name","profiles"],"title":"ComposioToolkitGroup"},"ConnectionResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"connections":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Connections"},"count":{"type":"integer","title":"Count"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["success","connections","count"],"title":"ConnectionResponse"},"ConnectionTokenResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link"},"token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"},"external_user_id":{"type":"string","title":"External User Id","default":""},"app":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["success"],"title":"ConnectionTokenResponse"},"ContactColumnEnrichRequest":{"properties":{"columns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Columns"}},"type":"object","title":"ContactColumnEnrichRequest"},"ContactSummaryRefreshRequest":{"properties":{"force":{"type":"boolean","title":"Force","default":false}},"type":"object","title":"ContactSummaryRefreshRequest"},"CreateCheckoutSessionRequest":{"properties":{"price_id":{"type":"string","title":"Price Id"},"success_url":{"type":"string","title":"Success Url"},"cancel_url":{"type":"string","title":"Cancel Url"},"tolt_referral":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tolt Referral"},"commitment_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commitment Type"},"coupon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coupon"},"skip_trial":{"type":"boolean","title":"Skip Trial","default":false}},"type":"object","required":["price_id","success_url","cancel_url"],"title":"CreateCheckoutSessionRequest"},"CreateComposioTriggerRequest":{"properties":{"agent_id":{"type":"string","title":"Agent Id"},"profile_id":{"type":"string","title":"Profile Id"},"slug":{"type":"string","title":"Slug"},"trigger_config":{"additionalProperties":true,"type":"object","title":"Trigger Config"},"route":{"type":"string","title":"Route"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"agent_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Prompt"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"},"workflow_input":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Workflow Input"},"connected_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connected Account Id"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"toolkit_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Toolkit Slug"}},"type":"object","required":["agent_id","profile_id","slug","trigger_config","route"],"title":"CreateComposioTriggerRequest"},"CreateConnectionTokenRequest":{"properties":{"app":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App"}},"type":"object","title":"CreateConnectionTokenRequest"},"CreateFolderRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"parent_path":{"type":"string","title":"Parent Path","default":"/"}},"type":"object","required":["name"],"title":"CreateFolderRequest"},"CreateKnowledgeBaseEntryRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"content":{"type":"string","minLength":1,"title":"Content"},"usage_context":{"type":"string","pattern":"^(always|on_request|contextual)$","title":"Usage Context","default":"always"}},"type":"object","required":["name","content"],"title":"CreateKnowledgeBaseEntryRequest"},"CreateMemoryRequest":{"properties":{"content":{"type":"string","title":"Content"},"memory_type":{"type":"string","title":"Memory Type","default":"fact"},"confidence_score":{"type":"number","title":"Confidence Score","default":0.8},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","default":{}}},"type":"object","required":["content"],"title":"CreateMemoryRequest"},"CreatePortalSessionRequest":{"properties":{"return_url":{"type":"string","title":"Return Url"}},"type":"object","required":["return_url"],"title":"CreatePortalSessionRequest"},"CreateProfileRequest":{"properties":{"toolkit_slug":{"type":"string","title":"Toolkit Slug"},"profile_name":{"type":"string","title":"Profile Name"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"mcp_server_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp Server Name"},"is_default":{"type":"boolean","title":"Is Default","default":false},"initiation_fields":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Initiation Fields"}},"type":"object","required":["toolkit_slug","profile_name"],"title":"CreateProfileRequest"},"CreateSessionRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"session_type":{"type":"string","pattern":"^(enrichment|document_analysis)$","title":"Session Type"},"workspace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Id"},"initial_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Initial Data"},"column_headers":{"items":{"type":"string"},"type":"array","title":"Column Headers","default":[]}},"type":"object","required":["name","session_type"],"title":"CreateSessionRequest","description":"Request to create a new research session"},"CreateShareLinkResponse":{"properties":{"share_id":{"type":"string","title":"Share Id"},"share_url":{"type":"string","title":"Share Url"}},"type":"object","required":["share_id","share_url"],"title":"CreateShareLinkResponse"},"CreateTeamRequest":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name","description":"Team name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug","description":"URL slug (auto-generated from name if omitted)"}},"type":"object","required":["name"],"title":"CreateTeamRequest"},"CreateTemplateRequest":{"properties":{"agent_id":{"type":"string","title":"Agent Id"},"make_public":{"type":"boolean","title":"Make Public","default":false},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"}},"type":"object","required":["agent_id"],"title":"CreateTemplateRequest"},"CreateThreadRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"thread_type":{"type":"string","title":"Thread Type","default":"agent"}},"type":"object","title":"CreateThreadRequest"},"CreateThreadResponse":{"properties":{"thread_id":{"type":"string","title":"Thread Id"},"project_id":{"type":"string","title":"Project Id"}},"type":"object","required":["thread_id","project_id"],"title":"CreateThreadResponse"},"CreateUserRequest":{"properties":{"email":{"type":"string","title":"Email","description":"User email address"},"password":{"anyOf":[{"type":"string","minLength":8},{"type":"null"}],"title":"Password","description":"Password (auto-generated if omitted)"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"User display name"}},"type":"object","required":["email"],"title":"CreateUserRequest"},"CreateVersionRequest":{"properties":{"system_prompt":{"type":"string","title":"System Prompt"},"playbook":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Playbook"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"configured_mcps":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Configured Mcps","default":[]},"custom_mcps":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Custom Mcps","default":[]},"agentpress_tools":{"additionalProperties":true,"type":"object","title":"Agentpress Tools","default":{}},"version_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["system_prompt"],"title":"CreateVersionRequest"},"CredentialProfileResponse":{"properties":{"profile_id":{"type":"string","title":"Profile Id"},"mcp_qualified_name":{"type":"string","title":"Mcp Qualified Name"},"profile_name":{"type":"string","title":"Profile Name"},"display_name":{"type":"string","title":"Display Name"},"config_keys":{"items":{"type":"string"},"type":"array","title":"Config Keys"},"is_active":{"type":"boolean","title":"Is Active"},"is_default":{"type":"boolean","title":"Is Default"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["profile_id","mcp_qualified_name","profile_name","display_name","config_keys","is_active","is_default"],"title":"CredentialProfileResponse"},"CredentialResponse":{"properties":{"credential_id":{"type":"string","title":"Credential Id"},"mcp_qualified_name":{"type":"string","title":"Mcp Qualified Name"},"display_name":{"type":"string","title":"Display Name"},"config_keys":{"items":{"type":"string"},"type":"array","title":"Config Keys"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["credential_id","mcp_qualified_name","display_name","config_keys","is_active"],"title":"CredentialResponse"},"CustomMCPDiscoverRequest":{"properties":{"type":{"type":"string","title":"Type"},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["type","config"],"title":"CustomMCPDiscoverRequest"},"DataRoomResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"total_documents":{"type":"integer","title":"Total Documents","default":0},"total_size_bytes":{"type":"integer","title":"Total Size Bytes","default":0},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","name","created_at","updated_at"],"title":"DataRoomResponse"},"DeleteAccountRequest":{"properties":{"confirmation":{"type":"string","title":"Confirmation","description":"Must be 'DELETE MY ACCOUNT'"}},"type":"object","required":["confirmation"],"title":"DeleteAccountRequest","description":"Request model for account deletion"},"DeleteAccountResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"DeleteAccountResponse","description":"Response model for account deletion"},"DeleteListMembersRequest":{"properties":{"member_ids":{"items":{"type":"string"},"type":"array","title":"Member Ids"}},"type":"object","title":"DeleteListMembersRequest"},"DeleteThreadsRequest":{"properties":{"thread_ids":{"items":{"type":"string"},"type":"array","title":"Thread Ids"}},"type":"object","required":["thread_ids"],"title":"DeleteThreadsRequest"},"DocumentResponse":{"properties":{"id":{"type":"string","title":"Id"},"filename":{"type":"string","title":"Filename"},"original_filename":{"type":"string","title":"Original Filename"},"file_size":{"type":"integer","title":"File Size"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mime Type"},"folder_path":{"type":"string","title":"Folder Path"},"processing_status":{"type":"string","title":"Processing Status"},"chunks_count":{"type":"integer","title":"Chunks Count","default":0},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","filename","original_filename","file_size","mime_type","folder_path","processing_status","created_at","updated_at"],"title":"DocumentResponse"},"EmailResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"EmailResponse"},"EnrichmentRequest":{"properties":{"ranges":{"items":{"$ref":"#/components/schemas/CellRange"},"type":"array","title":"Ranges"},"processor_mode":{"type":"string","pattern":"^(lite|base|core|pro)$","title":"Processor Mode","default":"lite"}},"type":"object","required":["ranges"],"title":"EnrichmentRequest","description":"Request to enrich cells with data"},"ExportSelection":{"properties":{"ids":{"items":{"type":"string"},"type":"array","maxItems":5000,"title":"Ids"}},"type":"object","title":"ExportSelection"},"FeedSubscriptionCreate":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"include_keywords":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Include Keywords"},"exclude_keywords":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Exclude Keywords"},"source_filter":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Source Filter"},"is_active":{"type":"boolean","title":"Is Active","default":true},"daily_cap":{"type":"integer","maximum":2000.0,"minimum":1.0,"title":"Daily Cap","default":500},"scan_priority":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Scan Priority","default":0},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"labels":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":12},{"type":"null"}],"title":"Labels"}},"type":"object","required":["name","include_keywords"],"title":"FeedSubscriptionCreate"},"FeedSubscriptionUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Name"},"include_keywords":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1},{"type":"null"}],"title":"Include Keywords"},"exclude_keywords":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Exclude Keywords"},"source_filter":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Source Filter"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"daily_cap":{"anyOf":[{"type":"integer","maximum":2000.0,"minimum":1.0},{"type":"null"}],"title":"Daily Cap"},"scan_priority":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Scan Priority"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"labels":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":12},{"type":"null"}],"title":"Labels"}},"type":"object","title":"FeedSubscriptionUpdate"},"FeedbackResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"feedback_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feedback Id"}},"type":"object","required":["success","message"],"title":"FeedbackResponse"},"FileLinkCreate":{"properties":{"crm_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Account Id"},"crm_contact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Contact Id"},"name":{"type":"string","maxLength":300,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"url":{"type":"string","maxLength":2000,"minLength":1,"title":"Url"},"mime_type":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Mime Type"},"size_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Size Bytes"}},"type":"object","required":["name","url"],"title":"FileLinkCreate"},"FileUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"url":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Url"}},"type":"object","title":"FileUpdate"},"FindAllCandidateData":{"properties":{"candidate_id":{"type":"string","title":"Candidate Id"},"name":{"type":"string","title":"Name","default":""},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"description":{"type":"string","title":"Description","default":""},"match_status":{"type":"string","title":"Match Status","default":"generated"},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Output"},"basis":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Basis"}},"type":"object","required":["candidate_id"],"title":"FindAllCandidateData"},"FindAllCondition":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"},"description":{"type":"string","title":"Description","default":""}},"type":"object","required":["name"],"title":"FindAllCondition"},"FindAllCreateRunRequest":{"properties":{"objective":{"type":"string","minLength":1,"title":"Objective"},"entity_type":{"type":"string","minLength":1,"title":"Entity Type"},"match_conditions":{"items":{"$ref":"#/components/schemas/FindAllMatchCondition"},"type":"array","title":"Match Conditions"},"generator":{"type":"string","title":"Generator","default":"base"},"match_limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Match Limit","default":20}},"type":"object","required":["objective","entity_type","match_conditions"],"title":"FindAllCreateRunRequest"},"FindAllEnrichRunRequest":{"properties":{"processor":{"type":"string","title":"Processor","default":"core"},"output_schema":{"additionalProperties":true,"type":"object","title":"Output Schema"}},"type":"object","required":["output_schema"],"title":"FindAllEnrichRunRequest"},"FindAllExtendRequest":{"properties":{"additional_match_limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Additional Match Limit"}},"type":"object","required":["additional_match_limit"],"title":"FindAllExtendRequest"},"FindAllIngestRequest":{"properties":{"objective":{"type":"string","maxLength":2000,"minLength":1,"title":"Objective"}},"type":"object","required":["objective"],"title":"FindAllIngestRequest"},"FindAllInitSessionRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"objective":{"type":"string","minLength":1,"title":"Objective"},"match_conditions":{"items":{"$ref":"#/components/schemas/FindAllMatchCondition"},"type":"array","title":"Match Conditions"}},"type":"object","required":["objective","match_conditions"],"title":"FindAllInitSessionRequest"},"FindAllMatchCondition":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"},"description":{"type":"string","title":"Description","default":""}},"type":"object","required":["name"],"title":"FindAllMatchCondition"},"FindAllSaveRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"objective":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Objective"},"match_conditions":{"anyOf":[{"items":{"$ref":"#/components/schemas/FindAllMatchCondition"},"type":"array"},{"type":"null"}],"title":"Match Conditions"}},"type":"object","title":"FindAllSaveRequest"},"FindAllUpsertCandidatesRequest":{"properties":{"candidates":{"items":{"$ref":"#/components/schemas/FindAllCandidateData"},"type":"array","title":"Candidates"},"match_conditions":{"anyOf":[{"items":{"$ref":"#/components/schemas/FindAllMatchCondition"},"type":"array"},{"type":"null"}],"title":"Match Conditions"}},"type":"object","required":["candidates"],"title":"FindAllUpsertCandidatesRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ImpersonationControlRequest":{"properties":{"control_token":{"type":"string","minLength":16,"title":"Control Token"}},"type":"object","required":["control_token"],"title":"ImpersonationControlRequest"},"InboxAccountBadgeResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"email_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Address"},"grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Id"},"connection_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Profile Id"},"connected_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connected Account Id"}},"type":"object","title":"InboxAccountBadgeResponse"},"InboxAccountCreateRequest":{"properties":{"profile_id":{"type":"string","title":"Profile Id"},"email_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Address"},"composio_trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Composio Trigger Id"}},"type":"object","required":["profile_id"],"title":"InboxAccountCreateRequest"},"InboxAccountResponse":{"properties":{"id":{"type":"string","title":"Id"},"provider":{"type":"string","title":"Provider"},"grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Id"},"composio_trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Composio Trigger Id"},"connection_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Profile Id"},"connected_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connected Account Id"},"email_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Address"},"is_active":{"type":"boolean","title":"Is Active"},"sync_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sync Status"},"last_synced_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Synced At"},"last_sync_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Sync Error"},"sync_progress_done":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sync Progress Done"},"sync_progress_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sync Progress Total"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"email_count":{"type":"integer","title":"Email Count","default":0},"crm_seed_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Seed Mode"},"backsync_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Backsync Days"},"seed_personal_emails":{"type":"boolean","title":"Seed Personal Emails","default":false},"do_not_track_patterns":{"items":{"type":"string"},"type":"array","title":"Do Not Track Patterns"}},"type":"object","required":["id","provider","is_active","created_at","updated_at"],"title":"InboxAccountResponse"},"InboxAccountStatusResponse":{"properties":{"id":{"type":"string","title":"Id"},"provider":{"type":"string","title":"Provider"},"grant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Id"},"composio_trigger_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Composio Trigger Id"},"connection_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connection Profile Id"},"connected_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connected Account Id"},"email_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Address"},"is_active":{"type":"boolean","title":"Is Active"},"sync_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sync Status"},"last_synced_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Synced At"},"last_sync_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Sync Error"},"sync_progress_done":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sync Progress Done"},"sync_progress_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sync Progress Total"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"email_count":{"type":"integer","title":"Email Count","default":0},"crm_seed_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Seed Mode"},"backsync_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Backsync Days"},"seed_personal_emails":{"type":"boolean","title":"Seed Personal Emails","default":false},"do_not_track_patterns":{"items":{"type":"string"},"type":"array","title":"Do Not Track Patterns"},"remote_status":{"additionalProperties":true,"type":"object","title":"Remote Status"}},"type":"object","required":["id","provider","is_active","created_at","updated_at"],"title":"InboxAccountStatusResponse"},"InboxAccountUpdateRequest":{"properties":{"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"crm_seed_mode":{"anyOf":[{"type":"string","enum":["disabled","responses","selective","always"]},{"type":"null"}],"title":"Crm Seed Mode","description":"Account & contact creation mode: 'disabled', 'responses' (inbound replies to outbound mail), 'selective' (outbound only), or 'always'."},"backsync_days":{"anyOf":[{"type":"integer","enum":[30,60,90]},{"type":"null"}],"title":"Backsync Days","description":"Initial backsync window in days. One of 30 / 60 / 90 (1 / 2 / 3 months)."},"seed_personal_emails":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Seed Personal Emails","description":"When true, contacts at personal-mail providers (gmail/yahoo/outlook/etc.) are seeded into the CRM. Default false — most senders at those domains are friends-and-family, not B2B prospects."},"do_not_track_patterns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Do Not Track Patterns","description":"Per-mailbox deny-list of email addresses or domain patterns to skip during CRM seeding. Plain string = exact domain match; ``*`` or ``?`` enables fnmatch wildcards (e.g. ``noreply.*``)."}},"type":"object","title":"InboxAccountUpdateRequest"},"InboxActionResponse":{"properties":{"id":{"type":"string","title":"Id"},"agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"},"status":{"type":"string","title":"Status"},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"},"project_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Id"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"executed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Executed At"}},"type":"object","required":["id","status"],"title":"InboxActionResponse"},"InboxArchiveRequest":{"properties":{"archived":{"type":"boolean","title":"Archived","default":true}},"type":"object","title":"InboxArchiveRequest"},"InboxAttachmentResponse":{"properties":{"attachment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attachment Id"},"filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filename"},"size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mime Type"}},"type":"object","title":"InboxAttachmentResponse"},"InboxAuthUrlResponse":{"properties":{"auth_url":{"type":"string","title":"Auth Url"}},"type":"object","required":["auth_url"],"title":"InboxAuthUrlResponse"},"InboxCategoryCreateRequest":{"properties":{"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"display_name":{"type":"string","maxLength":100,"minLength":1,"title":"Display Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"example_subjects":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Example Subjects"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"}},"type":"object","required":["display_name"],"title":"InboxCategoryCreateRequest"},"InboxCategoryResponse":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"display_name":{"type":"string","title":"Display Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"example_subjects":{"items":{"type":"string"},"type":"array","title":"Example Subjects"},"is_default":{"type":"boolean","title":"Is Default"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"},"sort_order":{"type":"integer","title":"Sort Order"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","slug","display_name","is_default","sort_order"],"title":"InboxCategoryResponse"},"InboxCategoryStatsResponse":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"display_name":{"type":"string","title":"Display Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"example_subjects":{"items":{"type":"string"},"type":"array","title":"Example Subjects"},"is_default":{"type":"boolean","title":"Is Default"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"},"sort_order":{"type":"integer","title":"Sort Order"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["id","slug","display_name","is_default","sort_order","count"],"title":"InboxCategoryStatsResponse"},"InboxCategoryUpdateRequest":{"properties":{"display_name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Display Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"example_subjects":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Example Subjects"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"}},"type":"object","title":"InboxCategoryUpdateRequest"},"InboxComposioConnectUrlRequest":{"properties":{"provider":{"type":"string","maxLength":20,"minLength":1,"title":"Provider"},"frontend_origin":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Frontend Origin"},"email_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Address"},"return_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Path","default":"/inbox/settings/connect/callback"},"crm_seed_mode":{"anyOf":[{"type":"string","enum":["disabled","responses","selective","always"]},{"type":"null"}],"title":"Crm Seed Mode","description":"One of 'disabled' | 'responses' | 'selective' | 'always'."},"backsync_days":{"anyOf":[{"type":"integer","enum":[30,60,90]},{"type":"null"}],"title":"Backsync Days","description":"Initial backsync window in days. One of 30 / 60 / 90."}},"type":"object","required":["provider"],"title":"InboxComposioConnectUrlRequest"},"InboxComposioExchangeRequest":{"properties":{"code":{"type":"string","minLength":1,"title":"Code"},"state":{"type":"string","minLength":1,"title":"State"},"crm_seed_mode":{"anyOf":[{"type":"string","enum":["disabled","responses","selective","always"]},{"type":"null"}],"title":"Crm Seed Mode","description":"One of 'disabled' | 'responses' | 'selective' | 'always'."},"backsync_days":{"anyOf":[{"type":"integer","enum":[30,60,90]},{"type":"null"}],"title":"Backsync Days","description":"Initial backsync window in days. One of 30 / 60 / 90."}},"type":"object","required":["code","state"],"title":"InboxComposioExchangeRequest"},"InboxEmailDetailResponse":{"properties":{"id":{"type":"string","title":"Id"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"sender":{"type":"string","title":"Sender"},"sender_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender Name"},"recipients":{"items":{"$ref":"#/components/schemas/InboxRecipientResponse"},"type":"array","title":"Recipients"},"direction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Direction"},"received_at":{"type":"string","title":"Received At"},"has_attachments":{"type":"boolean","title":"Has Attachments"},"attachment_metadata":{"items":{"$ref":"#/components/schemas/InboxAttachmentResponse"},"type":"array","title":"Attachment Metadata"},"is_archived":{"type":"boolean","title":"Is Archived"},"labels":{"items":{"$ref":"#/components/schemas/InboxLabelResponse"},"type":"array","title":"Labels"},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"},"preview":{"type":"string","title":"Preview"},"inbox_account":{"$ref":"#/components/schemas/InboxAccountBadgeResponse"},"body_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Text"},"body_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Html"},"message_count":{"type":"integer","title":"Message Count","default":1},"message_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Id"},"internet_message_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Internet Message Id"},"actions":{"items":{"$ref":"#/components/schemas/InboxActionResponse"},"type":"array","title":"Actions"}},"type":"object","required":["id","sender","received_at","has_attachments","is_archived","preview","inbox_account"],"title":"InboxEmailDetailResponse"},"InboxEmailListDataResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/InboxEmailResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["total"],"title":"InboxEmailListDataResponse"},"InboxEmailResponse":{"properties":{"id":{"type":"string","title":"Id"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"sender":{"type":"string","title":"Sender"},"sender_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender Name"},"recipients":{"items":{"$ref":"#/components/schemas/InboxRecipientResponse"},"type":"array","title":"Recipients"},"direction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Direction"},"received_at":{"type":"string","title":"Received At"},"has_attachments":{"type":"boolean","title":"Has Attachments"},"attachment_metadata":{"items":{"$ref":"#/components/schemas/InboxAttachmentResponse"},"type":"array","title":"Attachment Metadata"},"is_archived":{"type":"boolean","title":"Is Archived"},"labels":{"items":{"$ref":"#/components/schemas/InboxLabelResponse"},"type":"array","title":"Labels"},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"},"preview":{"type":"string","title":"Preview"},"inbox_account":{"$ref":"#/components/schemas/InboxAccountBadgeResponse"},"body_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Text"},"body_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Html"},"message_count":{"type":"integer","title":"Message Count","default":1}},"type":"object","required":["id","sender","received_at","has_attachments","is_archived","preview","inbox_account"],"title":"InboxEmailResponse"},"InboxLabelResponse":{"properties":{"id":{"type":"string","title":"Id"},"category_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Id"},"category_slug":{"type":"string","title":"Category Slug"},"display_name":{"type":"string","title":"Display Name"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"},"confidence":{"type":"number","title":"Confidence"},"reasoning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning"},"extracted_entities":{"additionalProperties":true,"type":"object","title":"Extracted Entities"},"is_primary":{"type":"boolean","title":"Is Primary"},"label_applied":{"type":"boolean","title":"Label Applied"},"added_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added By"}},"type":"object","required":["id","category_slug","display_name","confidence","is_primary","label_applied"],"title":"InboxLabelResponse"},"InboxManualRouteRequest":{"properties":{"agent_id":{"type":"string","title":"Agent Id"}},"type":"object","required":["agent_id"],"title":"InboxManualRouteRequest"},"InboxPendingDraftActionResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"action_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action Type"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"is_recommended":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Recommended"},"display_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Order"}},"type":"object","title":"InboxPendingDraftActionResponse"},"InboxPendingDraftResponse":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","title":"Created At"},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"to":{"items":{"type":"string"},"type":"array","title":"To"},"cc":{"items":{"type":"string"},"type":"array","title":"Cc"},"bcc":{"items":{"type":"string"},"type":"array","title":"Bcc"},"selected_action_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Action Id"},"actions":{"items":{"$ref":"#/components/schemas/InboxPendingDraftActionResponse"},"type":"array","title":"Actions"}},"type":"object","required":["id","status","created_at"],"title":"InboxPendingDraftResponse"},"InboxRecipientResponse":{"properties":{"email":{"type":"string","title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["email"],"title":"InboxRecipientResponse"},"InboxRelabelRequest":{"properties":{"category_slugs":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Category Slugs"}},"type":"object","required":["category_slugs"],"title":"InboxRelabelRequest"},"InboxRoutingRuleCreateRequest":{"properties":{"category_slug":{"type":"string","title":"Category Slug"},"agent_id":{"type":"string","title":"Agent Id"},"execution_type":{"type":"string","title":"Execution Type","default":"agent"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"},"agent_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Prompt"}},"type":"object","required":["category_slug","agent_id"],"title":"InboxRoutingRuleCreateRequest"},"InboxRoutingRuleResponse":{"properties":{"id":{"type":"string","title":"Id"},"account_id":{"type":"string","title":"Account Id"},"category_slug":{"type":"string","title":"Category Slug"},"agent_id":{"type":"string","title":"Agent Id"},"execution_type":{"type":"string","title":"Execution Type"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"},"agent_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Prompt"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","account_id","category_slug","agent_id","execution_type","is_active"],"title":"InboxRoutingRuleResponse"},"InboxRoutingRuleUpdateRequest":{"properties":{"category_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Slug"},"agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id"},"execution_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Execution Type"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"},"agent_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Prompt"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"InboxRoutingRuleUpdateRequest"},"InboxStatsResponse":{"properties":{"totals":{"additionalProperties":{"type":"integer"},"type":"object","title":"Totals"},"categories":{"items":{"$ref":"#/components/schemas/InboxCategoryStatsResponse"},"type":"array","title":"Categories"},"actions":{"additionalProperties":{"type":"integer"},"type":"object","title":"Actions"}},"type":"object","required":["totals"],"title":"InboxStatsResponse"},"InboxThreadResponse":{"properties":{"email":{"$ref":"#/components/schemas/InboxEmailDetailResponse"},"messages":{"items":{"$ref":"#/components/schemas/InboxEmailResponse"},"type":"array","title":"Messages"},"pending_drafts":{"items":{"$ref":"#/components/schemas/InboxPendingDraftResponse"},"type":"array","title":"Pending Drafts"}},"type":"object","required":["email"],"title":"InboxThreadResponse"},"InitiateAgentResponse":{"properties":{"thread_id":{"type":"string","title":"Thread Id"},"agent_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Run Id"},"sandbox_created":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sandbox Created","default":false}},"type":"object","required":["thread_id"],"title":"InitiateAgentResponse"},"InstallTemplateRequest":{"properties":{"template_id":{"type":"string","title":"Template Id"},"instance_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instance Name"},"custom_system_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom System Prompt"},"profile_mappings":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Profile Mappings"},"custom_mcp_configs":{"anyOf":[{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object"},{"type":"null"}],"title":"Custom Mcp Configs"}},"type":"object","required":["template_id"],"title":"InstallTemplateRequest"},"InstallationResponse":{"properties":{"status":{"type":"string","title":"Status"},"instance_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instance Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"missing_regular_credentials":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Missing Regular Credentials","default":[]},"missing_custom_configs":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Missing Custom Configs","default":[]},"template_info":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Template Info"}},"type":"object","required":["status"],"title":"InstallationResponse"},"IntegrateToolkitRequest":{"properties":{"toolkit_slug":{"type":"string","title":"Toolkit Slug"},"profile_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Name"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"mcp_server_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp Server Name"},"save_as_profile":{"type":"boolean","title":"Save As Profile","default":true}},"type":"object","required":["toolkit_slug"],"title":"IntegrateToolkitRequest"},"IntegrationStatusResponse":{"properties":{"status":{"type":"string","title":"Status"},"toolkit":{"type":"string","title":"Toolkit"},"auth_config_id":{"type":"string","title":"Auth Config Id"},"connected_account_id":{"type":"string","title":"Connected Account Id"},"mcp_server_id":{"type":"string","title":"Mcp Server Id"},"final_mcp_url":{"type":"string","title":"Final Mcp Url"},"profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Id"},"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"}},"type":"object","required":["status","toolkit","auth_config_id","connected_account_id","mcp_server_id","final_mcp_url"],"title":"IntegrationStatusResponse"},"InviteRequest":{"properties":{"identifier":{"type":"string","minLength":1,"title":"Identifier","description":"LinkedIn public identifier, profile URL slug, or provider_id"},"message":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Message","description":"Optional invitation note (LinkedIn caps at 300 chars)"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["identifier"],"title":"InviteRequest"},"InvoiceListResponse":{"properties":{"invoices":{"items":{"$ref":"#/components/schemas/InvoiceSummary"},"type":"array","title":"Invoices"}},"type":"object","required":["invoices"],"title":"InvoiceListResponse"},"InvoiceSummary":{"properties":{"id":{"type":"string","title":"Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"amount_due":{"type":"number","title":"Amount Due"},"amount_paid":{"type":"number","title":"Amount Paid"},"currency":{"type":"string","title":"Currency","default":"usd"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number"},"hosted_invoice_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hosted Invoice Url"},"invoice_pdf":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Pdf"}},"type":"object","required":["id","amount_due","amount_paid"],"title":"InvoiceSummary"},"JsonAnalysisRequest":{"properties":{"json_data":{"additionalProperties":true,"type":"object","title":"Json Data"}},"type":"object","required":["json_data"],"title":"JsonAnalysisRequest","description":"Request to analyze JSON for import requirements"},"JsonAnalysisResponse":{"properties":{"requires_setup":{"type":"boolean","title":"Requires Setup"},"missing_regular_credentials":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Missing Regular Credentials","default":[]},"missing_custom_configs":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Missing Custom Configs","default":[]},"agent_info":{"additionalProperties":true,"type":"object","title":"Agent Info","default":{}}},"type":"object","required":["requires_setup"],"title":"JsonAnalysisResponse","description":"Response from JSON analysis"},"JsonImportRequestModel":{"properties":{"json_data":{"additionalProperties":true,"type":"object","title":"Json Data"},"instance_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instance Name"},"custom_system_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Custom System Prompt"},"profile_mappings":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Profile Mappings"},"custom_mcp_configs":{"anyOf":[{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object"},{"type":"null"}],"title":"Custom Mcp Configs"}},"type":"object","required":["json_data"],"title":"JsonImportRequestModel","description":"Request to import agent from JSON"},"JsonImportResponse":{"properties":{"status":{"type":"string","title":"Status"},"instance_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instance Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"missing_regular_credentials":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Missing Regular Credentials","default":[]},"missing_custom_configs":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Missing Custom Configs","default":[]},"agent_info":{"additionalProperties":true,"type":"object","title":"Agent Info","default":{}}},"type":"object","required":["status"],"title":"JsonImportResponse","description":"Response from JSON import"},"KeyCreateRequest":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"KeyCreateRequest"},"KeyCreateResponse":{"properties":{"key_id":{"type":"string","title":"Key Id"},"name":{"type":"string","title":"Name"},"masked_key":{"type":"string","title":"Masked Key"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"key":{"type":"string","title":"Key"}},"type":"object","required":["key_id","name","masked_key","status","created_at","key"],"title":"KeyCreateResponse"},"KeyRenameRequest":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"KeyRenameRequest"},"KeyResponse":{"properties":{"key_id":{"type":"string","title":"Key Id"},"name":{"type":"string","title":"Name"},"masked_key":{"type":"string","title":"Masked Key"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["key_id","name","masked_key","status","created_at"],"title":"KeyResponse"},"KnowledgeBaseEntryResponse":{"properties":{"entry_id":{"type":"string","title":"Entry Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"content":{"type":"string","title":"Content"},"usage_context":{"type":"string","title":"Usage Context"},"is_active":{"type":"boolean","title":"Is Active"},"content_tokens":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Content Tokens"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"source_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Type"},"source_metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Source Metadata"},"file_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"File Size"},"file_mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mime Type"}},"type":"object","required":["entry_id","name","description","content","usage_context","is_active","content_tokens","created_at","updated_at"],"title":"KnowledgeBaseEntryResponse"},"KnowledgeBaseListResponse":{"properties":{"entries":{"items":{"$ref":"#/components/schemas/KnowledgeBaseEntryResponse"},"type":"array","title":"Entries"},"total_count":{"type":"integer","title":"Total Count"},"total_tokens":{"type":"integer","title":"Total Tokens"}},"type":"object","required":["entries","total_count","total_tokens"],"title":"KnowledgeBaseListResponse"},"LinkedInConnectRequest":{"properties":{"display_name":{"type":"string","maxLength":255,"minLength":1,"title":"Display Name"},"email":{"anyOf":[{"type":"string","maxLength":255,"minLength":3},{"type":"null"}],"title":"Email"},"password":{"anyOf":[{"type":"string","maxLength":512,"minLength":1},{"type":"null"}],"title":"Password"},"proxy_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Proxy Id"},"country":{"anyOf":[{"type":"string","maxLength":2},{"type":"null"}],"title":"Country"},"timezone_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone Id"},"locale":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Locale"},"totp_secret":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Totp Secret"}},"type":"object","required":["display_name"],"title":"LinkedInConnectRequest"},"LinkedInCookiesConnectRequest":{"properties":{"display_name":{"type":"string","maxLength":255,"minLength":1,"title":"Display Name"},"email":{"type":"string","maxLength":255,"minLength":3,"title":"Email"},"li_at":{"type":"string","maxLength":1024,"minLength":10,"title":"Li At"},"jsessionid":{"type":"string","maxLength":128,"minLength":4,"title":"Jsessionid"},"bcookie":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Bcookie"},"country":{"anyOf":[{"type":"string","maxLength":2},{"type":"null"}],"title":"Country"},"timezone_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone Id"},"locale":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"Locale"}},"type":"object","required":["display_name","email","li_at","jsessionid"],"title":"LinkedInCookiesConnectRequest","description":"Bypasses the password-based mobile-auth flow.\n\nUser signs in to linkedin.com manually in their own browser, extracts the\nauth cookies via DevTools, pastes them here. No password ever leaves the\nuser; no automation-fingerprinted POST to /uas/authenticate. The trade-off\nis shorter session lifetime (LinkedIn rotates web cookies faster than\nmobile-API ones — typically weeks vs months)."},"LinkedInTwoFARequest":{"properties":{"code":{"type":"string","maxLength":12,"minLength":4,"title":"Code"}},"type":"object","required":["code"],"title":"LinkedInTwoFARequest"},"LinkedInUpdateRequest":{"properties":{"display_name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Display Name"},"daily_invite_limit":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Daily Invite Limit"},"daily_message_limit":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":0.0},{"type":"null"}],"title":"Daily Message Limit"},"weekly_invite_limit":{"anyOf":[{"type":"integer","maximum":500.0,"minimum":0.0},{"type":"null"}],"title":"Weekly Invite Limit"},"weekly_message_limit":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":0.0},{"type":"null"}],"title":"Weekly Message Limit"},"action_window_start_utc":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Action Window Start Utc"},"action_window_end_utc":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Action Window End Utc"},"locale":{"anyOf":[{"type":"string","maxLength":10,"minLength":2},{"type":"null"}],"title":"Locale"},"timezone_id":{"anyOf":[{"type":"string","maxLength":64,"minLength":2},{"type":"null"}],"title":"Timezone Id"},"country":{"anyOf":[{"type":"string","maxLength":2,"minLength":2},{"type":"null"}],"title":"Country"}},"type":"object","title":"LinkedInUpdateRequest"},"ListBrowserSessionsResponse":{"properties":{"sessions":{"items":{"$ref":"#/components/schemas/BrowserSessionResponse"},"type":"array","title":"Sessions"}},"type":"object","required":["sessions"],"title":"ListBrowserSessionsResponse"},"ListDocumentsResponse":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/DocumentResponse"},"type":"array","title":"Documents"},"folders":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Folders"}},"type":"object","required":["documents"],"title":"ListDocumentsResponse"},"ListMemberColumnEnrichRequest":{"properties":{"columns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Columns"}},"type":"object","title":"ListMemberColumnEnrichRequest"},"MCPConnectionRequest":{"properties":{"app_slug":{"type":"string","title":"App Slug"},"oauth_app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Oauth App Id"}},"type":"object","required":["app_slug"],"title":"MCPConnectionRequest"},"MCPConnectionResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"mcp_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Mcp Config"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["success"],"title":"MCPConnectionResponse"},"MCPDiscoveryRequest":{"properties":{"app_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Slug"},"oauth_app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Oauth App Id"}},"type":"object","title":"MCPDiscoveryRequest"},"MCPDiscoveryResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"mcp_servers":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Mcp Servers"},"count":{"type":"integer","title":"Count"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["success","mcp_servers","count"],"title":"MCPDiscoveryResponse"},"MCPProfileDiscoveryRequest":{"properties":{"external_user_id":{"type":"string","title":"External User Id"},"app_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Slug"},"oauth_app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Oauth App Id"}},"type":"object","required":["external_user_id"],"title":"MCPProfileDiscoveryRequest"},"ManualSendRequest":{"properties":{"body":{"type":"string","maxLength":1900,"minLength":1,"title":"Body"},"follow_up_hours":{"type":"number","maximum":720.0,"minimum":1.0,"title":"Follow Up Hours","default":48.0}},"type":"object","required":["body"],"title":"ManualSendRequest"},"MeetingCreate":{"properties":{"crm_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Account Id"},"crm_contact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Contact Id"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"location":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Location"},"start_time":{"type":"string","format":"date-time","title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"attendees":{"items":{"type":"string"},"type":"array","title":"Attendees"},"notes":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Notes"}},"type":"object","required":["title","start_time"],"title":"MeetingCreate"},"MeetingUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"location":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Location"},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time"},"attendees":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Attendees"},"notes":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Notes"},"clear_end_time":{"type":"boolean","title":"Clear End Time","default":false},"clear_location":{"type":"boolean","title":"Clear Location","default":false}},"type":"object","title":"MeetingUpdate"},"MemoryListResponse":{"properties":{"memories":{"items":{"$ref":"#/components/schemas/MemoryResponse"},"type":"array","title":"Memories"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"pages":{"type":"integer","title":"Pages"}},"type":"object","required":["memories","total","page","limit","pages"],"title":"MemoryListResponse"},"MemoryResponse":{"properties":{"memory_id":{"type":"string","title":"Memory Id"},"content":{"type":"string","title":"Content"},"memory_type":{"type":"string","title":"Memory Type"},"confidence_score":{"type":"number","title":"Confidence Score"},"source_thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Thread Id"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","default":{}},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["memory_id","content","memory_type","confidence_score"],"title":"MemoryResponse"},"MemorySettingsResponse":{"properties":{"memory_enabled":{"type":"boolean","title":"Memory Enabled"}},"type":"object","required":["memory_enabled"],"title":"MemorySettingsResponse"},"MemoryStatsResponse":{"properties":{"total_memories":{"type":"integer","title":"Total Memories"},"memories_by_type":{"additionalProperties":true,"type":"object","title":"Memories By Type"},"oldest_memory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Oldest Memory"},"newest_memory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Newest Memory"},"max_memories":{"type":"integer","title":"Max Memories"},"retrieval_limit":{"type":"integer","title":"Retrieval Limit"},"memory_enabled":{"type":"boolean","title":"Memory Enabled"}},"type":"object","required":["total_memories","memories_by_type","max_memories","retrieval_limit","memory_enabled"],"title":"MemoryStatsResponse"},"MergeRecordsRequest":{"properties":{"survivor_id":{"type":"string","minLength":1,"title":"Survivor Id"},"merged_id":{"type":"string","minLength":1,"title":"Merged Id"}},"type":"object","required":["survivor_id","merged_id"],"title":"MergeRecordsRequest"},"MessageCreateRequest":{"properties":{"type":{"type":"string","title":"Type"},"content":{"anyOf":[{"type":"string"},{"additionalProperties":true,"type":"object"}],"title":"Content"},"is_llm_message":{"type":"boolean","title":"Is Llm Message","default":true},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["type","content"],"title":"MessageCreateRequest"},"MessageRequest":{"properties":{"identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identifier","description":"Recipient profile identifier — required unless chat_id is given"},"chat_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Id","description":"Existing Unipile chat id to reply into"},"text":{"type":"string","maxLength":8000,"minLength":1,"title":"Text"},"inmail":{"type":"boolean","title":"Inmail","description":"Send as InMail (requires InMail credits on the seat)","default":false},"subject":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Subject","description":"InMail subject line"},"attachment_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Attachment Url","description":"HTTPS URL of a file to attach (image/document/audio, ≤20MB)"},"attachment_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Attachment Name"},"voice_message":{"type":"boolean","title":"Voice Message","description":"Send the attachment as a LinkedIn voice note (attachment_url must be audio)","default":false},"idempotency_key":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["text"],"title":"MessageRequest"},"NoteCreate":{"properties":{"crm_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Account Id"},"crm_contact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Contact Id"},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Title"},"content":{"type":"string","maxLength":20000,"title":"Content","default":""},"pinned":{"type":"boolean","title":"Pinned","default":false}},"type":"object","title":"NoteCreate"},"NoteUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Title"},"content":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Content"},"pinned":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pinned"}},"type":"object","title":"NoteUpdate"},"NotificationItem":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type"},"title":{"type":"string","title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","default":{}},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read At"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","type","title","created_at"],"title":"NotificationItem"},"NotificationListResponse":{"properties":{"notifications":{"items":{"$ref":"#/components/schemas/NotificationItem"},"type":"array","title":"Notifications"},"unread_count":{"type":"integer","title":"Unread Count"}},"type":"object","required":["notifications","unread_count"],"title":"NotificationListResponse"},"NotificationPreferencesResponse":{"properties":{"email_critical":{"type":"boolean","title":"Email Critical"},"weekly_digest":{"type":"boolean","title":"Weekly Digest"}},"type":"object","required":["email_critical","weekly_digest"],"title":"NotificationPreferencesResponse"},"NotificationPreferencesUpdate":{"properties":{"email_critical":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Email Critical"},"weekly_digest":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Weekly Digest"}},"type":"object","title":"NotificationPreferencesUpdate"},"OnboardEnterpriseUserRequest":{"properties":{"email":{"type":"string","title":"Email","description":"User email address"},"password":{"anyOf":[{"type":"string","minLength":8},{"type":"null"}],"title":"Password","description":"Password (auto-generated if omitted)"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"User display name"},"team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Name","description":"Team to create or find by name"},"team_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Account Id","description":"Existing team account ID to add user to"},"credit_amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Credit Amount","description":"Credits to provision (in dollars)"},"credit_description":{"type":"string","title":"Credit Description","description":"Description for the credit ledger","default":"Enterprise onboarding credits"},"seats":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Seats","description":"Number of seats granted to the team. Stored on basejump.accounts.public_metadata.seats. Existing teams will be updated to this value."}},"type":"object","required":["email"],"title":"OnboardEnterpriseUserRequest"},"PaginationInfo":{"properties":{"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"total":{"type":"integer","title":"Total"},"pages":{"type":"integer","title":"Pages"}},"type":"object","required":["page","limit","total","pages"],"title":"PaginationInfo"},"ParallelProxyRequest":{"properties":{"rows":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Rows"},"processor":{"type":"string","pattern":"^(lite|base|core|pro)$","title":"Processor","default":"lite"}},"type":"object","required":["rows"],"title":"ParallelProxyRequest","description":"Request for Parallel AI proxy endpoint"},"PeopleSearchRequest":{"properties":{"url":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Url","description":"Pasted LinkedIn search URL"},"keywords":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Keywords"},"api":{"type":"string","pattern":"^(classic|sales_navigator|recruiter)$","title":"Api","default":"classic"},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":25},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},"type":"object","title":"PeopleSearchRequest"},"PlaybookDraftUpdateRequest":{"properties":{"playbook":{"type":"string","title":"Playbook"}},"type":"object","required":["playbook"],"title":"PlaybookDraftUpdateRequest"},"PlaygroundRequest":{"properties":{"key_id":{"type":"string","title":"Key Id"},"endpoint":{"type":"string","title":"Endpoint"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"search_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Id"}},"type":"object","required":["key_id","endpoint"],"title":"PlaygroundRequest"},"PortalRequest":{"properties":{"return_url":{"type":"string","title":"Return Url"}},"type":"object","required":["return_url"],"title":"PortalRequest"},"PreferencesResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"preferences":{"$ref":"#/components/schemas/UserPreferences"}},"type":"object","required":["success","preferences"],"title":"PreferencesResponse","description":"Response model for preferences endpoint"},"ProcessingJobResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"job_type":{"type":"string","title":"Job Type"},"status":{"type":"string","title":"Status"},"source_info":{"additionalProperties":true,"type":"object","title":"Source Info"},"result_info":{"additionalProperties":true,"type":"object","title":"Result Info"},"entries_created":{"type":"integer","title":"Entries Created"},"total_files":{"type":"integer","title":"Total Files"},"created_at":{"type":"string","title":"Created At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"}},"type":"object","required":["job_id","job_type","status","source_info","result_info","entries_created","total_files","created_at","completed_at","error_message"],"title":"ProcessingJobResponse"},"ProvisionCreditsRequest":{"properties":{"amount":{"type":"number","exclusiveMinimum":0.0,"title":"Amount","description":"Amount of credits to provision (in dollars)"},"is_expiring":{"type":"boolean","title":"Is Expiring","description":"Whether credits expire","default":true},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At","description":"ISO datetime when credits expire"},"description":{"type":"string","title":"Description","description":"Description for the ledger entry","default":"Admin-provisioned credits"}},"type":"object","required":["amount"],"title":"ProvisionCreditsRequest"},"PublishTemplateRequest":{"properties":{"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"}},"type":"object","title":"PublishTemplateRequest"},"PurchaseCreditsRequest":{"properties":{"amount_dollars":{"type":"number","title":"Amount Dollars"},"success_url":{"type":"string","title":"Success Url"},"cancel_url":{"type":"string","title":"Cancel Url"}},"type":"object","required":["amount_dollars","success_url","cancel_url"],"title":"PurchaseCreditsRequest"},"ReactRequest":{"properties":{"reaction_type":{"type":"string","pattern":"^(like|celebrate|love|insightful|funny|support)$","title":"Reaction Type","default":"like"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","title":"ReactRequest"},"RedeemCodeRequest":{"properties":{"code":{"type":"string","maxLength":50,"minLength":1,"title":"Code"}},"type":"object","required":["code"],"title":"RedeemCodeRequest"},"RedeemCodeResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"credits_added":{"type":"integer","title":"Credits Added"},"new_balance":{"type":"number","title":"New Balance"},"campaign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign"}},"type":"object","required":["success","message","credits_added","new_balance"],"title":"RedeemCodeResponse"},"RefineCitationRequest":{"properties":{"citation_context":{"type":"string","maxLength":2000,"minLength":10,"title":"Citation Context","description":"The sentence containing the citation from AI response"},"document_id":{"type":"string","pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$","title":"Document Id","description":"The document ID (UUID format)"}},"type":"object","required":["citation_context","document_id"],"title":"RefineCitationRequest"},"RefineCitationResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"refined_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refined Text"},"similarity_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Similarity Score"},"location":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Location"},"refined_bounding_box":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Refined Bounding Box"},"line_bounding_boxes":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Line Bounding Boxes"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"chunk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chunk Id"},"page_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Number"},"bounding_box":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Bounding Box"}},"type":"object","required":["success"],"title":"RefineCitationResponse"},"ResearchSessionResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"session_type":{"type":"string","title":"Session Type"},"grid_data":{"items":{"items":{},"type":"array"},"type":"array","title":"Grid Data"},"column_headers":{"items":{"type":"string"},"type":"array","title":"Column Headers"},"row_count":{"type":"integer","title":"Row Count"},"column_count":{"type":"integer","title":"Column Count"},"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","name","description","session_type","grid_data","column_headers","row_count","column_count","created_at","updated_at"],"title":"ResearchSessionResponse","description":"Response with session details"},"ResolveCompanyRequest":{"properties":{"query":{"type":"string","maxLength":255,"minLength":2,"title":"Query"}},"type":"object","required":["query"],"title":"ResolveCompanyRequest","description":"A competitor typed as a company name or website domain."},"ResumePausedJobsResponse":{"properties":{"signal_agents_resumed":{"type":"integer","title":"Signal Agents Resumed","default":0},"campaigns_resumed":{"type":"integer","title":"Campaigns Resumed","default":0}},"type":"object","title":"ResumePausedJobsResponse"},"SalesNavScrapeRequest":{"properties":{"list_id":{"type":"string","title":"List Id"},"sales_nav_url":{"type":"string","minLength":8,"title":"Sales Nav Url"},"max_pages":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Max Pages","default":10}},"type":"object","required":["list_id","sales_nav_url"],"title":"SalesNavScrapeRequest"},"SaveSessionRequest":{"properties":{"domain":{"type":"string","title":"Domain"},"session_data":{"additionalProperties":true,"type":"object","title":"Session Data"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Agent"}},"type":"object","required":["domain","session_data"],"title":"SaveSessionRequest"},"SearchDocumentsRequest":{"properties":{"query":{"type":"string","maxLength":1000,"minLength":1,"title":"Query"},"document_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Document Ids"},"max_results":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Max Results","default":10}},"type":"object","required":["query"],"title":"SearchDocumentsRequest"},"SendWelcomeEmailRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["email"],"title":"SendWelcomeEmailRequest"},"SetBillingTypeRequest":{"properties":{"billing_type":{"type":"string","pattern":"^(self_service|enterprise)$","title":"Billing Type","description":"'self_service' or 'enterprise'"}},"type":"object","required":["billing_type"],"title":"SetBillingTypeRequest"},"ShareLinkInfo":{"properties":{"share_id":{"type":"string","title":"Share Id"},"template_id":{"type":"string","title":"Template Id"},"created_at":{"type":"string","title":"Created At"},"views_count":{"type":"integer","title":"Views Count"},"last_viewed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Viewed At"},"share_url":{"type":"string","title":"Share Url"}},"type":"object","required":["share_id","template_id","created_at","views_count","last_viewed_at","share_url"],"title":"ShareLinkInfo"},"SignalAgentUpdateRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"job_titles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Job Titles"},"locations":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Locations"},"industries":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Industries"},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords"},"influencer_profiles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Influencer Profiles"},"competitor_companies":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Competitor Companies"},"own_profile_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Own Profile Urls"},"own_company_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Own Company Urls"},"recent_active_icps_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Recent Active Icps Enabled"},"additional_criteria":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Additional Criteria"},"exclude_service_providers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exclude Service Providers"},"exclude_open_to_work":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exclude Open To Work"},"matching_mode":{"anyOf":[{"type":"string","pattern":"^(high_precision|discovery)$"},{"type":"null"}],"title":"Matching Mode"},"company_context":{"anyOf":[{"$ref":"#/components/schemas/CompanyContextUpdate"},{"type":"null"}]},"raw_engager_cap":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Raw Engager Cap"},"fetch_reactions":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Fetch Reactions"},"recent_active_serp_pages":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Recent Active Serp Pages"},"recent_active_max_queries":{"anyOf":[{"type":"integer","maximum":30.0,"minimum":1.0},{"type":"null"}],"title":"Recent Active Max Queries"},"recent_active_profile_cap":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":1.0},{"type":"null"}],"title":"Recent Active Profile Cap"}},"type":"object","title":"SignalAgentUpdateRequest","description":"Partial update for a Signal Agent's display + targeting config.\n\nAny field omitted is left untouched in the existing ``source_payload``;\nfields explicitly set are merged in. Lists (job titles, locations,\nindustries, keywords) replace their slot entirely when provided."},"SourcePayload":{"properties":{"source_type":{"type":"string","pattern":"^(manual|email_sync|parallel|komo)$","title":"Source Type","default":"manual"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"confidence":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Confidence"},"basis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Basis"},"raw":{"additionalProperties":true,"type":"object","title":"Raw"}},"type":"object","title":"SourcePayload"},"StartImpersonationRequest":{"properties":{"target":{"type":"string","maxLength":320,"minLength":1,"title":"Target","description":"Target user id or email"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason","description":"Reason for support/demo impersonation"}},"type":"object","required":["target","reason"],"title":"StartImpersonationRequest"},"StartImpersonationResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"session_id":{"type":"string","title":"Session Id"},"control_token":{"type":"string","title":"Control Token"},"target_user_id":{"type":"string","title":"Target User Id"},"target_email":{"type":"string","title":"Target Email"},"token_hash":{"type":"string","title":"Token Hash"},"verification_type":{"type":"string","title":"Verification Type"},"expires_at":{"type":"string","title":"Expires At"}},"type":"object","required":["success","session_id","control_token","target_user_id","target_email","token_hash","verification_type","expires_at"],"title":"StartImpersonationResponse"},"StoreCredentialProfileRequest":{"properties":{"mcp_qualified_name":{"type":"string","title":"Mcp Qualified Name"},"profile_name":{"type":"string","title":"Profile Name"},"display_name":{"type":"string","title":"Display Name"},"config":{"additionalProperties":true,"type":"object","title":"Config"},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","required":["mcp_qualified_name","profile_name","display_name","config"],"title":"StoreCredentialProfileRequest"},"StoreCredentialRequest":{"properties":{"mcp_qualified_name":{"type":"string","title":"Mcp Qualified Name"},"display_name":{"type":"string","title":"Display Name"},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["mcp_qualified_name","display_name","config"],"title":"StoreCredentialRequest"},"SuccessResponse":{"properties":{"success":{"type":"boolean","title":"Success","default":true}},"type":"object","title":"SuccessResponse"},"SuccessResponse_Dict_str__Any__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"additionalProperties":true,"type":"object","title":"Data"}},"type":"object","required":["data"],"title":"SuccessResponse[Dict[str, Any]]"},"SuccessResponse_InboxAccountResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"$ref":"#/components/schemas/InboxAccountResponse"}},"type":"object","required":["data"],"title":"SuccessResponse[InboxAccountResponse]"},"SuccessResponse_InboxAccountStatusResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"$ref":"#/components/schemas/InboxAccountStatusResponse"}},"type":"object","required":["data"],"title":"SuccessResponse[InboxAccountStatusResponse]"},"SuccessResponse_InboxAuthUrlResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"$ref":"#/components/schemas/InboxAuthUrlResponse"}},"type":"object","required":["data"],"title":"SuccessResponse[InboxAuthUrlResponse]"},"SuccessResponse_InboxCategoryResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"$ref":"#/components/schemas/InboxCategoryResponse"}},"type":"object","required":["data"],"title":"SuccessResponse[InboxCategoryResponse]"},"SuccessResponse_InboxEmailDetailResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"$ref":"#/components/schemas/InboxEmailDetailResponse"}},"type":"object","required":["data"],"title":"SuccessResponse[InboxEmailDetailResponse]"},"SuccessResponse_InboxEmailListDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"$ref":"#/components/schemas/InboxEmailListDataResponse"}},"type":"object","required":["data"],"title":"SuccessResponse[InboxEmailListDataResponse]"},"SuccessResponse_InboxRoutingRuleResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"$ref":"#/components/schemas/InboxRoutingRuleResponse"}},"type":"object","required":["data"],"title":"SuccessResponse[InboxRoutingRuleResponse]"},"SuccessResponse_InboxStatsResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"$ref":"#/components/schemas/InboxStatsResponse"}},"type":"object","required":["data"],"title":"SuccessResponse[InboxStatsResponse]"},"SuccessResponse_InboxThreadResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"$ref":"#/components/schemas/InboxThreadResponse"}},"type":"object","required":["data"],"title":"SuccessResponse[InboxThreadResponse]"},"SuccessResponse_List_InboxAccountResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"items":{"$ref":"#/components/schemas/InboxAccountResponse"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"SuccessResponse[List[InboxAccountResponse]]"},"SuccessResponse_List_InboxCategoryResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"items":{"$ref":"#/components/schemas/InboxCategoryResponse"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"SuccessResponse[List[InboxCategoryResponse]]"},"SuccessResponse_List_InboxRoutingRuleResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"items":{"$ref":"#/components/schemas/InboxRoutingRuleResponse"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"SuccessResponse[List[InboxRoutingRuleResponse]]"},"TaskCreate":{"properties":{"crm_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Account Id"},"crm_contact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Contact Id"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Description"},"due_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due Date"},"status":{"type":"string","pattern":"^(open|done)$","title":"Status","default":"open"}},"type":"object","required":["title"],"title":"TaskCreate"},"TaskSuggestRequest":{"properties":{"description":{"type":"string","maxLength":2000,"minLength":1,"title":"Description"}},"type":"object","required":["description"],"title":"TaskSuggestRequest"},"TaskUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Description"},"due_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due Date"},"status":{"anyOf":[{"type":"string","pattern":"^(open|done)$"},{"type":"null"}],"title":"Status"},"clear_due_date":{"type":"boolean","title":"Clear Due Date","default":false}},"type":"object","title":"TaskUpdate"},"TemplateResponse":{"properties":{"template_id":{"type":"string","title":"Template Id"},"creator_id":{"type":"string","title":"Creator Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"system_prompt":{"type":"string","title":"System Prompt"},"playbook":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Playbook"},"mcp_requirements":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Mcp Requirements"},"agentpress_tools":{"additionalProperties":true,"type":"object","title":"Agentpress Tools"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"is_public":{"type":"boolean","title":"Is Public"},"is_komo_team":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Komo Team","default":false},"marketplace_published_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marketplace Published At"},"download_count":{"type":"integer","title":"Download Count"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar"},"avatar_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Color"},"profile_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Image Url"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"creator_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Creator Name"}},"type":"object","required":["template_id","creator_id","name","system_prompt","mcp_requirements","agentpress_tools","tags","is_public","download_count","created_at","updated_at","avatar","avatar_color","metadata"],"title":"TemplateResponse"},"ThreadAgentResponse":{"properties":{"agent":{"anyOf":[{"$ref":"#/components/schemas/AgentResponse"},{"type":"null"}]},"source":{"type":"string","title":"Source"},"message":{"type":"string","title":"Message"}},"type":"object","required":["agent","source","message"],"title":"ThreadAgentResponse"},"ThreadCrmAccountPayload":{"properties":{"crm_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crm Account Id"}},"type":"object","title":"ThreadCrmAccountPayload"},"ThreadMemorySettingsResponse":{"properties":{"thread_id":{"type":"string","title":"Thread Id"},"memory_enabled":{"type":"boolean","title":"Memory Enabled"}},"type":"object","required":["thread_id","memory_enabled"],"title":"ThreadMemorySettingsResponse"},"TierLimitsResponse":{"properties":{"tier_limits":{"additionalProperties":{"additionalProperties":{"type":"integer"},"type":"object"},"type":"object","title":"Tier Limits"}},"type":"object","required":["tier_limits"],"title":"TierLimitsResponse","description":"Response model for tier limits configuration"},"ToolsListRequest":{"properties":{"toolkit_slug":{"type":"string","title":"Toolkit Slug"},"limit":{"type":"integer","title":"Limit","default":50},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},"type":"object","required":["toolkit_slug"],"title":"ToolsListRequest"},"TranscriptionResponse":{"properties":{"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"TranscriptionResponse"},"TriggerCreateRequest":{"properties":{"provider_id":{"type":"string","title":"Provider Id"},"name":{"type":"string","title":"Name"},"config":{"additionalProperties":true,"type":"object","title":"Config"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["provider_id","name","config"],"title":"TriggerCreateRequest"},"TriggerResponse":{"properties":{"trigger_id":{"type":"string","title":"Trigger Id"},"agent_id":{"type":"string","title":"Agent Id"},"trigger_type":{"type":"string","title":"Trigger Type"},"provider_id":{"type":"string","title":"Provider Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"is_active":{"type":"boolean","title":"Is Active"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["trigger_id","agent_id","trigger_type","provider_id","name","description","is_active","webhook_url","created_at","updated_at","config"],"title":"TriggerResponse"},"TriggerUpdateRequest":{"properties":{"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"TriggerUpdateRequest"},"UpcomingRun":{"properties":{"trigger_id":{"type":"string","title":"Trigger Id"},"trigger_name":{"type":"string","title":"Trigger Name"},"trigger_type":{"type":"string","title":"Trigger Type"},"next_run_time":{"type":"string","title":"Next Run Time"},"next_run_time_local":{"type":"string","title":"Next Run Time Local"},"timezone":{"type":"string","title":"Timezone"},"cron_expression":{"type":"string","title":"Cron Expression"},"execution_type":{"type":"string","title":"Execution Type"},"agent_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Prompt"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"},"is_active":{"type":"boolean","title":"Is Active"},"human_readable":{"type":"string","title":"Human Readable"}},"type":"object","required":["trigger_id","trigger_name","trigger_type","next_run_time","next_run_time_local","timezone","cron_expression","execution_type","is_active","human_readable"],"title":"UpcomingRun"},"UpcomingRunsResponse":{"properties":{"upcoming_runs":{"items":{"$ref":"#/components/schemas/UpcomingRun"},"type":"array","title":"Upcoming Runs"},"total_count":{"type":"integer","title":"Total Count"}},"type":"object","required":["upcoming_runs","total_count"],"title":"UpcomingRunsResponse"},"UpdateKnowledgeBaseEntryRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"content":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Content"},"usage_context":{"anyOf":[{"type":"string","pattern":"^(always|on_request|contextual)$"},{"type":"null"}],"title":"Usage Context"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"UpdateKnowledgeBaseEntryRequest"},"UpdateProfileRequest":{"properties":{"profile_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Name"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"},"enabled_tools":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Enabled Tools"}},"type":"object","title":"UpdateProfileRequest"},"UpdateRowRequest":{"properties":{"row_index":{"type":"integer","minimum":0.0,"title":"Row Index"},"row_data":{"additionalProperties":true,"type":"object","title":"Row Data"},"entity_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Name"}},"type":"object","required":["row_index","row_data"],"title":"UpdateRowRequest","description":"Request to update a single row"},"UpdateRowsRequest":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/UpdateRowRequest"},"type":"array","title":"Rows"}},"type":"object","required":["rows"],"title":"UpdateRowsRequest","description":"Request to update multiple rows"},"UpdateVersionDetailsRequest":{"properties":{"version_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Name"},"change_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Change Description"}},"type":"object","title":"UpdateVersionDetailsRequest"},"UsageSummaryResponse":{"properties":{"user_tier":{"type":"string","title":"User Tier"},"usage":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Usage"}},"type":"object","required":["user_tier","usage"],"title":"UsageSummaryResponse","description":"Response model for usage summary"},"UserPreferences":{"properties":{"default_tab":{"type":"string","enum":["search","playbook"],"title":"Default Tab","default":"playbook"},"theme":{"type":"string","enum":["light","dark","system"],"title":"Theme","default":"system"},"default_agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Agent Id"},"compact_mode":{"type":"boolean","title":"Compact Mode","default":false}},"type":"object","title":"UserPreferences","description":"User preferences stored in account private_metadata"},"UserProfile":{"properties":{"user_id":{"type":"string","title":"User Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Id"}},"type":"object","required":["user_id"],"title":"UserProfile","description":"User profile information"},"ValidateContextRequest":{"properties":{"document_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Document Ids"},"folder_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Folder Ids"}},"type":"object","title":"ValidateContextRequest"},"ValidateContextResponse":{"properties":{"valid_document_ids":{"items":{"type":"string"},"type":"array","title":"Valid Document Ids"},"valid_folder_ids":{"items":{"type":"string"},"type":"array","title":"Valid Folder Ids"},"total_chunks":{"type":"integer","title":"Total Chunks"},"estimated_tokens":{"type":"integer","title":"Estimated Tokens"}},"type":"object","required":["valid_document_ids","valid_folder_ids","total_chunks","estimated_tokens"],"title":"ValidateContextResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VersionComparisonResponse":{"properties":{"version1":{"$ref":"#/components/schemas/VersionResponse"},"version2":{"$ref":"#/components/schemas/VersionResponse"},"differences":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Differences"}},"type":"object","required":["version1","version2","differences"],"title":"VersionComparisonResponse"},"VersionResponse":{"properties":{"version_id":{"type":"string","title":"Version Id"},"agent_id":{"type":"string","title":"Agent Id"},"version_number":{"type":"integer","title":"Version Number"},"version_name":{"type":"string","title":"Version Name"},"system_prompt":{"type":"string","title":"System Prompt"},"playbook":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Playbook"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"configured_mcps":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Configured Mcps"},"custom_mcps":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Custom Mcps"},"agentpress_tools":{"additionalProperties":true,"type":"object","title":"Agentpress Tools"},"is_active":{"type":"boolean","title":"Is Active"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"created_by":{"type":"string","title":"Created By"},"change_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Change Description"},"previous_version_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Previous Version Id"}},"type":"object","required":["version_id","agent_id","version_number","version_name","system_prompt","configured_mcps","custom_mcps","agentpress_tools","is_active","status","created_at","updated_at","created_by"],"title":"VersionResponse"},"VoiceGenerationRequest":{"properties":{"text":{"type":"string","title":"Text"},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"},"voice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice","default":"Andy"},"reference_audio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Audio"},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature","default":0.8},"top_p":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Top P","default":0.95},"top_k":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Top K","default":1000},"repetition_penalty":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Repetition Penalty","default":1.2},"paralinguistic":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Paralinguistic","default":false}},"type":"object","required":["text"],"title":"VoiceGenerationRequest"},"VoiceGenerationResponse":{"properties":{"audio_urls":{"items":{"type":"string"},"type":"array","title":"Audio Urls"},"char_count":{"type":"integer","title":"Char Count"},"chunk_count":{"type":"integer","title":"Chunk Count"},"cost":{"type":"number","title":"Cost"}},"type":"object","required":["audio_urls","char_count","chunk_count","cost"],"title":"VoiceGenerationResponse"},"WorkflowCreateRequest":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"trigger_phrase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Phrase"},"is_default":{"type":"boolean","title":"Is Default","default":false},"steps":{"items":{"$ref":"#/components/schemas/WorkflowStepRequest"},"type":"array","title":"Steps","default":[]}},"type":"object","required":["name"],"title":"WorkflowCreateRequest"},"WorkflowExecuteRequest":{"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Input Data"}},"type":"object","title":"WorkflowExecuteRequest"},"WorkflowStepRequest":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","default":"instruction"},"config":{"additionalProperties":true,"type":"object","title":"Config","default":{}},"conditions":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Conditions"},"order":{"type":"integer","title":"Order"},"parentConditionalId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parentconditionalid"},"children":{"anyOf":[{"items":{"$ref":"#/components/schemas/WorkflowStepRequest"},"type":"array"},{"type":"null"}],"title":"Children"}},"type":"object","required":["name","order"],"title":"WorkflowStepRequest"},"WorkflowUpdateRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"trigger_phrase":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trigger Phrase"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"steps":{"anyOf":[{"items":{"$ref":"#/components/schemas/WorkflowStepRequest"},"type":"array"},{"type":"null"}],"title":"Steps"}},"type":"object","title":"WorkflowUpdateRequest"},"WorkspaceCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Icon"},"display_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Order","default":0}},"type":"object","required":["name"],"title":"WorkspaceCreate"},"WorkspaceResponse":{"properties":{"id":{"type":"string","title":"Id"},"account_id":{"type":"string","title":"Account Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"is_default":{"type":"boolean","title":"Is Default"},"display_order":{"type":"integer","title":"Display Order"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"agent_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Agent Count","default":0}},"type":"object","required":["id","account_id","name","description","icon","is_default","display_order","created_at","updated_at"],"title":"WorkspaceResponse"},"WorkspaceUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Icon"},"display_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Order"}},"type":"object","title":"WorkspaceUpdate"},"composio_integration__api__ProfileResponse":{"properties":{"profile_id":{"type":"string","title":"Profile Id"},"profile_name":{"type":"string","title":"Profile Name"},"display_name":{"type":"string","title":"Display Name"},"toolkit_slug":{"type":"string","title":"Toolkit Slug"},"toolkit_name":{"type":"string","title":"Toolkit Name"},"mcp_url":{"type":"string","title":"Mcp Url"},"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url"},"connected_account_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Connected Account Id"},"is_connected":{"type":"boolean","title":"Is Connected"},"is_default":{"type":"boolean","title":"Is Default"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["profile_id","profile_name","display_name","toolkit_slug","toolkit_name","mcp_url","is_connected","is_default","created_at"],"title":"ProfileResponse"},"feed__schemas__GenerateConfigRequest":{"properties":{"description":{"type":"string","maxLength":2000,"minLength":20,"title":"Description"}},"type":"object","required":["description"],"title":"GenerateConfigRequest"},"linkedin__actions_api__ProfileRequest":{"properties":{"identifier":{"type":"string","minLength":1,"title":"Identifier"},"visit":{"type":"boolean","title":"Visit","description":"Make the view visible to the profile owner (notified visit)","default":false}},"type":"object","required":["identifier"],"title":"ProfileRequest"},"pipedream__api__ProfileRequest":{"properties":{"profile_name":{"type":"string","title":"Profile Name"},"app_slug":{"type":"string","title":"App Slug"},"app_name":{"type":"string","title":"App Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"is_default":{"type":"boolean","title":"Is Default","default":false},"oauth_app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Oauth App Id"},"enabled_tools":{"items":{"type":"string"},"type":"array","title":"Enabled Tools","default":[]},"external_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External User Id"}},"type":"object","required":["profile_name","app_slug","app_name"],"title":"ProfileRequest"},"pipedream__api__ProfileResponse":{"properties":{"profile_id":{"type":"string","format":"uuid","title":"Profile Id"},"account_id":{"type":"string","format":"uuid","title":"Account Id"},"mcp_qualified_name":{"type":"string","title":"Mcp Qualified Name"},"profile_name":{"type":"string","title":"Profile Name"},"display_name":{"type":"string","title":"Display Name"},"app_slug":{"type":"string","title":"App Slug"},"app_name":{"type":"string","title":"App Name"},"external_user_id":{"type":"string","title":"External User Id"},"enabled_tools":{"items":{"type":"string"},"type":"array","title":"Enabled Tools"},"is_active":{"type":"boolean","title":"Is Active"},"is_default":{"type":"boolean","title":"Is Default"},"is_connected":{"type":"boolean","title":"Is Connected"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"}},"type":"object","required":["profile_id","account_id","mcp_qualified_name","profile_name","display_name","app_slug","app_name","external_user_id","enabled_tools","is_active","is_default","is_connected","created_at","updated_at"],"title":"ProfileResponse"},"services__account_settings_api__ProfileResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"profile":{"$ref":"#/components/schemas/UserProfile"}},"type":"object","required":["success","profile"],"title":"ProfileResponse","description":"Response model for profile endpoint"},"signal_agents__api__GenerateConfigRequest":{"properties":{"description":{"type":"string","maxLength":2000,"minLength":10,"title":"Description"},"company_url":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Company Url"}},"type":"object","required":["description"],"title":"GenerateConfigRequest","description":"Input for AI config generation: the user's plain-English ask plus\ntheir (optional) company website."}}}}